Skip to content

Commit 4795cac

Browse files
authored
feat: add support to nx 16 (#503)
BREAKING CHANGE: Drop support for previous Nx versions: Support for Nx versions 14 and 15 has been discontinued. To continue receiving updates on this project in the future, we recommend upgrading to Nx v16. BREAKING CHANGE: Drop support for Node 14 The project no longer supports Node.js 14.x. To ensure optimal performance and stability, upgrading to a newer version of Node.js is essential. We recommend using Node.js 16 as it offers adequate compatibility with the project. BREAKING CHANGE: Remove the Init generator The generator "init" has been removed from our list of generators. This change has been implemented as the "init" generator was deemed unnecessary and did not provide any functional value. So, you should stop using it in your project from now on.
1 parent 5eb3957 commit 4795cac

Some content is hidden

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

64 files changed

+14041
-19575
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"],
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,12 +23,12 @@
2323
},
2424
{
2525
"files": ["*.ts", "*.tsx"],
26-
"extends": ["plugin:@nrwl/nx/typescript"],
26+
"extends": ["plugin:@nx/typescript"],
2727
"rules": {}
2828
},
2929
{
3030
"files": ["*.js", "*.jsx"],
31-
"extends": ["plugin:@nrwl/nx/javascript"],
31+
"extends": ["plugin:@nx/javascript"],
3232
"rules": {}
3333
}
3434
]

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
node-version:
55
description: Node.js version
66
required: false
7-
default: '18'
7+
default: '16'
88
runs:
99
using: composite
1010
steps:

.github/workflows/angular-e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [14, 16, 18]
10+
node-version: [16, 18]
1111
steps:
1212
- uses: actions/checkout@v3
1313
with:

.github/workflows/basic-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
unit-test:
5252
strategy:
5353
matrix:
54-
node-version: [14, 16, 18]
54+
node-version: [16, 18]
5555
os: [ubuntu-latest, windows-latest]
5656
runs-on: ${{ matrix.os }}
5757
steps:

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
e2e-test:
77
strategy:
88
matrix:
9-
node-version: [14, 16, 18]
9+
node-version: [16, 18]
1010
os: [ubuntu-latest, windows-latest]
1111
runs-on: ${{ matrix.os }}
1212
steps:

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [14, 16, 18]
10+
node-version: [16, 18]
1111
steps:
1212
- uses: actions/checkout@v3
1313
with:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
16

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
[mit-licence-image]: https://img.shields.io/badge/license-MIT-orange.svg?color=blue&style=flat
3939
[conventional-commits-image]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
4040
[downloads-image]: https://img.shields.io/npm/dm/ngx-deploy-npm
41-
[supported-node-versions]: https://img.shields.io/badge/node-v14%20v16%20v18-green
41+
[supported-node-versions]: https://img.shields.io/badge/node-v16%20v18-green
4242
[next-tests-image]: https://github.com/bikecoders/ngx-deploy-npm/actions/workflows/test-nx-next.yml/badge.svg
4343
[linux-image]: https://img.shields.io/badge/Linux-FCC624?style=flat&logo=linux&logoColor=black
4444
[macos-image]: https://img.shields.io/badge/mac%20os-000000?style=flat&logo=macos&logoColor=F0F0F0

docs/README_contributors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ On VsCode, create a [_JavaScript Debug Terminal_](https://code.visualstudio.com/
8484
2. Now, run your command on debug mode using:
8585

8686
```bash
87-
node --inspect-brk ./node_modules/@nrwl/cli/bin/nx
87+
node --inspect-brk ./node_modules/@nx/cli/bin/nx
8888
```
8989

9090
3. Use your favorite Inspector Client to debug

e2e/ngx-deploy-npm-e2e/integration/angular.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ describe('Angular', () => {
44
initNgxDeployNPMProject();
55

66
const libName = 'angular-lib';
7-
const nxPlugin = '@nrwl/angular';
7+
const nxPlugin = '@nx/angular';
88

99
basicSetTestForLibs(libName, nxPlugin);
1010
});

0 commit comments

Comments
 (0)