Skip to content

Commit f02e9d2

Browse files
authored
build: 📦 nrwl monorepo to v16.8.1 (#547)
1 parent 1e507ea commit f02e9d2

File tree

6 files changed

+180
-158
lines changed

6 files changed

+180
-158
lines changed

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
- uses: ./.github/actions/setup
1313

1414
- name: Integration Test
15-
run: npx nx e2e ngx-deploy-npm-e2e --jestConfig e2e/ngx-deploy-npm-e2e/jest.integration.config.js
15+
run: npx nx integration ngx-deploy-npm-e2e

e2e/ngx-deploy-npm-e2e/project.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
"sourceRoot": "e2e/ngx-deploy-npm-e2e/src",
66
"targets": {
77
"e2e": {
8-
"executor": "@nx/plugin:e2e",
8+
"executor": "@nx/jest:jest",
99
"options": {
10-
"target": "ngx-deploy-npm:build",
1110
"jestConfig": "e2e/ngx-deploy-npm-e2e/jest.config.js",
1211
"runInBand": true
13-
}
12+
},
13+
"dependsOn": ["ngx-deploy-npm:build"]
14+
},
15+
"integration": {
16+
"executor": "@nx/jest:jest",
17+
"options": {
18+
"jestConfig": "e2e/ngx-deploy-npm-e2e/jest.integration.config.js",
19+
"runInBand": true
20+
},
21+
"dependsOn": ["ngx-deploy-npm:build"]
1422
}
1523
},
1624
"tags": [],

e2e/ngx-deploy-npm-e2e/tests/build.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('build', () => {
1313
initNgxDeployNPMProject();
1414
installDependencies(nxPlugin);
1515

16-
generateLib(nxPlugin, publishableLib);
16+
generateLib(nxPlugin, publishableLib, `--dir="libs/${publishableLib}"`);
1717

1818
// Install the project
1919
installNgxDeployNPMProject();

e2e/ngx-deploy-npm-e2e/tests/install-ng-add.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ describe('install/ng-add', () => {
2727
installDependencies('@nx/node');
2828

2929
// Init libs and projects
30-
generateLib('@nx/node', publicLib);
31-
generateLib('@nx/node', publicLib2);
32-
generateLib('@nx/node', restrictedLib);
33-
generateLib('@nx/node', libNOTset);
30+
generateLib('@nx/node', publicLib, `--dir="libs/${publicLib}"`);
31+
generateLib('@nx/node', publicLib2, `--dir="libs/${publicLib2}"`);
32+
generateLib('@nx/node', restrictedLib, `--dir="libs/${restrictedLib}"`);
33+
generateLib('@nx/node', libNOTset, `--dir="libs/${libNOTset}"`);
3434

3535
installNgxDeployNPMProject(`--projects ${publicLib},${publicLib2}`);
3636

0 commit comments

Comments
 (0)