Skip to content

Commit dfb1215

Browse files
authored
chore: setup workspaces in monorepo (#396)
1 parent 869c626 commit dfb1215

File tree

3 files changed

+1081
-1007
lines changed

3 files changed

+1081
-1007
lines changed

package.json

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type-check": "nx affected --target=type-check",
1313
"preinstall": "node ./tools/scripts/preinstall.mjs",
1414
"postinstall": "patch-package",
15-
"dedupe": "npx yarn-deduplicate --strategy fewer"
15+
"dedupe": "npx yarn-deduplicate --strategy highest"
1616
},
1717
"repository": {
1818
"url": "https://github.com/microsoft/fluentui-contrib",
@@ -35,18 +35,18 @@
3535
"@fluentui/react-shared-contexts": "^9.7.2",
3636
"@fluentui/scheme-utilities": "^8.3.58",
3737
"@griffel/shadow-dom": "~0.2.0",
38-
"@nx/devkit": "20.8.1",
39-
"@nx/eslint": "20.8.1",
40-
"@nx/eslint-plugin": "20.8.1",
41-
"@nx/jest": "20.8.1",
42-
"@nx/js": "20.8.1",
43-
"@nx/playwright": "20.8.1",
44-
"@nx/plugin": "20.8.1",
45-
"@nx/react": "20.8.1",
46-
"@nx/storybook": "20.8.1",
47-
"@nx/web": "20.8.1",
48-
"@nx/webpack": "20.8.1",
49-
"@nx/workspace": "20.8.1",
38+
"@nx/devkit": "20.8.2",
39+
"@nx/eslint": "20.8.2",
40+
"@nx/eslint-plugin": "20.8.2",
41+
"@nx/jest": "20.8.2",
42+
"@nx/js": "20.8.2",
43+
"@nx/playwright": "20.8.2",
44+
"@nx/plugin": "20.8.2",
45+
"@nx/react": "20.8.2",
46+
"@nx/storybook": "20.8.2",
47+
"@nx/web": "20.8.2",
48+
"@nx/webpack": "20.8.2",
49+
"@nx/workspace": "20.8.2",
5050
"@playwright/experimental-ct-react": "^1.49.1",
5151
"@rnx-kit/eslint-plugin": "0.8.6",
5252
"@storybook/addon-docs": "7.6.20",
@@ -60,14 +60,15 @@
6060
"@storybook/preview-api": "7.6.20",
6161
"@storybook/react-webpack5": "7.6.20",
6262
"@storybook/test-runner": "0.14.0",
63-
"@storybook/testing-library": "^0.2.2",
6463
"@stylistic/eslint-plugin": "3.1.0",
6564
"@swc-node/register": "1.10.10",
6665
"@swc/cli": "0.7.7",
6766
"@swc/core": "1.11.24",
6867
"@swc/helpers": "~0.5.11",
6968
"@swc/jest": "0.2.38",
70-
"@testing-library/react": "16.1.0",
69+
"@testing-library/react": "16.3.0",
70+
"@testing-library/dom": "10.4.0",
71+
"@testing-library/user-event": "14.6.1",
7172
"@types/jest": "29.5.14",
7273
"@types/node": "20.14.9",
7374
"@types/react": "18.3.1",
@@ -82,7 +83,7 @@
8283
"jest": "29.7.0",
8384
"jest-environment-jsdom": "29.7.0",
8485
"jsonc-eslint-parser": "2.4.0",
85-
"nx": "20.8.1",
86+
"nx": "20.8.2",
8687
"parsel-js": "^1.1.2",
8788
"patch-package": "^7.0.0",
8889
"prettier": "^2.6.2",
@@ -106,5 +107,9 @@
106107
"dependencies": {},
107108
"nx": {
108109
"includedScripts": []
109-
}
110+
},
111+
"workspaces": [
112+
"apps/*",
113+
"packages/*"
114+
]
110115
}

packages/nx-plugin/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"generators": "./generators.json",
77
"executors": "./executors.json",
88
"dependencies": {
9-
"@nx/devkit": "^20.2.2",
9+
"@nx/devkit": "^20",
10+
"@nx/storybook": "^20",
11+
"@nx/js": "^20",
12+
"@nx/playwright": "^20",
1013
"semver": "^7.5.2",
11-
"@nx/storybook": "^20.2.2",
12-
"@nx/js": "^20.2.2",
13-
"@nx/playwright": "^20.2.2",
1414
"tslib": "^2.3.0"
1515
},
1616
"peerDependencies": {
1717
"@playwright/experimental-ct-react": "^1.49.1",
18-
"nx": ">= 20 <= 21"
18+
"nx": "^20"
1919
}
2020
}

0 commit comments

Comments
 (0)