@nrwl/workspace 13.9.1 → 13.9.2
Sign up to get free protection for your applications and to get access to all the features.
- package/migrations.json +3 -3
- package/package.json +5 -5
- package/src/generators/workspace/files/package.json__tmpl__ +1 -0
- package/src/migrations/update-13-9-0/replace-tao-with-nx.d.ts +3 -0
- package/src/migrations/update-13-9-0/{replace-tao-and-cli-with-nx.js → replace-tao-with-nx.js} +8 -9
- package/src/migrations/update-13-9-0/replace-tao-with-nx.js.map +1 -0
- package/src/utils/versions.js +1 -1
- package/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.d.ts +0 -3
- package/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.js.map +0 -1
package/migrations.json
CHANGED
@@ -42,11 +42,11 @@
|
|
42
42
|
"cli": "nx",
|
43
43
|
"implementation": "./src/migrations/update-13-9-0/update-decorate-cli"
|
44
44
|
},
|
45
|
-
"13-9-0-replace-tao-
|
45
|
+
"13-9-0-replace-tao-with-nx": {
|
46
46
|
"version": "13.9.0-beta.0",
|
47
|
-
"description": "Replace @nrwl/tao
|
47
|
+
"description": "Replace @nrwl/tao with nx",
|
48
48
|
"cli": "nx",
|
49
|
-
"implementation": "./src/migrations/update-13-9-0/replace-tao-
|
49
|
+
"implementation": "./src/migrations/update-13-9-0/replace-tao-with-nx"
|
50
50
|
}
|
51
51
|
},
|
52
52
|
"packageJsonUpdates": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nrwl/workspace",
|
3
|
-
"version": "13.9.
|
3
|
+
"version": "13.9.2",
|
4
4
|
"description": "Smart, Fast and Extensible Build System",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node ./src/init/init"
|
@@ -83,10 +83,10 @@
|
|
83
83
|
"minimatch": "3.0.4",
|
84
84
|
"enquirer": "~2.3.6",
|
85
85
|
"tslib": "^2.3.0",
|
86
|
-
"nx": "13.9.
|
87
|
-
"@nrwl/devkit": "13.9.
|
88
|
-
"@nrwl/jest": "13.9.
|
89
|
-
"@nrwl/linter": "13.9.
|
86
|
+
"nx": "13.9.2",
|
87
|
+
"@nrwl/devkit": "13.9.2",
|
88
|
+
"@nrwl/jest": "13.9.2",
|
89
|
+
"@nrwl/linter": "13.9.2"
|
90
90
|
},
|
91
91
|
"nx-migrations": {
|
92
92
|
"migrations": "./migrations.json"
|
@@ -10,6 +10,7 @@
|
|
10
10
|
"devDependencies": {
|
11
11
|
<% if(cli === 'angular') { %>"@angular/cli": "<%= angularCliVersion %>",<% } %>
|
12
12
|
"nx": "<%= nxVersion %>",
|
13
|
+
"@nrwl/cli": "<%= nxVersion %>",
|
13
14
|
"@nrwl/workspace": "<%= nxVersion %>",
|
14
15
|
"@types/node": "16.11.7",
|
15
16
|
"typescript": "<%= typescriptVersion %>",
|
package/src/migrations/update-13-9-0/{replace-tao-and-cli-with-nx.js → replace-tao-with-nx.js}
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.replaceTaoWithNx = void 0;
|
4
4
|
const devkit_1 = require("@nrwl/devkit");
|
5
|
-
function
|
5
|
+
function replaceTaoWithNx(host) {
|
6
6
|
(0, devkit_1.updateJson)(host, 'package.json', (json) => {
|
7
7
|
if (json.dependencies['@nrwl/workspace']) {
|
8
8
|
json.dependencies['nx'] = json.dependencies['@nrwl/workspace'];
|
@@ -10,17 +10,16 @@ function replaceTaoAndCLIWithNx(host) {
|
|
10
10
|
else if (json.devDependencies['@nrwl/workspace']) {
|
11
11
|
json.devDependencies['nx'] = json.devDependencies['@nrwl/workspace'];
|
12
12
|
}
|
13
|
-
|
14
|
-
|
13
|
+
removeTao(json.dependencies);
|
14
|
+
removeTao(json.devDependencies);
|
15
15
|
return json;
|
16
16
|
});
|
17
17
|
}
|
18
|
-
exports.
|
19
|
-
function
|
18
|
+
exports.replaceTaoWithNx = replaceTaoWithNx;
|
19
|
+
function removeTao(json) {
|
20
20
|
if (!json)
|
21
21
|
return;
|
22
22
|
json['@nrwl/tao'] = undefined;
|
23
|
-
json['@nrwl/cli'] = undefined;
|
24
23
|
}
|
25
|
-
exports.default =
|
26
|
-
//# sourceMappingURL=replace-tao-
|
24
|
+
exports.default = replaceTaoWithNx;
|
25
|
+
//# sourceMappingURL=replace-tao-with-nx.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"replace-tao-with-nx.js","sourceRoot":"","sources":["../../../../../../packages/workspace/src/migrations/update-13-9-0/replace-tao-with-nx.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAEhD,SAAgB,gBAAgB,CAAC,IAAU;IACzC,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAS,EAAE,EAAE;QAC7C,IAAI,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE;YACxC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;SAChE;aAAM,IAAI,IAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,EAAE;YAClD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC;SACtE;QACD,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC7B,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAXD,4CAWC;AAED,SAAS,SAAS,CAAC,IAAS;IAC1B,IAAI,CAAC,IAAI;QAAE,OAAO;IAClB,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;AAChC,CAAC;AAED,kBAAe,gBAAgB,CAAC"}
|
package/src/utils/versions.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.eslintConfigPrettierVersion = exports.eslintVersion = exports.typescriptESLintVersion = exports.tslintVersion = exports.prettierVersion = exports.typescriptVersion = exports.angularCliVersion = exports.nxVersion = void 0;
|
4
|
-
exports.nxVersion = '13.9.
|
4
|
+
exports.nxVersion = '13.9.2';
|
5
5
|
exports.angularCliVersion = '~13.2.0';
|
6
6
|
exports.typescriptVersion = '~4.5.2';
|
7
7
|
exports.prettierVersion = '^2.5.1';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"replace-tao-and-cli-with-nx.js","sourceRoot":"","sources":["../../../../../../packages/workspace/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAEhD,SAAgB,sBAAsB,CAAC,IAAU;IAC/C,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAS,EAAE,EAAE;QAC7C,IAAI,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE;YACxC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,CAAC;SAChE;aAAM,IAAI,IAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,EAAE;YAClD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC;SACtE;QACD,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACnC,eAAe,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AAXD,wDAWC;AAED,SAAS,eAAe,CAAC,IAAS;IAChC,IAAI,CAAC,IAAI;QAAE,OAAO;IAClB,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;AAChC,CAAC;AAED,kBAAe,sBAAsB,CAAC"}
|