@storm-software/esbuild 0.35.2 → 0.35.4
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/dist/assets.cjs +6 -5
- package/dist/assets.js +5 -4
- package/dist/build.cjs +14 -13
- package/dist/build.js +13 -12
- package/dist/{chunk-PTHYT3U2.cjs → chunk-2CJUAFMG.cjs} +163 -154
- package/dist/{chunk-G66JI4BS.cjs → chunk-3ER3O2N3.cjs} +9 -5
- package/dist/chunk-3HCV5NMP.js +6 -0
- package/dist/chunk-72DS7WUW.js +56 -0
- package/dist/{chunk-EVDNG72R.cjs → chunk-CJBZHSAG.cjs} +65 -35
- package/dist/{chunk-VTBMJYSM.cjs → chunk-GJI5FYRO.cjs} +8 -6
- package/dist/{chunk-2CM3VAO5.cjs → chunk-GPSIB7RA.cjs} +16 -12
- package/dist/{chunk-SLSBBNRF.cjs → chunk-HLE5J5AB.cjs} +7 -3
- package/dist/{chunk-NJJBR57W.js → chunk-IEJ6BIBN.js} +47 -3
- package/dist/chunk-IM7Z56V7.cjs +6 -0
- package/dist/{chunk-EBTMX5WL.js → chunk-JRKB3XC2.js} +11 -9
- package/dist/{chunk-DNZNN5SK.js → chunk-L7EGMPJS.js} +5 -3
- package/dist/{chunk-ABRK5MYP.js → chunk-LWQT37TY.js} +6 -2
- package/dist/{chunk-EDLA3ZZN.js → chunk-MIE6K233.js} +6 -4
- package/dist/{chunk-4D6ICA75.js → chunk-OGJYKJUE.js} +5 -36
- package/dist/{chunk-ECCVVXNX.js → chunk-QKGOTZZN.js} +10 -6
- package/dist/{chunk-YHMM6RY5.cjs → chunk-QU4XYXHY.cjs} +11 -42
- package/dist/{chunk-QWTKBUQW.js → chunk-QZO37X4D.js} +13 -3
- package/dist/{chunk-R2KKGNQL.js → chunk-RJOHRX3W.js} +8 -4
- package/dist/{chunk-CVOQEYHW.cjs → chunk-SBOWWDIH.cjs} +29 -27
- package/dist/{chunk-WXURMFT7.js → chunk-SLL6OQKH.js} +5 -1
- package/dist/chunk-TJGIVJ4K.cjs +49 -0
- package/dist/{chunk-RK34D7S5.cjs → chunk-U5I2425O.cjs} +8 -6
- package/dist/{chunk-TSQT5MWW.js → chunk-UUHNTIEX.js} +32 -2
- package/dist/{chunk-OCDIIBBZ.js → chunk-VCOHFFZB.js} +5 -3
- package/dist/{chunk-QVMJLFU5.cjs → chunk-VQ54NALW.cjs} +9 -7
- package/dist/{chunk-WLJT52I3.cjs → chunk-WLEC2JTG.cjs} +21 -17
- package/dist/{chunk-FQQYNAPT.cjs → chunk-ZMGVM7NZ.cjs} +126 -82
- package/dist/clean.cjs +5 -4
- package/dist/clean.js +4 -3
- package/dist/config.cjs +6 -5
- package/dist/config.js +5 -4
- package/dist/context.cjs +8 -7
- package/dist/context.js +7 -6
- package/dist/index.cjs +20 -14
- package/dist/index.js +19 -13
- package/dist/package-json.cjs +6 -5
- package/dist/package-json.js +5 -4
- package/dist/plugins/deps-check.cjs +5 -4
- package/dist/plugins/deps-check.js +4 -3
- package/dist/plugins/resolve-paths.cjs +4 -3
- package/dist/plugins/resolve-paths.js +3 -2
- package/dist/tsup.cjs +5 -4
- package/dist/tsup.js +4 -3
- package/dist/types.cjs +2 -1
- package/dist/types.js +2 -1
- package/dist/watch.cjs +15 -11
- package/dist/watch.js +7 -3
- package/package.json +4 -4
- package/dist/chunk-GGNOJ77I.js +0 -0
- package/dist/chunk-SFZRYJZ2.cjs +0 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkQU4XYXHYcjs = require('./chunk-QU4XYXHY.cjs');
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkTJGIVJ4Kcjs = require('./chunk-TJGIVJ4K.cjs');
|
|
6
9
|
|
|
7
10
|
// src/plugins/resolve-paths.ts
|
|
11
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
8
12
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
9
13
|
function resolvePathsConfig(options, cwd) {
|
|
10
14
|
if (_optionalChain([options, 'optionalAccess', _ => _.compilerOptions, 'optionalAccess', _2 => _2.paths])) {
|
|
@@ -20,16 +24,16 @@ function resolvePathsConfig(options, cwd) {
|
|
|
20
24
|
if (options.extends) {
|
|
21
25
|
const extendsPath = _path2.default.resolve(cwd, options.extends);
|
|
22
26
|
const extendsDir = _path2.default.dirname(extendsPath);
|
|
23
|
-
const extendsConfig =
|
|
27
|
+
const extendsConfig = _chunkTJGIVJ4Kcjs.__require.call(void 0, extendsPath);
|
|
24
28
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
25
29
|
}
|
|
26
30
|
return [];
|
|
27
31
|
}
|
|
28
|
-
|
|
29
|
-
var resolvePathsPlugin = /* @__PURE__ */
|
|
32
|
+
_chunkTJGIVJ4Kcjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
|
|
33
|
+
var resolvePathsPlugin = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (context) => ({
|
|
30
34
|
name: "storm:resolve-paths",
|
|
31
35
|
setup(build) {
|
|
32
|
-
const parentTsConfig = build.initialOptions.tsconfig ?
|
|
36
|
+
const parentTsConfig = build.initialOptions.tsconfig ? _chunkTJGIVJ4Kcjs.__require.call(void 0, _chunkQU4XYXHYcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, build.initialOptions.tsconfig)) : _chunkTJGIVJ4Kcjs.__require.call(void 0, _chunkQU4XYXHYcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
33
37
|
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
|
|
34
38
|
const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
|
|
35
39
|
build.onResolve({
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
8
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
+
}) : x)(function(x) {
|
|
11
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
12
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
+
});
|
|
14
|
+
var __esm = (fn, res) => function __init() {
|
|
15
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
16
|
+
};
|
|
17
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
18
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
|
+
};
|
|
20
|
+
var __copyProps = (to, from, except, desc) => {
|
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(from))
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
29
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
|
+
mod
|
|
35
|
+
));
|
|
36
|
+
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=6f5ec3d4990820b9e30a2e3135e1e171cde70966824e3b0ca9c0d2f02fc93f24__c75bd232a33dcb63ad2eb667808a0247/node_modules/tsup/assets/esm_shims.js
|
|
38
|
+
import { fileURLToPath } from "url";
|
|
39
|
+
import path from "path";
|
|
40
|
+
var getFilename, getDirname, __dirname;
|
|
41
|
+
var init_esm_shims = __esm({
|
|
42
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=6f5ec3d4990820b9e30a2e3135e1e171cde70966824e3b0ca9c0d2f02fc93f24__c75bd232a33dcb63ad2eb667808a0247/node_modules/tsup/assets/esm_shims.js"() {
|
|
43
|
+
getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
|
|
44
|
+
getDirname = /* @__PURE__ */ __name(() => path.dirname(getFilename()), "getDirname");
|
|
45
|
+
__dirname = /* @__PURE__ */ getDirname();
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
__name,
|
|
51
|
+
__require,
|
|
52
|
+
__commonJS,
|
|
53
|
+
__toESM,
|
|
54
|
+
__dirname,
|
|
55
|
+
init_esm_shims
|
|
56
|
+
};
|
|
@@ -1,10 +1,17 @@
|
|
|
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
3
|
|
|
4
|
+
var _chunkQU4XYXHYcjs = require('./chunk-QU4XYXHY.cjs');
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkTJGIVJ4Kcjs = require('./chunk-TJGIVJ4K.cjs');
|
|
9
|
+
|
|
10
|
+
// ../config-tools/src/logger/console.ts
|
|
11
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
6
12
|
|
|
7
13
|
// ../config-tools/src/types.ts
|
|
14
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
8
15
|
var LogLevel = {
|
|
9
16
|
SILENT: 0,
|
|
10
17
|
FATAL: 10,
|
|
@@ -28,7 +35,14 @@ var LogLevelLabel = {
|
|
|
28
35
|
ALL: "all"
|
|
29
36
|
};
|
|
30
37
|
|
|
38
|
+
// ../config-tools/src/utilities/get-default-config.ts
|
|
39
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
40
|
+
|
|
41
|
+
// ../config/src/index.ts
|
|
42
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
43
|
+
|
|
31
44
|
// ../config/src/constants.ts
|
|
45
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
32
46
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
33
47
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
34
48
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -50,7 +64,11 @@ If this sounds interesting, and you would like to help us in creating the next g
|
|
|
50
64
|
`;
|
|
51
65
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
52
66
|
|
|
67
|
+
// ../config/src/define-config.ts
|
|
68
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
69
|
+
|
|
53
70
|
// ../config/src/schema.ts
|
|
71
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
54
72
|
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
|
|
55
73
|
var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
56
74
|
var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
@@ -219,6 +237,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
219
237
|
}).describe("Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo.");
|
|
220
238
|
|
|
221
239
|
// ../config/src/types.ts
|
|
240
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
222
241
|
var COLOR_KEYS = [
|
|
223
242
|
"dark",
|
|
224
243
|
"light",
|
|
@@ -242,7 +261,11 @@ var _fs = require('fs');
|
|
|
242
261
|
var _promises = require('fs/promises');
|
|
243
262
|
var _path = require('path');
|
|
244
263
|
|
|
264
|
+
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
265
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
266
|
+
|
|
245
267
|
// ../config-tools/src/utilities/find-up.ts
|
|
268
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
246
269
|
|
|
247
270
|
|
|
248
271
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -261,7 +284,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
|
261
284
|
}
|
|
262
285
|
return void 0;
|
|
263
286
|
}
|
|
264
|
-
|
|
287
|
+
_chunkTJGIVJ4Kcjs.__name.call(void 0, findFolderUp, "findFolderUp");
|
|
265
288
|
|
|
266
289
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
267
290
|
var rootFiles = [
|
|
@@ -308,11 +331,11 @@ var rootDirectories = [
|
|
|
308
331
|
];
|
|
309
332
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
310
333
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
311
|
-
return
|
|
334
|
+
return _chunkQU4XYXHYcjs.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
|
|
312
335
|
}
|
|
313
|
-
return
|
|
336
|
+
return _chunkQU4XYXHYcjs.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles, rootDirectories));
|
|
314
337
|
}
|
|
315
|
-
|
|
338
|
+
_chunkTJGIVJ4Kcjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
316
339
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
317
340
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
318
341
|
if (!result) {
|
|
@@ -322,7 +345,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
|
|
|
322
345
|
}
|
|
323
346
|
return result;
|
|
324
347
|
}
|
|
325
|
-
|
|
348
|
+
_chunkTJGIVJ4Kcjs.__name.call(void 0, findWorkspaceRoot, "findWorkspaceRoot");
|
|
326
349
|
|
|
327
350
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
328
351
|
var DEFAULT_COLOR_CONFIG = {
|
|
@@ -353,7 +376,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
353
376
|
negative: "#dc2626"
|
|
354
377
|
}
|
|
355
378
|
};
|
|
356
|
-
var getDefaultConfig = /* @__PURE__ */
|
|
379
|
+
var getDefaultConfig = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, async (root) => {
|
|
357
380
|
let license = STORM_DEFAULT_LICENSE;
|
|
358
381
|
let homepage = STORM_DEFAULT_HOMEPAGE;
|
|
359
382
|
let name = void 0;
|
|
@@ -361,7 +384,7 @@ var getDefaultConfig = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, asy
|
|
|
361
384
|
let repository = void 0;
|
|
362
385
|
const workspaceRoot = findWorkspaceRoot(root);
|
|
363
386
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
|
|
364
|
-
const file = await _promises.readFile.call(void 0,
|
|
387
|
+
const file = await _promises.readFile.call(void 0, _chunkQU4XYXHYcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
|
|
365
388
|
if (file) {
|
|
366
389
|
const packageJson = JSON.parse(file);
|
|
367
390
|
if (packageJson.name) {
|
|
@@ -401,27 +424,28 @@ var getDefaultConfig = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, asy
|
|
|
401
424
|
}, "getDefaultConfig");
|
|
402
425
|
|
|
403
426
|
// ../config-tools/src/logger/chalk.ts
|
|
427
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
404
428
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
405
429
|
var chalkDefault = {
|
|
406
|
-
hex: /* @__PURE__ */
|
|
407
|
-
bgHex: /* @__PURE__ */
|
|
408
|
-
whiteBright: /* @__PURE__ */
|
|
430
|
+
hex: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
431
|
+
bgHex: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (_) => ({
|
|
432
|
+
whiteBright: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
409
433
|
}), "bgHex"),
|
|
410
|
-
whiteBright: /* @__PURE__ */
|
|
411
|
-
gray: /* @__PURE__ */
|
|
434
|
+
whiteBright: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message) => message, "whiteBright"),
|
|
435
|
+
gray: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message) => message, "gray"),
|
|
412
436
|
bold: {
|
|
413
|
-
hex: /* @__PURE__ */
|
|
414
|
-
bgHex: /* @__PURE__ */
|
|
415
|
-
whiteBright: /* @__PURE__ */
|
|
437
|
+
hex: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
438
|
+
bgHex: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (_) => ({
|
|
439
|
+
whiteBright: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
416
440
|
}), "bgHex"),
|
|
417
|
-
whiteBright: /* @__PURE__ */
|
|
441
|
+
whiteBright: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
418
442
|
},
|
|
419
443
|
dim: {
|
|
420
|
-
hex: /* @__PURE__ */
|
|
421
|
-
gray: /* @__PURE__ */
|
|
444
|
+
hex: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
445
|
+
gray: /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message) => message, "gray")
|
|
422
446
|
}
|
|
423
447
|
};
|
|
424
|
-
var getChalk = /* @__PURE__ */
|
|
448
|
+
var getChalk = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, () => {
|
|
425
449
|
let _chalk = _chalk3.default;
|
|
426
450
|
if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
|
|
427
451
|
_chalk = chalkDefault;
|
|
@@ -429,7 +453,11 @@ var getChalk = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, () => {
|
|
|
429
453
|
return _chalk;
|
|
430
454
|
}, "getChalk");
|
|
431
455
|
|
|
456
|
+
// ../config-tools/src/logger/console-icons.ts
|
|
457
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
458
|
+
|
|
432
459
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
460
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
433
461
|
function isUnicodeSupported() {
|
|
434
462
|
if (process.platform !== "win32") {
|
|
435
463
|
return process.env.TERM !== "linux";
|
|
@@ -439,10 +467,10 @@ function isUnicodeSupported() {
|
|
|
439
467
|
process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
|
|
440
468
|
process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
441
469
|
}
|
|
442
|
-
|
|
470
|
+
_chunkTJGIVJ4Kcjs.__name.call(void 0, isUnicodeSupported, "isUnicodeSupported");
|
|
443
471
|
|
|
444
472
|
// ../config-tools/src/logger/console-icons.ts
|
|
445
|
-
var useIcon = /* @__PURE__ */
|
|
473
|
+
var useIcon = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
|
|
446
474
|
var CONSOLE_ICONS = {
|
|
447
475
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
448
476
|
[LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
|
|
@@ -455,12 +483,14 @@ var CONSOLE_ICONS = {
|
|
|
455
483
|
};
|
|
456
484
|
|
|
457
485
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
458
|
-
|
|
486
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
487
|
+
var formatTimestamp = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (date = /* @__PURE__ */ new Date()) => {
|
|
459
488
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
460
489
|
}, "formatTimestamp");
|
|
461
490
|
|
|
462
491
|
// ../config-tools/src/logger/get-log-level.ts
|
|
463
|
-
|
|
492
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
493
|
+
var getLogLevel = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (label) => {
|
|
464
494
|
switch (label) {
|
|
465
495
|
case "all":
|
|
466
496
|
return LogLevel.ALL;
|
|
@@ -482,7 +512,7 @@ var getLogLevel = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, (label)
|
|
|
482
512
|
return LogLevel.INFO;
|
|
483
513
|
}
|
|
484
514
|
}, "getLogLevel");
|
|
485
|
-
var getLogLevelLabel = /* @__PURE__ */
|
|
515
|
+
var getLogLevelLabel = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (logLevel = LogLevel.INFO) => {
|
|
486
516
|
if (logLevel >= LogLevel.ALL) {
|
|
487
517
|
return LogLevelLabel.ALL;
|
|
488
518
|
}
|
|
@@ -511,7 +541,7 @@ var getLogLevelLabel = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, (lo
|
|
|
511
541
|
}, "getLogLevelLabel");
|
|
512
542
|
|
|
513
543
|
// ../config-tools/src/logger/console.ts
|
|
514
|
-
var getLogFn = /* @__PURE__ */
|
|
544
|
+
var getLogFn = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
515
545
|
const colors = !_optionalChain([config, 'access', _7 => _7.colors, 'optionalAccess', _8 => _8.dark]) && !_optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10["base"]]) && !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20["base"]]) ? _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
516
546
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
517
547
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -573,13 +603,13 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
|
|
|
573
603
|
`);
|
|
574
604
|
};
|
|
575
605
|
}, "getLogFn");
|
|
576
|
-
var writeFatal = /* @__PURE__ */
|
|
577
|
-
var writeError = /* @__PURE__ */
|
|
578
|
-
var writeWarning = /* @__PURE__ */
|
|
579
|
-
var writeSuccess = /* @__PURE__ */
|
|
580
|
-
var writeDebug = /* @__PURE__ */
|
|
581
|
-
var writeTrace = /* @__PURE__ */
|
|
582
|
-
var getStopwatch = /* @__PURE__ */
|
|
606
|
+
var writeFatal = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.FATAL, config)(message), "writeFatal");
|
|
607
|
+
var writeError = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.ERROR, config)(message), "writeError");
|
|
608
|
+
var writeWarning = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.WARN, config)(message), "writeWarning");
|
|
609
|
+
var writeSuccess = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.SUCCESS, config)(message), "writeSuccess");
|
|
610
|
+
var writeDebug = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.DEBUG, config)(message), "writeDebug");
|
|
611
|
+
var writeTrace = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.TRACE, config)(message), "writeTrace");
|
|
612
|
+
var getStopwatch = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (name) => {
|
|
583
613
|
const start = process.hrtime();
|
|
584
614
|
return () => {
|
|
585
615
|
const end = process.hrtime(start);
|
|
@@ -589,7 +619,7 @@ var getStopwatch = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, (name)
|
|
|
589
619
|
};
|
|
590
620
|
}, "getStopwatch");
|
|
591
621
|
var MAX_DEPTH = 4;
|
|
592
|
-
var formatLogMessage = /* @__PURE__ */
|
|
622
|
+
var formatLogMessage = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (message, options = {}, depth2 = 0) => {
|
|
593
623
|
if (depth2 > MAX_DEPTH) {
|
|
594
624
|
return "<max depth>";
|
|
595
625
|
}
|
|
@@ -605,7 +635,7 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map((key) => ` ${pre
|
|
|
605
635
|
skip
|
|
606
636
|
}, depth2 + 1) : message[key]}`).join("\n")}` : message;
|
|
607
637
|
}, "formatLogMessage");
|
|
608
|
-
var _isFunction = /* @__PURE__ */
|
|
638
|
+
var _isFunction = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (value) => {
|
|
609
639
|
try {
|
|
610
640
|
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _23 => _23.constructor]) && _optionalChain([value, 'optionalAccess', _24 => _24.call]) && _optionalChain([value, 'optionalAccess', _25 => _25.apply]));
|
|
611
641
|
} catch (e) {
|
|
@@ -1,13 +1,15 @@
|
|
|
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(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCJBZHSAGcjs = require('./chunk-CJBZHSAG.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
var _chunkTJGIVJ4Kcjs = require('./chunk-TJGIVJ4K.cjs');
|
|
9
10
|
|
|
10
11
|
// src/plugins/deps-check.ts
|
|
12
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
11
13
|
var _module = require('module');
|
|
12
14
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
13
15
|
var unusedIgnore = [
|
|
@@ -39,11 +41,11 @@ var missingIgnore = [
|
|
|
39
41
|
"@prisma/client",
|
|
40
42
|
"ts-toolbelt"
|
|
41
43
|
];
|
|
42
|
-
var depsCheckPlugin = /* @__PURE__ */
|
|
44
|
+
var depsCheckPlugin = /* @__PURE__ */ _chunkTJGIVJ4Kcjs.__name.call(void 0, (bundle) => ({
|
|
43
45
|
name: "storm:deps-check",
|
|
44
46
|
setup(build) {
|
|
45
47
|
const pkgJsonPath = _path2.default.join(process.cwd(), "package.json");
|
|
46
|
-
const pkgContents =
|
|
48
|
+
const pkgContents = _chunkTJGIVJ4Kcjs.__require.call(void 0, pkgJsonPath);
|
|
47
49
|
const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
|
|
48
50
|
const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
|
|
49
51
|
const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
|
|
@@ -86,8 +88,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunkYHMM6RY5cjs.__name.call(void 0, (bun
|
|
|
86
88
|
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
87
89
|
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
88
90
|
});
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
_chunkCJBZHSAGcjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
92
|
+
_chunkCJBZHSAGcjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
91
93
|
if (filteredMissingDeps.length > 0) {
|
|
92
94
|
throw new Error(`Missing dependencies detected - please install them:
|
|
93
95
|
${JSON.stringify(filteredMissingDeps)}
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZMGVM7NZcjs = require('./chunk-ZMGVM7NZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCJBZHSAGcjs = require('./chunk-CJBZHSAG.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
var _chunkQU4XYXHYcjs = require('./chunk-QU4XYXHY.cjs');
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkTJGIVJ4Kcjs = require('./chunk-TJGIVJ4K.cjs');
|
|
13
16
|
|
|
14
17
|
// src/package-json.ts
|
|
18
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
15
19
|
var _devkit = require('@nx/devkit');
|
|
16
20
|
var _fs = require('fs');
|
|
17
21
|
var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
|
|
18
22
|
async function generatePackageJson(context) {
|
|
19
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
20
|
-
|
|
21
|
-
const stopwatch =
|
|
22
|
-
const packageJsonPath =
|
|
23
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkQU4XYXHYcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
24
|
+
_chunkCJBZHSAGcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
25
|
+
const stopwatch = _chunkCJBZHSAGcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
26
|
+
const packageJsonPath = _chunkQU4XYXHYcjs.joinPaths.call(void 0, context.options.projectRoot, "project.json");
|
|
23
27
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
24
28
|
throw new Error("Cannot find package.json configuration");
|
|
25
29
|
}
|
|
26
|
-
const packageJsonFile = await _promises2.default.readFile(
|
|
30
|
+
const packageJsonFile = await _promises2.default.readFile(_chunkQU4XYXHYcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, context.options.projectRoot, "package.json"), "utf8");
|
|
27
31
|
let packageJson = JSON.parse(packageJsonFile);
|
|
28
32
|
if (!packageJson) {
|
|
29
33
|
throw new Error("Cannot find package.json configuration file");
|
|
30
34
|
}
|
|
31
|
-
packageJson = await
|
|
32
|
-
packageJson = await
|
|
35
|
+
packageJson = await _chunkZMGVM7NZcjs.addPackageDependencies.call(void 0, context.workspaceConfig.workspaceRoot, context.options.projectRoot, context.projectName, packageJson);
|
|
36
|
+
packageJson = await _chunkZMGVM7NZcjs.addWorkspacePackageJsonFields.call(void 0, context.workspaceConfig, context.options.projectRoot, context.sourceRoot, context.projectName, false, packageJson);
|
|
33
37
|
if (context.options.entry) {
|
|
34
38
|
packageJson.exports ??= {};
|
|
35
39
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
@@ -107,12 +111,12 @@ async function generatePackageJson(context) {
|
|
|
107
111
|
}, packageJson.exports);
|
|
108
112
|
}
|
|
109
113
|
}
|
|
110
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
114
|
+
await _devkit.writeJsonFile.call(void 0, _chunkQU4XYXHYcjs.joinPaths.call(void 0, context.outputPath, "package.json"), packageJson);
|
|
111
115
|
stopwatch();
|
|
112
116
|
}
|
|
113
117
|
return context;
|
|
114
118
|
}
|
|
115
|
-
|
|
119
|
+
_chunkTJGIVJ4Kcjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
116
120
|
|
|
117
121
|
|
|
118
122
|
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZMGVM7NZcjs = require('./chunk-ZMGVM7NZ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkTJGIVJ4Kcjs = require('./chunk-TJGIVJ4K.cjs');
|
|
4
7
|
|
|
5
8
|
// src/config.ts
|
|
9
|
+
_chunkTJGIVJ4Kcjs.init_cjs_shims.call(void 0, );
|
|
6
10
|
var DEFAULT_BUILD_OPTIONS = {
|
|
7
11
|
assets: [],
|
|
8
12
|
platform: "node",
|
|
@@ -42,8 +46,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
42
46
|
".woff2": "file"
|
|
43
47
|
},
|
|
44
48
|
banner: {
|
|
45
|
-
js:
|
|
46
|
-
css:
|
|
49
|
+
js: _chunkZMGVM7NZcjs.DEFAULT_COMPILED_BANNER,
|
|
50
|
+
css: _chunkZMGVM7NZcjs.DEFAULT_COMPILED_BANNER
|
|
47
51
|
}
|
|
48
52
|
};
|
|
49
53
|
|
|
@@ -13,14 +13,18 @@ import {
|
|
|
13
13
|
writeDebug,
|
|
14
14
|
writeTrace,
|
|
15
15
|
writeWarning
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UUHNTIEX.js";
|
|
17
17
|
import {
|
|
18
|
-
__name,
|
|
19
18
|
correctPaths,
|
|
20
19
|
joinPaths
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OGJYKJUE.js";
|
|
21
|
+
import {
|
|
22
|
+
__name,
|
|
23
|
+
init_esm_shims
|
|
24
|
+
} from "./chunk-72DS7WUW.js";
|
|
22
25
|
|
|
23
26
|
// ../build-tools/src/config.ts
|
|
27
|
+
init_esm_shims();
|
|
24
28
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
25
29
|
*
|
|
26
30
|
* \u26A1 Built by Storm Software
|
|
@@ -31,6 +35,7 @@ var DEFAULT_ENVIRONMENT = "production";
|
|
|
31
35
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
32
36
|
|
|
33
37
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
38
|
+
init_esm_shims();
|
|
34
39
|
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
35
40
|
import { glob } from "glob";
|
|
36
41
|
import { readFile, writeFile } from "node:fs/promises";
|
|
@@ -86,6 +91,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
86
91
|
}, "copyAssets");
|
|
87
92
|
|
|
88
93
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
94
|
+
init_esm_shims();
|
|
89
95
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
90
96
|
import { Glob } from "glob";
|
|
91
97
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -202,10 +208,15 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (workspaceConfi
|
|
|
202
208
|
return packageJson;
|
|
203
209
|
}, "addWorkspacePackageJsonFields");
|
|
204
210
|
|
|
211
|
+
// ../config-tools/src/get-config.ts
|
|
212
|
+
init_esm_shims();
|
|
213
|
+
|
|
205
214
|
// ../config-tools/src/create-storm-config.ts
|
|
215
|
+
init_esm_shims();
|
|
206
216
|
import defu2 from "defu";
|
|
207
217
|
|
|
208
218
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
219
|
+
init_esm_shims();
|
|
209
220
|
import { loadConfig } from "c12";
|
|
210
221
|
import defu from "defu";
|
|
211
222
|
var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, options = {}) => {
|
|
@@ -268,6 +279,7 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
|
|
|
268
279
|
}, "getConfigFile");
|
|
269
280
|
|
|
270
281
|
// ../config-tools/src/env/get-env.ts
|
|
282
|
+
init_esm_shims();
|
|
271
283
|
var getExtensionEnv = /* @__PURE__ */ __name((extensionName) => {
|
|
272
284
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
273
285
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -434,6 +446,7 @@ var getBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix) => {
|
|
|
434
446
|
}, "getBaseThemeColorConfigEnv");
|
|
435
447
|
|
|
436
448
|
// ../config-tools/src/env/set-env.ts
|
|
449
|
+
init_esm_shims();
|
|
437
450
|
var setExtensionEnv = /* @__PURE__ */ __name((extensionName, extension) => {
|
|
438
451
|
for (const key of Object.keys(extension ?? {})) {
|
|
439
452
|
if (extension[key]) {
|
|
@@ -805,6 +818,7 @@ var getWorkspaceConfig = /* @__PURE__ */ __name((skipLogs = false, options = {})
|
|
|
805
818
|
}, "getWorkspaceConfig");
|
|
806
819
|
|
|
807
820
|
// ../build-tools/src/utilities/get-env.ts
|
|
821
|
+
init_esm_shims();
|
|
808
822
|
var getEnv = /* @__PURE__ */ __name((builder, options) => {
|
|
809
823
|
return {
|
|
810
824
|
STORM_BUILD: builder,
|
|
@@ -818,27 +832,57 @@ var getEnv = /* @__PURE__ */ __name((builder, options) => {
|
|
|
818
832
|
};
|
|
819
833
|
}, "getEnv");
|
|
820
834
|
|
|
835
|
+
// ../build-tools/src/index.ts
|
|
836
|
+
init_esm_shims();
|
|
837
|
+
|
|
838
|
+
// ../build-tools/src/plugins/index.ts
|
|
839
|
+
init_esm_shims();
|
|
840
|
+
|
|
841
|
+
// ../build-tools/src/plugins/analyze.ts
|
|
842
|
+
init_esm_shims();
|
|
843
|
+
|
|
821
844
|
// ../build-tools/src/plugins/swc.ts
|
|
845
|
+
init_esm_shims();
|
|
822
846
|
import { transform } from "@swc/core";
|
|
823
847
|
|
|
824
848
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
849
|
+
init_esm_shims();
|
|
825
850
|
import fs from "node:fs";
|
|
826
851
|
import { builtinModules } from "node:module";
|
|
827
852
|
import path from "node:path";
|
|
828
853
|
import _resolve from "resolve";
|
|
829
854
|
|
|
830
855
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
856
|
+
init_esm_shims();
|
|
831
857
|
import { stripIndents } from "@nx/devkit";
|
|
832
858
|
import { relative } from "path";
|
|
833
859
|
|
|
860
|
+
// ../build-tools/src/types.ts
|
|
861
|
+
init_esm_shims();
|
|
862
|
+
|
|
863
|
+
// ../build-tools/src/utilities/index.ts
|
|
864
|
+
init_esm_shims();
|
|
865
|
+
|
|
834
866
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
867
|
+
init_esm_shims();
|
|
835
868
|
import { glob as glob2 } from "glob";
|
|
836
869
|
|
|
870
|
+
// ../build-tools/src/utilities/get-file-banner.ts
|
|
871
|
+
init_esm_shims();
|
|
872
|
+
|
|
873
|
+
// ../build-tools/src/utilities/get-out-extension.ts
|
|
874
|
+
init_esm_shims();
|
|
875
|
+
|
|
876
|
+
// ../build-tools/src/utilities/get-project-deps.ts
|
|
877
|
+
init_esm_shims();
|
|
878
|
+
|
|
837
879
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
880
|
+
init_esm_shims();
|
|
838
881
|
import { existsSync as existsSync2 } from "node:fs";
|
|
839
882
|
import { readFile as readFile3 } from "node:fs/promises";
|
|
840
883
|
|
|
841
884
|
// ../build-tools/src/utilities/task-graph.ts
|
|
885
|
+
init_esm_shims();
|
|
842
886
|
import { createTaskGraph, mapTargetDefaultsToDependencies } from "nx/src/tasks-runner/create-task-graph";
|
|
843
887
|
|
|
844
888
|
export {
|