Skip to content

Commit b2d71fa

Browse files
authored
fix: rescope nwrl packages (#175)
* fix: rescope nwrl packages * fix: use node 16 and 18
1 parent 0d8aaac commit b2d71fa

File tree

26 files changed

+72
-846
lines changed

26 files changed

+72
-846
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"],
4+
"plugins": ["@nx/eslint-plugin"],
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,
@@ -39,12 +39,12 @@
3939
},
4040
{
4141
"files": ["*.ts", "*.tsx"],
42-
"extends": ["plugin:@nrwl/nx/typescript"],
42+
"extends": ["plugin:@nx/typescript"],
4343
"rules": {}
4444
},
4545
{
4646
"files": ["*.js", "*.jsx"],
47-
"extends": ["plugin:@nrwl/nx/javascript"],
47+
"extends": ["plugin:@nx/javascript"],
4848
"rules": {}
4949
}
5050
]

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
strategy:
3636
matrix:
37-
node-version: [14.x, 16.x]
37+
node-version: [16.x, 18.x]
3838

3939
steps:
4040
- uses: actions/checkout@v3
@@ -51,7 +51,7 @@ jobs:
5151

5252
strategy:
5353
matrix:
54-
node-version: [14.x, 16.x]
54+
node-version: [16.x, 18.x]
5555

5656
steps:
5757
- uses: actions/checkout@v3

apps/showcase-e2e/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
77
"rules": {
8-
"@nrwl/nx/enforce-module-boundaries": [0]
8+
"@nx/enforce-module-boundaries": [0]
99
}
1010
},
1111
{

apps/showcase-e2e/cypress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from 'cypress';
2-
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
2+
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
33

44
const cypressJsonConfig = {
55
fileServerFolder: '.',

apps/showcase-e2e/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"e2e": {
8-
"executor": "@nrwl/cypress:cypress",
8+
"executor": "@nx/cypress:cypress",
99
"options": {
1010
"cypressConfig": "apps/showcase-e2e/cypress.config.ts",
1111
"tsConfig": "apps/showcase-e2e/tsconfig.json",
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"lint": {
22-
"executor": "@nrwl/linter:eslint",
22+
"executor": "@nx/linter:eslint",
2323
"options": {
2424
"lintFilePatterns": ["apps/showcase-e2e/**/*.{js,ts}"]
2525
},

apps/showcase/.eslintrc.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44
"overrides": [
55
{
66
"files": ["*.ts"],
7-
"extends": [
8-
"plugin:@nrwl/nx/angular",
9-
"plugin:@angular-eslint/template/process-inline-templates"
10-
],
7+
"extends": ["plugin:@nx/angular", "plugin:@angular-eslint/template/process-inline-templates"],
118
"rules": {
12-
"@nrwl/nx/enforce-module-boundaries": [0],
9+
"@nx/enforce-module-boundaries": [0],
1310
"@angular-eslint/directive-selector": [
1411
"error",
1512
{
@@ -30,7 +27,7 @@
3027
},
3128
{
3229
"files": ["*.html"],
33-
"extends": ["plugin:@nrwl/nx/angular-template"],
30+
"extends": ["plugin:@nx/angular-template"],
3431
"rules": {}
3532
}
3633
]

apps/showcase/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@
7171
}
7272
},
7373
"lint": {
74-
"executor": "@nrwl/linter:eslint",
74+
"executor": "@nx/linter:eslint",
7575
"options": {
7676
"lintFilePatterns": ["apps/showcase/src/**/*.ts", "apps/showcase/src/**/*.html"]
7777
},
7878
"outputs": ["{options.outputFile}"]
7979
},
8080
"test": {
81-
"executor": "@nrwl/jest:jest",
81+
"executor": "@nx/jest:jest",
8282
"outputs": ["{workspaceRoot}/coverage/apps/showcase"],
8383
"options": {
8484
"jestConfig": "apps/showcase/jest.config.ts",

apps/vue-showcase/cypress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from 'cypress';
2-
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
2+
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
33

44
const cypressJsonConfig = {
55
fileServerFolder: '.',

apps/vue-showcase/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
}
2929
},
3030
"lint": {
31-
"executor": "@nrwl/linter:eslint",
31+
"executor": "@nx/linter:eslint",
3232
"options": {
3333
"lintFilePatterns": ["apps/vue-showcase/**/*.{js,jsx,ts,tsx,vue}"]
3434
}
3535
},
3636
"test": {
37-
"executor": "@nrwl/jest:jest",
37+
"executor": "@nx/jest:jest",
3838
"outputs": ["{workspaceRoot}/coverage/apps/vue-showcase"],
3939
"options": {
4040
"jestConfig": "apps/vue-showcase/jest.config.ts",

decorate-angular-cli.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)