@storm-software/unbuild 0.49.10 → 0.49.12
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/README.md +1 -1
- package/bin/unbuild.cjs +5 -0
- package/bin/unbuild.js +5 -0
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-HUI55NUC.cjs → chunk-6XVL7IQT.cjs} +3 -3
- package/dist/{chunk-YOFEBICP.cjs → chunk-BEYMFCM7.cjs} +107 -103
- package/dist/{chunk-ROYXERFP.js → chunk-I6UPBZJN.js} +1 -1
- package/dist/{chunk-RJSLIE4Z.js → chunk-KQH54774.js} +1 -0
- package/dist/{chunk-P2WBOEJE.cjs → chunk-OUDGDVMG.cjs} +1 -0
- package/dist/{chunk-XSOPMWCC.cjs → chunk-RDXDA3GH.cjs} +3 -3
- package/dist/{chunk-5QHOUJSC.cjs → chunk-SE3LAWDV.cjs} +2 -2
- package/dist/{chunk-VNJUHNMI.js → chunk-STWBC7PN.js} +1 -1
- package/dist/{chunk-GBXPCTSG.js → chunk-WK7EB7IK.js} +1 -1
- package/dist/{chunk-ZU57QIGP.js → chunk-YXBJUQUO.js} +1 -1
- package/dist/{chunk-KJIKKRIX.cjs → chunk-ZFT5WRRG.cjs} +2 -2
- package/dist/{chunk-OQIN5ERP.js → chunk-ZUJYZNHE.js} +9 -5
- package/dist/clean.cjs +3 -3
- package/dist/clean.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/dist/plugins/analyze.cjs +3 -3
- package/dist/plugins/analyze.js +2 -2
- package/dist/plugins/on-error.cjs +3 -3
- package/dist/plugins/on-error.js +2 -2
- package/dist/plugins/tsc.cjs +3 -3
- package/dist/plugins/tsc.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/unbuild.cjs
CHANGED
|
@@ -204,6 +204,7 @@ var stormWorkspaceConfigSchema = import_zod.default.object({
|
|
|
204
204
|
license: import_zod.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
205
205
|
homepage: import_zod.default.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
206
206
|
docs: import_zod.default.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
207
|
+
portal: import_zod.default.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
207
208
|
licensing: import_zod.default.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
208
209
|
contact: import_zod.default.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
209
210
|
support: import_zod.default.string().trim().url().optional().describe(
|
|
@@ -1045,6 +1046,7 @@ var getConfigEnv = () => {
|
|
|
1045
1046
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
1046
1047
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
1047
1048
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
1049
|
+
portal: process.env[`${prefix}PORTAL`] || void 0,
|
|
1048
1050
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
1049
1051
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
1050
1052
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
@@ -1260,6 +1262,9 @@ var setConfigEnv = (config) => {
|
|
|
1260
1262
|
if (config.docs) {
|
|
1261
1263
|
process.env[`${prefix}DOCS`] = config.docs;
|
|
1262
1264
|
}
|
|
1265
|
+
if (config.portal) {
|
|
1266
|
+
process.env[`${prefix}PORTAL`] = config.portal;
|
|
1267
|
+
}
|
|
1263
1268
|
if (config.licensing) {
|
|
1264
1269
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
1265
1270
|
}
|
package/bin/unbuild.js
CHANGED
|
@@ -182,6 +182,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
182
182
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
183
183
|
homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
184
184
|
docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
185
|
+
portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
185
186
|
licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
186
187
|
contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
187
188
|
support: z.string().trim().url().optional().describe(
|
|
@@ -1023,6 +1024,7 @@ var getConfigEnv = () => {
|
|
|
1023
1024
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
1024
1025
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
1025
1026
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
1027
|
+
portal: process.env[`${prefix}PORTAL`] || void 0,
|
|
1026
1028
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
1027
1029
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
1028
1030
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
@@ -1238,6 +1240,9 @@ var setConfigEnv = (config) => {
|
|
|
1238
1240
|
if (config.docs) {
|
|
1239
1241
|
process.env[`${prefix}DOCS`] = config.docs;
|
|
1240
1242
|
}
|
|
1243
|
+
if (config.portal) {
|
|
1244
|
+
process.env[`${prefix}PORTAL`] = config.portal;
|
|
1245
|
+
}
|
|
1241
1246
|
if (config.licensing) {
|
|
1242
1247
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
1243
1248
|
}
|
package/dist/build.cjs
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
8
|
+
var _chunkBEYMFCM7cjs = require('./chunk-BEYMFCM7.cjs');
|
|
9
|
+
require('./chunk-RDXDA3GH.cjs');
|
|
10
|
+
require('./chunk-ZFT5WRRG.cjs');
|
|
11
|
+
require('./chunk-6XVL7IQT.cjs');
|
|
12
|
+
require('./chunk-SE3LAWDV.cjs');
|
|
13
|
+
require('./chunk-OUDGDVMG.cjs');
|
|
14
14
|
require('./chunk-OBGZSXTJ.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.build =
|
|
22
|
+
exports.build = _chunkBEYMFCM7cjs.build; exports.cleanOutputPath = _chunkBEYMFCM7cjs.cleanOutputPath; exports.copyBuildAssets = _chunkBEYMFCM7cjs.copyBuildAssets; exports.executeUnbuild = _chunkBEYMFCM7cjs.executeUnbuild; exports.generatePackageJson = _chunkBEYMFCM7cjs.generatePackageJson; exports.resolveOptions = _chunkBEYMFCM7cjs.resolveOptions;
|
package/dist/build.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
executeUnbuild,
|
|
6
6
|
generatePackageJson,
|
|
7
7
|
resolveOptions
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-ZUJYZNHE.js";
|
|
9
|
+
import "./chunk-WK7EB7IK.js";
|
|
10
|
+
import "./chunk-YXBJUQUO.js";
|
|
11
|
+
import "./chunk-I6UPBZJN.js";
|
|
12
|
+
import "./chunk-STWBC7PN.js";
|
|
13
|
+
import "./chunk-KQH54774.js";
|
|
14
14
|
import "./chunk-3RG5ZIWI.js";
|
|
15
15
|
export {
|
|
16
16
|
build,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOUDGDVMGcjs = require('./chunk-OUDGDVMG.cjs');
|
|
4
4
|
|
|
5
5
|
// src/plugins/on-error.ts
|
|
6
6
|
var onErrorPlugin = (options) => ({
|
|
7
7
|
name: "storm:on-error",
|
|
8
8
|
buildEnd(error) {
|
|
9
9
|
if (error) {
|
|
10
|
-
|
|
10
|
+
_chunkOUDGDVMGcjs.writeError.call(void 0,
|
|
11
11
|
`The following errors occurred during the build:
|
|
12
12
|
${error ? error.message : "Unknown build error"}
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
renderError(error) {
|
|
21
|
-
|
|
21
|
+
_chunkOUDGDVMGcjs.writeError.call(void 0,
|
|
22
22
|
`The following errors occurred during the build:
|
|
23
23
|
${error ? error.message : "Unknown build error"}
|
|
24
24
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkRDXDA3GHcjs = require('./chunk-RDXDA3GH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZFT5WRRGcjs = require('./chunk-ZFT5WRRG.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk6XVL7IQTcjs = require('./chunk-6XVL7IQT.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkSE3LAWDVcjs = require('./chunk-SE3LAWDV.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -34,7 +34,7 @@ var _chunk5QHOUJSCcjs = require('./chunk-5QHOUJSC.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkOUDGDVMGcjs = require('./chunk-OUDGDVMG.cjs');
|
|
38
38
|
|
|
39
39
|
// src/build.ts
|
|
40
40
|
|
|
@@ -88,9 +88,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
88
88
|
output: "src/"
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0,
|
|
92
92
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
93
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
93
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkOUDGDVMGcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
94
94
|
config
|
|
95
95
|
);
|
|
96
96
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -101,18 +101,18 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
101
101
|
});
|
|
102
102
|
await assetHandler.processAllAssetsOnce();
|
|
103
103
|
if (includeSrc === true) {
|
|
104
|
-
|
|
105
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
104
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0,
|
|
105
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
106
106
|
outputPath,
|
|
107
107
|
"src"
|
|
108
108
|
)}`,
|
|
109
109
|
config
|
|
110
110
|
);
|
|
111
111
|
const files = await _glob.glob.call(void 0, [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
113
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
114
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
115
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
116
116
|
]);
|
|
117
117
|
await Promise.allSettled(
|
|
118
118
|
files.map(
|
|
@@ -167,7 +167,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
167
167
|
)) {
|
|
168
168
|
const projectNode = project.node;
|
|
169
169
|
if (projectNode.data.root) {
|
|
170
|
-
const projectPackageJsonPath =
|
|
170
|
+
const projectPackageJsonPath = _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
171
171
|
workspaceRoot,
|
|
172
172
|
projectNode.data.root,
|
|
173
173
|
"package.json"
|
|
@@ -185,11 +185,11 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
if (localPackages.length > 0) {
|
|
188
|
-
|
|
188
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0,
|
|
189
189
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
190
190
|
);
|
|
191
191
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
192
|
-
|
|
192
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
193
193
|
"utf8"
|
|
194
194
|
);
|
|
195
195
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -202,7 +202,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
202
202
|
}
|
|
203
203
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _9 => _9.projects, 'optionalAccess', _10 => _10[projectName2], 'access', _11 => _11.implicitDependencies, 'optionalAccess', _12 => _12.reduce, 'call', _13 => _13((ret, dep) => {
|
|
204
204
|
if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
|
|
205
|
-
const depPackageJsonPath =
|
|
205
|
+
const depPackageJsonPath = _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
206
206
|
workspaceRoot,
|
|
207
207
|
projectConfigurations.projects[dep].root,
|
|
208
208
|
"package.json"
|
|
@@ -233,14 +233,14 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
233
233
|
return ret;
|
|
234
234
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
235
235
|
} else {
|
|
236
|
-
|
|
236
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
237
237
|
}
|
|
238
238
|
return packageJson;
|
|
239
239
|
};
|
|
240
240
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
241
|
-
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
241
|
+
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkOUDGDVMGcjs.findWorkspaceRoot.call(void 0, );
|
|
242
242
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
243
|
-
|
|
243
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
244
244
|
"utf8"
|
|
245
245
|
);
|
|
246
246
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -251,7 +251,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
251
251
|
if (distSrc.startsWith("/")) {
|
|
252
252
|
distSrc = distSrc.substring(1);
|
|
253
253
|
}
|
|
254
|
-
packageJson.source ??= `${
|
|
254
|
+
packageJson.source ??= `${_chunkOUDGDVMGcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
255
255
|
}
|
|
256
256
|
packageJson.files ??= ["dist/**/*"];
|
|
257
257
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -276,7 +276,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
276
276
|
packageJson.contributors = [packageJson.author];
|
|
277
277
|
}
|
|
278
278
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
279
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
279
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkOUDGDVMGcjs.joinPaths.call(void 0, "packages", projectName);
|
|
280
280
|
return packageJson;
|
|
281
281
|
};
|
|
282
282
|
|
|
@@ -284,7 +284,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
284
284
|
var _c12 = require('c12');
|
|
285
285
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
286
286
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
287
|
-
const workspacePath = filePath ||
|
|
287
|
+
const workspacePath = filePath || _chunkOUDGDVMGcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
288
288
|
const configs = await Promise.all([
|
|
289
289
|
_c12.loadConfig.call(void 0, {
|
|
290
290
|
cwd: workspacePath,
|
|
@@ -293,7 +293,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
293
293
|
envName: _optionalChain([fileName, 'optionalAccess', _24 => _24.toUpperCase, 'call', _25 => _25()]),
|
|
294
294
|
jitiOptions: {
|
|
295
295
|
debug: false,
|
|
296
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
296
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
297
297
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
298
298
|
"jiti"
|
|
299
299
|
)
|
|
@@ -307,7 +307,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
307
307
|
envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
|
|
308
308
|
jitiOptions: {
|
|
309
309
|
debug: false,
|
|
310
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
310
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
311
311
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
312
312
|
"jiti"
|
|
313
313
|
)
|
|
@@ -319,12 +319,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
319
319
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
320
320
|
};
|
|
321
321
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
322
|
-
const workspacePath = filePath ? filePath :
|
|
322
|
+
const workspacePath = filePath ? filePath : _chunkOUDGDVMGcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
323
323
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
324
324
|
let config = result.config;
|
|
325
325
|
const configFile = result.configFile;
|
|
326
326
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
327
|
-
|
|
327
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0,
|
|
328
328
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
329
329
|
{
|
|
330
330
|
logLevel: "all"
|
|
@@ -340,7 +340,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
340
340
|
for (const result2 of results) {
|
|
341
341
|
if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
|
|
342
342
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
343
|
-
|
|
343
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0,
|
|
344
344
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
345
345
|
{
|
|
346
346
|
logLevel: "all"
|
|
@@ -407,20 +407,21 @@ var getConfigEnv = () => {
|
|
|
407
407
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
408
408
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
409
409
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
410
|
+
portal: process.env[`${prefix}PORTAL`] || void 0,
|
|
410
411
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
411
412
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
412
413
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
413
414
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
414
415
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
415
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
416
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
416
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
417
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
417
418
|
directories: {
|
|
418
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
419
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
420
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
421
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
422
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
423
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
419
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
420
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
421
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
422
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
423
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
424
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkOUDGDVMGcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
424
425
|
},
|
|
425
426
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
426
427
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -445,13 +446,13 @@ var getConfigEnv = () => {
|
|
|
445
446
|
},
|
|
446
447
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
447
448
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
448
|
-
) ?
|
|
449
|
+
) ? _chunkOUDGDVMGcjs.getLogLevelLabel.call(void 0,
|
|
449
450
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
450
451
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
451
452
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
452
453
|
};
|
|
453
454
|
const themeNames = Object.keys(process.env).filter(
|
|
454
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
455
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkOUDGDVMGcjs.COLOR_KEYS.every(
|
|
455
456
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
456
457
|
)
|
|
457
458
|
);
|
|
@@ -462,16 +463,16 @@ var getConfigEnv = () => {
|
|
|
462
463
|
},
|
|
463
464
|
{}
|
|
464
465
|
) : getThemeColorConfigEnv(prefix);
|
|
465
|
-
if (config.docs ===
|
|
466
|
-
if (config.homepage ===
|
|
467
|
-
config.docs = `${
|
|
466
|
+
if (config.docs === _chunkOUDGDVMGcjs.STORM_DEFAULT_DOCS) {
|
|
467
|
+
if (config.homepage === _chunkOUDGDVMGcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
468
|
+
config.docs = `${_chunkOUDGDVMGcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
468
469
|
} else {
|
|
469
470
|
config.docs = `${config.homepage}/docs`;
|
|
470
471
|
}
|
|
471
472
|
}
|
|
472
|
-
if (config.licensing ===
|
|
473
|
-
if (config.homepage ===
|
|
474
|
-
config.licensing = `${
|
|
473
|
+
if (config.licensing === _chunkOUDGDVMGcjs.STORM_DEFAULT_LICENSING) {
|
|
474
|
+
if (config.homepage === _chunkOUDGDVMGcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
475
|
+
config.licensing = `${_chunkOUDGDVMGcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
475
476
|
} else {
|
|
476
477
|
config.licensing = `${config.homepage}/docs`;
|
|
477
478
|
}
|
|
@@ -622,6 +623,9 @@ var setConfigEnv = (config) => {
|
|
|
622
623
|
if (config.docs) {
|
|
623
624
|
process.env[`${prefix}DOCS`] = config.docs;
|
|
624
625
|
}
|
|
626
|
+
if (config.portal) {
|
|
627
|
+
process.env[`${prefix}PORTAL`] = config.portal;
|
|
628
|
+
}
|
|
625
629
|
if (config.licensing) {
|
|
626
630
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
627
631
|
}
|
|
@@ -643,40 +647,40 @@ var setConfigEnv = (config) => {
|
|
|
643
647
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
644
648
|
}
|
|
645
649
|
if (config.configFile) {
|
|
646
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
650
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.configFile);
|
|
647
651
|
}
|
|
648
652
|
if (config.workspaceRoot) {
|
|
649
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
650
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
651
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
653
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
654
|
+
process.env.NX_WORKSPACE_ROOT = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
655
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
652
656
|
}
|
|
653
657
|
if (config.directories) {
|
|
654
658
|
if (!config.skipCache && config.directories.cache) {
|
|
655
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
659
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0,
|
|
656
660
|
config.directories.cache
|
|
657
661
|
);
|
|
658
662
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
659
663
|
}
|
|
660
664
|
if (config.directories.data) {
|
|
661
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
665
|
+
process.env[`${prefix}DATA_DIR`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.directories.data);
|
|
662
666
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
663
667
|
}
|
|
664
668
|
if (config.directories.config) {
|
|
665
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
669
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0,
|
|
666
670
|
config.directories.config
|
|
667
671
|
);
|
|
668
672
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
669
673
|
}
|
|
670
674
|
if (config.directories.temp) {
|
|
671
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
675
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.directories.temp);
|
|
672
676
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
673
677
|
}
|
|
674
678
|
if (config.directories.log) {
|
|
675
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
679
|
+
process.env[`${prefix}LOG_DIR`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0, config.directories.log);
|
|
676
680
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
677
681
|
}
|
|
678
682
|
if (config.directories.build) {
|
|
679
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
683
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkOUDGDVMGcjs.correctPaths.call(void 0,
|
|
680
684
|
config.directories.build
|
|
681
685
|
);
|
|
682
686
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -743,9 +747,9 @@ var setConfigEnv = (config) => {
|
|
|
743
747
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
744
748
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
745
749
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
746
|
-
|
|
750
|
+
_chunkOUDGDVMGcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkOUDGDVMGcjs.LogLevel.DEBUG ? true : false
|
|
747
751
|
);
|
|
748
|
-
process.env.RUST_BACKTRACE =
|
|
752
|
+
process.env.RUST_BACKTRACE = _chunkOUDGDVMGcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkOUDGDVMGcjs.LogLevel.DEBUG ? "full" : "none";
|
|
749
753
|
}
|
|
750
754
|
if (config.skipConfigLogging !== void 0) {
|
|
751
755
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -865,13 +869,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
865
869
|
if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
866
870
|
let _workspaceRoot = workspaceRoot;
|
|
867
871
|
if (!_workspaceRoot) {
|
|
868
|
-
_workspaceRoot =
|
|
872
|
+
_workspaceRoot = _chunkOUDGDVMGcjs.findWorkspaceRoot.call(void 0, );
|
|
869
873
|
}
|
|
870
874
|
const configEnv = getConfigEnv();
|
|
871
875
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
872
876
|
if (!configFile) {
|
|
873
877
|
if (!skipLogs) {
|
|
874
|
-
|
|
878
|
+
_chunkOUDGDVMGcjs.writeWarning.call(void 0,
|
|
875
879
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
876
880
|
{ logLevel: "all" }
|
|
877
881
|
);
|
|
@@ -880,9 +884,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
880
884
|
return void 0;
|
|
881
885
|
}
|
|
882
886
|
}
|
|
883
|
-
const defaultConfig = await
|
|
884
|
-
result =
|
|
885
|
-
await
|
|
887
|
+
const defaultConfig = await _chunkOUDGDVMGcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
888
|
+
result = _chunkOUDGDVMGcjs.applyDefaultConfig.call(void 0,
|
|
889
|
+
await _chunkOUDGDVMGcjs.stormWorkspaceConfigSchema.parseAsync(
|
|
886
890
|
_defu2.default.call(void 0, configEnv, configFile, defaultConfig)
|
|
887
891
|
)
|
|
888
892
|
);
|
|
@@ -924,9 +928,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
924
928
|
);
|
|
925
929
|
setConfigEnv(config);
|
|
926
930
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
927
|
-
|
|
931
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0,
|
|
928
932
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
929
|
-
${
|
|
933
|
+
${_chunkOUDGDVMGcjs.formatLogMessage.call(void 0, config)}`,
|
|
930
934
|
config
|
|
931
935
|
);
|
|
932
936
|
}
|
|
@@ -962,15 +966,15 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
|
962
966
|
|
|
963
967
|
var _unbuild = require('unbuild');
|
|
964
968
|
async function resolveOptions(options, config) {
|
|
965
|
-
|
|
966
|
-
const stopwatch =
|
|
969
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
970
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
967
971
|
if (options.configPath) {
|
|
968
|
-
const configFile = await
|
|
972
|
+
const configFile = await _chunkSE3LAWDVcjs.loadConfig.call(void 0, options.configPath);
|
|
969
973
|
if (configFile) {
|
|
970
974
|
options = _defu2.default.call(void 0, options, configFile);
|
|
971
975
|
}
|
|
972
976
|
}
|
|
973
|
-
const outputPath = options.outputPath ||
|
|
977
|
+
const outputPath = options.outputPath || _chunkOUDGDVMGcjs.joinPaths.call(void 0, "dist", options.projectRoot);
|
|
974
978
|
let projectGraph;
|
|
975
979
|
try {
|
|
976
980
|
projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
@@ -983,7 +987,7 @@ async function resolveOptions(options, config) {
|
|
|
983
987
|
"The build process failed because the project graph is not available. Please run the build command again."
|
|
984
988
|
);
|
|
985
989
|
}
|
|
986
|
-
const projectJsonPath =
|
|
990
|
+
const projectJsonPath = _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
987
991
|
config.workspaceRoot,
|
|
988
992
|
options.projectRoot,
|
|
989
993
|
"project.json"
|
|
@@ -994,7 +998,7 @@ async function resolveOptions(options, config) {
|
|
|
994
998
|
const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
|
|
995
999
|
const projectJson = JSON.parse(projectJsonContent);
|
|
996
1000
|
const projectName = projectJson.name;
|
|
997
|
-
const packageJsonPath =
|
|
1001
|
+
const packageJsonPath = _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
998
1002
|
config.workspaceRoot,
|
|
999
1003
|
options.projectRoot,
|
|
1000
1004
|
"package.json"
|
|
@@ -1006,17 +1010,17 @@ async function resolveOptions(options, config) {
|
|
|
1006
1010
|
const packageJson = JSON.parse(packageJsonContent);
|
|
1007
1011
|
let tsconfig = options.tsconfig;
|
|
1008
1012
|
if (!tsconfig) {
|
|
1009
|
-
tsconfig =
|
|
1013
|
+
tsconfig = _chunkOUDGDVMGcjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
|
|
1010
1014
|
}
|
|
1011
1015
|
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
1012
|
-
tsconfig =
|
|
1016
|
+
tsconfig = _chunkOUDGDVMGcjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
|
|
1013
1017
|
}
|
|
1014
1018
|
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
1015
1019
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
1016
1020
|
}
|
|
1017
1021
|
let sourceRoot = projectJson.sourceRoot;
|
|
1018
1022
|
if (!sourceRoot) {
|
|
1019
|
-
sourceRoot =
|
|
1023
|
+
sourceRoot = _chunkOUDGDVMGcjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
1020
1024
|
}
|
|
1021
1025
|
if (!_fs.existsSync.call(void 0, sourceRoot)) {
|
|
1022
1026
|
throw new Error("Cannot find sourceRoot directory");
|
|
@@ -1065,9 +1069,9 @@ async function resolveOptions(options, config) {
|
|
|
1065
1069
|
while (entryPath.startsWith("/")) {
|
|
1066
1070
|
entryPath = entryPath.substring(1);
|
|
1067
1071
|
}
|
|
1068
|
-
const outDir =
|
|
1072
|
+
const outDir = _chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
1069
1073
|
_path.relative.call(void 0,
|
|
1070
|
-
|
|
1074
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot),
|
|
1071
1075
|
config.workspaceRoot
|
|
1072
1076
|
),
|
|
1073
1077
|
outputPath,
|
|
@@ -1146,7 +1150,7 @@ async function resolveOptions(options, config) {
|
|
|
1146
1150
|
treeShaking: options.treeShaking !== false,
|
|
1147
1151
|
platform: options.platform || "neutral",
|
|
1148
1152
|
color: true,
|
|
1149
|
-
logLevel: config.logLevel ===
|
|
1153
|
+
logLevel: config.logLevel === _chunkOUDGDVMGcjs.LogLevelLabel.FATAL ? _chunkOUDGDVMGcjs.LogLevelLabel.ERROR : _chunkOUDGDVMGcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
|
|
1150
1154
|
}
|
|
1151
1155
|
}
|
|
1152
1156
|
};
|
|
@@ -1167,7 +1171,7 @@ async function resolveOptions(options, config) {
|
|
|
1167
1171
|
if (options.rollup) {
|
|
1168
1172
|
let rollup = {};
|
|
1169
1173
|
if (typeof options.rollup === "string") {
|
|
1170
|
-
const rollupFile = await
|
|
1174
|
+
const rollupFile = await _chunkSE3LAWDVcjs.loadConfig.call(void 0, options.rollup);
|
|
1171
1175
|
if (rollupFile) {
|
|
1172
1176
|
rollup = rollupFile;
|
|
1173
1177
|
}
|
|
@@ -1179,20 +1183,20 @@ async function resolveOptions(options, config) {
|
|
|
1179
1183
|
resolvedOptions.hooks = {
|
|
1180
1184
|
"rollup:options": async (ctx, opts) => {
|
|
1181
1185
|
if (options.plugins && options.plugins.length > 0) {
|
|
1182
|
-
|
|
1186
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0,
|
|
1183
1187
|
` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`,
|
|
1184
1188
|
config
|
|
1185
1189
|
);
|
|
1186
1190
|
opts.plugins = options.plugins;
|
|
1187
1191
|
} else {
|
|
1188
|
-
|
|
1192
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0,
|
|
1189
1193
|
` \u{1F9E9} No plugins found in provided build options, using default plugins`,
|
|
1190
1194
|
config
|
|
1191
1195
|
);
|
|
1192
1196
|
opts.plugins = await Promise.all([
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1197
|
+
_chunkZFT5WRRGcjs.analyzePlugin.call(void 0, resolvedOptions),
|
|
1198
|
+
_chunkSE3LAWDVcjs.tscPlugin.call(void 0, resolvedOptions),
|
|
1199
|
+
_chunk6XVL7IQTcjs.onErrorPlugin.call(void 0, resolvedOptions)
|
|
1196
1200
|
]);
|
|
1197
1201
|
}
|
|
1198
1202
|
},
|
|
@@ -1246,15 +1250,15 @@ var addPackageJsonExport = (file, type = "module", sourceRoot, projectRoot) => {
|
|
|
1246
1250
|
};
|
|
1247
1251
|
};
|
|
1248
1252
|
async function generatePackageJson(options) {
|
|
1249
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
1250
|
-
|
|
1251
|
-
const stopwatch =
|
|
1252
|
-
const packageJsonPath =
|
|
1253
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkOUDGDVMGcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1254
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
1255
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1256
|
+
const packageJsonPath = _chunkOUDGDVMGcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1253
1257
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1254
1258
|
throw new Error("Cannot find package.json configuration");
|
|
1255
1259
|
}
|
|
1256
1260
|
const packageJsonContent = await _promises.readFile.call(void 0,
|
|
1257
|
-
|
|
1261
|
+
_chunkOUDGDVMGcjs.joinPaths.call(void 0,
|
|
1258
1262
|
options.config.workspaceRoot,
|
|
1259
1263
|
options.projectRoot,
|
|
1260
1264
|
"package.json"
|
|
@@ -1290,7 +1294,7 @@ async function generatePackageJson(options) {
|
|
|
1290
1294
|
while (entryPath.startsWith("/")) {
|
|
1291
1295
|
entryPath = entryPath.substring(1);
|
|
1292
1296
|
}
|
|
1293
|
-
entryPath = `./${
|
|
1297
|
+
entryPath = `./${_chunkOUDGDVMGcjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
|
|
1294
1298
|
if (!ret.includes(entryPath)) {
|
|
1295
1299
|
ret.push(entryPath);
|
|
1296
1300
|
}
|
|
@@ -1340,28 +1344,28 @@ async function generatePackageJson(options) {
|
|
|
1340
1344
|
options.sourceRoot,
|
|
1341
1345
|
options.projectRoot
|
|
1342
1346
|
);
|
|
1343
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1347
|
+
await _devkit.writeJsonFile.call(void 0, _chunkOUDGDVMGcjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1344
1348
|
stopwatch();
|
|
1345
1349
|
}
|
|
1346
1350
|
return options;
|
|
1347
1351
|
}
|
|
1348
1352
|
async function executeUnbuild(options) {
|
|
1349
|
-
|
|
1353
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0,
|
|
1350
1354
|
` \u{1F680} Running ${options.name} (${options.projectRoot}) build`,
|
|
1351
1355
|
options.config
|
|
1352
1356
|
);
|
|
1353
|
-
const stopwatch =
|
|
1357
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0,
|
|
1354
1358
|
`${options.name} (${options.projectRoot}) build`
|
|
1355
1359
|
);
|
|
1356
1360
|
try {
|
|
1357
1361
|
const config = {
|
|
1358
1362
|
...options,
|
|
1359
1363
|
config: null,
|
|
1360
|
-
rootDir:
|
|
1364
|
+
rootDir: _chunkOUDGDVMGcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
|
|
1361
1365
|
};
|
|
1362
|
-
|
|
1366
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0,
|
|
1363
1367
|
`Running with unbuild configuration:
|
|
1364
|
-
${
|
|
1368
|
+
${_chunkOUDGDVMGcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
|
|
1365
1369
|
`,
|
|
1366
1370
|
options.config
|
|
1367
1371
|
);
|
|
@@ -1372,11 +1376,11 @@ ${_chunkP2WBOEJEcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" }
|
|
|
1372
1376
|
return options;
|
|
1373
1377
|
}
|
|
1374
1378
|
async function copyBuildAssets(options) {
|
|
1375
|
-
|
|
1379
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0,
|
|
1376
1380
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1377
1381
|
options.config
|
|
1378
1382
|
);
|
|
1379
|
-
const stopwatch =
|
|
1383
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1380
1384
|
await copyAssets(
|
|
1381
1385
|
options.config,
|
|
1382
1386
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -1391,12 +1395,12 @@ async function copyBuildAssets(options) {
|
|
|
1391
1395
|
}
|
|
1392
1396
|
async function cleanOutputPath(options) {
|
|
1393
1397
|
if (options.clean !== false && options.outDir) {
|
|
1394
|
-
|
|
1398
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0,
|
|
1395
1399
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`,
|
|
1396
1400
|
options.config
|
|
1397
1401
|
);
|
|
1398
|
-
const stopwatch =
|
|
1399
|
-
await
|
|
1402
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1403
|
+
await _chunkRDXDA3GHcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
|
|
1400
1404
|
stopwatch();
|
|
1401
1405
|
}
|
|
1402
1406
|
return options;
|
|
@@ -1411,10 +1415,10 @@ async function build(options) {
|
|
|
1411
1415
|
throw new Error("Cannot find workspace root");
|
|
1412
1416
|
}
|
|
1413
1417
|
const config = await getConfig(workspaceRoot.dir);
|
|
1414
|
-
|
|
1415
|
-
const stopwatch =
|
|
1418
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
|
|
1419
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0, "Unbuild pipeline");
|
|
1416
1420
|
try {
|
|
1417
|
-
options.projectRoot =
|
|
1421
|
+
options.projectRoot = _chunkOUDGDVMGcjs.correctPaths.call(void 0, projectRoot);
|
|
1418
1422
|
const resolvedOptions = await resolveOptions(options, config);
|
|
1419
1423
|
await cleanOutputPath(resolvedOptions);
|
|
1420
1424
|
if (options.buildOnly !== true) {
|
|
@@ -1424,12 +1428,12 @@ async function build(options) {
|
|
|
1424
1428
|
if (options.buildOnly !== true) {
|
|
1425
1429
|
await copyBuildAssets(resolvedOptions);
|
|
1426
1430
|
}
|
|
1427
|
-
|
|
1431
|
+
_chunkOUDGDVMGcjs.writeSuccess.call(void 0,
|
|
1428
1432
|
` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`,
|
|
1429
1433
|
config
|
|
1430
1434
|
);
|
|
1431
1435
|
} catch (error) {
|
|
1432
|
-
|
|
1436
|
+
_chunkOUDGDVMGcjs.writeFatal.call(void 0,
|
|
1433
1437
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated.",
|
|
1434
1438
|
config
|
|
1435
1439
|
);
|
|
@@ -382,6 +382,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
382
382
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
383
383
|
homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
384
384
|
docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
385
|
+
portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
385
386
|
licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
386
387
|
contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
387
388
|
support: z.string().trim().url().optional().describe(
|
|
@@ -382,6 +382,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
382
382
|
license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
383
383
|
homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
384
384
|
docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
385
|
+
portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
|
|
385
386
|
licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
386
387
|
contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
387
388
|
support: _zod2.default.string().trim().url().optional().describe(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOUDGDVMGcjs = require('./chunk-OUDGDVMG.cjs');
|
|
5
5
|
|
|
6
6
|
// src/clean.ts
|
|
7
7
|
var _promises = require('fs/promises');
|
|
8
8
|
async function clean(name = "Unbuild", directory, config) {
|
|
9
|
-
|
|
10
|
-
const stopwatch =
|
|
9
|
+
_chunkOUDGDVMGcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
10
|
+
const stopwatch = _chunkOUDGDVMGcjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
11
11
|
await cleanDirectories(name, directory, config);
|
|
12
12
|
stopwatch();
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOUDGDVMGcjs = require('./chunk-OUDGDVMG.cjs');
|
|
4
4
|
|
|
5
5
|
// src/plugins/tsc.ts
|
|
6
6
|
|
|
@@ -45,7 +45,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
|
|
|
45
45
|
declaration: true,
|
|
46
46
|
paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
_chunkOUDGDVMGcjs.writeTrace.call(void 0, compilerOptions, config);
|
|
49
49
|
return compilerOptions;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOUDGDVMGcjs = require('./chunk-OUDGDVMG.cjs');
|
|
4
4
|
|
|
5
5
|
// src/plugins/analyze.ts
|
|
6
6
|
var formatBytes = (bytes) => {
|
|
@@ -17,7 +17,7 @@ var analyzePlugin = (options) => {
|
|
|
17
17
|
renderChunk(source, chunk) {
|
|
18
18
|
const sourceBytes = formatBytes(source.length);
|
|
19
19
|
const fileName = chunk.fileName;
|
|
20
|
-
|
|
20
|
+
_chunkOUDGDVMGcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanDirectories
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WK7EB7IK.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YXBJUQUO.js";
|
|
7
7
|
import {
|
|
8
8
|
onErrorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I6UPBZJN.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig,
|
|
12
12
|
tscPlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-STWBC7PN.js";
|
|
14
14
|
import {
|
|
15
15
|
COLOR_KEYS,
|
|
16
16
|
LogLevel,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
writeSuccess,
|
|
35
35
|
writeTrace,
|
|
36
36
|
writeWarning
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KQH54774.js";
|
|
38
38
|
|
|
39
39
|
// src/build.ts
|
|
40
40
|
import {
|
|
@@ -407,6 +407,7 @@ var getConfigEnv = () => {
|
|
|
407
407
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
408
408
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
409
409
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
410
|
+
portal: process.env[`${prefix}PORTAL`] || void 0,
|
|
410
411
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
411
412
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
412
413
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
@@ -622,6 +623,9 @@ var setConfigEnv = (config) => {
|
|
|
622
623
|
if (config.docs) {
|
|
623
624
|
process.env[`${prefix}DOCS`] = config.docs;
|
|
624
625
|
}
|
|
626
|
+
if (config.portal) {
|
|
627
|
+
process.env[`${prefix}PORTAL`] = config.portal;
|
|
628
|
+
}
|
|
625
629
|
if (config.licensing) {
|
|
626
630
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
627
631
|
}
|
package/dist/clean.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkRDXDA3GHcjs = require('./chunk-RDXDA3GH.cjs');
|
|
5
|
+
require('./chunk-OUDGDVMG.cjs');
|
|
6
6
|
require('./chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunkRDXDA3GHcjs.clean; exports.cleanDirectories = _chunkRDXDA3GHcjs.cleanDirectories;
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkBEYMFCM7cjs = require('./chunk-BEYMFCM7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkRDXDA3GHcjs = require('./chunk-RDXDA3GH.cjs');
|
|
13
13
|
require('./chunk-SFZRYJZ2.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-ZFT5WRRG.cjs');
|
|
15
|
+
require('./chunk-6XVL7IQT.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkSE3LAWDVcjs = require('./chunk-SE3LAWDV.cjs');
|
|
20
|
+
require('./chunk-OUDGDVMG.cjs');
|
|
21
21
|
require('./chunk-OBGZSXTJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkBEYMFCM7cjs.build; exports.clean = _chunkRDXDA3GHcjs.clean; exports.cleanDirectories = _chunkRDXDA3GHcjs.cleanDirectories; exports.cleanOutputPath = _chunkBEYMFCM7cjs.cleanOutputPath; exports.copyBuildAssets = _chunkBEYMFCM7cjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkSE3LAWDVcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkBEYMFCM7cjs.executeUnbuild; exports.generatePackageJson = _chunkBEYMFCM7cjs.generatePackageJson; exports.loadConfig = _chunkSE3LAWDVcjs.loadConfig; exports.resolveOptions = _chunkBEYMFCM7cjs.resolveOptions;
|
package/dist/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
executeUnbuild,
|
|
6
6
|
generatePackageJson,
|
|
7
7
|
resolveOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZUJYZNHE.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WK7EB7IK.js";
|
|
13
13
|
import "./chunk-GGNOJ77I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-YXBJUQUO.js";
|
|
15
|
+
import "./chunk-I6UPBZJN.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-STWBC7PN.js";
|
|
20
|
+
import "./chunk-KQH54774.js";
|
|
21
21
|
import "./chunk-3RG5ZIWI.js";
|
|
22
22
|
export {
|
|
23
23
|
build,
|
package/dist/plugins/analyze.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkZFT5WRRGcjs = require('../chunk-ZFT5WRRG.cjs');
|
|
4
|
+
require('../chunk-OUDGDVMG.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunkZFT5WRRGcjs.analyzePlugin;
|
package/dist/plugins/analyze.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk6XVL7IQTcjs = require('../chunk-6XVL7IQT.cjs');
|
|
4
|
+
require('../chunk-OUDGDVMG.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunk6XVL7IQTcjs.onErrorPlugin;
|
package/dist/plugins/on-error.js
CHANGED
package/dist/plugins/tsc.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkSE3LAWDVcjs = require('../chunk-SE3LAWDV.cjs');
|
|
4
|
+
require('../chunk-OUDGDVMG.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunkSE3LAWDVcjs.tscPlugin;
|
package/dist/plugins/tsc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/unbuild",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
"typescript": { "optional": false }
|
|
148
148
|
},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"@storm-software/build-tools": "^0.151.
|
|
151
|
-
"@storm-software/config": "^1.
|
|
152
|
-
"@storm-software/config-tools": "^1.
|
|
150
|
+
"@storm-software/build-tools": "^0.151.2",
|
|
151
|
+
"@storm-software/config": "^1.122.1",
|
|
152
|
+
"@storm-software/config-tools": "^1.173.1",
|
|
153
153
|
"commander": "^12.1.0",
|
|
154
154
|
"defu": "6.1.4",
|
|
155
155
|
"esbuild": "^0.25.0",
|