@unisphere/cli 1.58.7 → 1.58.8

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.
@@ -9,137 +9,8 @@ const path = require('path');
9
9
  const { getEnvVariables } = require('../../src/lib/utils/unisphere/get-env-variables');
10
10
  const os = require('os');
11
11
 
12
- function createTempBuildTsconfig({
13
- projectRoot,
14
- baseTsconfigPath, // can be absolute OR relative to projectRoot
15
- compilerOptions = {},
16
- }) {
17
- if (!projectRoot) {
18
- throw new Error('createTempBuildTsconfig: projectRoot is required');
19
- }
20
- if (!baseTsconfigPath) {
21
- throw new Error('createTempBuildTsconfig: baseTsconfigPath is required');
22
- }
23
-
24
- const resolvedProjectRoot = path.resolve(projectRoot);
25
-
26
- // ✅ resolve base tsconfig relative to projectRoot (unless already absolute)
27
- const resolvedBaseTsconfig = path.isAbsolute(baseTsconfigPath)
28
- ? baseTsconfigPath
29
- : path.resolve(resolvedProjectRoot, baseTsconfigPath);
30
-
31
- if (!fs.existsSync(resolvedBaseTsconfig)) {
32
- throw new Error(
33
- `createTempBuildTsconfig: base tsconfig not found at: ${resolvedBaseTsconfig}`
34
- );
35
- }
36
-
37
- const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'unisphere-tsc-'));
38
- const tempTsconfigPath = path.join(tempDir, 'tsconfig.build.json');
39
-
40
- // ✅ important: "extends" can be absolute; TS supports it.
41
- const tsconfig = {
42
- extends: resolvedBaseTsconfig,
43
- compilerOptions: {
44
- ...compilerOptions,
45
- },
46
- };
47
-
48
- console.log(`creating temporary build file in '${tempTsconfigPath}'`)
49
- fs.writeFileSync(tempTsconfigPath, JSON.stringify(tsconfig, null, 2), 'utf8');
50
-
51
- // Optional cleanup
52
- const cleanup = () => {
53
- try {
54
- console.log(`removing temporary folder '${tempDir}'`)
55
- fs.rmSync(tempDir, { recursive: true, force: true });
56
- } catch { }
57
- };
58
- process.on('exit', cleanup);
59
- process.on('SIGINT', cleanup);
60
- process.on('SIGTERM', cleanup);
61
-
62
- return tempTsconfigPath;
63
- }
64
-
65
12
  const { envVariables, isUnisphereEnvironment } = getEnvVariables();
66
13
 
67
- function generateDynamicPaths(projectRoot) {
68
- const paths = {};
69
-
70
- try {
71
- // Find workspace root by following tsconfig extends chain
72
- const { workspaceRoot, baseTsconfigPath } = findWorkspaceRoot(projectRoot);
73
- console.log(`[unisphere] Found workspace root: ${workspaceRoot}`);
74
- console.log(`[unisphere] Base tsconfig path: ${baseTsconfigPath}`);
75
-
76
- // Read base tsconfig to get original paths
77
- if (fs.existsSync(baseTsconfigPath)) {
78
- const baseTsconfig = JSON.parse(fs.readFileSync(baseTsconfigPath, 'utf8'));
79
- const originalPaths = baseTsconfig.compilerOptions?.paths || {};
80
-
81
- console.log(`[unisphere] Found ${Object.keys(originalPaths).length} original paths in base tsconfig`);
82
-
83
- // Convert each path from .ts to .d.ts in dist folder
84
- Object.entries(originalPaths).forEach(([key, pathArray]) => {
85
- const convertedPaths = pathArray.map(originalPath => {
86
- // Convert index.ts to index.d.ts and prefix with dist
87
- return originalPath.replace(/index\.ts$/, 'index.d.ts').replace(/^/, 'dist/');
88
- });
89
-
90
- paths[key] = convertedPaths;
91
- console.log(`[unisphere] Converted path mapping: ${key} -> ${convertedPaths.join(', ')}`);
92
- });
93
- }
94
- } catch (error) {
95
- console.warn(`[unisphere] Failed to generate dynamic paths: ${error.message}`);
96
- console.log(`[unisphere] Falling back to basic path generation`);
97
- }
98
-
99
- console.log(`[unisphere] Generated ${Object.keys(paths).length} path mappings`);
100
- return paths;
101
- }
102
-
103
- function findWorkspaceRoot(projectRoot) {
104
- let currentPath = projectRoot;
105
- let tsconfigPath = path.join(currentPath, 'tsconfig.json');
106
-
107
- console.log(`[unisphere] Starting search from: ${projectRoot}`);
108
-
109
- while (fs.existsSync(tsconfigPath)) {
110
- const tsconfig = JSON.parse(fs.readFileSync(tsconfigPath, 'utf8'));
111
- const extendsPath = tsconfig.extends;
112
-
113
- if (!extendsPath) {
114
- // No extends, this might be the base
115
- return { workspaceRoot: currentPath, baseTsconfigPath: tsconfigPath };
116
- }
117
-
118
- console.log(`[unisphere] Found extends: ${extendsPath} in ${tsconfigPath}`);
119
-
120
- // Resolve the extends path
121
- const resolvedExtendsPath = path.resolve(path.dirname(tsconfigPath), extendsPath);
122
-
123
- if (!fs.existsSync(resolvedExtendsPath)) {
124
- // Can't follow the chain further
125
- return { workspaceRoot: currentPath, baseTsconfigPath: tsconfigPath };
126
- }
127
-
128
- // Check if this is tsconfig.base.json (likely the root)
129
- if (path.basename(resolvedExtendsPath) === 'tsconfig.base.json') {
130
- const workspaceRoot = path.dirname(resolvedExtendsPath);
131
- return { workspaceRoot, baseTsconfigPath: resolvedExtendsPath };
132
- }
133
-
134
- // Continue following the chain
135
- currentPath = path.dirname(resolvedExtendsPath);
136
- tsconfigPath = resolvedExtendsPath;
137
- }
138
-
139
- // Fallback - couldn't find the chain
140
- throw new Error('Could not find workspace root through tsconfig extends chain');
141
- }
142
-
143
14
  if (!isUnisphereEnvironment) {
144
15
  console.warn(
145
16
  'WARNING: Building or linting unisphere elements from outside the unisphere cli will not handle runtimes.'
@@ -151,27 +22,18 @@ console.log('[unisphere] Helpful Tip: When running a build if it is using outdat
151
22
  const isDeployingRuntime = envVariables.UNISPHERE_MODE === 'runtime';
152
23
  console.log(`Building the package in '${isDeployingRuntime ? 'runtime' : 'package'}' mode`);
153
24
 
154
- const withUnisphere = (config) => {
155
- console.log('[unisphere] removing unisphere config used to monkey patch @nw/rollup');
156
- delete config.unisphere;
25
+ const withUnisphere = (rollupConfig) => {
157
26
 
158
- const onwarn = config.onwarn;
27
+ const onwarn = rollupConfig.onwarn;
159
28
 
160
- config.onwarn = function (warning) {
29
+ rollupConfig.onwarn = function (warning) {
161
30
  if (warning.code === 'THIS_IS_UNDEFINED') { return; }
162
31
  return onwarn?.(warning)
163
32
  }
164
33
 
165
- const externalFn = config.external;
166
- if (isDeployingRuntime) {
167
- config.external = (id, parent) => {
168
- if (id.includes(`node_modules`)) {
169
- return true;
170
- }
171
- return false;
172
- };
173
- } else {
174
- config.external = (id, parent) => {
34
+ const externalFn = rollupConfig.external;
35
+ if (!isDeployingRuntime) {
36
+ rollupConfig.external = (id, parent) => {
175
37
  if (
176
38
  bundledPackages.find(
177
39
  (bundledPackage) =>
@@ -187,29 +49,16 @@ const withUnisphere = (config) => {
187
49
  };
188
50
  }
189
51
 
190
- config.plugins.push(analyze({
52
+ rollupConfig.plugins.push(analyze({
191
53
  summaryOnly: true, // Adjusts the output to show summary information
192
54
  limit: 20 // Limits the output to the top 10 items
193
55
  }), replace({
194
56
  "process.env['NODE_ENV']": JSON.stringify(`${envVariables.UNISPHERE_ENV}`),
195
57
  preventAssignment: true,
196
58
  }),);
197
- return config;
59
+ return rollupConfig;
198
60
  };
199
61
 
200
- const withUnisphereInterceptors = (config) => {
201
- console.log('patching rollup package config');
202
- config.unisphere = {
203
- interceptors: {
204
- compilerOptions: (options) => {
205
- return options;
206
- }
207
- }
208
- }
209
- return config
210
- }
211
-
212
-
213
62
  module.exports = (unisphereConfig) => {
214
63
 
215
64
  const projectJsonPath = path.join(unisphereConfig.cwd, 'project.json');
@@ -220,26 +69,20 @@ module.exports = (unisphereConfig) => {
220
69
  }
221
70
  const outputPath = path.join('..', '..', '..', 'dist', ...sourcePath);
222
71
 
72
+ // dev note - this one is copied from the original rollup config file created by npm create nx-workspace
73
+ // when upgrading nx from 22 should compare the file created by nx to this one
223
74
 
224
- const dynamicPaths = generateDynamicPaths(unisphereConfig.cwd);
225
-
226
- const tsConfig = createTempBuildTsconfig({
227
- projectRoot: unisphereConfig.cwd,
228
- baseTsconfigPath: 'tsconfig.lib.json',
229
- compilerOptions: {
230
- paths: dynamicPaths,
231
- },
232
- });
233
75
  return withUnisphere(withNx(
234
76
  {
235
77
  main: './src/index.ts',
236
78
  outputPath,
237
- tsConfig: tsConfig,
79
+ tsConfig: './tsconfig.lib.json',
80
+ compiler: 'babel',
238
81
  external: ['react', 'react-dom', 'react/jsx-runtime'],
239
82
  format: ['esm'],
240
83
  assets: [{ input: '.', output: '.', glob: 'README.md' }],
241
84
  },
242
- withUnisphereInterceptors({
85
+ {
243
86
  // Provide additional rollup configuration here. See: https://rollupjs.org/configuration-options
244
87
  plugins: [
245
88
  svg({
@@ -251,7 +94,7 @@ module.exports = (unisphereConfig) => {
251
94
  limit: 10000, // 10kB
252
95
  }),
253
96
  ],
254
- })
97
+ }
255
98
  )
256
99
  )
257
100
  }
@@ -11,92 +11,110 @@ const url = require('@rollup/plugin-url');
11
11
  const svg = require('@svgr/rollup');
12
12
  const { getEnvVariables } = require('../../src/lib/utils/unisphere/get-env-variables');
13
13
  const { getUnisphereWorkspaceFile } = require('../../src/lib/utils/unisphere/unisphere-workspace-file');
14
+ const os = require('os');
15
+
16
+ function createTempBuildTsconfig({
17
+ projectRoot,
18
+ baseTsconfigPath, // can be absolute OR relative to projectRoot
19
+ compilerOptions = {},
20
+ }) {
21
+ if (!projectRoot) {
22
+ throw new Error('createTempBuildTsconfig: projectRoot is required');
23
+ }
24
+ if (!baseTsconfigPath) {
25
+ throw new Error('createTempBuildTsconfig: baseTsconfigPath is required');
26
+ }
14
27
 
15
- const { envVariables, isUnisphereEnvironment } = getEnvVariables();
16
-
17
- if (!isUnisphereEnvironment) {
18
- console.warn(
19
- 'WARNING: Building or linting unisphere elements from outside the unisphere cli will not handle runtimes.'
20
- );
21
- }
22
- const isDeployingRuntime = envVariables.UNISPHERE_MODE === 'runtime';
28
+ const resolvedProjectRoot = path.resolve(projectRoot);
23
29
 
24
- const isProduction = envVariables.UNISPHERE_ENV === 'production';
30
+ // resolve base tsconfig relative to projectRoot (unless already absolute)
31
+ const resolvedBaseTsconfig = path.isAbsolute(baseTsconfigPath)
32
+ ? baseTsconfigPath
33
+ : path.resolve(resolvedProjectRoot, baseTsconfigPath);
25
34
 
26
- console.log('[unisphere] Helpful Tip: When running a build if it is using outdated rollup file, you should clear the nx cache by running `rm -rf node_modules/.cache/nx && npx nx reset`.');
35
+ if (!fs.existsSync(resolvedBaseTsconfig)) {
36
+ throw new Error(
37
+ `createTempBuildTsconfig: base tsconfig not found at: ${resolvedBaseTsconfig}`
38
+ );
39
+ }
27
40
 
41
+ const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'unisphere-tsc-'));
42
+ const tempTsconfigPath = path.join(tempDir, 'tsconfig.build.json');
28
43
 
29
- const getUnisphereTSInterceptorsConfig = (unispherePackagesDistList) => {
30
- return {
31
- interceptors: {
32
- compilerOptions : (options) => {
33
- // Monkey patch TS paths for shared libraries to be consumed by runtimes from dist like other dependencies
34
- const projectPackages = unispherePackagesDistList.reduce((acc, item) => {
35
- acc[item.packageName] = [item.distPath];
36
- return acc;
37
- }, {});
44
+ // important: "extends" can be absolute; TS supports it.
45
+ const tsconfig = {
46
+ extends: resolvedBaseTsconfig,
47
+ compilerOptions: {
48
+ ...compilerOptions,
49
+ },
50
+ };
38
51
 
39
- console.log(`mapping project packages to dist folders:`, projectPackages)
52
+ console.log(`creating temporary build file in '${tempTsconfigPath}'`)
53
+ fs.writeFileSync(tempTsconfigPath, JSON.stringify(tsconfig, null, 2), 'utf8');
40
54
 
41
- const result = {
42
- ...options,
43
- paths: {
44
- ...options.paths,
45
- ...projectPackages
46
- }
47
- };
55
+ // Optional cleanup
56
+ const cleanup = () => {
57
+ try {
58
+ console.log(`removing temporary folder '${tempDir}'`)
59
+ fs.rmSync(tempDir, { recursive: true, force: true });
60
+ } catch { }
61
+ };
62
+ process.on('exit', cleanup);
63
+ process.on('SIGINT', cleanup);
64
+ process.on('SIGTERM', cleanup);
48
65
 
49
- return result;
50
- }
51
- }
52
- }
66
+ return tempTsconfigPath;
53
67
  }
54
68
 
55
- const getWithNx = (unisphereConfig) => {
69
+ const { envVariables, isUnisphereEnvironment } = getEnvVariables();
56
70
 
57
- const relativeSourcePath = path.relative(unisphereConfig.cwd, unisphereConfig.workspaceConfiguration.cwd);
71
+ function generateDynamicPaths(projectRoot) {
72
+ const paths = {};
58
73
 
59
- const outputPath = path.join(relativeSourcePath, 'dist', ...unisphereConfig.sourcePath);
74
+ try {
75
+ // Find workspace root by following tsconfig extends chain
76
+ const { workspaceRoot, baseTsconfigPath } = findWorkspaceRoot(projectRoot);
77
+ console.log(`[unisphere] Found workspace root: ${workspaceRoot}`);
78
+ console.log(`[unisphere] Base tsconfig path: ${baseTsconfigPath}`);
60
79
 
61
- const firstArgument = {
62
- main: './src/index.ts',
63
- outputPath,
64
- tsConfig: './tsconfig.lib.json',
65
- compiler: 'babel',
66
- external: ['react', 'react-dom', 'react/jsx-runtime'],
67
- format: ['esm'],
68
- assets: [{ input: '.', output: '.', glob: 'README.md' }],
69
- };
80
+ // Read base tsconfig to get original paths
81
+ if (fs.existsSync(baseTsconfigPath)) {
82
+ const baseTsconfig = JSON.parse(fs.readFileSync(baseTsconfigPath, 'utf8'));
83
+ const originalPaths = baseTsconfig.compilerOptions?.paths || {};
70
84
 
71
- const secondArgument = {
72
- plugins : [
73
- svg({
74
- svgo: false,
75
- titleProp: true,
76
- ref: true,
77
- }),
78
- url({
79
- limit: 10000, // 10kB
80
- }),
81
- ]
82
- }
85
+ console.log(`[unisphere] Found ${Object.keys(originalPaths).length} original paths in base tsconfig`);
83
86
 
84
- if (isDeployingRuntime) {
85
- const unispherePackagesDistList = getUnispherePackagesDistList(unisphereConfig.workspaceConfiguration.cwd);
87
+ // Convert each path from .ts to .d.ts in dist folder
88
+ Object.entries(originalPaths).forEach(([key, pathArray]) => {
89
+ const convertedPaths = pathArray.map(originalPath => {
90
+ // Convert index.ts to index.d.ts and prefix with dist
91
+ return originalPath.replace(/index\.ts$/, 'index.d.ts').replace(/^/, 'dist/');
92
+ });
86
93
 
87
- secondArgument.unisphere = getUnisphereTSInterceptorsConfig(unispherePackagesDistList);
88
- return withUnisphere(withNx(
89
- firstArgument,
90
- secondArgument
91
- ), unispherePackagesDistList);
94
+ paths[key] = convertedPaths;
95
+ console.log(`[unisphere] Converted path mapping: ${key} -> ${convertedPaths.join(', ')}`);
96
+ });
97
+ }
98
+ } catch (error) {
99
+ console.warn(`[unisphere] Failed to generate dynamic paths: ${error.message}`);
100
+ console.log(`[unisphere] Falling back to basic path generation`);
92
101
  }
93
102
 
94
- return withNx(
95
- firstArgument,
96
- secondArgument
103
+ console.log(`[unisphere] Generated ${Object.keys(paths).length} path mappings`);
104
+ return paths;
105
+ }
106
+
107
+ if (!isUnisphereEnvironment) {
108
+ console.warn(
109
+ 'WARNING: Building or linting unisphere elements from outside the unisphere cli will not handle runtimes.'
97
110
  );
98
111
  }
99
112
 
113
+ const isProduction = envVariables.UNISPHERE_ENV === 'production';
114
+
115
+ console.log('[unisphere] Helpful Tip: When running a build if it is using outdated rollup file, you should clear the nx cache by running `rm -rf node_modules/.cache/nx && npx nx reset`.');
116
+
117
+
100
118
  function getUnispherePackagesDistList(cwd) {
101
119
 
102
120
  let folderPattern = path.join(cwd, 'dist', 'unisphere', 'packages', '*');
@@ -105,7 +123,7 @@ function getUnispherePackagesDistList(cwd) {
105
123
  console.log('[unisphere] running on Windows');
106
124
  folderPattern = folderPattern.replace(/\\/g, '/');
107
125
  }
108
- console.log('[unisphere] looking for packages in', folderPattern);
126
+ console.log('[unisphere] looking for packages in', folderPattern);
109
127
  const folderPaths = glob.sync(folderPattern);
110
128
  const result = [];
111
129
 
@@ -118,7 +136,7 @@ function getUnispherePackagesDistList(cwd) {
118
136
  const packageName = packageJson.name;
119
137
 
120
138
  if (packageName) {
121
- result.push({distPath, packageName});
139
+ result.push({ distPath, packageName });
122
140
  }
123
141
  }
124
142
  });
@@ -128,50 +146,102 @@ function getUnispherePackagesDistList(cwd) {
128
146
  return result;
129
147
  }
130
148
 
131
- const withUnisphere = (rollupConfig, unispherePackagesDistList) => {
132
149
 
133
- console.log('[unisphere] removing unisphere config used to monkey patch @nw/rollup');
134
- delete rollupConfig.unisphere;
150
+ const getWithNx = (unisphereConfig) => {
135
151
 
136
- rollupConfig.onwarn = (warning, warn) => {
137
- if (warning.code === 'THIS_IS_UNDEFINED') return;
138
- if (warning.code === 'MODULE_LEVEL_DIRECTIVE') return;
139
- warn(warning); // this requires Rollup 0.46
140
- };
152
+ const relativeSourcePath = path.relative(unisphereConfig.cwd, unisphereConfig.workspaceConfiguration.cwd);
141
153
 
142
- rollupConfig.external = [];
154
+ const outputPath = path.join(relativeSourcePath, 'dist', ...unisphereConfig.sourcePath);
143
155
 
144
- if (isProduction) {
145
- rollupConfig.output[0].entryFileNames = 'index.esm.js'
146
- } else {
147
- rollupConfig.output[0].entryFileNames = 'index.dev.esm.js'
148
- }
156
+ const dynamicPaths = generateDynamicPaths(unisphereConfig.cwd);
149
157
 
150
- rollupConfig.plugins.push(
151
- alias({
152
- entries: unispherePackagesDistList.map(item => {
153
- return {find: item.packageName, replacement: item.distPath}
154
- })
155
- }),
156
- analyze({
157
- summaryOnly: true, // Adjusts the output to show summary information
158
- limit: 20 // Limits the output to the top 10 items
159
- }), replace({
160
- 'process.env.UNISPHERE_DEV': JSON.stringify(`${envVariables.UNISPHERE_DEV}`),
161
- 'process.env.NODE_ENV': JSON.stringify(`${envVariables.UNISPHERE_ENV}`),
162
- preventAssignment: true,
158
+ const tsConfig = createTempBuildTsconfig({
159
+ projectRoot: unisphereConfig.cwd,
160
+ baseTsconfigPath: 'tsconfig.lib.json',
161
+ compilerOptions: {
162
+ paths: dynamicPaths,
163
+ },
164
+ });
165
+
166
+ // dev note - this one is copied from the original rollup config file created by npm create nx-workspace
167
+ // when upgrading nx from 22 should compare the file created by nx to this one
168
+ const nxConfig = {
169
+ main: './src/index.ts',
170
+ outputPath,
171
+ tsConfig,
172
+ compiler: 'babel',
173
+ external: [],
174
+ format: ['esm'],
175
+ assets: [{ input: '.', output: '.', glob: 'README.md' }],
176
+ };
177
+
178
+ const rollupConfig = {
179
+ external: () => false,
180
+ plugins: [
181
+ svg({
182
+ svgo: false,
183
+ titleProp: true,
184
+ ref: true,
163
185
  }),
164
- shim({
165
- '@statelyai/inspect': `export const createBrowserInspector = () => { return undefined };`
186
+ url({
187
+ limit: 10000, // 10kB
166
188
  }),
167
- isProduction ? terser() : undefined
168
- );
189
+ ]
190
+ }
169
191
 
192
+ const unispherePackagesDistList = getUnispherePackagesDistList(unisphereConfig.workspaceConfiguration.cwd);
193
+ return withUnisphere(withNx(
194
+ nxConfig,
195
+ rollupConfig
196
+ ), unispherePackagesDistList);
170
197
 
171
- return rollupConfig;
198
+ }
199
+
200
+ const withUnisphere = (rollupConfig, unispherePackagesDistList) => {
201
+
202
+ console.log('[unisphere] removing unisphere config used to monkey patch @nw/rollup');
203
+ delete rollupConfig.unisphere;
204
+
205
+ rollupConfig.onwarn = (warning, warn) => {
206
+ if (warning.code === 'THIS_IS_UNDEFINED') return;
207
+ if (warning.code === 'MODULE_LEVEL_DIRECTIVE') return;
208
+ warn(warning); // this requires Rollup 0.46
172
209
  };
173
210
 
174
211
 
212
+ if (isProduction) {
213
+ rollupConfig.output[0].entryFileNames = 'index.esm.js'
214
+ } else {
215
+ rollupConfig.output[0].entryFileNames = 'index.dev.esm.js'
216
+ }
217
+
218
+ // dev note - i'm almost certain that the alias is responsible for rollup to avoid
219
+ // (!) Unresolved dependencies
220
+ rollupConfig.plugins.push(
221
+ alias({
222
+ entries: unispherePackagesDistList.map(item => {
223
+ return { find: item.packageName, replacement: item.distPath }
224
+ })
225
+ }),
226
+ analyze({
227
+ summaryOnly: true, // Adjusts the output to show summary information
228
+ limit: 20 // Limits the output to the top 10 items
229
+ }), replace({
230
+ 'process.env.UNISPHERE_DEV': JSON.stringify(`${envVariables.UNISPHERE_DEV}`),
231
+ 'process.env.NODE_ENV': JSON.stringify(`${envVariables.UNISPHERE_ENV}`),
232
+ preventAssignment: true,
233
+ }),
234
+ shim({
235
+ '@statelyai/inspect': `export const createBrowserInspector = () => { return undefined };`
236
+ }),
237
+ isProduction ? terser() : undefined
238
+ );
239
+
240
+
241
+ return rollupConfig;
242
+ };
243
+
244
+
175
245
 
176
246
 
177
247
  module.exports = (unisphereConfig) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/cli",
3
- "version": "1.58.7",
3
+ "version": "1.58.8",
4
4
  "bin": {
5
5
  "unisphere": "./src/cli.js"
6
6
  },
@@ -1 +1 @@
1
- {"version":3,"file":"package-commands.js","sourceRoot":"","sources":["../../../../../../../packages/unisphere-cli/src/lib/commands/package/package-commands.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AACpC,+CAAyD;AACzD,mDAAqD;AAE9C,MAAM,oBAAoB,GAAG,GAAY,EAAE;IAChD,MAAM,cAAc,GAAG,IAAI,mBAAO,CAAC,SAAS,CAAC,CAAC;IAE9C,cAAc,CAAC,WAAW,CAAC,iDAAiD,CAAC,CAAC;IAE9E,IAAA,kCAAkB,EAAC,cAAc,CAAC,CAAC;IACnC,IAAA,8BAAoB,EAAC,cAAc,CAAC,CAAC;IACrC,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC;AARW,QAAA,oBAAoB,wBAQ/B"}
1
+ {"version":3,"file":"package-commands.js","sourceRoot":"","sources":["../../../../../../../packages/unisphere-cli/src/lib/commands/package/package-commands.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AACpC,+CAAyD;AACzD,mDAAqD;AAG9C,MAAM,oBAAoB,GAAG,GAAY,EAAE;IAChD,MAAM,cAAc,GAAG,IAAI,mBAAO,CAAC,SAAS,CAAC,CAAC;IAE9C,cAAc,CAAC,WAAW,CAAC,iDAAiD,CAAC,CAAC;IAE9E,IAAA,kCAAkB,EAAC,cAAc,CAAC,CAAC;IACnC,IAAA,8BAAoB,EAAC,cAAc,CAAC,CAAC;IACrC,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC;AARW,QAAA,oBAAoB,wBAQ/B"}
@@ -145,7 +145,6 @@ const createListrForBuildingUnisphereApplication = (_a) => tslib_1.__awaiter(voi
145
145
  title: 'Running lint',
146
146
  command: `npx nx run ${nxProjectName}:lint --fix`,
147
147
  cwd,
148
- env: (0, exports.getUnisphereEnv)(production, 'runtime'),
149
148
  }),
150
149
  (0, create_exec_task_1.createExecTask)({
151
150
  title: 'Running build',
@@ -1 +1 @@
1
- {"version":3,"file":"build-unisphere-elements.js","sourceRoot":"","sources":["../../../../../../../packages/unisphere-cli/src/lib/utils/unisphere/build-unisphere-elements.ts"],"names":[],"mappings":";;;;AACA,6BAA8B;AAC9B,iEAA4D;AAC5D,iDAA4D;AAE5D,yEAAmE;AACnE,iCAA0B;AAC1B,iEAA2E;AAC3E,wDAAmD;AACnD,mFAAqE;AACrE,yBAAyB;AAEzB,MAAM,KAAK,GAAG,IAAA,eAAK,EAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,sCAAsC,GAAG,KAoBnD,EAAE,oDApBwD,EAC3D,GAAG,EACH,aAAa,EACb,UAAU,EACV,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,EACR,WAAW,EACX,GAAG,GAAG,EAAE,GAWT;IACC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,GAAG,GAAG,aAAa,CAAC;IAElE,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAC/B,GAAG,EACH,yBAAyB,EACzB,WAAW,CACZ,CAAC;IACF,6CAA6C;IAC7C,OAAO,UAAU,CAAC,QAAQ,CACxB;QACE,IAAA,iCAAc,EAAC;YACb,KAAK,EAAE,0BAA0B;YACjC,OAAO,EAAE,kBAAkB;YAC3B,GAAG;SACJ,CAAC;QACF,IAAA,iCAAc,EAAC;YACb,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI;YACjB,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE,cAAc,aAAa,eAAe,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EACzE,EAAE;YACJ,GAAG;YACH,GAAG,EAAE,IAAA,uBAAe,EAAC,KAAK,EAAE,SAAS,CAAC;SACvC,CAAC;QACF;YACE,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,CAAO,GAAG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c,EAAC;YACb,KAAK,EAAE,eAAe;YACtB,OAAO,EAAE,cAAc,aAAa,0BAA0B,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EACpF,IAAI,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE;YAClC,GAAG;YACH,GAAG,EAAE;gBACH,mBAAmB,EAAE,OAAO;aAC7B;SACF,CAAC;QACF,QAAQ;KACT,CAAC,MAAM,CAAC,OAAO,CAAC,kCAEZ,IAAA,iCAAsB,GAAE,KAC3B,GAAG,IAEN,CAAC;AACJ,CAAC,CAAA,CAAC;AAnDW,QAAA,0CAA0C,8CAmDrD"}
1
+ {"version":3,"file":"build-unisphere-elements.js","sourceRoot":"","sources":["../../../../../../../packages/unisphere-cli/src/lib/utils/unisphere/build-unisphere-elements.ts"],"names":[],"mappings":";;;;AACA,6BAA8B;AAC9B,iEAA4D;AAC5D,iDAA4D;AAE5D,yEAAmE;AACnE,iCAA0B;AAC1B,iEAA2E;AAC3E,wDAAmD;AACnD,mFAAqE;AACrE,yBAAyB;AAEzB,MAAM,KAAK,GAAG,IAAA,eAAK,EAAC,2BAA2B,CAAC,CAAC;AAE1C,MAAM,sCAAsC,GAAG,KAoBnD,EAAE,oDApBwD,EAC3D,GAAG,EACH,aAAa,EACb,UAAU,EACV,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,EACR,WAAW,EACX,GAAG,GAAG,EAAE,GAWT;IACC,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,GAAG,GAAG,aAAa,CAAC;IAElE,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAC/B,GAAG,EACH,yBAAyB,EACzB,WAAW,CACZ,CAAC;IACF,6CAA6C;IAC7C,OAAO,UAAU,CAAC,QAAQ,CACxB;QACE,IAAA,iCAAc,EAAC;YACb,KAAK,EAAE,0BAA0B;YACjC,OAAO,EAAE,kBAAkB;YAC3B,GAAG;SACJ,CAAC;QACF,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