@unisphere/nx 1.22.4 → 1.22.5

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.
@@ -12,7 +12,7 @@ function checkNxVersion(tree) {
12
12
  }
13
13
  const majorVersion = parseInt(nxVersion.match(/\d+/)?.[0] ?? '0');
14
14
  if (majorVersion < 22) {
15
- const errorMessage = `❌ This migration requires Nx 22 or higher. read https://unisphere.kaltura.com/docs/create/changelog/1-22-4-changelog`;
15
+ const errorMessage = `❌ This migration requires Nx 22 or higher. read https://unisphere.kaltura.com/docs/create/changelog/1-22-5-changelog`;
16
16
  devkit_1.logger.error(errorMessage);
17
17
  throw new Error(errorMessage);
18
18
  }
@@ -9,7 +9,7 @@ async function update(tree) {
9
9
  json.os = [
10
10
  "darwin",
11
11
  "linux",
12
- "windows"
12
+ "win32"
13
13
  ];
14
14
  json.cpu = [
15
15
  "x64",
@@ -12,7 +12,7 @@ jobs:
12
12
  has_applications: ${{ steps.check.outputs.has_applications }}
13
13
  steps:
14
14
  - name: Checkout Repo
15
- uses: actions/checkout@v3
15
+ uses: actions/checkout@v4
16
16
  with:
17
17
  ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
18
18
  fetch-tags: true
@@ -58,7 +58,7 @@ jobs:
58
58
  commit_sha: ${{ steps.capture_commit_sha.outputs.commit_sha }}
59
59
  steps:
60
60
  - name: Checkout Repo
61
- uses: actions/checkout@v3
61
+ uses: actions/checkout@v4
62
62
  with:
63
63
  ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
64
64
  fetch-tags: true
@@ -107,14 +107,14 @@ jobs:
107
107
  runs-on: codebuild-ovp-unisphere-runner-${{ github.run_id }}-${{ github.attempt }}
108
108
  steps:
109
109
  - name: Checkout Repo
110
- uses: actions/checkout@v3
110
+ uses: actions/checkout@v4
111
111
  with:
112
112
  ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
113
113
  fetch-tags: true
114
114
  - name: Setup Node.js
115
115
  uses: actions/setup-node@v4
116
116
  with:
117
- node-version: 20
117
+ node-version-file: '.nvmrc'
118
118
 
119
119
  - name: Setup JFrog
120
120
  uses: jfrog/setup-jfrog-cli@v4
@@ -140,7 +140,7 @@ jobs:
140
140
  # Debug token existence (safely)
141
141
  echo "::debug::Token exists: $([ ! -z "$NPM_TOKEN" ] && echo 'true' || echo 'false')"
142
142
  - name: Deploy to registry
143
- run: npx unisphere package publish --verbose --githubToken ${{ secrets.GITHUB_TOKEN }} --jfrogToken ${{ steps.setup-jfrog.outputs.oidc-token }} --npmToken ${{ env.NPM_TOKEN }} --branch "${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}"
143
+ run: npx unisphere package publish --verbose --githubToken ${{ secrets.GITHUB_TOKEN }} --npmToken ${{ env.NPM_TOKEN }} --branch "${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}"
144
144
 
145
145
  deploy-runtimes:
146
146
  if: needs.prepare-runtimes.outputs.hasArtifacts == 'true'
@@ -162,14 +162,14 @@ jobs:
162
162
  - name: Check available disk space
163
163
  run: df -h
164
164
  - name: Checkout Repo at specific commit
165
- uses: actions/checkout@v3
165
+ uses: actions/checkout@v4
166
166
  with:
167
167
  ref: ${{ needs.prepare-runtimes.outputs.commit_sha }}
168
168
  fetch-tags: true
169
169
  - name: Setup Node.js
170
170
  uses: actions/setup-node@v4
171
171
  with:
172
- node-version: 20
172
+ node-version-file: '.nvmrc'
173
173
 
174
174
  - name: Setup JFrog
175
175
  uses: jfrog/setup-jfrog-cli@v4
@@ -212,7 +212,7 @@ jobs:
212
212
  commit_sha: ${{ steps.capture_commit_sha.outputs.commit_sha }}
213
213
  steps:
214
214
  - name: Checkout Repo
215
- uses: actions/checkout@v3
215
+ uses: actions/checkout@v4
216
216
  with:
217
217
  ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
218
218
  fetch-tags: true
@@ -224,10 +224,18 @@ jobs:
224
224
  run: git reset --hard HEAD
225
225
  - name: Clean npm cache
226
226
  run: npm cache clean --force
227
+ - name: Setup JFrog
228
+ uses: jfrog/setup-jfrog-cli@v4
229
+ id: setup-jfrog
230
+ env:
231
+ JF_URL: https://kalturaa.jfrog.io
232
+ with:
233
+ oidc-provider-name: ovp-github-oidc
227
234
  - name: Install dependencies
228
- run: npm ci --ignore-scripts
235
+ run: npm ci --ignore-scripts
229
236
  env:
230
237
  GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
238
+ KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
231
239
  - name: Prepare Unisphere Applications
232
240
  id: prepare-applications
233
241
  run: npx unisphere application publish prepare --verbose
@@ -263,18 +271,26 @@ jobs:
263
271
  fail-fast: false
264
272
  steps:
265
273
  - name: Checkout Repo at specific commit
266
- uses: actions/checkout@v3
274
+ uses: actions/checkout@v4
267
275
  with:
268
276
  ref: ${{ needs.prepare-applications.outputs.commit_sha }}
269
277
  fetch-tags: true
270
278
  - name: Setup Node.js
271
279
  uses: actions/setup-node@v4
272
280
  with:
273
- node-version: 20
281
+ node-version-file: '.nvmrc'
282
+ - name: Setup JFrog
283
+ uses: jfrog/setup-jfrog-cli@v4
284
+ id: setup-jfrog
285
+ env:
286
+ JF_URL: https://kalturaa.jfrog.io
287
+ with:
288
+ oidc-provider-name: ovp-github-oidc
274
289
  - name: Install dependencies
275
- run: npm ci --ignore-scripts
290
+ run: npm ci --ignore-scripts
276
291
  env:
277
292
  GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
293
+ KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
278
294
  - name: Download artifacts folder
279
295
  uses: actions/download-artifact@v4
280
296
  with:
@@ -0,0 +1,2 @@
1
+ export default function (): Promise<void>;
2
+ //# sourceMappingURL=summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../src/migrations/1-22-4/summary.ts"],"names":[],"mappings":"AAEA,0CAOC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = default_1;
4
+ const devkit_1 = require("@nx/devkit");
5
+ async function default_1() {
6
+ devkit_1.logger.info('');
7
+ devkit_1.logger.info('🎉 Migration to @unisphere/nx 1.22.4 finished successfully!');
8
+ devkit_1.logger.info('');
9
+ devkit_1.logger.info('📋 Full details:');
10
+ devkit_1.logger.info('https://unisphere.kaltura.com/docs/create/changelog/1-22-5-changelog');
11
+ devkit_1.logger.info('');
12
+ }
@@ -7,6 +7,6 @@ async function default_1() {
7
7
  devkit_1.logger.info('🎉 Migration to @unisphere/nx 1.22.4 finished successfully!');
8
8
  devkit_1.logger.info('');
9
9
  devkit_1.logger.info('📋 Full details:');
10
- devkit_1.logger.info('https://unisphere.kaltura.com/docs/create/changelog/1-22-4-changelog');
10
+ devkit_1.logger.info('https://unisphere.kaltura.com/docs/create/changelog/1-22-5-changelog');
11
11
  devkit_1.logger.info('');
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/nx",
3
- "version": "1.22.4",
3
+ "version": "1.22.5",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",