Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updated Nx to latest #1059

Merged
merged 6 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions e2e/preact-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "e2e/preact-e2e/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
},
"dependsOn": ["^build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/preact-e2e/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": [],
Expand Down
12 changes: 1 addition & 11 deletions e2e/solid-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "e2e/solid-e2e/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
},
"dependsOn": ["^build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/solid-e2e/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": [],
Expand Down
12 changes: 1 addition & 11 deletions e2e/stencil-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "e2e/stencil-e2e/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
},
"dependsOn": ["^build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/stencil-e2e/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": [],
Expand Down
12 changes: 1 addition & 11 deletions e2e/svelte-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "e2e/svelte-e2e/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
},
"dependsOn": ["^build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/svelte-e2e/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": [],
Expand Down
12 changes: 1 addition & 11 deletions e2e/sveltekit-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "e2e/sveltekit-e2e/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
},
"dependsOn": ["^build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/sveltekit-e2e/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": [],
Expand Down
12 changes: 1 addition & 11 deletions e2e/vue-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,13 @@
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "e2e/vue-e2e/jest.config.ts",
"passWithNoTests": true,
"runInBand": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
},
"dependsOn": ["^build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["e2e/vue-e2e/**/*.ts"]
}
"outputs": ["{options.outputFile}"]
}
},
"tags": [],
Expand Down
63 changes: 42 additions & 21 deletions migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,54 @@
"migrations": [
{
"cli": "nx",
"version": "17.0.0-beta.1",
"description": "Updates the default cache directory to .nx/cache",
"implementation": "./src/migrations/update-17-0-0/move-cache-directory",
"package": "nx",
"name": "17.0.0-move-cache-directory"
"version": "17.0.2",
"description": "Remove deprecated build options",
"implementation": "./src/migrations/update-17-0-0/remove-deprecated-build-options",
"package": "@nx/js",
"name": "update-17-0-0-remove-deprecated-build-options"
},
{
"cli": "nx",
"version": "17.0.0-beta.3",
"description": "Use minimal config for tasksRunnerOptions",
"implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options",
"package": "nx",
"name": "17.0.0-use-minimal-config-for-tasks-runner-options"
"version": "17.1.0-beta.1",
"description": "Updates for @typescript-utils/utils v6.9.1+",
"implementation": "./src/migrations/update-17-1-0/update-typescript-eslint",
"package": "@nx/eslint",
"name": "update-typescript-eslint"
},
{
"version": "17.2.0-beta.0",
"description": "Simplify eslintFilePatterns",
"implementation": "./src/migrations/update-17-2-0/simplify-eslint-patterns",
"package": "@nx/eslint",
"name": "simplify-eslint-patterns"
},
{
"version": "17.0.0-rc.1",
"description": "Migration for v17.0.0-rc.1",
"implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope",
"package": "nx",
"name": "rm-default-collection-npm-scope"
"version": "17.1.0-beta.2",
"description": "Move target defaults",
"implementation": "./src/migrations/update-17-1-0/move-target-defaults",
"package": "@nx/vite",
"name": "move-target-defaults"
},
{
"version": "17.0.0-beta.7",
"description": "update-17-0-0-rename-to-eslint",
"implementation": "./src/migrations/update-17-0-0-rename-to-eslint/update-17-0-0-rename-to-eslint",
"package": "@nx/eslint",
"name": "update-17-0-0-rename-to-eslint"
"version": "17.2.0-beta.10",
"description": "Update vite config.",
"implementation": "./src/migrations/update-17-2-0/update-vite-config",
"package": "@nx/vite",
"name": "update-vite-config"
},
{
"version": "17.1.0-beta.2",
"description": "Move jest executor options to nx.json targetDefaults",
"implementation": "./src/migrations/update-17-1-0/move-options-to-target-defaults",
"package": "@nx/jest",
"name": "move-options-to-target-defaults"
},
{
"cli": "nx",
"version": "17.2.0-beta.2",
"description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'",
"factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server",
"package": "@nx/angular",
"name": "rename-webpack-dev-server-executor"
}
]
}
26 changes: 12 additions & 14 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@
"inputs": ["production", "^production"],
"cache": true
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"cache": true
},
"lint": {
"inputs": [
"default",
Expand All @@ -89,16 +85,18 @@
],
"cache": true
},
"build-storybook": {
"inputs": [
"default",
"^production",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
]
},
"e2e": {
"cache": true
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@
"@eslint/eslintrc": "^2.1.1",
"@eslint/js": "8.49.0",
"@nuxt/kit": "3.6.5",
"@nx/angular": "17.0.1",
"@nx/cypress": "17.0.1",
"@nx/devkit": "17.0.1",
"@nx/eslint-plugin": "17.0.1",
"@nx/jest": "17.0.1",
"@nx/js": "17.0.1",
"@nx/node": "17.0.1",
"@nx/playwright": "17.0.1",
"@nx/plugin": "17.0.1",
"@nx/react": "17.0.1",
"@nx/storybook": "17.0.1",
"@nx/vite": "17.0.1",
"@nx/web": "17.0.1",
"@nx/workspace": "17.0.1",
"@nx/angular": "17.2.7",
"@nx/cypress": "17.2.7",
"@nx/devkit": "17.2.7",
"@nx/eslint-plugin": "17.2.7",
"@nx/jest": "17.2.7",
"@nx/js": "17.2.7",
"@nx/node": "17.2.7",
"@nx/playwright": "17.2.7",
"@nx/plugin": "17.2.7",
"@nx/react": "17.2.7",
"@nx/storybook": "17.2.7",
"@nx/vite": "17.2.7",
"@nx/web": "17.2.7",
"@nx/workspace": "17.2.7",
"@phenomnomnominal/tsquery": "~5.0.1",
"@preact/preset-vite": "^2.5.0",
"@schematics/angular": "16.0.0",
Expand All @@ -83,17 +83,17 @@
"@types/globrex": "^0.1.2",
"@types/is-ci": "^3.0.1",
"@types/jest": "29.5.5",
"@types/node": "18.15.3",
"@types/node": "18.16.9",
"@types/yargs": "^17.0.26",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"ajv": "6.12.6",
"all-contributors-cli": "^6.26.1",
"chalk": "4.1.0",
"commitizen": "^4.3.0",
"cz-customizable": "^6.9.1",
"dotenv": "16.3.1",
"eslint": "8.46.0",
"eslint": "8.48.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.14.0",
"eslint-plugin-svelte3": "^4.0.0",
Expand All @@ -112,7 +112,7 @@
"lint-staged": "13.2.3",
"nuxi": "3.6.5",
"nuxt": "3.6.5",
"nx": "17.0.1",
"nx": "17.2.7",
"prettier": "2.7.1",
"pretty-quick": "^3.1.3",
"svelte": "^4.2.1",
Expand All @@ -122,14 +122,14 @@
"ts-node": "10.9.1",
"tslib": "^2.3.0",
"tslint": "6.1.3",
"typescript": "5.1.6",
"typescript": "5.2.2",
"verdaccio": "5.18.0",
"verdaccio-auth-memory": "^10.2.2",
"vite-plugin-solid": "^2.7.0",
"vitepress": "^1.0.0-rc.23",
"yargs": "^17.7.2",
"yargs-parser": "^21.1.1",
"@nx/eslint": "17.0.1"
"@nx/eslint": "17.2.7"
},
"peerDependencies": {
"rxjs": "^7.4.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"dependencies": {
"tslib": "^2.3.0",
"@nx/devkit": "17.0.1",
"typescript": "5.1.6",
"nx": "17.0.1"
"@nx/devkit": "17.2.7",
"typescript": "5.2.2",
"nx": "17.2.7"
}
}
17 changes: 2 additions & 15 deletions packages/common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,13 @@
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/common/**/*.ts",
"packages/common/package.json"
]
}
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/common/jest.config.ts",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
"jestConfig": "packages/common/jest.config.ts"
}
}
},
Expand Down
Loading