@unisphere/nx 3.6.0 â 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migration: Remove outdated rollup patch file
|
|
3
|
+
*
|
|
4
|
+
* Removes patches/@nx+rollup+22.1.3.patch if it exists.
|
|
5
|
+
* Migration succeeds whether file exists or not.
|
|
6
|
+
*/
|
|
7
|
+
import { Tree } from '@nx/devkit';
|
|
8
|
+
export default function update(tree: Tree): Promise<void>;
|
|
9
|
+
//# sourceMappingURL=remove-rollup-patch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-rollup-patch.d.ts","sourceRoot":"","sources":["../../../src/migrations/3-6-3/remove-rollup-patch.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAU,MAAM,YAAY,CAAC;AAE1C,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAW9D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Migration: Remove outdated rollup patch file
|
|
4
|
+
*
|
|
5
|
+
* Removes patches/@nx+rollup+22.1.3.patch if it exists.
|
|
6
|
+
* Migration succeeds whether file exists or not.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.default = update;
|
|
10
|
+
const devkit_1 = require("@nx/devkit");
|
|
11
|
+
async function update(tree) {
|
|
12
|
+
devkit_1.logger.info('đ Removing outdated rollup patch file...');
|
|
13
|
+
const patchPath = 'patches/@nx+rollup+22.1.3.patch';
|
|
14
|
+
if (tree.exists(patchPath)) {
|
|
15
|
+
tree.delete(patchPath);
|
|
16
|
+
devkit_1.logger.info(`â
Removed ${patchPath}`);
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
devkit_1.logger.info(`âšī¸ Patch file not found (already removed or never existed)`);
|
|
20
|
+
}
|
|
21
|
+
}
|
package/migrations.json
CHANGED
|
@@ -306,6 +306,14 @@
|
|
|
306
306
|
"cli": {
|
|
307
307
|
"postUpdateMessage": "â
.github/workflows/publish-artifacts.yml updated successfully"
|
|
308
308
|
}
|
|
309
|
+
},
|
|
310
|
+
"3-6-3-remove-rollup-patch": {
|
|
311
|
+
"version": "3.6.3",
|
|
312
|
+
"description": "Removes outdated @nx/rollup patch file",
|
|
313
|
+
"factory": "./dist/migrations/3-6-3/remove-rollup-patch.js",
|
|
314
|
+
"cli": {
|
|
315
|
+
"postUpdateMessage": "â
Outdated rollup patch file removed"
|
|
316
|
+
}
|
|
309
317
|
}
|
|
310
318
|
},
|
|
311
319
|
"packageJsonUpdates": {
|
|
@@ -479,7 +487,7 @@
|
|
|
479
487
|
"postUpdateMessage": "đ Migration to @unisphere/nx 3.6.0 completed successfully!",
|
|
480
488
|
"packages": {
|
|
481
489
|
"@unisphere/cli": {
|
|
482
|
-
"version": "2.6.
|
|
490
|
+
"version": "2.6.6",
|
|
483
491
|
"alwaysAddToPackageJson": false
|
|
484
492
|
}
|
|
485
493
|
}
|