@storm-software/esbuild 0.45.44 → 0.45.46
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 -6
- package/dist/assets.js +5 -5
- package/dist/build.cjs +13 -13
- package/dist/build.js +12 -12
- package/dist/{chunk-HLWSFXL3.cjs → chunk-3MZOT2NQ.cjs} +18 -18
- package/dist/{chunk-FPFKMRM6.cjs → chunk-3QTGPAFH.cjs} +87 -87
- package/dist/{chunk-SD2XHXFF.cjs → chunk-5V44WSEQ.cjs} +6 -6
- package/dist/{chunk-OY5J4Y6B.js → chunk-6RS6PUM7.js} +1 -1
- package/dist/{chunk-XXI7CNAU.cjs → chunk-7AUR6KMD.cjs} +5 -5
- package/dist/{chunk-UEVFPRFX.cjs → chunk-7L6G2FBR.cjs} +20 -20
- package/dist/{chunk-J2AX7MJ4.js → chunk-AYBBPHCS.js} +5 -5
- package/dist/{chunk-JCF2DBYT.js → chunk-COBB3623.js} +2 -2
- package/dist/{chunk-ZBPXG3UG.js → chunk-DKJQPXS2.js} +2 -2
- package/dist/{chunk-ULCERLBZ.cjs → chunk-DRSI5NMS.cjs} +2 -2
- package/dist/{chunk-XD6PXEYI.js → chunk-DS2YFAF5.js} +1 -1
- package/dist/chunk-HVKSR7EQ.cjs +6 -0
- package/dist/{chunk-J3KLRQQ7.js → chunk-HZ6BNSS3.js} +4 -4
- package/dist/{chunk-MGFCZLVU.js → chunk-I2CMMOTM.js} +3 -3
- package/dist/{chunk-UA2U62ZU.js → chunk-J4RZ3FKG.js} +8 -8
- package/dist/{chunk-QLV7CIMC.js → chunk-J74RGYQI.js} +2 -2
- package/dist/{chunk-AV5VL6UU.cjs → chunk-LMT6SCQY.cjs} +5 -5
- package/dist/{chunk-QTAPBA6I.cjs → chunk-M37UEA6V.cjs} +2 -2
- package/dist/{chunk-ZVT7P5YK.cjs → chunk-RGNHUXNY.cjs} +13 -13
- package/dist/{chunk-LPLBICCB.js → chunk-RJEZSH2W.js} +2 -2
- package/dist/{chunk-E6CKMNGC.js → chunk-RR2XH2CX.js} +2 -2
- package/dist/{chunk-ZQE3MQST.cjs → chunk-THTBJBUW.cjs} +64 -64
- package/dist/{chunk-WNYDGEOU.cjs → chunk-UJEJHNVJ.cjs} +24 -24
- package/dist/{chunk-GJF63C63.js → chunk-XUCB6TCU.js} +3 -3
- package/dist/{chunk-DDXSMCAA.cjs → chunk-ZHCRIZX4.cjs} +7 -7
- package/dist/{chunk-G5KD2O7B.js → chunk-ZTMDVBNM.js} +15 -15
- package/dist/clean.cjs +5 -5
- package/dist/clean.js +4 -4
- package/dist/config.cjs +6 -6
- package/dist/config.js +5 -5
- package/dist/context.cjs +7 -7
- package/dist/context.js +6 -6
- package/dist/index.cjs +15 -15
- package/dist/index.js +13 -13
- package/dist/package-json.cjs +6 -6
- package/dist/package-json.js +5 -5
- package/dist/plugins/deps-check.cjs +5 -5
- package/dist/plugins/deps-check.js +4 -4
- package/dist/plugins/resolve-paths.cjs +11 -11
- package/dist/plugins/resolve-paths.js +2 -2
- package/dist/tsup.cjs +5 -5
- package/dist/tsup.js +4 -4
- package/dist/types.cjs +2 -2
- package/dist/types.js +2 -2
- package/dist/watch.cjs +7 -7
- package/dist/watch.js +3 -3
- package/package.json +5 -5
- package/dist/chunk-UFAYYIKW.cjs +0 -6
|
@@ -1,16 +1,16 @@
|
|
|
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(); } } 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
|
|
4
|
+
var _chunkM37UEA6Vcjs = require('./chunk-M37UEA6V.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDRSI5NMScjs = require('./chunk-DRSI5NMS.cjs');
|
|
8
8
|
|
|
9
9
|
// ../config-tools/src/logger/console.ts
|
|
10
|
-
|
|
10
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
|
|
12
12
|
// ../config-tools/src/types.ts
|
|
13
|
-
|
|
13
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
var LogLevel = {
|
|
15
15
|
SILENT: 0,
|
|
16
16
|
FATAL: 10,
|
|
@@ -35,13 +35,13 @@ var LogLevelLabel = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
38
|
-
|
|
38
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
39
39
|
|
|
40
40
|
// ../config/src/index.ts
|
|
41
|
-
|
|
41
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
42
42
|
|
|
43
43
|
// ../config/src/constants.ts
|
|
44
|
-
|
|
44
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
45
45
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
46
46
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
47
47
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -63,10 +63,10 @@ If this sounds interesting, and you would like to help us in creating the next g
|
|
|
63
63
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
64
64
|
|
|
65
65
|
// ../config/src/define-config.ts
|
|
66
|
-
|
|
66
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
67
67
|
|
|
68
68
|
// ../config/src/schema.ts
|
|
69
|
-
|
|
69
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
70
70
|
var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
|
|
71
71
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
72
72
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
@@ -286,7 +286,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
286
286
|
);
|
|
287
287
|
|
|
288
288
|
// ../config/src/types.ts
|
|
289
|
-
|
|
289
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
290
290
|
var COLOR_KEYS = [
|
|
291
291
|
"dark",
|
|
292
292
|
"light",
|
|
@@ -311,10 +311,10 @@ var _promises = require('fs/promises');
|
|
|
311
311
|
var _path = require('path');
|
|
312
312
|
|
|
313
313
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
314
|
-
|
|
314
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
315
315
|
|
|
316
316
|
// ../config-tools/src/utilities/find-up.ts
|
|
317
|
-
|
|
317
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -383,11 +383,11 @@ var rootDirectories = [
|
|
|
383
383
|
];
|
|
384
384
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
385
385
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
386
|
-
return
|
|
386
|
+
return _chunkM37UEA6Vcjs.correctPaths.call(void 0,
|
|
387
387
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
388
388
|
);
|
|
389
389
|
}
|
|
390
|
-
return
|
|
390
|
+
return _chunkM37UEA6Vcjs.correctPaths.call(void 0,
|
|
391
391
|
findFolderUp(
|
|
392
392
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
393
393
|
rootFiles,
|
|
@@ -448,7 +448,7 @@ async function getPackageJsonConfig(root) {
|
|
|
448
448
|
const workspaceRoot = findWorkspaceRoot(root);
|
|
449
449
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
|
|
450
450
|
const file = await _promises.readFile.call(void 0,
|
|
451
|
-
|
|
451
|
+
_chunkM37UEA6Vcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
452
452
|
"utf8"
|
|
453
453
|
);
|
|
454
454
|
if (file) {
|
|
@@ -522,7 +522,7 @@ function applyDefaultConfig(config) {
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
// ../config-tools/src/logger/chalk.ts
|
|
525
|
-
|
|
525
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
526
526
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
527
527
|
var chalkDefault = {
|
|
528
528
|
hex: (_) => (message) => message,
|
|
@@ -556,10 +556,10 @@ var getChalk = () => {
|
|
|
556
556
|
};
|
|
557
557
|
|
|
558
558
|
// ../config-tools/src/logger/console-icons.ts
|
|
559
|
-
|
|
559
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
560
560
|
|
|
561
561
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
562
|
-
|
|
562
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
563
563
|
function isUnicodeSupported() {
|
|
564
564
|
if (process.platform !== "win32") {
|
|
565
565
|
return process.env.TERM !== "linux";
|
|
@@ -584,13 +584,13 @@ var CONSOLE_ICONS = {
|
|
|
584
584
|
};
|
|
585
585
|
|
|
586
586
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
587
|
-
|
|
587
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
588
588
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
589
589
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
590
590
|
};
|
|
591
591
|
|
|
592
592
|
// ../config-tools/src/logger/get-log-level.ts
|
|
593
|
-
|
|
593
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
594
594
|
var getLogLevel = (label) => {
|
|
595
595
|
switch (label) {
|
|
596
596
|
case "all":
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BUILD_OPTIONS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J74RGYQI.js";
|
|
4
4
|
import {
|
|
5
5
|
getEnv,
|
|
6
6
|
getWorkspaceConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I2CMMOTM.js";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
11
11
|
writeDebug
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DKJQPXS2.js";
|
|
13
13
|
import {
|
|
14
14
|
joinPaths
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6RS6PUM7.js";
|
|
16
16
|
import {
|
|
17
17
|
init_esm_shims
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RJEZSH2W.js";
|
|
19
19
|
|
|
20
20
|
// src/context.ts
|
|
21
21
|
init_esm_shims();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
correctPaths,
|
|
3
3
|
joinPaths
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6RS6PUM7.js";
|
|
5
5
|
import {
|
|
6
6
|
init_esm_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RJEZSH2W.js";
|
|
8
8
|
|
|
9
9
|
// ../config-tools/src/logger/console.ts
|
|
10
10
|
init_esm_shims();
|
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__495569463334c82be952ad85df1c5ea5/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__495569463334c82be952ad85df1c5ea5/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addPackageDependencies,
|
|
3
3
|
addWorkspacePackageJsonFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I2CMMOTM.js";
|
|
5
5
|
import {
|
|
6
6
|
getStopwatch,
|
|
7
7
|
writeDebug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DKJQPXS2.js";
|
|
9
9
|
import {
|
|
10
10
|
joinPaths
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6RS6PUM7.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esm_shims
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RJEZSH2W.js";
|
|
15
15
|
|
|
16
16
|
// src/package-json.ts
|
|
17
17
|
init_esm_shims();
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
writeDebug,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DKJQPXS2.js";
|
|
18
18
|
import {
|
|
19
19
|
correctPaths,
|
|
20
20
|
joinPaths
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6RS6PUM7.js";
|
|
22
22
|
import {
|
|
23
23
|
init_esm_shims
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RJEZSH2W.js";
|
|
25
25
|
|
|
26
26
|
// ../build-tools/src/config.ts
|
|
27
27
|
init_esm_shims();
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
depsCheckPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RR2XH2CX.js";
|
|
4
4
|
import {
|
|
5
5
|
copyBuildAssets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XUCB6TCU.js";
|
|
7
7
|
import {
|
|
8
8
|
cleanDirectories
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-COBB3623.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AYBBPHCS.js";
|
|
13
13
|
import {
|
|
14
14
|
generatePackageJson
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HZ6BNSS3.js";
|
|
16
16
|
import {
|
|
17
17
|
executeTsup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZTMDVBNM.js";
|
|
19
19
|
import {
|
|
20
20
|
getStopwatch,
|
|
21
21
|
writeDebug,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
writeFatal,
|
|
24
24
|
writeSuccess,
|
|
25
25
|
writeWarning
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DKJQPXS2.js";
|
|
27
27
|
import {
|
|
28
28
|
init_esm_shims
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RJEZSH2W.js";
|
|
30
30
|
|
|
31
31
|
// src/build.ts
|
|
32
32
|
init_esm_shims();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk7L6G2FBRcjs = require('./chunk-7L6G2FBR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDRSI5NMScjs = require('./chunk-DRSI5NMS.cjs');
|
|
8
8
|
|
|
9
9
|
// src/clean.ts
|
|
10
|
-
|
|
10
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
var _promises = require('fs/promises');
|
|
12
12
|
async function clean(name = "ESBuild", directory, config) {
|
|
13
|
-
|
|
14
|
-
const stopwatch =
|
|
13
|
+
_chunk7L6G2FBRcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
14
|
+
const stopwatch = _chunk7L6G2FBRcjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
15
15
|
await cleanDirectories(directory);
|
|
16
16
|
stopwatch();
|
|
17
17
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDRSI5NMScjs = require('./chunk-DRSI5NMS.cjs');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
6
|
-
|
|
6
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
7
7
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
8
8
|
function normalizeWindowsPath(input = "") {
|
|
9
9
|
if (!input) {
|
|
@@ -1,28 +1,28 @@
|
|
|
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 _chunk3QTGPAFHcjs = require('./chunk-3QTGPAFH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk7L6G2FBRcjs = require('./chunk-7L6G2FBR.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkM37UEA6Vcjs = require('./chunk-M37UEA6V.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkDRSI5NMScjs = require('./chunk-DRSI5NMS.cjs');
|
|
15
15
|
|
|
16
16
|
// src/package-json.ts
|
|
17
|
-
|
|
17
|
+
_chunkDRSI5NMScjs.init_cjs_shims.call(void 0, );
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
var _fs = require('fs');
|
|
20
20
|
var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
|
|
21
21
|
async function generatePackageJson(context) {
|
|
22
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
23
|
-
|
|
24
|
-
const stopwatch =
|
|
25
|
-
const packageJsonPath =
|
|
22
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkM37UEA6Vcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
23
|
+
_chunk7L6G2FBRcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
24
|
+
const stopwatch = _chunk7L6G2FBRcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
25
|
+
const packageJsonPath = _chunkM37UEA6Vcjs.joinPaths.call(void 0,
|
|
26
26
|
context.options.projectRoot,
|
|
27
27
|
"project.json"
|
|
28
28
|
);
|
|
@@ -30,7 +30,7 @@ async function generatePackageJson(context) {
|
|
|
30
30
|
throw new Error("Cannot find package.json configuration");
|
|
31
31
|
}
|
|
32
32
|
const packageJsonFile = await _promises2.default.readFile(
|
|
33
|
-
|
|
33
|
+
_chunkM37UEA6Vcjs.joinPaths.call(void 0,
|
|
34
34
|
context.workspaceConfig.workspaceRoot,
|
|
35
35
|
context.options.projectRoot,
|
|
36
36
|
"package.json"
|
|
@@ -41,13 +41,13 @@ async function generatePackageJson(context) {
|
|
|
41
41
|
if (!packageJson) {
|
|
42
42
|
throw new Error("Cannot find package.json configuration file");
|
|
43
43
|
}
|
|
44
|
-
packageJson = await
|
|
44
|
+
packageJson = await _chunk3QTGPAFHcjs.addPackageDependencies.call(void 0,
|
|
45
45
|
context.workspaceConfig.workspaceRoot,
|
|
46
46
|
context.options.projectRoot,
|
|
47
47
|
context.projectName,
|
|
48
48
|
packageJson
|
|
49
49
|
);
|
|
50
|
-
packageJson = await
|
|
50
|
+
packageJson = await _chunk3QTGPAFHcjs.addWorkspacePackageJsonFields.call(void 0,
|
|
51
51
|
context.workspaceConfig,
|
|
52
52
|
context.options.projectRoot,
|
|
53
53
|
context.sourceRoot,
|
|
@@ -136,7 +136,7 @@ async function generatePackageJson(context) {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
await _devkit.writeJsonFile.call(void 0,
|
|
139
|
-
|
|
139
|
+
_chunkM37UEA6Vcjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
140
140
|
packageJson
|
|
141
141
|
);
|
|
142
142
|
stopwatch();
|
|
@@ -33,12 +33,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__495569463334c82be952ad85df1c5ea5/node_modules/tsup/assets/esm_shims.js
|
|
37
37
|
import { fileURLToPath } from "url";
|
|
38
38
|
import path from "path";
|
|
39
39
|
var getFilename, getDirname, __dirname;
|
|
40
40
|
var init_esm_shims = __esm({
|
|
41
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__495569463334c82be952ad85df1c5ea5/node_modules/tsup/assets/esm_shims.js"() {
|
|
42
42
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
43
43
|
getDirname = () => path.dirname(getFilename());
|
|
44
44
|
__dirname = /* @__PURE__ */ getDirname();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeWarning
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DKJQPXS2.js";
|
|
5
5
|
import {
|
|
6
6
|
__require,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RJEZSH2W.js";
|
|
9
9
|
|
|
10
10
|
// src/plugins/deps-check.ts
|
|
11
11
|
init_esm_shims();
|