Skip to content

Commit 616b4b7

Browse files
authored
chore(tools): bootstrap nx workpsace-tools and create workspace generator (#18194)
* chore(tools): bootstrap nx workpsace-tools and create workspace generator * chore: turn off syncpack for devDeps as we are moving to single version policy * chore: fix nx workpsace files to be up to date with current repo state * chore: add /tools to codeowners * ci: add nx workspace-lint check * chore: remove workspace & nx.json from implicit deps - they are properly calculated so there is no need for that * fix(scripts): properly import chalk for nodejs * chore(react-conformance): revert chalk version to use range and to not clash with single version policy for devtooling * chore(tools): incorporate tools/ into existing ci pipeline * chore: define version group for monorepo root package.json and revert dev to true
1 parent 9751408 commit 616b4b7

38 files changed

+949
-443
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
/.storybook/ @microsoft/fluentui-react-build
2929
/.vscode/ @microsoft/fluentui-react-build
3030
/scripts/ @microsoft/fluentui-react-build
31+
/tools @microsoft/fluentui-react-build
3132

3233
#### Root Build files
3334
/.eslintrc.* @microsoft/fluentui-react-build

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ gitignore
5151
*.svg
5252
*.txt
5353
*.mdx
54+
.gitkeep
55+
*__tmpl__
56+
*__template__
5457

5558
# template files which actually follow a different language's formatting
5659
*.hbs

azure-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
yarn checkchange
3333
displayName: check change
3434
35+
- script: |
36+
yarn nx workspace-lint
37+
displayName: nx:workspace-lint
38+
3539
- script: |
3640
if [[ -n "$(targetBranch)" ]]; then
3741
yarn format --since $(targetBranch) --check
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore(react-conformance): revert chalk version to use range and to not clash with single version policy for devtooling",
4+
"packageName": "@fluentui/react-conformance",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "fixup! fixup! fixup! fixup! fix(scripts): properly import chalk for nodejs",
4+
"packageName": "@fluentui/react-examples",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "none"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "fixup! fixup! fixup! fix(scripts): properly import chalk for nodejs",
4+
"packageName": "@fluentui/react-menu",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "none"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "fixup! fix(scripts): properly import chalk for nodejs",
4+
"packageName": "@fluentui/react-monaco-editor",
5+
"email": "martinhochel@microsoft.com",
6+
"dependentChangeType": "none"
7+
}

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
projects: ['<rootDir>/packages/react-menu', '<rootDir>/packages/react-storybook'],
2+
projects: ['<rootDir>/tools', '<rootDir>/packages/react-menu', '<rootDir>/packages/react-storybook'],
33
};

0 commit comments

Comments
 (0)