Skip to content

Commit 6624c75

Browse files
chore: migrate to nx 16 (#141)
* chore: migrate to nx 16 * chore: run migrations * chore: manual changes * chore: bump nx version from rc * chore: bump playwright version
1 parent 6e42b7a commit 6624c75

File tree

109 files changed

+1551
-1336
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1551
-1336
lines changed

.eslintrc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"root": true,
33
"ignorePatterns": ["**/*"],
4-
"plugins": ["@nrwl/nx", "eslint-plugin-unused-imports"],
4+
"plugins": ["@nx", "eslint-plugin-unused-imports"],
55
"overrides": [
66
{
77
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
88
"rules": {
9-
"@nrwl/nx/enforce-module-boundaries": [
9+
"@nx/enforce-module-boundaries": [
1010
"error",
1111
{
1212
"enforceBuildableLibDependency": true,
@@ -23,7 +23,7 @@
2323
},
2424
{
2525
"files": ["*.ts", "*.tsx"],
26-
"extends": ["plugin:@nrwl/nx/typescript"],
26+
"extends": ["plugin:@nx/typescript"],
2727
"rules": {
2828
"@typescript-eslint/no-var-requires": "off",
2929
"@typescript-eslint/no-non-null-assertion": "off",
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"files": ["*.js", "*.jsx"],
48-
"extends": ["plugin:@nrwl/nx/javascript"],
48+
"extends": ["plugin:@nx/javascript"],
4949
"rules": {}
5050
},
5151
{

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,15 @@ This plugin supports Nx migrations and provides necessary version and code updat
7373

7474
## qwik-nx & Nx Compatibility Chart
7575

76-
| qwik-nx version | Nx version |
77-
| ------------------- | ---------- |
78-
| ~0.12.0, ~0.13.0 | ^15.8.0 |
79-
| ~0.10.0, ~0.11.0 | ~15.7.2 |
80-
| >= ~0.6.0 <= ~0.9.0 | ~15.6.0 |
81-
| ~0.5.0 | ~15.5.0 |
82-
| ~0.4.0 | ~15.4.0 |
83-
| <=0.4.0 | ^15.0.0 |
76+
| qwik-nx version | Nx version |
77+
| ------------------ | ---------- |
78+
| ^0.16.0 | ^16.0.0 |
79+
| >= 0.12.0 < 0.16.0 | ^15.8.0 |
80+
| ~0.10.0, ~0.11.0 | ~15.7.2 |
81+
| >= 0.6.0 < 0.10.0 | ~15.6.0 |
82+
| ~0.5.0 | ~15.5.0 |
83+
| ~0.4.0 | ~15.4.0 |
84+
| <=0.4.0 | ^15.0.0 |
8485

8586
## ROADMAP:
8687

e2e/qwik-nx-e2e/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"parser": "jsonc-eslint-parser",
2525
"rules": {
26-
"@nrwl/nx/nx-plugin-checks": "error"
26+
"@nx/nx-plugin-checks": "error"
2727
}
2828
}
2929
]

e2e/qwik-nx-e2e/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"sourceRoot": "e2e/qwik-nx-e2e/src",
66
"targets": {
77
"e2e": {
8-
"executor": "@nrwl/nx-plugin:e2e",
8+
"executor": "@nx/plugin:e2e",
99
"options": {
1010
"target": "qwik-nx:build",
1111
"jestConfig": "e2e/qwik-nx-e2e/jest.config.ts",
1212
"maxWorkers": 1
1313
}
1414
},
1515
"lint": {
16-
"executor": "@nrwl/linter:eslint",
16+
"executor": "@nx/linter:eslint",
1717
"outputs": ["{options.outputFile}"],
1818
"options": {
1919
"lintFilePatterns": ["e2e/qwik-nx-e2e/**/*.ts"]

e2e/qwik-nx-e2e/tests/application-basic-behavior.suite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
ensureNxProject,
66
runNxCommandAsync,
77
uniq,
8-
} from '@nrwl/nx-plugin/testing';
8+
} from '@nx/plugin/testing';
99

1010
import {
1111
runCommandUntil,

e2e/qwik-nx-e2e/tests/chore.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
ensureNxProject,
33
readJson,
44
runNxCommandAsync,
5-
} from '@nrwl/nx-plugin/testing';
5+
} from '@nx/plugin/testing';
66
import { DEFAULT_E2E_TIMEOUT } from '@qwikifiers/e2e/utils';
77

88
describe('appGenerator e2e', () => {
@@ -30,10 +30,10 @@ describe('appGenerator e2e', () => {
3030

3131
expect(packageJson.peerDependencies).toBeUndefined();
3232
expect(packageJson.dependencies).toEqual({
33-
'@nrwl/devkit': '^15.8.0',
34-
'@nrwl/js': '^15.8.0',
35-
'@nrwl/linter': '^15.8.0',
36-
'@nrwl/vite': '^15.8.0',
33+
'@nx/devkit': '^16.0.0',
34+
'@nx/js': '^16.0.0',
35+
'@nx/linter': '^16.0.0',
36+
'@nx/vite': '^16.0.0',
3737
});
3838
},
3939
DEFAULT_E2E_TIMEOUT

e2e/qwik-nx-e2e/tests/micro-frontends.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
readJson,
55
runNxCommandAsync,
66
uniq,
7-
} from '@nrwl/nx-plugin/testing';
7+
} from '@nx/plugin/testing';
88

99
import {
1010
runCommandUntil,

e2e/qwik-nx-e2e/tests/qwik-nx-vite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
runNxCommandAsync,
77
uniq,
88
updateFile,
9-
} from '@nrwl/nx-plugin/testing';
9+
} from '@nx/plugin/testing';
1010

1111
import {
1212
runCommandUntil,

e2e/qwik-nx-e2e/tests/storybook.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
ensureNxProject,
44
runNxCommandAsync,
55
uniq,
6-
} from '@nrwl/nx-plugin/testing';
6+
} from '@nx/plugin/testing';
77

88
import {
99
runCommandUntil,

e2e/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// source: https://github.com/nrwl/nx/blob/master/e2e/utils/index.ts
22

3-
import { runNxCommandAsync, uniq, tmpProjPath } from '@nrwl/nx-plugin/testing';
3+
import { runNxCommandAsync, uniq, tmpProjPath } from '@nx/plugin/testing';
44
import { ChildProcess, exec, execSync } from 'child_process';
55
import { readdirSync, readFileSync, removeSync, statSync } from 'fs-extra';
66
import { check as portCheck } from 'tcp-port-used';

0 commit comments

Comments
 (0)