@unisphere/nx 2.2.1 → 2.2.2
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.
- package/dist/generators/add-application/add-application.d.ts.map +1 -1
- package/dist/generators/add-application/add-application.js +5 -0
- package/dist/generators/add-application/templates/local-dev-playground/src/app/app.tsx.template +1 -1
- package/dist/migrations/1-22-2/templates/_publish-artifacts.template +5 -5
- package/dist/migrations/1-24-2/templates/_publish-artifacts.template +5 -5
- package/dist/migrations/2-1-0/replace-readme-md.d.ts.map +1 -1
- package/dist/migrations/2-1-0/replace-readme-md.js +2 -3
- package/dist/migrations/2-2-0/templates/_publish-artifacts.template +5 -5
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-application.d.ts","sourceRoot":"","sources":["../../../src/generators/add-application/add-application.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,IAAI,EAAiB,MAAM,YAAY,CAAC;AAE7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AA0EzD,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"add-application.d.ts","sourceRoot":"","sources":["../../../src/generators/add-application/add-application.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,IAAI,EAAiB,MAAM,YAAY,CAAC;AAE7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AA0EzD,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,6BAA6B,uBAsIvC;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -81,6 +81,11 @@ async function addApplicationGenerator(tree, options) {
|
|
|
81
81
|
// Extract environment variables
|
|
82
82
|
const widgetName = unisphereConfig.name;
|
|
83
83
|
const userInputApplicationName = (0, devkit_1.names)(options.name).fileName;
|
|
84
|
+
if (options.servingType === 'local-dev-playground') {
|
|
85
|
+
options.runtimeName = userInputApplicationName.endsWith('-dev')
|
|
86
|
+
? userInputApplicationName
|
|
87
|
+
: `${userInputApplicationName}-dev`;
|
|
88
|
+
}
|
|
84
89
|
// Prepare template variables
|
|
85
90
|
const hasDs = selectedDependencies.includes('ds');
|
|
86
91
|
const hasMui = selectedDependencies.includes('mui') || hasDs;
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
oidc-provider-name: ovp-github-oidc
|
|
81
81
|
|
|
82
82
|
- name: Install dependencies
|
|
83
|
-
run: npm ci --
|
|
83
|
+
run: npm ci --include=optional
|
|
84
84
|
env:
|
|
85
85
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
86
86
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -126,7 +126,7 @@ jobs:
|
|
|
126
126
|
|
|
127
127
|
- name: Install dependencies
|
|
128
128
|
run: |
|
|
129
|
-
npm ci --
|
|
129
|
+
npm ci --include=optional
|
|
130
130
|
|
|
131
131
|
env:
|
|
132
132
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -181,7 +181,7 @@ jobs:
|
|
|
181
181
|
|
|
182
182
|
- name: Install dependencies
|
|
183
183
|
run: |
|
|
184
|
-
npm ci --
|
|
184
|
+
npm ci --include=optional
|
|
185
185
|
env:
|
|
186
186
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
187
187
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -232,7 +232,7 @@ jobs:
|
|
|
232
232
|
with:
|
|
233
233
|
oidc-provider-name: ovp-github-oidc
|
|
234
234
|
- name: Install dependencies
|
|
235
|
-
run: npm ci --
|
|
235
|
+
run: npm ci --include=optional
|
|
236
236
|
env:
|
|
237
237
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
238
238
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -287,7 +287,7 @@ jobs:
|
|
|
287
287
|
with:
|
|
288
288
|
oidc-provider-name: ovp-github-oidc
|
|
289
289
|
- name: Install dependencies
|
|
290
|
-
run: npm ci --
|
|
290
|
+
run: npm ci --include=optional
|
|
291
291
|
env:
|
|
292
292
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
293
293
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
oidc-provider-name: ovp-github-oidc
|
|
81
81
|
|
|
82
82
|
- name: Install dependencies
|
|
83
|
-
run: npm ci --
|
|
83
|
+
run: npm ci --include=optional
|
|
84
84
|
env:
|
|
85
85
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
86
86
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -126,7 +126,7 @@ jobs:
|
|
|
126
126
|
|
|
127
127
|
- name: Install dependencies
|
|
128
128
|
run: |
|
|
129
|
-
npm ci --
|
|
129
|
+
npm ci --include=optional
|
|
130
130
|
|
|
131
131
|
env:
|
|
132
132
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -181,7 +181,7 @@ jobs:
|
|
|
181
181
|
|
|
182
182
|
- name: Install dependencies
|
|
183
183
|
run: |
|
|
184
|
-
npm ci --
|
|
184
|
+
npm ci --include=optional
|
|
185
185
|
env:
|
|
186
186
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
187
187
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -232,7 +232,7 @@ jobs:
|
|
|
232
232
|
with:
|
|
233
233
|
oidc-provider-name: ovp-github-oidc
|
|
234
234
|
- name: Install dependencies
|
|
235
|
-
run: npm ci --
|
|
235
|
+
run: npm ci --include=optional
|
|
236
236
|
env:
|
|
237
237
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
238
238
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -287,7 +287,7 @@ jobs:
|
|
|
287
287
|
with:
|
|
288
288
|
oidc-provider-name: ovp-github-oidc
|
|
289
289
|
- name: Install dependencies
|
|
290
|
-
run: npm ci --
|
|
290
|
+
run: npm ci --include=optional
|
|
291
291
|
env:
|
|
292
292
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
293
293
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-readme-md.d.ts","sourceRoot":"","sources":["../../../src/migrations/2-1-0/replace-readme-md.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAoB,MAAM,YAAY,CAAC;AAIpD,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"replace-readme-md.d.ts","sourceRoot":"","sources":["../../../src/migrations/2-1-0/replace-readme-md.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAoB,MAAM,YAAY,CAAC;AAIpD,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CA+C9D"}
|
|
@@ -15,11 +15,10 @@ async function update(tree) {
|
|
|
15
15
|
let processedContent = readmeTemplateContent;
|
|
16
16
|
if (tree.exists(unispherePath)) {
|
|
17
17
|
try {
|
|
18
|
-
const
|
|
19
|
-
if (!
|
|
18
|
+
const unisphereConfig = (0, devkit_1.readJson)(tree, unispherePath);
|
|
19
|
+
if (!unisphereConfig) {
|
|
20
20
|
throw new Error('.unisphere file is empty');
|
|
21
21
|
}
|
|
22
|
-
const unisphereConfig = JSON.parse(unisphereContent);
|
|
23
22
|
// Replace placeholders with values from .unisphere
|
|
24
23
|
if (unisphereConfig.company) {
|
|
25
24
|
processedContent = processedContent.replace(/\{\{company-name\|human-readable\}\}/g, unisphereConfig.company);
|
|
@@ -83,7 +83,7 @@ jobs:
|
|
|
83
83
|
oidc-provider-name: ovp-github-oidc
|
|
84
84
|
|
|
85
85
|
- name: Install dependencies
|
|
86
|
-
run: npm ci --
|
|
86
|
+
run: npm ci --include=optional
|
|
87
87
|
env:
|
|
88
88
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
89
89
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -129,7 +129,7 @@ jobs:
|
|
|
129
129
|
|
|
130
130
|
- name: Install dependencies
|
|
131
131
|
run: |
|
|
132
|
-
npm ci --
|
|
132
|
+
npm ci --include=optional
|
|
133
133
|
|
|
134
134
|
env:
|
|
135
135
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -184,7 +184,7 @@ jobs:
|
|
|
184
184
|
|
|
185
185
|
- name: Install dependencies
|
|
186
186
|
run: |
|
|
187
|
-
npm ci --
|
|
187
|
+
npm ci --include=optional
|
|
188
188
|
env:
|
|
189
189
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
190
190
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -235,7 +235,7 @@ jobs:
|
|
|
235
235
|
with:
|
|
236
236
|
oidc-provider-name: ovp-github-oidc
|
|
237
237
|
- name: Install dependencies
|
|
238
|
-
run: npm ci --
|
|
238
|
+
run: npm ci --include=optional
|
|
239
239
|
env:
|
|
240
240
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
241
241
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|
|
@@ -290,7 +290,7 @@ jobs:
|
|
|
290
290
|
with:
|
|
291
291
|
oidc-provider-name: ovp-github-oidc
|
|
292
292
|
- name: Install dependencies
|
|
293
|
-
run: npm ci --
|
|
293
|
+
run: npm ci --include=optional
|
|
294
294
|
env:
|
|
295
295
|
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
296
296
|
KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
|