Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 236a5ce

Browse files
committed
minor updates
1 parent fb5bf20 commit 236a5ce

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ These changes are required to setup internal tooling and package publishing.
171171
+ },
172172
```
173173

174-
Don't forget to provide a correct directory name, you can also use `gulp bundle:package` to bundle your package with UMD.
174+
You can also use `gulp bundle:package` to bundle your package with UMD.
175175

176176
#### Create `tsconfig.json`
177177

jest.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ const fs = require('fs')
77
// as lernaAliases append 'src' by default
88
const packagePaths = lernaAliases({ sourceDirectory: false })
99

10-
// Exclude packages which build with just
11-
const projects = Object.values(packagePaths).filter(
12-
packagePath => !fs.existsSync(path.join(packagePath, 'just.config.ts')),
10+
// Exclude packages which build with just, and other special packages
11+
const excludedPackages = ['@fluentui/internal-tooling']
12+
const projects = Object.keys(packagePaths).filter(
13+
packageName =>
14+
!excludedPackages.includes(packageName) &&
15+
!fs.existsSync(path.join(packagePaths[packageName], 'just.config.ts')),
1316
)
1417

1518
module.exports = {

0 commit comments

Comments
 (0)