@storm-software/unbuild 0.49.30 → 0.49.32
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 +3 -3
- package/bin/unbuild.js +3 -3
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-FNYUUBNZ.js → chunk-2363GX3V.js} +5 -5
- package/dist/{chunk-AAQFCT7L.js → chunk-2NL7D6LZ.js} +1 -1
- package/dist/{chunk-G32STBCS.js → chunk-5LTNOK6K.js} +1 -1
- package/dist/{chunk-J4UOX4OP.js → chunk-J6YEEFZI.js} +1 -1
- package/dist/{chunk-GVO643VM.cjs → chunk-K4ZHJTO2.cjs} +103 -103
- package/dist/{chunk-RD4YD4ZN.cjs → chunk-OEWYDDEF.cjs} +3 -3
- package/dist/{chunk-EDOO3FEZ.js → chunk-OHCC62S7.js} +1 -1
- package/dist/{chunk-RD6YICEO.cjs → chunk-VZQDYKJV.cjs} +3 -3
- package/dist/{chunk-DZ7GSU4H.cjs → chunk-WHSDAXF3.cjs} +2 -2
- package/dist/{chunk-DERD32ZB.cjs → chunk-YBFLGHF3.cjs} +3 -3
- package/dist/{chunk-WM2DFJAS.js → chunk-YWONX7HR.js} +3 -3
- package/dist/{chunk-CKBEQNI6.cjs → chunk-ZKTNXGEF.cjs} +2 -2
- 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 +5 -5
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
|
@@ -825,7 +825,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
|
|
|
825
825
|
return (message) => {
|
|
826
826
|
console.debug(
|
|
827
827
|
`
|
|
828
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
828
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
829
829
|
`
|
|
830
830
|
);
|
|
831
831
|
};
|
|
@@ -834,7 +834,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
834
834
|
return (message) => {
|
|
835
835
|
console.debug(
|
|
836
836
|
`
|
|
837
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
837
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
838
838
|
`
|
|
839
839
|
);
|
|
840
840
|
};
|
|
@@ -842,7 +842,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
842
842
|
return (message) => {
|
|
843
843
|
console.log(
|
|
844
844
|
`
|
|
845
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
845
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
846
846
|
`
|
|
847
847
|
);
|
|
848
848
|
};
|
package/bin/unbuild.js
CHANGED
|
@@ -803,7 +803,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
|
|
|
803
803
|
return (message) => {
|
|
804
804
|
console.debug(
|
|
805
805
|
`
|
|
806
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
806
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
807
807
|
`
|
|
808
808
|
);
|
|
809
809
|
};
|
|
@@ -812,7 +812,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
812
812
|
return (message) => {
|
|
813
813
|
console.debug(
|
|
814
814
|
`
|
|
815
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
815
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
816
816
|
`
|
|
817
817
|
);
|
|
818
818
|
};
|
|
@@ -820,7 +820,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
820
820
|
return (message) => {
|
|
821
821
|
console.log(
|
|
822
822
|
`
|
|
823
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
823
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
824
824
|
`
|
|
825
825
|
);
|
|
826
826
|
};
|
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 _chunkK4ZHJTO2cjs = require('./chunk-K4ZHJTO2.cjs');
|
|
9
|
+
require('./chunk-OEWYDDEF.cjs');
|
|
10
|
+
require('./chunk-ZKTNXGEF.cjs');
|
|
11
|
+
require('./chunk-VZQDYKJV.cjs');
|
|
12
|
+
require('./chunk-WHSDAXF3.cjs');
|
|
13
|
+
require('./chunk-YBFLGHF3.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 = _chunkK4ZHJTO2cjs.build; exports.cleanOutputPath = _chunkK4ZHJTO2cjs.cleanOutputPath; exports.copyBuildAssets = _chunkK4ZHJTO2cjs.copyBuildAssets; exports.executeUnbuild = _chunkK4ZHJTO2cjs.executeUnbuild; exports.generatePackageJson = _chunkK4ZHJTO2cjs.generatePackageJson; exports.resolveOptions = _chunkK4ZHJTO2cjs.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-2363GX3V.js";
|
|
9
|
+
import "./chunk-5LTNOK6K.js";
|
|
10
|
+
import "./chunk-2NL7D6LZ.js";
|
|
11
|
+
import "./chunk-J6YEEFZI.js";
|
|
12
|
+
import "./chunk-OHCC62S7.js";
|
|
13
|
+
import "./chunk-YWONX7HR.js";
|
|
14
14
|
import "./chunk-3RG5ZIWI.js";
|
|
15
15
|
export {
|
|
16
16
|
build,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanDirectories
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5LTNOK6K.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2NL7D6LZ.js";
|
|
7
7
|
import {
|
|
8
8
|
onErrorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J6YEEFZI.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig,
|
|
12
12
|
tscPlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OHCC62S7.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-YWONX7HR.js";
|
|
38
38
|
|
|
39
39
|
// src/build.ts
|
|
40
40
|
import {
|
|
@@ -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 _chunkOEWYDDEFcjs = require('./chunk-OEWYDDEF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZKTNXGEFcjs = require('./chunk-ZKTNXGEF.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkVZQDYKJVcjs = require('./chunk-VZQDYKJV.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkWHSDAXF3cjs = require('./chunk-WHSDAXF3.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -34,7 +34,7 @@ var _chunkDZ7GSU4Hcjs = require('./chunk-DZ7GSU4H.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkYBFLGHF3cjs = require('./chunk-YBFLGHF3.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
|
+
_chunkYBFLGHF3cjs.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} -> ${_chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0,
|
|
105
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
113
|
+
_chunkYBFLGHF3cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
114
|
+
_chunkYBFLGHF3cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
115
|
+
_chunkYBFLGHF3cjs.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 = _chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.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 = _chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.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 : _chunkYBFLGHF3cjs.findWorkspaceRoot.call(void 0, );
|
|
242
242
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
243
|
-
|
|
243
|
+
_chunkYBFLGHF3cjs.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 ??= `${_chunkYBFLGHF3cjs.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 : _chunkYBFLGHF3cjs.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 || _chunkYBFLGHF3cjs.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 : _chunkYBFLGHF3cjs.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 : _chunkYBFLGHF3cjs.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 : _chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.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"
|
|
@@ -419,15 +419,15 @@ var getConfigEnv = () => {
|
|
|
419
419
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
420
420
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
421
421
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
422
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
423
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
422
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
423
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
424
424
|
directories: {
|
|
425
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
426
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
427
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
428
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
429
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
430
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
425
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
426
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
427
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
428
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
429
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
430
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkYBFLGHF3cjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
431
431
|
},
|
|
432
432
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
433
433
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -452,13 +452,13 @@ var getConfigEnv = () => {
|
|
|
452
452
|
},
|
|
453
453
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
454
454
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
455
|
-
) ?
|
|
455
|
+
) ? _chunkYBFLGHF3cjs.getLogLevelLabel.call(void 0,
|
|
456
456
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
457
457
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
458
458
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
459
459
|
};
|
|
460
460
|
const themeNames = Object.keys(process.env).filter(
|
|
461
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
461
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkYBFLGHF3cjs.COLOR_KEYS.every(
|
|
462
462
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
463
463
|
)
|
|
464
464
|
);
|
|
@@ -469,16 +469,16 @@ var getConfigEnv = () => {
|
|
|
469
469
|
},
|
|
470
470
|
{}
|
|
471
471
|
) : getThemeColorConfigEnv(prefix);
|
|
472
|
-
if (config.docs ===
|
|
473
|
-
if (config.homepage ===
|
|
474
|
-
config.docs = `${
|
|
472
|
+
if (config.docs === _chunkYBFLGHF3cjs.STORM_DEFAULT_DOCS) {
|
|
473
|
+
if (config.homepage === _chunkYBFLGHF3cjs.STORM_DEFAULT_HOMEPAGE) {
|
|
474
|
+
config.docs = `${_chunkYBFLGHF3cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
475
475
|
} else {
|
|
476
476
|
config.docs = `${config.homepage}/docs`;
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
if (config.licensing ===
|
|
480
|
-
if (config.homepage ===
|
|
481
|
-
config.licensing = `${
|
|
479
|
+
if (config.licensing === _chunkYBFLGHF3cjs.STORM_DEFAULT_LICENSING) {
|
|
480
|
+
if (config.homepage === _chunkYBFLGHF3cjs.STORM_DEFAULT_HOMEPAGE) {
|
|
481
|
+
config.licensing = `${_chunkYBFLGHF3cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
482
482
|
} else {
|
|
483
483
|
config.licensing = `${config.homepage}/docs`;
|
|
484
484
|
}
|
|
@@ -679,40 +679,40 @@ var setConfigEnv = (config) => {
|
|
|
679
679
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
680
680
|
}
|
|
681
681
|
if (config.configFile) {
|
|
682
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
682
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.configFile);
|
|
683
683
|
}
|
|
684
684
|
if (config.workspaceRoot) {
|
|
685
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
686
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
687
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
685
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
686
|
+
process.env.NX_WORKSPACE_ROOT = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
687
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
688
688
|
}
|
|
689
689
|
if (config.directories) {
|
|
690
690
|
if (!config.skipCache && config.directories.cache) {
|
|
691
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
691
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0,
|
|
692
692
|
config.directories.cache
|
|
693
693
|
);
|
|
694
694
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
695
695
|
}
|
|
696
696
|
if (config.directories.data) {
|
|
697
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
697
|
+
process.env[`${prefix}DATA_DIR`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.directories.data);
|
|
698
698
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
699
699
|
}
|
|
700
700
|
if (config.directories.config) {
|
|
701
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
701
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0,
|
|
702
702
|
config.directories.config
|
|
703
703
|
);
|
|
704
704
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
705
705
|
}
|
|
706
706
|
if (config.directories.temp) {
|
|
707
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
707
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.directories.temp);
|
|
708
708
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
709
709
|
}
|
|
710
710
|
if (config.directories.log) {
|
|
711
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
711
|
+
process.env[`${prefix}LOG_DIR`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0, config.directories.log);
|
|
712
712
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
713
713
|
}
|
|
714
714
|
if (config.directories.build) {
|
|
715
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
715
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkYBFLGHF3cjs.correctPaths.call(void 0,
|
|
716
716
|
config.directories.build
|
|
717
717
|
);
|
|
718
718
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -779,9 +779,9 @@ var setConfigEnv = (config) => {
|
|
|
779
779
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
780
780
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
781
781
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
782
|
-
|
|
782
|
+
_chunkYBFLGHF3cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkYBFLGHF3cjs.LogLevel.DEBUG ? true : false
|
|
783
783
|
);
|
|
784
|
-
process.env.RUST_BACKTRACE =
|
|
784
|
+
process.env.RUST_BACKTRACE = _chunkYBFLGHF3cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkYBFLGHF3cjs.LogLevel.DEBUG ? "full" : "none";
|
|
785
785
|
}
|
|
786
786
|
if (config.skipConfigLogging !== void 0) {
|
|
787
787
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -901,13 +901,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
901
901
|
if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
902
902
|
let _workspaceRoot = workspaceRoot;
|
|
903
903
|
if (!_workspaceRoot) {
|
|
904
|
-
_workspaceRoot =
|
|
904
|
+
_workspaceRoot = _chunkYBFLGHF3cjs.findWorkspaceRoot.call(void 0, );
|
|
905
905
|
}
|
|
906
906
|
const configEnv = getConfigEnv();
|
|
907
907
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
908
908
|
if (!configFile) {
|
|
909
909
|
if (!skipLogs) {
|
|
910
|
-
|
|
910
|
+
_chunkYBFLGHF3cjs.writeWarning.call(void 0,
|
|
911
911
|
"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",
|
|
912
912
|
{ logLevel: "all" }
|
|
913
913
|
);
|
|
@@ -916,9 +916,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
916
916
|
return void 0;
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
|
-
const defaultConfig = await
|
|
920
|
-
result =
|
|
921
|
-
await
|
|
919
|
+
const defaultConfig = await _chunkYBFLGHF3cjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
920
|
+
result = _chunkYBFLGHF3cjs.applyDefaultConfig.call(void 0,
|
|
921
|
+
await _chunkYBFLGHF3cjs.stormWorkspaceConfigSchema.parseAsync(
|
|
922
922
|
_defu2.default.call(void 0, configEnv, configFile, defaultConfig)
|
|
923
923
|
)
|
|
924
924
|
);
|
|
@@ -960,9 +960,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
960
960
|
);
|
|
961
961
|
setConfigEnv(config);
|
|
962
962
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
963
|
-
|
|
963
|
+
_chunkYBFLGHF3cjs.writeTrace.call(void 0,
|
|
964
964
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
965
|
-
${
|
|
965
|
+
${_chunkYBFLGHF3cjs.formatLogMessage.call(void 0, config)}`,
|
|
966
966
|
config
|
|
967
967
|
);
|
|
968
968
|
}
|
|
@@ -998,15 +998,15 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
|
998
998
|
|
|
999
999
|
var _unbuild = require('unbuild');
|
|
1000
1000
|
async function resolveOptions(options, config) {
|
|
1001
|
-
|
|
1002
|
-
const stopwatch =
|
|
1001
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
1002
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0, "Build options resolution");
|
|
1003
1003
|
if (options.configPath) {
|
|
1004
|
-
const configFile = await
|
|
1004
|
+
const configFile = await _chunkWHSDAXF3cjs.loadConfig.call(void 0, options.configPath);
|
|
1005
1005
|
if (configFile) {
|
|
1006
1006
|
options = _defu2.default.call(void 0, options, configFile);
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
|
-
const outputPath = options.outputPath ||
|
|
1009
|
+
const outputPath = options.outputPath || _chunkYBFLGHF3cjs.joinPaths.call(void 0, "dist", options.projectRoot);
|
|
1010
1010
|
let projectGraph;
|
|
1011
1011
|
try {
|
|
1012
1012
|
projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
@@ -1019,7 +1019,7 @@ async function resolveOptions(options, config) {
|
|
|
1019
1019
|
"The build process failed because the project graph is not available. Please run the build command again."
|
|
1020
1020
|
);
|
|
1021
1021
|
}
|
|
1022
|
-
const projectJsonPath =
|
|
1022
|
+
const projectJsonPath = _chunkYBFLGHF3cjs.joinPaths.call(void 0,
|
|
1023
1023
|
config.workspaceRoot,
|
|
1024
1024
|
options.projectRoot,
|
|
1025
1025
|
"project.json"
|
|
@@ -1030,7 +1030,7 @@ async function resolveOptions(options, config) {
|
|
|
1030
1030
|
const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
|
|
1031
1031
|
const projectJson = JSON.parse(projectJsonContent);
|
|
1032
1032
|
const projectName = projectJson.name;
|
|
1033
|
-
const packageJsonPath =
|
|
1033
|
+
const packageJsonPath = _chunkYBFLGHF3cjs.joinPaths.call(void 0,
|
|
1034
1034
|
config.workspaceRoot,
|
|
1035
1035
|
options.projectRoot,
|
|
1036
1036
|
"package.json"
|
|
@@ -1042,17 +1042,17 @@ async function resolveOptions(options, config) {
|
|
|
1042
1042
|
const packageJson = JSON.parse(packageJsonContent);
|
|
1043
1043
|
let tsconfig = options.tsconfig;
|
|
1044
1044
|
if (!tsconfig) {
|
|
1045
|
-
tsconfig =
|
|
1045
|
+
tsconfig = _chunkYBFLGHF3cjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
|
|
1046
1046
|
}
|
|
1047
1047
|
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
1048
|
-
tsconfig =
|
|
1048
|
+
tsconfig = _chunkYBFLGHF3cjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
|
|
1049
1049
|
}
|
|
1050
1050
|
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
1051
1051
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
1052
1052
|
}
|
|
1053
1053
|
let sourceRoot = projectJson.sourceRoot;
|
|
1054
1054
|
if (!sourceRoot) {
|
|
1055
|
-
sourceRoot =
|
|
1055
|
+
sourceRoot = _chunkYBFLGHF3cjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
1056
1056
|
}
|
|
1057
1057
|
if (!_fs.existsSync.call(void 0, sourceRoot)) {
|
|
1058
1058
|
throw new Error("Cannot find sourceRoot directory");
|
|
@@ -1101,9 +1101,9 @@ async function resolveOptions(options, config) {
|
|
|
1101
1101
|
while (entryPath.startsWith("/")) {
|
|
1102
1102
|
entryPath = entryPath.substring(1);
|
|
1103
1103
|
}
|
|
1104
|
-
const outDir =
|
|
1104
|
+
const outDir = _chunkYBFLGHF3cjs.joinPaths.call(void 0,
|
|
1105
1105
|
_path.relative.call(void 0,
|
|
1106
|
-
|
|
1106
|
+
_chunkYBFLGHF3cjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot),
|
|
1107
1107
|
config.workspaceRoot
|
|
1108
1108
|
),
|
|
1109
1109
|
outputPath,
|
|
@@ -1182,7 +1182,7 @@ async function resolveOptions(options, config) {
|
|
|
1182
1182
|
treeShaking: options.treeShaking !== false,
|
|
1183
1183
|
platform: options.platform || "neutral",
|
|
1184
1184
|
color: true,
|
|
1185
|
-
logLevel: config.logLevel ===
|
|
1185
|
+
logLevel: config.logLevel === _chunkYBFLGHF3cjs.LogLevelLabel.FATAL ? _chunkYBFLGHF3cjs.LogLevelLabel.ERROR : _chunkYBFLGHF3cjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
1188
|
};
|
|
@@ -1203,7 +1203,7 @@ async function resolveOptions(options, config) {
|
|
|
1203
1203
|
if (options.rollup) {
|
|
1204
1204
|
let rollup = {};
|
|
1205
1205
|
if (typeof options.rollup === "string") {
|
|
1206
|
-
const rollupFile = await
|
|
1206
|
+
const rollupFile = await _chunkWHSDAXF3cjs.loadConfig.call(void 0, options.rollup);
|
|
1207
1207
|
if (rollupFile) {
|
|
1208
1208
|
rollup = rollupFile;
|
|
1209
1209
|
}
|
|
@@ -1215,20 +1215,20 @@ async function resolveOptions(options, config) {
|
|
|
1215
1215
|
resolvedOptions.hooks = {
|
|
1216
1216
|
"rollup:options": async (ctx, opts) => {
|
|
1217
1217
|
if (options.plugins && options.plugins.length > 0) {
|
|
1218
|
-
|
|
1218
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0,
|
|
1219
1219
|
` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`,
|
|
1220
1220
|
config
|
|
1221
1221
|
);
|
|
1222
1222
|
opts.plugins = options.plugins;
|
|
1223
1223
|
} else {
|
|
1224
|
-
|
|
1224
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0,
|
|
1225
1225
|
` \u{1F9E9} No plugins found in provided build options, using default plugins`,
|
|
1226
1226
|
config
|
|
1227
1227
|
);
|
|
1228
1228
|
opts.plugins = await Promise.all([
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1229
|
+
_chunkZKTNXGEFcjs.analyzePlugin.call(void 0, resolvedOptions),
|
|
1230
|
+
_chunkWHSDAXF3cjs.tscPlugin.call(void 0, resolvedOptions),
|
|
1231
|
+
_chunkVZQDYKJVcjs.onErrorPlugin.call(void 0, resolvedOptions)
|
|
1232
1232
|
]);
|
|
1233
1233
|
}
|
|
1234
1234
|
},
|
|
@@ -1282,15 +1282,15 @@ var addPackageJsonExport = (file, type = "module", sourceRoot, projectRoot) => {
|
|
|
1282
1282
|
};
|
|
1283
1283
|
};
|
|
1284
1284
|
async function generatePackageJson(options) {
|
|
1285
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
1286
|
-
|
|
1287
|
-
const stopwatch =
|
|
1288
|
-
const packageJsonPath =
|
|
1285
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkYBFLGHF3cjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1286
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
1287
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1288
|
+
const packageJsonPath = _chunkYBFLGHF3cjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1289
1289
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1290
1290
|
throw new Error("Cannot find package.json configuration");
|
|
1291
1291
|
}
|
|
1292
1292
|
const packageJsonContent = await _promises.readFile.call(void 0,
|
|
1293
|
-
|
|
1293
|
+
_chunkYBFLGHF3cjs.joinPaths.call(void 0,
|
|
1294
1294
|
options.config.workspaceRoot,
|
|
1295
1295
|
options.projectRoot,
|
|
1296
1296
|
"package.json"
|
|
@@ -1326,7 +1326,7 @@ async function generatePackageJson(options) {
|
|
|
1326
1326
|
while (entryPath.startsWith("/")) {
|
|
1327
1327
|
entryPath = entryPath.substring(1);
|
|
1328
1328
|
}
|
|
1329
|
-
entryPath = `./${
|
|
1329
|
+
entryPath = `./${_chunkYBFLGHF3cjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
|
|
1330
1330
|
if (!ret.includes(entryPath)) {
|
|
1331
1331
|
ret.push(entryPath);
|
|
1332
1332
|
}
|
|
@@ -1376,28 +1376,28 @@ async function generatePackageJson(options) {
|
|
|
1376
1376
|
options.sourceRoot,
|
|
1377
1377
|
options.projectRoot
|
|
1378
1378
|
);
|
|
1379
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1379
|
+
await _devkit.writeJsonFile.call(void 0, _chunkYBFLGHF3cjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1380
1380
|
stopwatch();
|
|
1381
1381
|
}
|
|
1382
1382
|
return options;
|
|
1383
1383
|
}
|
|
1384
1384
|
async function executeUnbuild(options) {
|
|
1385
|
-
|
|
1385
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0,
|
|
1386
1386
|
` \u{1F680} Running ${options.name} (${options.projectRoot}) build`,
|
|
1387
1387
|
options.config
|
|
1388
1388
|
);
|
|
1389
|
-
const stopwatch =
|
|
1389
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0,
|
|
1390
1390
|
`${options.name} (${options.projectRoot}) build`
|
|
1391
1391
|
);
|
|
1392
1392
|
try {
|
|
1393
1393
|
const config = {
|
|
1394
1394
|
...options,
|
|
1395
1395
|
config: null,
|
|
1396
|
-
rootDir:
|
|
1396
|
+
rootDir: _chunkYBFLGHF3cjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
|
|
1397
1397
|
};
|
|
1398
|
-
|
|
1398
|
+
_chunkYBFLGHF3cjs.writeTrace.call(void 0,
|
|
1399
1399
|
`Running with unbuild configuration:
|
|
1400
|
-
${
|
|
1400
|
+
${_chunkYBFLGHF3cjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
|
|
1401
1401
|
`,
|
|
1402
1402
|
options.config
|
|
1403
1403
|
);
|
|
@@ -1408,11 +1408,11 @@ ${_chunkDERD32ZBcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" }
|
|
|
1408
1408
|
return options;
|
|
1409
1409
|
}
|
|
1410
1410
|
async function copyBuildAssets(options) {
|
|
1411
|
-
|
|
1411
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0,
|
|
1412
1412
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1413
1413
|
options.config
|
|
1414
1414
|
);
|
|
1415
|
-
const stopwatch =
|
|
1415
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1416
1416
|
await copyAssets(
|
|
1417
1417
|
options.config,
|
|
1418
1418
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -1427,12 +1427,12 @@ async function copyBuildAssets(options) {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
async function cleanOutputPath(options) {
|
|
1429
1429
|
if (options.clean !== false && options.outDir) {
|
|
1430
|
-
|
|
1430
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0,
|
|
1431
1431
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`,
|
|
1432
1432
|
options.config
|
|
1433
1433
|
);
|
|
1434
|
-
const stopwatch =
|
|
1435
|
-
await
|
|
1434
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1435
|
+
await _chunkOEWYDDEFcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
|
|
1436
1436
|
stopwatch();
|
|
1437
1437
|
}
|
|
1438
1438
|
return options;
|
|
@@ -1447,10 +1447,10 @@ async function build(options) {
|
|
|
1447
1447
|
throw new Error("Cannot find workspace root");
|
|
1448
1448
|
}
|
|
1449
1449
|
const config = await getConfig(workspaceRoot.dir);
|
|
1450
|
-
|
|
1451
|
-
const stopwatch =
|
|
1450
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
|
|
1451
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0, "Unbuild pipeline");
|
|
1452
1452
|
try {
|
|
1453
|
-
options.projectRoot =
|
|
1453
|
+
options.projectRoot = _chunkYBFLGHF3cjs.correctPaths.call(void 0, projectRoot);
|
|
1454
1454
|
const resolvedOptions = await resolveOptions(options, config);
|
|
1455
1455
|
await cleanOutputPath(resolvedOptions);
|
|
1456
1456
|
if (options.buildOnly !== true) {
|
|
@@ -1460,12 +1460,12 @@ async function build(options) {
|
|
|
1460
1460
|
if (options.buildOnly !== true) {
|
|
1461
1461
|
await copyBuildAssets(resolvedOptions);
|
|
1462
1462
|
}
|
|
1463
|
-
|
|
1463
|
+
_chunkYBFLGHF3cjs.writeSuccess.call(void 0,
|
|
1464
1464
|
` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`,
|
|
1465
1465
|
config
|
|
1466
1466
|
);
|
|
1467
1467
|
} catch (error) {
|
|
1468
|
-
|
|
1468
|
+
_chunkYBFLGHF3cjs.writeFatal.call(void 0,
|
|
1469
1469
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated.",
|
|
1470
1470
|
config
|
|
1471
1471
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYBFLGHF3cjs = require('./chunk-YBFLGHF3.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
|
+
_chunkYBFLGHF3cjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
10
|
+
const stopwatch = _chunkYBFLGHF3cjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
11
11
|
await cleanDirectories(name, directory, config);
|
|
12
12
|
stopwatch();
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYBFLGHF3cjs = require('./chunk-YBFLGHF3.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
|
+
_chunkYBFLGHF3cjs.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
|
+
_chunkYBFLGHF3cjs.writeError.call(void 0,
|
|
22
22
|
`The following errors occurred during the build:
|
|
23
23
|
${error ? error.message : "Unknown build error"}
|
|
24
24
|
|
|
@@ -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 _chunkYBFLGHF3cjs = require('./chunk-YBFLGHF3.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
|
+
_chunkYBFLGHF3cjs.writeTrace.call(void 0, compilerOptions, config);
|
|
49
49
|
return compilerOptions;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -792,7 +792,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
792
792
|
return (message) => {
|
|
793
793
|
console.debug(
|
|
794
794
|
`
|
|
795
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
795
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
796
796
|
`
|
|
797
797
|
);
|
|
798
798
|
};
|
|
@@ -801,7 +801,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
|
|
|
801
801
|
return (message) => {
|
|
802
802
|
console.debug(
|
|
803
803
|
`
|
|
804
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
804
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
805
805
|
`
|
|
806
806
|
);
|
|
807
807
|
};
|
|
@@ -809,7 +809,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
|
|
|
809
809
|
return (message) => {
|
|
810
810
|
console.log(
|
|
811
811
|
`
|
|
812
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
812
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
813
813
|
`
|
|
814
814
|
);
|
|
815
815
|
};
|
|
@@ -792,7 +792,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
|
|
|
792
792
|
return (message) => {
|
|
793
793
|
console.debug(
|
|
794
794
|
`
|
|
795
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
795
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
796
796
|
`
|
|
797
797
|
);
|
|
798
798
|
};
|
|
@@ -801,7 +801,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
801
801
|
return (message) => {
|
|
802
802
|
console.debug(
|
|
803
803
|
`
|
|
804
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
804
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
805
805
|
`
|
|
806
806
|
);
|
|
807
807
|
};
|
|
@@ -809,7 +809,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
809
809
|
return (message) => {
|
|
810
810
|
console.log(
|
|
811
811
|
`
|
|
812
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
812
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
813
813
|
`
|
|
814
814
|
);
|
|
815
815
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYBFLGHF3cjs = require('./chunk-YBFLGHF3.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
|
+
_chunkYBFLGHF3cjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
};
|
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 _chunkOEWYDDEFcjs = require('./chunk-OEWYDDEF.cjs');
|
|
5
|
+
require('./chunk-YBFLGHF3.cjs');
|
|
6
6
|
require('./chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunkOEWYDDEFcjs.clean; exports.cleanDirectories = _chunkOEWYDDEFcjs.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 _chunkK4ZHJTO2cjs = require('./chunk-K4ZHJTO2.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkOEWYDDEFcjs = require('./chunk-OEWYDDEF.cjs');
|
|
13
13
|
require('./chunk-SFZRYJZ2.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-ZKTNXGEF.cjs');
|
|
15
|
+
require('./chunk-VZQDYKJV.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkWHSDAXF3cjs = require('./chunk-WHSDAXF3.cjs');
|
|
20
|
+
require('./chunk-YBFLGHF3.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 = _chunkK4ZHJTO2cjs.build; exports.clean = _chunkOEWYDDEFcjs.clean; exports.cleanDirectories = _chunkOEWYDDEFcjs.cleanDirectories; exports.cleanOutputPath = _chunkK4ZHJTO2cjs.cleanOutputPath; exports.copyBuildAssets = _chunkK4ZHJTO2cjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkWHSDAXF3cjs.createTsCompilerOptions; exports.executeUnbuild = _chunkK4ZHJTO2cjs.executeUnbuild; exports.generatePackageJson = _chunkK4ZHJTO2cjs.generatePackageJson; exports.loadConfig = _chunkWHSDAXF3cjs.loadConfig; exports.resolveOptions = _chunkK4ZHJTO2cjs.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-2363GX3V.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5LTNOK6K.js";
|
|
13
13
|
import "./chunk-GGNOJ77I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2NL7D6LZ.js";
|
|
15
|
+
import "./chunk-J6YEEFZI.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-OHCC62S7.js";
|
|
20
|
+
import "./chunk-YWONX7HR.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 _chunkZKTNXGEFcjs = require('../chunk-ZKTNXGEF.cjs');
|
|
4
|
+
require('../chunk-YBFLGHF3.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunkZKTNXGEFcjs.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 _chunkVZQDYKJVcjs = require('../chunk-VZQDYKJV.cjs');
|
|
4
|
+
require('../chunk-YBFLGHF3.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunkVZQDYKJVcjs.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 _chunkWHSDAXF3cjs = require('../chunk-WHSDAXF3.cjs');
|
|
4
|
+
require('../chunk-YBFLGHF3.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunkWHSDAXF3cjs.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.32",
|
|
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.124.
|
|
152
|
-
"@storm-software/config-tools": "^1.175.
|
|
150
|
+
"@storm-software/build-tools": "^0.151.15",
|
|
151
|
+
"@storm-software/config": "^1.124.8",
|
|
152
|
+
"@storm-software/config-tools": "^1.175.7",
|
|
153
153
|
"commander": "^12.1.0",
|
|
154
154
|
"defu": "6.1.4",
|
|
155
155
|
"esbuild": "^0.25.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
},
|
|
172
172
|
"publishConfig": { "access": "public" },
|
|
173
173
|
"sideEffects": false,
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "457c32063cb35e831f63fef9e40e5f881c5ffc26"
|
|
175
175
|
}
|