@nrwl/workspace 15.0.0 → 15.0.1-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +1 -1
- package/package.json +30 -30
- package/src/generators/ci-workflow/files/circleci/.circleci/config.yml__tmpl__ +1 -1
- package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +2 -2
- package/src/migrations/update-14-2-0/enable-source-analysis.js +14 -13
- package/src/migrations/update-14-2-0/enable-source-analysis.js.map +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,6 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
|
6
|
+
## [15.0.1-beta.2](https://github.com/nrwl/nx/compare/15.0.0...15.0.1-beta.2) (2022-10-19)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @nrwl/workspace
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/workspace",
|
3
|
-
"version": "15.0.
|
3
|
+
"version": "15.0.1-beta.2",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
|
6
6
|
"repository": {
|
@@ -33,31 +33,31 @@
|
|
33
33
|
"requirements": {},
|
34
34
|
"migrations": "./migrations.json",
|
35
35
|
"packageGroup": {
|
36
|
-
"@nrwl/angular": "15.0.
|
37
|
-
"@nrwl/cli": "15.0.
|
38
|
-
"@nrwl/cypress": "15.0.
|
39
|
-
"@nrwl/detox": "15.0.
|
40
|
-
"@nrwl/devkit": "15.0.
|
41
|
-
"@nrwl/esbuild": "15.0.
|
42
|
-
"@nrwl/eslint-plugin-nx": "15.0.
|
43
|
-
"@nrwl/expo": "15.0.
|
44
|
-
"@nrwl/express": "15.0.
|
45
|
-
"@nrwl/jest": "15.0.
|
46
|
-
"@nrwl/js": "15.0.
|
47
|
-
"@nrwl/linter": "15.0.
|
48
|
-
"@nrwl/nest": "15.0.
|
49
|
-
"@nrwl/next": "15.0.
|
50
|
-
"@nrwl/node": "15.0.
|
36
|
+
"@nrwl/angular": "15.0.1-beta.2",
|
37
|
+
"@nrwl/cli": "15.0.1-beta.2",
|
38
|
+
"@nrwl/cypress": "15.0.1-beta.2",
|
39
|
+
"@nrwl/detox": "15.0.1-beta.2",
|
40
|
+
"@nrwl/devkit": "15.0.1-beta.2",
|
41
|
+
"@nrwl/esbuild": "15.0.1-beta.2",
|
42
|
+
"@nrwl/eslint-plugin-nx": "15.0.1-beta.2",
|
43
|
+
"@nrwl/expo": "15.0.1-beta.2",
|
44
|
+
"@nrwl/express": "15.0.1-beta.2",
|
45
|
+
"@nrwl/jest": "15.0.1-beta.2",
|
46
|
+
"@nrwl/js": "15.0.1-beta.2",
|
47
|
+
"@nrwl/linter": "15.0.1-beta.2",
|
48
|
+
"@nrwl/nest": "15.0.1-beta.2",
|
49
|
+
"@nrwl/next": "15.0.1-beta.2",
|
50
|
+
"@nrwl/node": "15.0.1-beta.2",
|
51
51
|
"@nrwl/nx-cloud": "latest",
|
52
|
-
"@nrwl/nx-plugin": "15.0.
|
53
|
-
"@nrwl/react": "15.0.
|
54
|
-
"@nrwl/react-native": "15.0.
|
55
|
-
"@nrwl/rollup": "15.0.
|
56
|
-
"@nrwl/storybook": "15.0.
|
57
|
-
"@nrwl/tao": "15.0.
|
58
|
-
"@nrwl/web": "15.0.
|
59
|
-
"@nrwl/webpack": "15.0.
|
60
|
-
"nx": "15.0.
|
52
|
+
"@nrwl/nx-plugin": "15.0.1-beta.2",
|
53
|
+
"@nrwl/react": "15.0.1-beta.2",
|
54
|
+
"@nrwl/react-native": "15.0.1-beta.2",
|
55
|
+
"@nrwl/rollup": "15.0.1-beta.2",
|
56
|
+
"@nrwl/storybook": "15.0.1-beta.2",
|
57
|
+
"@nrwl/tao": "15.0.1-beta.2",
|
58
|
+
"@nrwl/web": "15.0.1-beta.2",
|
59
|
+
"@nrwl/webpack": "15.0.1-beta.2",
|
60
|
+
"nx": "15.0.1-beta.2"
|
61
61
|
}
|
62
62
|
},
|
63
63
|
"peerDependencies": {
|
@@ -69,9 +69,9 @@
|
|
69
69
|
}
|
70
70
|
},
|
71
71
|
"dependencies": {
|
72
|
-
"@nrwl/devkit": "15.0.
|
73
|
-
"@nrwl/jest": "15.0.
|
74
|
-
"@nrwl/linter": "15.0.
|
72
|
+
"@nrwl/devkit": "15.0.1-beta.2",
|
73
|
+
"@nrwl/jest": "15.0.1-beta.2",
|
74
|
+
"@nrwl/linter": "15.0.1-beta.2",
|
75
75
|
"@parcel/watcher": "2.0.4",
|
76
76
|
"chalk": "4.1.0",
|
77
77
|
"chokidar": "^3.5.1",
|
@@ -86,7 +86,7 @@
|
|
86
86
|
"ignore": "^5.0.4",
|
87
87
|
"minimatch": "3.0.5",
|
88
88
|
"npm-run-path": "^4.0.1",
|
89
|
-
"nx": "15.0.
|
89
|
+
"nx": "15.0.1-beta.2",
|
90
90
|
"open": "^8.4.0",
|
91
91
|
"rxjs": "^6.5.4",
|
92
92
|
"semver": "7.3.4",
|
@@ -99,5 +99,5 @@
|
|
99
99
|
"access": "public"
|
100
100
|
},
|
101
101
|
"types": "./index.d.ts",
|
102
|
-
"gitHead": "
|
102
|
+
"gitHead": "ccc98e3252e9f7e8d805edc9d0820b6c86b68559"
|
103
103
|
}
|
package/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__
CHANGED
@@ -9,7 +9,7 @@ on:
|
|
9
9
|
jobs:
|
10
10
|
main:
|
11
11
|
name: Nx Cloud - Main Job
|
12
|
-
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.
|
12
|
+
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.8
|
13
13
|
with:
|
14
14
|
number-of-agents: 3
|
15
15
|
init-commands: |
|
@@ -24,6 +24,6 @@ jobs:
|
|
24
24
|
|
25
25
|
agents:
|
26
26
|
name: Nx Cloud - Agents
|
27
|
-
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.
|
27
|
+
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.8
|
28
28
|
with:
|
29
29
|
number-of-agents: 3
|
@@ -4,21 +4,22 @@ exports.enableSourceAnalysis = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const devkit_1 = require("@nrwl/devkit");
|
6
6
|
function enableSourceAnalysis(tree) {
|
7
|
-
var _a;
|
8
7
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
9
|
-
|
10
|
-
|
11
|
-
config.extends === 'nx/presets/
|
12
|
-
|
13
|
-
config.pluginsConfig
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
8
|
+
(0, devkit_1.updateJson)(tree, 'nx.json', (config) => {
|
9
|
+
var _a;
|
10
|
+
if (config.extends === 'nx/presets/core.json' ||
|
11
|
+
config.extends === 'nx/presets/npm.json') {
|
12
|
+
const explicitlyDisabled = config.pluginsConfig &&
|
13
|
+
config.pluginsConfig['@nrwl/js'] &&
|
14
|
+
config.pluginsConfig['@nrwl/js'].analyzeSourceFiles === false;
|
15
|
+
if (!explicitlyDisabled) {
|
16
|
+
config.pluginsConfig || (config.pluginsConfig = {});
|
17
|
+
(_a = config.pluginsConfig)['@nrwl/js'] || (_a['@nrwl/js'] = {});
|
18
|
+
config.pluginsConfig['@nrwl/js'].analyzeSourceFiles = true;
|
19
|
+
}
|
19
20
|
}
|
20
|
-
|
21
|
-
|
21
|
+
return config;
|
22
|
+
});
|
22
23
|
yield (0, devkit_1.formatFiles)(tree);
|
23
24
|
});
|
24
25
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable-source-analysis.js","sourceRoot":"","sources":["../../../../../../packages/workspace/src/migrations/update-14-2-0/enable-source-analysis.ts"],"names":[],"mappings":";;;;AAAA,yCAKsB;AAEtB,SAAsB,oBAAoB,CAAC,IAAU
|
1
|
+
{"version":3,"file":"enable-source-analysis.js","sourceRoot":"","sources":["../../../../../../packages/workspace/src/migrations/update-14-2-0/enable-source-analysis.ts"],"names":[],"mappings":";;;;AAAA,yCAKsB;AAEtB,SAAsB,oBAAoB,CAAC,IAAU;;QACnD,IAAA,mBAAU,EAAsB,IAAI,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,EAAE;;YAC1D,IACE,MAAM,CAAC,OAAO,KAAK,sBAAsB;gBACzC,MAAM,CAAC,OAAO,KAAK,qBAAqB,EACxC;gBACA,MAAM,kBAAkB,GACtB,MAAM,CAAC,aAAa;oBACpB,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC;oBAC/B,MAAM,CAAC,aAAa,CAAC,UAAU,CAAS,CAAC,kBAAkB,KAAK,KAAK,CAAC;gBAEzE,IAAI,CAAC,kBAAkB,EAAE;oBACvB,MAAM,CAAC,aAAa,KAApB,MAAM,CAAC,aAAa,GAAK,EAAE,EAAC;oBAC5B,MAAA,MAAM,CAAC,aAAa,EAAC,UAAU,SAAV,UAAU,IAAM,EAAE,EAAC;oBACvC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAS,CAAC,kBAAkB,GAAG,IAAI,CAAC;iBACrE;aACF;YACD,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CAAC;QACH,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CAAA;AApBD,oDAoBC;AAED,kBAAe,oBAAoB,CAAC"}
|