@storm-software/unbuild 0.49.42 → 0.49.44
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 +7 -4
- package/bin/unbuild.js +7 -4
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-5KAGDMCA.cjs → chunk-5LIOQAOY.cjs} +2 -2
- package/dist/{chunk-HPUTMCFR.js → chunk-6ZKWJ5VK.js} +1 -1
- package/dist/{chunk-BOURL2AF.cjs → chunk-DGJFFRFH.cjs} +3 -3
- package/dist/{chunk-NE22YS5A.js → chunk-ILCF5AV5.js} +1 -1
- package/dist/{chunk-SFZ4V2LD.js → chunk-IX57XUC6.js} +1 -1
- package/dist/{chunk-ARRVD3WK.cjs → chunk-JTL64DIV.cjs} +110 -106
- package/dist/{chunk-DBA3KANT.cjs → chunk-SGP6BUJQ.cjs} +2 -2
- package/dist/{chunk-PN4YHJFZ.js → chunk-TPCOWOWK.js} +2 -3
- package/dist/{chunk-5XOAK534.js → chunk-TWJO45XW.js} +1 -1
- package/dist/{chunk-DI35QQIR.js → chunk-VT6DJF6W.js} +10 -6
- package/dist/{chunk-FMIGI6JG.cjs → chunk-WLUG56XM.cjs} +2 -3
- package/dist/{chunk-7CTYKC3M.cjs → chunk-XNEAB4RQ.cjs} +3 -3
- 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
|
@@ -31,7 +31,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
31
31
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
32
32
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
33
33
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
34
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
35
34
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
36
35
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
37
36
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -146,13 +145,13 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
146
145
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
147
146
|
);
|
|
148
147
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
149
|
-
banner: z.string().trim().
|
|
148
|
+
banner: z.string().trim().optional().describe(
|
|
150
149
|
"A URL to a banner image used to display the workspace's release"
|
|
151
150
|
),
|
|
152
151
|
header: z.string().trim().optional().describe(
|
|
153
152
|
"A header message appended to the start of the workspace's release notes"
|
|
154
153
|
),
|
|
155
|
-
footer: z.string().trim().
|
|
154
|
+
footer: z.string().trim().optional().describe(
|
|
156
155
|
"A footer message appended to the end of the workspace's release notes"
|
|
157
156
|
)
|
|
158
157
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -1558,7 +1557,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1558
1557
|
}
|
|
1559
1558
|
}
|
|
1560
1559
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1561
|
-
const configInput = (0, import_defu2.default)(
|
|
1560
|
+
const configInput = (0, import_defu2.default)(
|
|
1561
|
+
configEnv,
|
|
1562
|
+
configFile,
|
|
1563
|
+
defaultConfig
|
|
1564
|
+
);
|
|
1562
1565
|
try {
|
|
1563
1566
|
result = applyDefaultConfig(
|
|
1564
1567
|
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
package/bin/unbuild.js
CHANGED
|
@@ -9,7 +9,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
9
9
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
10
10
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
11
11
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
12
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
13
12
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
14
13
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
15
14
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -124,13 +123,13 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
124
123
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
125
124
|
);
|
|
126
125
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
127
|
-
banner: z.string().trim().
|
|
126
|
+
banner: z.string().trim().optional().describe(
|
|
128
127
|
"A URL to a banner image used to display the workspace's release"
|
|
129
128
|
),
|
|
130
129
|
header: z.string().trim().optional().describe(
|
|
131
130
|
"A header message appended to the start of the workspace's release notes"
|
|
132
131
|
),
|
|
133
|
-
footer: z.string().trim().
|
|
132
|
+
footer: z.string().trim().optional().describe(
|
|
134
133
|
"A footer message appended to the end of the workspace's release notes"
|
|
135
134
|
)
|
|
136
135
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -1536,7 +1535,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1536
1535
|
}
|
|
1537
1536
|
}
|
|
1538
1537
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1539
|
-
const configInput = defu2(
|
|
1538
|
+
const configInput = defu2(
|
|
1539
|
+
configEnv,
|
|
1540
|
+
configFile,
|
|
1541
|
+
defaultConfig
|
|
1542
|
+
);
|
|
1540
1543
|
try {
|
|
1541
1544
|
result = applyDefaultConfig(
|
|
1542
1545
|
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
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 _chunkJTL64DIVcjs = require('./chunk-JTL64DIV.cjs');
|
|
9
|
+
require('./chunk-DGJFFRFH.cjs');
|
|
10
|
+
require('./chunk-5LIOQAOY.cjs');
|
|
11
|
+
require('./chunk-XNEAB4RQ.cjs');
|
|
12
|
+
require('./chunk-SGP6BUJQ.cjs');
|
|
13
|
+
require('./chunk-WLUG56XM.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 = _chunkJTL64DIVcjs.build; exports.cleanOutputPath = _chunkJTL64DIVcjs.cleanOutputPath; exports.copyBuildAssets = _chunkJTL64DIVcjs.copyBuildAssets; exports.executeUnbuild = _chunkJTL64DIVcjs.executeUnbuild; exports.generatePackageJson = _chunkJTL64DIVcjs.generatePackageJson; exports.resolveOptions = _chunkJTL64DIVcjs.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-VT6DJF6W.js";
|
|
9
|
+
import "./chunk-ILCF5AV5.js";
|
|
10
|
+
import "./chunk-6ZKWJ5VK.js";
|
|
11
|
+
import "./chunk-IX57XUC6.js";
|
|
12
|
+
import "./chunk-TWJO45XW.js";
|
|
13
|
+
import "./chunk-TPCOWOWK.js";
|
|
14
14
|
import "./chunk-3RG5ZIWI.js";
|
|
15
15
|
export {
|
|
16
16
|
build,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWLUG56XMcjs = require('./chunk-WLUG56XM.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
|
+
_chunkWLUG56XMcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWLUG56XMcjs = require('./chunk-WLUG56XM.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
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
10
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
11
11
|
await cleanDirectories(name, directory, config);
|
|
12
12
|
stopwatch();
|
|
13
13
|
}
|
|
@@ -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 _chunkDGJFFRFHcjs = require('./chunk-DGJFFRFH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5LIOQAOYcjs = require('./chunk-5LIOQAOY.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXNEAB4RQcjs = require('./chunk-XNEAB4RQ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkSGP6BUJQcjs = require('./chunk-SGP6BUJQ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -34,7 +34,7 @@ var _chunkDBA3KANTcjs = require('./chunk-DBA3KANT.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkWLUG56XMcjs = require('./chunk-WLUG56XM.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
|
+
_chunkWLUG56XMcjs.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} -> ${_chunkWLUG56XMcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
94
94
|
config
|
|
95
95
|
);
|
|
96
96
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -100,20 +100,20 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
100
100
|
assets: pendingAssets
|
|
101
101
|
});
|
|
102
102
|
await assetHandler.processAllAssetsOnce();
|
|
103
|
-
|
|
103
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
104
104
|
if (includeSrc === true) {
|
|
105
|
-
|
|
106
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
105
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0,
|
|
106
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
107
107
|
outputPath,
|
|
108
108
|
"src"
|
|
109
109
|
)}`,
|
|
110
110
|
config
|
|
111
111
|
);
|
|
112
112
|
const files = await _glob.glob.call(void 0, [
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
114
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
115
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
116
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
117
117
|
]);
|
|
118
118
|
await Promise.allSettled(
|
|
119
119
|
files.map(
|
|
@@ -168,7 +168,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
168
168
|
)) {
|
|
169
169
|
const projectNode = project.node;
|
|
170
170
|
if (projectNode.data.root) {
|
|
171
|
-
const projectPackageJsonPath =
|
|
171
|
+
const projectPackageJsonPath = _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
172
172
|
workspaceRoot,
|
|
173
173
|
projectNode.data.root,
|
|
174
174
|
"package.json"
|
|
@@ -186,11 +186,11 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
if (localPackages.length > 0) {
|
|
189
|
-
|
|
189
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0,
|
|
190
190
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
191
191
|
);
|
|
192
192
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
193
|
-
|
|
193
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
194
194
|
"utf8"
|
|
195
195
|
);
|
|
196
196
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -203,7 +203,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
203
203
|
}
|
|
204
204
|
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) => {
|
|
205
205
|
if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
|
|
206
|
-
const depPackageJsonPath =
|
|
206
|
+
const depPackageJsonPath = _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
207
207
|
workspaceRoot,
|
|
208
208
|
projectConfigurations.projects[dep].root,
|
|
209
209
|
"package.json"
|
|
@@ -234,14 +234,14 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
234
234
|
return ret;
|
|
235
235
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
236
236
|
} else {
|
|
237
|
-
|
|
237
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
238
238
|
}
|
|
239
239
|
return packageJson;
|
|
240
240
|
};
|
|
241
241
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
242
|
-
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
242
|
+
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkWLUG56XMcjs.findWorkspaceRoot.call(void 0, );
|
|
243
243
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
244
|
-
|
|
244
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
245
245
|
"utf8"
|
|
246
246
|
);
|
|
247
247
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -252,7 +252,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
252
252
|
if (distSrc.startsWith("/")) {
|
|
253
253
|
distSrc = distSrc.substring(1);
|
|
254
254
|
}
|
|
255
|
-
packageJson.source ??= `${
|
|
255
|
+
packageJson.source ??= `${_chunkWLUG56XMcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
256
256
|
}
|
|
257
257
|
packageJson.files ??= ["dist/**/*"];
|
|
258
258
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -277,7 +277,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
277
277
|
packageJson.contributors = [packageJson.author];
|
|
278
278
|
}
|
|
279
279
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
280
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
280
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkWLUG56XMcjs.joinPaths.call(void 0, "packages", projectName);
|
|
281
281
|
return packageJson;
|
|
282
282
|
};
|
|
283
283
|
|
|
@@ -285,7 +285,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
285
285
|
var _c12 = require('c12');
|
|
286
286
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
287
287
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
288
|
-
const workspacePath = filePath ||
|
|
288
|
+
const workspacePath = filePath || _chunkWLUG56XMcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
289
289
|
const configs = await Promise.all([
|
|
290
290
|
_c12.loadConfig.call(void 0, {
|
|
291
291
|
cwd: workspacePath,
|
|
@@ -294,7 +294,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
294
294
|
envName: _optionalChain([fileName, 'optionalAccess', _24 => _24.toUpperCase, 'call', _25 => _25()]),
|
|
295
295
|
jitiOptions: {
|
|
296
296
|
debug: false,
|
|
297
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
297
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
298
298
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
299
299
|
"jiti"
|
|
300
300
|
)
|
|
@@ -308,7 +308,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
308
308
|
envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
|
|
309
309
|
jitiOptions: {
|
|
310
310
|
debug: false,
|
|
311
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
311
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
312
312
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
313
313
|
"jiti"
|
|
314
314
|
)
|
|
@@ -320,12 +320,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
320
320
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
321
321
|
};
|
|
322
322
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
323
|
-
const workspacePath = filePath ? filePath :
|
|
323
|
+
const workspacePath = filePath ? filePath : _chunkWLUG56XMcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
324
324
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
325
325
|
let config = result.config;
|
|
326
326
|
const configFile = result.configFile;
|
|
327
327
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
328
|
-
|
|
328
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0,
|
|
329
329
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
330
330
|
{
|
|
331
331
|
logLevel: "all"
|
|
@@ -341,7 +341,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
341
341
|
for (const result2 of results) {
|
|
342
342
|
if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
|
|
343
343
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
344
|
-
|
|
344
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0,
|
|
345
345
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
346
346
|
{
|
|
347
347
|
logLevel: "all"
|
|
@@ -420,15 +420,15 @@ var getConfigEnv = () => {
|
|
|
420
420
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
421
421
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
422
422
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
423
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
424
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
423
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
424
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
425
425
|
directories: {
|
|
426
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
427
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
428
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
429
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
430
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
431
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
426
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
427
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
428
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
429
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
430
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
431
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkWLUG56XMcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
432
432
|
},
|
|
433
433
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
434
434
|
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
|
+
) ? _chunkWLUG56XMcjs.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_`) && _chunkWLUG56XMcjs.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 === _chunkWLUG56XMcjs.STORM_DEFAULT_DOCS) {
|
|
473
|
+
if (config.homepage === _chunkWLUG56XMcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
474
|
+
config.docs = `${_chunkWLUG56XMcjs.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 === _chunkWLUG56XMcjs.STORM_DEFAULT_LICENSING) {
|
|
480
|
+
if (config.homepage === _chunkWLUG56XMcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
481
|
+
config.licensing = `${_chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
686
|
+
process.env.NX_WORKSPACE_ROOT = _chunkWLUG56XMcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
687
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.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`] = _chunkWLUG56XMcjs.correctPaths.call(void 0,
|
|
716
716
|
config.directories.build
|
|
717
717
|
);
|
|
718
718
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -774,9 +774,9 @@ var setConfigEnv = (config) => {
|
|
|
774
774
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
775
775
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
776
776
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
777
|
-
|
|
777
|
+
_chunkWLUG56XMcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkWLUG56XMcjs.LogLevel.DEBUG ? true : false
|
|
778
778
|
);
|
|
779
|
-
process.env.RUST_BACKTRACE =
|
|
779
|
+
process.env.RUST_BACKTRACE = _chunkWLUG56XMcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkWLUG56XMcjs.LogLevel.DEBUG ? "full" : "none";
|
|
780
780
|
}
|
|
781
781
|
if (config.skipConfigLogging !== void 0) {
|
|
782
782
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -896,13 +896,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
896
896
|
if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
897
897
|
let _workspaceRoot = workspaceRoot;
|
|
898
898
|
if (!_workspaceRoot) {
|
|
899
|
-
_workspaceRoot =
|
|
899
|
+
_workspaceRoot = _chunkWLUG56XMcjs.findWorkspaceRoot.call(void 0, );
|
|
900
900
|
}
|
|
901
901
|
const configEnv = getConfigEnv();
|
|
902
902
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
903
903
|
if (!configFile) {
|
|
904
904
|
if (!skipLogs) {
|
|
905
|
-
|
|
905
|
+
_chunkWLUG56XMcjs.writeWarning.call(void 0,
|
|
906
906
|
"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",
|
|
907
907
|
{ logLevel: "all" }
|
|
908
908
|
);
|
|
@@ -911,18 +911,22 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
911
911
|
return void 0;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
const defaultConfig = await
|
|
915
|
-
const configInput = _defu2.default.call(void 0,
|
|
914
|
+
const defaultConfig = await _chunkWLUG56XMcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
915
|
+
const configInput = _defu2.default.call(void 0,
|
|
916
|
+
configEnv,
|
|
917
|
+
configFile,
|
|
918
|
+
defaultConfig
|
|
919
|
+
);
|
|
916
920
|
try {
|
|
917
|
-
result =
|
|
918
|
-
await
|
|
921
|
+
result = _chunkWLUG56XMcjs.applyDefaultConfig.call(void 0,
|
|
922
|
+
await _chunkWLUG56XMcjs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
919
923
|
);
|
|
920
924
|
result.workspaceRoot ??= _workspaceRoot;
|
|
921
925
|
} catch (error) {
|
|
922
926
|
throw new Error(
|
|
923
927
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _54 => _54.message]) ? `: ${error.message}` : ""}
|
|
924
928
|
|
|
925
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
929
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkWLUG56XMcjs.formatLogMessage.call(void 0,
|
|
926
930
|
configInput
|
|
927
931
|
)}`,
|
|
928
932
|
{
|
|
@@ -967,9 +971,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
967
971
|
);
|
|
968
972
|
setConfigEnv(config);
|
|
969
973
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
970
|
-
|
|
974
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0,
|
|
971
975
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
972
|
-
${
|
|
976
|
+
${_chunkWLUG56XMcjs.formatLogMessage.call(void 0, config)}`,
|
|
973
977
|
config
|
|
974
978
|
);
|
|
975
979
|
}
|
|
@@ -1005,15 +1009,15 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
|
1005
1009
|
|
|
1006
1010
|
var _unbuild = require('unbuild');
|
|
1007
1011
|
async function resolveOptions(options, config) {
|
|
1008
|
-
|
|
1009
|
-
const stopwatch =
|
|
1012
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
1013
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
1010
1014
|
if (options.configPath) {
|
|
1011
|
-
const configFile = await
|
|
1015
|
+
const configFile = await _chunkSGP6BUJQcjs.loadConfig.call(void 0, options.configPath);
|
|
1012
1016
|
if (configFile) {
|
|
1013
1017
|
options = _defu2.default.call(void 0, options, configFile);
|
|
1014
1018
|
}
|
|
1015
1019
|
}
|
|
1016
|
-
const outputPath = options.outputPath ||
|
|
1020
|
+
const outputPath = options.outputPath || _chunkWLUG56XMcjs.joinPaths.call(void 0, "dist", options.projectRoot);
|
|
1017
1021
|
let projectGraph;
|
|
1018
1022
|
try {
|
|
1019
1023
|
projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
@@ -1026,7 +1030,7 @@ async function resolveOptions(options, config) {
|
|
|
1026
1030
|
"The build process failed because the project graph is not available. Please run the build command again."
|
|
1027
1031
|
);
|
|
1028
1032
|
}
|
|
1029
|
-
const projectJsonPath =
|
|
1033
|
+
const projectJsonPath = _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
1030
1034
|
config.workspaceRoot,
|
|
1031
1035
|
options.projectRoot,
|
|
1032
1036
|
"project.json"
|
|
@@ -1037,7 +1041,7 @@ async function resolveOptions(options, config) {
|
|
|
1037
1041
|
const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
|
|
1038
1042
|
const projectJson = JSON.parse(projectJsonContent);
|
|
1039
1043
|
const projectName = projectJson.name;
|
|
1040
|
-
const packageJsonPath =
|
|
1044
|
+
const packageJsonPath = _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
1041
1045
|
config.workspaceRoot,
|
|
1042
1046
|
options.projectRoot,
|
|
1043
1047
|
"package.json"
|
|
@@ -1049,17 +1053,17 @@ async function resolveOptions(options, config) {
|
|
|
1049
1053
|
const packageJson = JSON.parse(packageJsonContent);
|
|
1050
1054
|
let tsconfig = options.tsconfig;
|
|
1051
1055
|
if (!tsconfig) {
|
|
1052
|
-
tsconfig =
|
|
1056
|
+
tsconfig = _chunkWLUG56XMcjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
|
|
1053
1057
|
}
|
|
1054
1058
|
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
1055
|
-
tsconfig =
|
|
1059
|
+
tsconfig = _chunkWLUG56XMcjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
|
|
1056
1060
|
}
|
|
1057
1061
|
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
1058
1062
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
1059
1063
|
}
|
|
1060
1064
|
let sourceRoot = projectJson.sourceRoot;
|
|
1061
1065
|
if (!sourceRoot) {
|
|
1062
|
-
sourceRoot =
|
|
1066
|
+
sourceRoot = _chunkWLUG56XMcjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
1063
1067
|
}
|
|
1064
1068
|
if (!_fs.existsSync.call(void 0, sourceRoot)) {
|
|
1065
1069
|
throw new Error("Cannot find sourceRoot directory");
|
|
@@ -1108,9 +1112,9 @@ async function resolveOptions(options, config) {
|
|
|
1108
1112
|
while (entryPath.startsWith("/")) {
|
|
1109
1113
|
entryPath = entryPath.substring(1);
|
|
1110
1114
|
}
|
|
1111
|
-
const outDir =
|
|
1115
|
+
const outDir = _chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
1112
1116
|
_path.relative.call(void 0,
|
|
1113
|
-
|
|
1117
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot),
|
|
1114
1118
|
config.workspaceRoot
|
|
1115
1119
|
),
|
|
1116
1120
|
outputPath,
|
|
@@ -1189,7 +1193,7 @@ async function resolveOptions(options, config) {
|
|
|
1189
1193
|
treeShaking: options.treeShaking !== false,
|
|
1190
1194
|
platform: options.platform || "neutral",
|
|
1191
1195
|
color: true,
|
|
1192
|
-
logLevel: config.logLevel ===
|
|
1196
|
+
logLevel: config.logLevel === _chunkWLUG56XMcjs.LogLevelLabel.FATAL ? _chunkWLUG56XMcjs.LogLevelLabel.ERROR : _chunkWLUG56XMcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
|
|
1193
1197
|
}
|
|
1194
1198
|
}
|
|
1195
1199
|
};
|
|
@@ -1210,7 +1214,7 @@ async function resolveOptions(options, config) {
|
|
|
1210
1214
|
if (options.rollup) {
|
|
1211
1215
|
let rollup = {};
|
|
1212
1216
|
if (typeof options.rollup === "string") {
|
|
1213
|
-
const rollupFile = await
|
|
1217
|
+
const rollupFile = await _chunkSGP6BUJQcjs.loadConfig.call(void 0, options.rollup);
|
|
1214
1218
|
if (rollupFile) {
|
|
1215
1219
|
rollup = rollupFile;
|
|
1216
1220
|
}
|
|
@@ -1222,20 +1226,20 @@ async function resolveOptions(options, config) {
|
|
|
1222
1226
|
resolvedOptions.hooks = {
|
|
1223
1227
|
"rollup:options": async (ctx, opts) => {
|
|
1224
1228
|
if (options.plugins && options.plugins.length > 0) {
|
|
1225
|
-
|
|
1229
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0,
|
|
1226
1230
|
` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`,
|
|
1227
1231
|
config
|
|
1228
1232
|
);
|
|
1229
1233
|
opts.plugins = options.plugins;
|
|
1230
1234
|
} else {
|
|
1231
|
-
|
|
1235
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0,
|
|
1232
1236
|
` \u{1F9E9} No plugins found in provided build options, using default plugins`,
|
|
1233
1237
|
config
|
|
1234
1238
|
);
|
|
1235
1239
|
opts.plugins = await Promise.all([
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1240
|
+
_chunk5LIOQAOYcjs.analyzePlugin.call(void 0, resolvedOptions),
|
|
1241
|
+
_chunkSGP6BUJQcjs.tscPlugin.call(void 0, resolvedOptions),
|
|
1242
|
+
_chunkXNEAB4RQcjs.onErrorPlugin.call(void 0, resolvedOptions)
|
|
1239
1243
|
]);
|
|
1240
1244
|
}
|
|
1241
1245
|
},
|
|
@@ -1289,15 +1293,15 @@ var addPackageJsonExport = (file, type = "module", sourceRoot, projectRoot) => {
|
|
|
1289
1293
|
};
|
|
1290
1294
|
};
|
|
1291
1295
|
async function generatePackageJson(options) {
|
|
1292
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
1293
|
-
|
|
1294
|
-
const stopwatch =
|
|
1295
|
-
const packageJsonPath =
|
|
1296
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkWLUG56XMcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1297
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
1298
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1299
|
+
const packageJsonPath = _chunkWLUG56XMcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1296
1300
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1297
1301
|
throw new Error("Cannot find package.json configuration");
|
|
1298
1302
|
}
|
|
1299
1303
|
const packageJsonContent = await _promises.readFile.call(void 0,
|
|
1300
|
-
|
|
1304
|
+
_chunkWLUG56XMcjs.joinPaths.call(void 0,
|
|
1301
1305
|
options.config.workspaceRoot,
|
|
1302
1306
|
options.projectRoot,
|
|
1303
1307
|
"package.json"
|
|
@@ -1333,7 +1337,7 @@ async function generatePackageJson(options) {
|
|
|
1333
1337
|
while (entryPath.startsWith("/")) {
|
|
1334
1338
|
entryPath = entryPath.substring(1);
|
|
1335
1339
|
}
|
|
1336
|
-
entryPath = `./${
|
|
1340
|
+
entryPath = `./${_chunkWLUG56XMcjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
|
|
1337
1341
|
if (!ret.includes(entryPath)) {
|
|
1338
1342
|
ret.push(entryPath);
|
|
1339
1343
|
}
|
|
@@ -1383,28 +1387,28 @@ async function generatePackageJson(options) {
|
|
|
1383
1387
|
options.sourceRoot,
|
|
1384
1388
|
options.projectRoot
|
|
1385
1389
|
);
|
|
1386
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1390
|
+
await _devkit.writeJsonFile.call(void 0, _chunkWLUG56XMcjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1387
1391
|
stopwatch();
|
|
1388
1392
|
}
|
|
1389
1393
|
return options;
|
|
1390
1394
|
}
|
|
1391
1395
|
async function executeUnbuild(options) {
|
|
1392
|
-
|
|
1396
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0,
|
|
1393
1397
|
` \u{1F680} Running ${options.name} (${options.projectRoot}) build`,
|
|
1394
1398
|
options.config
|
|
1395
1399
|
);
|
|
1396
|
-
const stopwatch =
|
|
1400
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0,
|
|
1397
1401
|
`${options.name} (${options.projectRoot}) build`
|
|
1398
1402
|
);
|
|
1399
1403
|
try {
|
|
1400
1404
|
const config = {
|
|
1401
1405
|
...options,
|
|
1402
1406
|
config: null,
|
|
1403
|
-
rootDir:
|
|
1407
|
+
rootDir: _chunkWLUG56XMcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
|
|
1404
1408
|
};
|
|
1405
|
-
|
|
1409
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0,
|
|
1406
1410
|
`Running with unbuild configuration:
|
|
1407
|
-
${
|
|
1411
|
+
${_chunkWLUG56XMcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
|
|
1408
1412
|
`,
|
|
1409
1413
|
options.config
|
|
1410
1414
|
);
|
|
@@ -1415,11 +1419,11 @@ ${_chunkFMIGI6JGcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" }
|
|
|
1415
1419
|
return options;
|
|
1416
1420
|
}
|
|
1417
1421
|
async function copyBuildAssets(options) {
|
|
1418
|
-
|
|
1422
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0,
|
|
1419
1423
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1420
1424
|
options.config
|
|
1421
1425
|
);
|
|
1422
|
-
const stopwatch =
|
|
1426
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1423
1427
|
await copyAssets(
|
|
1424
1428
|
options.config,
|
|
1425
1429
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -1434,12 +1438,12 @@ async function copyBuildAssets(options) {
|
|
|
1434
1438
|
}
|
|
1435
1439
|
async function cleanOutputPath(options) {
|
|
1436
1440
|
if (options.clean !== false && options.outDir) {
|
|
1437
|
-
|
|
1441
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0,
|
|
1438
1442
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`,
|
|
1439
1443
|
options.config
|
|
1440
1444
|
);
|
|
1441
|
-
const stopwatch =
|
|
1442
|
-
await
|
|
1445
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1446
|
+
await _chunkDGJFFRFHcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
|
|
1443
1447
|
stopwatch();
|
|
1444
1448
|
}
|
|
1445
1449
|
return options;
|
|
@@ -1454,10 +1458,10 @@ async function build(options) {
|
|
|
1454
1458
|
throw new Error("Cannot find workspace root");
|
|
1455
1459
|
}
|
|
1456
1460
|
const config = await getConfig(workspaceRoot.dir);
|
|
1457
|
-
|
|
1458
|
-
const stopwatch =
|
|
1461
|
+
_chunkWLUG56XMcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
|
|
1462
|
+
const stopwatch = _chunkWLUG56XMcjs.getStopwatch.call(void 0, "Unbuild pipeline");
|
|
1459
1463
|
try {
|
|
1460
|
-
options.projectRoot =
|
|
1464
|
+
options.projectRoot = _chunkWLUG56XMcjs.correctPaths.call(void 0, projectRoot);
|
|
1461
1465
|
const resolvedOptions = await resolveOptions(options, config);
|
|
1462
1466
|
await cleanOutputPath(resolvedOptions);
|
|
1463
1467
|
if (options.buildOnly !== true) {
|
|
@@ -1467,12 +1471,12 @@ async function build(options) {
|
|
|
1467
1471
|
if (options.buildOnly !== true) {
|
|
1468
1472
|
await copyBuildAssets(resolvedOptions);
|
|
1469
1473
|
}
|
|
1470
|
-
|
|
1474
|
+
_chunkWLUG56XMcjs.writeSuccess.call(void 0,
|
|
1471
1475
|
` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`,
|
|
1472
1476
|
config
|
|
1473
1477
|
);
|
|
1474
1478
|
} catch (error) {
|
|
1475
|
-
|
|
1479
|
+
_chunkWLUG56XMcjs.writeFatal.call(void 0,
|
|
1476
1480
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated.",
|
|
1477
1481
|
config
|
|
1478
1482
|
);
|
|
@@ -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 _chunkWLUG56XMcjs = require('./chunk-WLUG56XM.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
|
+
_chunkWLUG56XMcjs.writeTrace.call(void 0, compilerOptions, config);
|
|
49
49
|
return compilerOptions;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -208,7 +208,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
208
208
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
209
209
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
210
210
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
211
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
212
211
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
213
212
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
214
213
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -324,13 +323,13 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
324
323
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
325
324
|
);
|
|
326
325
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
327
|
-
banner: z.string().trim().
|
|
326
|
+
banner: z.string().trim().optional().describe(
|
|
328
327
|
"A URL to a banner image used to display the workspace's release"
|
|
329
328
|
),
|
|
330
329
|
header: z.string().trim().optional().describe(
|
|
331
330
|
"A header message appended to the start of the workspace's release notes"
|
|
332
331
|
),
|
|
333
|
-
footer: z.string().trim().
|
|
332
|
+
footer: z.string().trim().optional().describe(
|
|
334
333
|
"A footer message appended to the end of the workspace's release notes"
|
|
335
334
|
)
|
|
336
335
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanDirectories
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ILCF5AV5.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6ZKWJ5VK.js";
|
|
7
7
|
import {
|
|
8
8
|
onErrorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IX57XUC6.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig,
|
|
12
12
|
tscPlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TWJO45XW.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-TPCOWOWK.js";
|
|
38
38
|
|
|
39
39
|
// src/build.ts
|
|
40
40
|
import {
|
|
@@ -912,7 +912,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
915
|
-
const configInput = defu2(
|
|
915
|
+
const configInput = defu2(
|
|
916
|
+
configEnv,
|
|
917
|
+
configFile,
|
|
918
|
+
defaultConfig
|
|
919
|
+
);
|
|
916
920
|
try {
|
|
917
921
|
result = applyDefaultConfig(
|
|
918
922
|
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
@@ -208,7 +208,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
208
208
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
209
209
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
210
210
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
211
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
212
211
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
213
212
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
214
213
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -324,13 +323,13 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
324
323
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
325
324
|
);
|
|
326
325
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
327
|
-
banner: z.string().trim().
|
|
326
|
+
banner: z.string().trim().optional().describe(
|
|
328
327
|
"A URL to a banner image used to display the workspace's release"
|
|
329
328
|
),
|
|
330
329
|
header: z.string().trim().optional().describe(
|
|
331
330
|
"A header message appended to the start of the workspace's release notes"
|
|
332
331
|
),
|
|
333
|
-
footer: z.string().trim().
|
|
332
|
+
footer: z.string().trim().optional().describe(
|
|
334
333
|
"A footer message appended to the end of the workspace's release notes"
|
|
335
334
|
)
|
|
336
335
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWLUG56XMcjs = require('./chunk-WLUG56XM.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
|
+
_chunkWLUG56XMcjs.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
|
+
_chunkWLUG56XMcjs.writeError.call(void 0,
|
|
22
22
|
`The following errors occurred during the build:
|
|
23
23
|
${error ? error.message : "Unknown build error"}
|
|
24
24
|
|
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 _chunkDGJFFRFHcjs = require('./chunk-DGJFFRFH.cjs');
|
|
5
|
+
require('./chunk-WLUG56XM.cjs');
|
|
6
6
|
require('./chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunkDGJFFRFHcjs.clean; exports.cleanDirectories = _chunkDGJFFRFHcjs.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 _chunkJTL64DIVcjs = require('./chunk-JTL64DIV.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkDGJFFRFHcjs = require('./chunk-DGJFFRFH.cjs');
|
|
13
13
|
require('./chunk-SFZRYJZ2.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-5LIOQAOY.cjs');
|
|
15
|
+
require('./chunk-XNEAB4RQ.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkSGP6BUJQcjs = require('./chunk-SGP6BUJQ.cjs');
|
|
20
|
+
require('./chunk-WLUG56XM.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 = _chunkJTL64DIVcjs.build; exports.clean = _chunkDGJFFRFHcjs.clean; exports.cleanDirectories = _chunkDGJFFRFHcjs.cleanDirectories; exports.cleanOutputPath = _chunkJTL64DIVcjs.cleanOutputPath; exports.copyBuildAssets = _chunkJTL64DIVcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkSGP6BUJQcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkJTL64DIVcjs.executeUnbuild; exports.generatePackageJson = _chunkJTL64DIVcjs.generatePackageJson; exports.loadConfig = _chunkSGP6BUJQcjs.loadConfig; exports.resolveOptions = _chunkJTL64DIVcjs.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-VT6DJF6W.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ILCF5AV5.js";
|
|
13
13
|
import "./chunk-GGNOJ77I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-6ZKWJ5VK.js";
|
|
15
|
+
import "./chunk-IX57XUC6.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-TWJO45XW.js";
|
|
20
|
+
import "./chunk-TPCOWOWK.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 _chunk5LIOQAOYcjs = require('../chunk-5LIOQAOY.cjs');
|
|
4
|
+
require('../chunk-WLUG56XM.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunk5LIOQAOYcjs.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 _chunkXNEAB4RQcjs = require('../chunk-XNEAB4RQ.cjs');
|
|
4
|
+
require('../chunk-WLUG56XM.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunkXNEAB4RQcjs.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 _chunkSGP6BUJQcjs = require('../chunk-SGP6BUJQ.cjs');
|
|
4
|
+
require('../chunk-WLUG56XM.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunkSGP6BUJQcjs.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.44",
|
|
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.125.
|
|
152
|
-
"@storm-software/config-tools": "^1.176.
|
|
150
|
+
"@storm-software/build-tools": "^0.151.22",
|
|
151
|
+
"@storm-software/config": "^1.125.8",
|
|
152
|
+
"@storm-software/config-tools": "^1.176.9",
|
|
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": "a8ed9927e278fdcef751286a496cea6a4727208a"
|
|
175
175
|
}
|