@unisphere/nx 1.22.9 → 1.24.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../src/migrations/1-22-4/summary.ts"],"names":[],"mappings":"AAGA,0CAUC"}
1
+ {"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../src/migrations/1-22-4/summary.ts"],"names":[],"mappings":"AAIA,0CAUC"}
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const open_1 = require("../utils/open");
6
+ const url = 'https://unisphere.kaltura.com/docs/create/changelog/v1-x-major-release';
6
7
  async function default_1() {
7
8
  devkit_1.logger.info('');
8
- devkit_1.logger.info('🎉 Migration to @unisphere/nx 1.22.4 finished successfully!');
9
+ devkit_1.logger.info('🎉 Migration to Major 1 finished successfully!');
9
10
  devkit_1.logger.info('');
10
11
  devkit_1.logger.info('📋 Full details:');
11
- devkit_1.logger.info('https://unisphere.kaltura.com/docs/create/changelog/1-22-7-changelog');
12
+ devkit_1.logger.info(url);
12
13
  devkit_1.logger.info('');
13
- (0, open_1.openBrowser)('https://unisphere.kaltura.com/docs/create/changelog/1-22-7-changelog');
14
+ (0, open_1.openBrowser)(url);
14
15
  devkit_1.logger.info('Opening changelog in browser...');
15
16
  }
@@ -0,0 +1,3 @@
1
+ import { Tree } from '@nx/devkit';
2
+ export default function update(tree: Tree): Promise<void>;
3
+ //# sourceMappingURL=delete-rollup-patch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-rollup-patch.d.ts","sourceRoot":"","sources":["../../../src/migrations/1-23-0/delete-rollup-patch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAS9D"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = update;
4
+ async function update(tree) {
5
+ // Delete rollup patch file
6
+ const rollupPatchPath = 'patches/@nx+rollup+22.1.3.patch';
7
+ if (tree.exists(rollupPatchPath)) {
8
+ console.log(`Deleting rollup patch file: ${rollupPatchPath}`);
9
+ tree.delete(rollupPatchPath);
10
+ }
11
+ else {
12
+ throw new Error(`Rollup patch file not found at ${rollupPatchPath}`);
13
+ }
14
+ }
@@ -0,0 +1,3 @@
1
+ import { Tree } from '@nx/devkit';
2
+ export default function update(tree: Tree): Promise<void>;
3
+ //# sourceMappingURL=update-nvmrc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-nvmrc.d.ts","sourceRoot":"","sources":["../../../src/migrations/1-23-2/update-nvmrc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAuB,MAAM,YAAY,CAAC;AAEvD,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CA0B9D"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = update;
4
+ const devkit_1 = require("@nx/devkit");
5
+ async function update(tree) {
6
+ devkit_1.logger.info('🔄 Updating .nvmrc to Node 24...');
7
+ const nvmrcPath = '.nvmrc';
8
+ const targetNodeVersion = '24';
9
+ if (tree.exists(nvmrcPath)) {
10
+ const currentContent = tree.read(nvmrcPath, 'utf-8');
11
+ if (currentContent) {
12
+ const currentVersion = currentContent.trim();
13
+ if (currentVersion === targetNodeVersion) {
14
+ devkit_1.logger.info('â„šī¸ .nvmrc already set to Node 24.');
15
+ return;
16
+ }
17
+ tree.write(nvmrcPath, targetNodeVersion);
18
+ devkit_1.logger.info(`✅ Updated .nvmrc from ${currentVersion} to ${targetNodeVersion}`);
19
+ }
20
+ }
21
+ else {
22
+ tree.write(nvmrcPath, targetNodeVersion);
23
+ devkit_1.logger.info(`✅ Created .nvmrc with Node ${targetNodeVersion}`);
24
+ }
25
+ await (0, devkit_1.formatFiles)(tree);
26
+ }
package/migrations.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "description": "Adds kaltura-tools to preinstall script",
59
59
  "factory": "./dist/migrations/1-22-4/add-kaltura-tools-to-pre-install.js"
60
60
  },
61
- "000-1-22-4-summary": {
61
+ "1-22-4-summary": {
62
62
  "version": "1.22.4",
63
63
  "description": "Migration completion summary for 1.22.4",
64
64
  "factory": "./dist/migrations/1-22-4/summary.js"
@@ -80,6 +80,16 @@
80
80
  "version": "1.22.9",
81
81
  "description": "Fix prerelease deploy logic in GitHub workflow",
82
82
  "factory": "./dist/migrations/1-22-9/fix-prerelease-deploy.js"
83
+ },
84
+ "1-23-0-delete-rollup-patch": {
85
+ "version": "1.23.0",
86
+ "description": "Delete rollup patch file",
87
+ "factory": "./dist/migrations/1-23-0/delete-rollup-patch.js"
88
+ },
89
+ "1-23-2-update-nvmrc": {
90
+ "version": "1.23.2",
91
+ "description": "Update .nvmrc to Node 24",
92
+ "factory": "./dist/migrations/1-23-2/update-nvmrc.js"
83
93
  }
84
94
  },
85
95
  "packageJsonUpdates": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/nx",
3
- "version": "1.22.9",
3
+ "version": "1.24.0",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",