Skip to content

Commit

Permalink
chore: migrate to lerna 7 (#28647)
Browse files Browse the repository at this point in the history
* chore: migrate to lerna v6
* chore: migrate to lerna v7
* chore(v8): add ES2015.Iterable to tsconfig lib as jest types need it
* generate change-files
  • Loading branch information
Hotell authored Sep 25, 2023
1 parent 36a932b commit ccc380c
Show file tree
Hide file tree
Showing 12 changed files with 968 additions and 1,452 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: add ES2015.Iterable to tsconfig lib as jest types need it",
"packageName": "@fluentui/dom-utilities",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: add ES2015.Iterable to tsconfig lib as jest types need it",
"packageName": "@fluentui/keyboard-key",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: add ES2015.Iterable to tsconfig lib as jest types need it",
"packageName": "@fluentui/merge-styles",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: add ES2015.Iterable to tsconfig lib as jest types need it",
"packageName": "@fluentui/set-version",
"email": "[email protected]",
"dependentChangeType": "none"
}
6 changes: 3 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.0.0",
"packages": [
"apps/*",
"packages/*",
Expand All @@ -8,7 +10,5 @@
"tools/*",
"typings"
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.0"
"npmClient": "yarn"
}
3 changes: 2 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"package": {
"dependsOn": ["^package"]
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@
"jsonc-eslint-parser": "2.3.0",
"just-scripts": "1.8.2",
"lage": "1.8.8",
"lerna": "5.5.2",
"lerna": "7.1.3",
"@lerna/project": "6.4.1",
"@lerna/package-graph": "6.4.1",
"lerna-alias": "3.0.3-0",
"license-webpack-plugin": "2.3.10",
"lint-staged": "10.2.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/dom-utilities/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"strict": true,
"moduleResolution": "node",
"preserveConstEnums": true,
"lib": ["es5", "dom"],
"lib": ["es5", "dom", "ES2015.Iterable"],
"typeRoots": ["../../node_modules/@types", "../../typings"],
"types": ["jest", "custom-global"],
"isolatedModules": true
Expand Down
2 changes: 1 addition & 1 deletion packages/keyboard-key/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "dist",
"target": "es5",
"module": "commonjs",
"lib": ["ES5", "ES2015.Collection", "DOM"],
"lib": ["ES5", "DOM", "ES2015.Collection", "ES2015.Iterable"],
"jsx": "react",
"declaration": true,
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/merge-styles/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es5",
"outDir": "lib",
"module": "commonjs",
"lib": ["ES5", "ES2015.Collection", "dom"],
"lib": ["ES5", "ES2015.Collection", "ES2015.Iterable", "dom"],
"jsx": "react",
"declaration": true,
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/set-version/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es5",
"outDir": "lib",
"module": "commonjs",
"lib": ["ES5", "ES2015.Collection", "dom"],
"lib": ["ES5", "ES2015.Collection", "ES2015.Iterable", "dom"],
"declaration": true,
"sourceMap": true,
"importHelpers": true,
Expand Down
Loading

0 comments on commit ccc380c

Please sign in to comment.