@storm-software/unbuild 0.39.12 → 0.39.13
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 +2 -1
- package/bin/unbuild.js +2 -1
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-E74YDPSV.cjs → chunk-3VWVLTGD.cjs} +3 -3
- package/dist/{chunk-J7FICDDC.js → chunk-4IZTCCLU.js} +1 -1
- package/dist/{chunk-BN66ODNO.cjs → chunk-7AESM4QF.cjs} +2 -2
- package/dist/{chunk-KAJDWNIA.js → chunk-GMQCUY6K.js} +1 -1
- package/dist/{chunk-KV76QDPT.cjs → chunk-HEBZFJ2N.cjs} +2 -2
- package/dist/{chunk-WH7FLZNL.js → chunk-ICS2FLHB.js} +2 -1
- package/dist/{chunk-ZL24I2TF.js → chunk-M7TXTZYC.js} +1 -1
- package/dist/{chunk-WCQ3HMVK.cjs → chunk-MNQGUEQ7.cjs} +3 -3
- package/dist/{chunk-E2YD3WEP.js → chunk-NFAQF6SG.js} +1 -1
- package/dist/{chunk-4D3WT42N.cjs → chunk-OFV7JN7O.cjs} +2 -1
- package/dist/{chunk-WWZB544X.js → chunk-QM6BHE35.js} +5 -5
- package/dist/{chunk-JO6ZZ4GM.cjs → chunk-ZBIYPMJM.cjs} +100 -100
- 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 +1 -1
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
|
@@ -46,6 +46,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
|
|
|
46
46
|
|
|
47
47
|
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
|
|
48
48
|
`;
|
|
49
|
+
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
49
50
|
|
|
50
51
|
// ../config/src/schema.ts
|
|
51
52
|
var DarkColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
@@ -157,7 +158,7 @@ var WorkspaceDirectoryConfigSchema = import_zod.default.object({
|
|
|
157
158
|
build: import_zod.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
158
159
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
159
160
|
var errorConfigSchema = import_zod.default.object({
|
|
160
|
-
codesFile: import_zod.default.string().trim().default(
|
|
161
|
+
codesFile: import_zod.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
161
162
|
url: import_zod.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
162
163
|
}).describe("The workspace's error config used during the error process");
|
|
163
164
|
var stormWorkspaceConfigSchema = import_zod.default.object({
|
package/bin/unbuild.js
CHANGED
|
@@ -25,6 +25,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
|
|
|
25
25
|
|
|
26
26
|
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
|
|
27
27
|
`;
|
|
28
|
+
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
28
29
|
|
|
29
30
|
// ../config/src/schema.ts
|
|
30
31
|
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");
|
|
@@ -136,7 +137,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
136
137
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
137
138
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
138
139
|
var errorConfigSchema = z.object({
|
|
139
|
-
codesFile: z.string().trim().default(
|
|
140
|
+
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
140
141
|
url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
141
142
|
}).describe("The workspace's error config used during the error process");
|
|
142
143
|
var stormWorkspaceConfigSchema = z.object({
|
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 _chunkZBIYPMJMcjs = require('./chunk-ZBIYPMJM.cjs');
|
|
9
|
+
require('./chunk-3VWVLTGD.cjs');
|
|
10
|
+
require('./chunk-7AESM4QF.cjs');
|
|
11
|
+
require('./chunk-MNQGUEQ7.cjs');
|
|
12
|
+
require('./chunk-HEBZFJ2N.cjs');
|
|
13
|
+
require('./chunk-OFV7JN7O.cjs');
|
|
14
14
|
require('./chunk-BGYQAVKQ.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -19,4 +19,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.build =
|
|
22
|
+
exports.build = _chunkZBIYPMJMcjs.build; exports.cleanOutputPath = _chunkZBIYPMJMcjs.cleanOutputPath; exports.copyBuildAssets = _chunkZBIYPMJMcjs.copyBuildAssets; exports.executeUnbuild = _chunkZBIYPMJMcjs.executeUnbuild; exports.generatePackageJson = _chunkZBIYPMJMcjs.generatePackageJson; exports.resolveOptions = _chunkZBIYPMJMcjs.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-QM6BHE35.js";
|
|
9
|
+
import "./chunk-M7TXTZYC.js";
|
|
10
|
+
import "./chunk-GMQCUY6K.js";
|
|
11
|
+
import "./chunk-4IZTCCLU.js";
|
|
12
|
+
import "./chunk-NFAQF6SG.js";
|
|
13
|
+
import "./chunk-ICS2FLHB.js";
|
|
14
14
|
import "./chunk-3GQAWCBQ.js";
|
|
15
15
|
export {
|
|
16
16
|
build,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOFV7JN7Ocjs = require('./chunk-OFV7JN7O.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
@@ -9,8 +9,8 @@ var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
|
9
9
|
// src/clean.ts
|
|
10
10
|
var _promises = require('fs/promises');
|
|
11
11
|
async function clean(name = "Unbuild", directory, config) {
|
|
12
|
-
|
|
13
|
-
const stopwatch =
|
|
12
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
13
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
14
14
|
await cleanDirectories(name, directory, config);
|
|
15
15
|
stopwatch();
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOFV7JN7Ocjs = require('./chunk-OFV7JN7O.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
@@ -25,7 +25,7 @@ var analyzePlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (optio
|
|
|
25
25
|
renderChunk(source, chunk) {
|
|
26
26
|
const sourceBytes = formatBytes(source.length);
|
|
27
27
|
const fileName = chunk.fileName;
|
|
28
|
-
|
|
28
|
+
_chunkOFV7JN7Ocjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
}, "analyzePlugin");
|
|
@@ -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 _chunkOFV7JN7Ocjs = require('./chunk-OFV7JN7O.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
@@ -32,7 +32,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
|
|
|
32
32
|
declaration: true,
|
|
33
33
|
paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, compilerOptions, config);
|
|
36
36
|
return compilerOptions;
|
|
37
37
|
}
|
|
38
38
|
_chunkBGYQAVKQcjs.__name.call(void 0, createTsCompilerOptions, "createTsCompilerOptions");
|
|
@@ -228,6 +228,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
|
|
|
228
228
|
|
|
229
229
|
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
|
|
230
230
|
`;
|
|
231
|
+
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
231
232
|
|
|
232
233
|
// ../config/src/schema.ts
|
|
233
234
|
import z from "zod";
|
|
@@ -340,7 +341,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
340
341
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
341
342
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
342
343
|
var errorConfigSchema = z.object({
|
|
343
|
-
codesFile: z.string().trim().default(
|
|
344
|
+
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
344
345
|
url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
345
346
|
}).describe("The workspace's error config used during the error process");
|
|
346
347
|
var stormWorkspaceConfigSchema = z.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOFV7JN7Ocjs = require('./chunk-OFV7JN7O.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
@@ -10,7 +10,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (optio
|
|
|
10
10
|
name: "storm:on-error",
|
|
11
11
|
buildEnd(error) {
|
|
12
12
|
if (error) {
|
|
13
|
-
|
|
13
|
+
_chunkOFV7JN7Ocjs.writeError.call(void 0, `The following errors occurred during the build:
|
|
14
14
|
${error ? error.message : "Unknown build error"}
|
|
15
15
|
|
|
16
16
|
`, options.config);
|
|
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
renderError(error) {
|
|
21
|
-
|
|
21
|
+
_chunkOFV7JN7Ocjs.writeError.call(void 0, `The following errors occurred during the build:
|
|
22
22
|
${error ? error.message : "Unknown build error"}
|
|
23
23
|
|
|
24
24
|
`, options.config);
|
|
@@ -228,6 +228,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
|
|
|
228
228
|
|
|
229
229
|
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
|
|
230
230
|
`;
|
|
231
|
+
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
231
232
|
|
|
232
233
|
// ../config/src/schema.ts
|
|
233
234
|
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
|
|
@@ -340,7 +341,7 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|
|
|
340
341
|
build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
341
342
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
342
343
|
var errorConfigSchema = _zod2.default.object({
|
|
343
|
-
codesFile: _zod2.default.string().trim().default(
|
|
344
|
+
codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
344
345
|
url: _zod2.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
345
346
|
}).describe("The workspace's error config used during the error process");
|
|
346
347
|
var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanDirectories
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M7TXTZYC.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GMQCUY6K.js";
|
|
7
7
|
import {
|
|
8
8
|
onErrorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4IZTCCLU.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig,
|
|
12
12
|
tscPlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NFAQF6SG.js";
|
|
14
14
|
import {
|
|
15
15
|
COLOR_KEYS,
|
|
16
16
|
LogLevel,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
writeSuccess,
|
|
34
34
|
writeTrace,
|
|
35
35
|
writeWarning
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ICS2FLHB.js";
|
|
37
37
|
import {
|
|
38
38
|
__name
|
|
39
39
|
} from "./chunk-3GQAWCBQ.js";
|
|
@@ -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 _chunk3VWVLTGDcjs = require('./chunk-3VWVLTGD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk7AESM4QFcjs = require('./chunk-7AESM4QF.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkMNQGUEQ7cjs = require('./chunk-MNQGUEQ7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkHEBZFJ2Ncjs = require('./chunk-HEBZFJ2N.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -33,7 +33,7 @@ var _chunkKV76QDPTcjs = require('./chunk-KV76QDPT.cjs');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkOFV7JN7Ocjs = require('./chunk-OFV7JN7O.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
|
|
@@ -86,8 +86,8 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
|
|
|
86
86
|
output: "src/"
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
89
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
|
|
90
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkOFV7JN7Ocjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
91
91
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
92
92
|
projectDir: projectRoot,
|
|
93
93
|
rootDir: config.workspaceRoot,
|
|
@@ -96,12 +96,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
96
96
|
});
|
|
97
97
|
await assetHandler.processAllAssetsOnce();
|
|
98
98
|
if (includeSrc === true) {
|
|
99
|
-
|
|
99
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkOFV7JN7Ocjs.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
100
100
|
const files = await _glob.glob.call(void 0, [
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
_chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
102
|
+
_chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
103
|
+
_chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
104
|
+
_chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
105
105
|
]);
|
|
106
106
|
await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
|
|
107
107
|
|
|
@@ -124,7 +124,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
124
124
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _ => _.node, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.root]) !== projectRoot && _optionalChain([dep, 'access', _4 => _4.node, 'access', _5 => _5.data, 'optionalAccess', _6 => _6.root]) !== workspaceRoot)) {
|
|
125
125
|
const projectNode = project.node;
|
|
126
126
|
if (projectNode.data.root) {
|
|
127
|
-
const projectPackageJsonPath =
|
|
127
|
+
const projectPackageJsonPath = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
|
|
128
128
|
if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
|
|
129
129
|
const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
|
|
130
130
|
const projectPackageJson = JSON.parse(projectPackageJsonContent);
|
|
@@ -135,8 +135,8 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
if (localPackages.length > 0) {
|
|
138
|
-
|
|
139
|
-
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
138
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
139
|
+
const projectJsonFile = await _promises.readFile.call(void 0, _chunkOFV7JN7Ocjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
|
|
140
140
|
const projectJson = JSON.parse(projectJsonFile);
|
|
141
141
|
const projectName2 = projectJson.name;
|
|
142
142
|
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
@@ -145,7 +145,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
145
145
|
}
|
|
146
146
|
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) => {
|
|
147
147
|
if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
|
|
148
|
-
const depPackageJsonPath =
|
|
148
|
+
const depPackageJsonPath = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
|
|
149
149
|
if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
|
|
150
150
|
const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
|
|
151
151
|
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
@@ -169,13 +169,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
169
169
|
return ret;
|
|
170
170
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
171
171
|
} else {
|
|
172
|
-
|
|
172
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
173
173
|
}
|
|
174
174
|
return packageJson;
|
|
175
175
|
}, "addPackageDependencies");
|
|
176
176
|
var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
177
|
-
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot :
|
|
178
|
-
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
177
|
+
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkOFV7JN7Ocjs.findWorkspaceRoot.call(void 0, );
|
|
178
|
+
const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkOFV7JN7Ocjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
|
|
179
179
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
180
180
|
packageJson.type ??= "module";
|
|
181
181
|
packageJson.sideEffects ??= false;
|
|
@@ -184,7 +184,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
|
|
|
184
184
|
if (distSrc.startsWith("/")) {
|
|
185
185
|
distSrc = distSrc.substring(1);
|
|
186
186
|
}
|
|
187
|
-
packageJson.source ??= `${
|
|
187
|
+
packageJson.source ??= `${_chunkOFV7JN7Ocjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
188
188
|
}
|
|
189
189
|
packageJson.files ??= [
|
|
190
190
|
"dist/**/*"
|
|
@@ -215,7 +215,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
|
|
|
215
215
|
];
|
|
216
216
|
}
|
|
217
217
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
218
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
218
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkOFV7JN7Ocjs.joinPaths.call(void 0, "packages", projectName);
|
|
219
219
|
return packageJson;
|
|
220
220
|
}, "addWorkspacePackageJsonFields");
|
|
221
221
|
|
|
@@ -223,7 +223,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
|
|
|
223
223
|
var _c12 = require('c12');
|
|
224
224
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
225
225
|
var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
226
|
-
const workspacePath = filePath ||
|
|
226
|
+
const workspacePath = filePath || _chunkOFV7JN7Ocjs.findWorkspaceRoot.call(void 0, filePath);
|
|
227
227
|
const configs = await Promise.all([
|
|
228
228
|
_c12.loadConfig.call(void 0, {
|
|
229
229
|
cwd: workspacePath,
|
|
@@ -232,7 +232,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
|
|
|
232
232
|
envName: _optionalChain([fileName, 'optionalAccess', _24 => _24.toUpperCase, 'call', _25 => _25()]),
|
|
233
233
|
jitiOptions: {
|
|
234
234
|
debug: false,
|
|
235
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
235
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkOFV7JN7Ocjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
236
236
|
},
|
|
237
237
|
...options
|
|
238
238
|
}),
|
|
@@ -243,7 +243,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
|
|
|
243
243
|
envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
|
|
244
244
|
jitiOptions: {
|
|
245
245
|
debug: false,
|
|
246
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
246
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkOFV7JN7Ocjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
247
247
|
},
|
|
248
248
|
configFile: fileName,
|
|
249
249
|
...options
|
|
@@ -252,12 +252,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
|
|
|
252
252
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
253
253
|
}, "getConfigFileByName");
|
|
254
254
|
var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
255
|
-
const workspacePath = filePath ? filePath :
|
|
255
|
+
const workspacePath = filePath ? filePath : _chunkOFV7JN7Ocjs.findWorkspaceRoot.call(void 0, filePath);
|
|
256
256
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
257
257
|
let config = result.config;
|
|
258
258
|
const configFile = result.configFile;
|
|
259
259
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
260
|
-
|
|
260
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
261
261
|
logLevel: "all"
|
|
262
262
|
});
|
|
263
263
|
}
|
|
@@ -266,7 +266,7 @@ var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
266
266
|
for (const result2 of results) {
|
|
267
267
|
if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
|
|
268
268
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
269
|
-
|
|
269
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
270
270
|
logLevel: "all"
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -332,15 +332,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
|
|
|
332
332
|
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
333
333
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
334
334
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
335
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
336
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
335
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
336
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
337
337
|
directories: {
|
|
338
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
339
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
340
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
341
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
342
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
343
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
338
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
339
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
340
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
341
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
342
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
343
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkOFV7JN7Ocjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
344
344
|
},
|
|
345
345
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
346
346
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -363,24 +363,24 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
|
|
|
363
363
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
364
364
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
365
365
|
},
|
|
366
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ?
|
|
366
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkOFV7JN7Ocjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
367
367
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
368
368
|
};
|
|
369
|
-
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
369
|
+
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkOFV7JN7Ocjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
370
370
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
371
371
|
ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
|
|
372
372
|
return ret;
|
|
373
373
|
}, {}) : getThemeColorConfigEnv(prefix);
|
|
374
|
-
if (config.docs ===
|
|
375
|
-
if (config.homepage ===
|
|
376
|
-
config.docs = `${
|
|
374
|
+
if (config.docs === _chunkOFV7JN7Ocjs.STORM_DEFAULT_DOCS) {
|
|
375
|
+
if (config.homepage === _chunkOFV7JN7Ocjs.STORM_DEFAULT_HOMEPAGE) {
|
|
376
|
+
config.docs = `${_chunkOFV7JN7Ocjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
377
377
|
} else {
|
|
378
378
|
config.docs = `${config.homepage}/docs`;
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
|
-
if (config.licensing ===
|
|
382
|
-
if (config.homepage ===
|
|
383
|
-
config.licensing = `${
|
|
381
|
+
if (config.licensing === _chunkOFV7JN7Ocjs.STORM_DEFAULT_LICENSING) {
|
|
382
|
+
if (config.homepage === _chunkOFV7JN7Ocjs.STORM_DEFAULT_HOMEPAGE) {
|
|
383
|
+
config.licensing = `${_chunkOFV7JN7Ocjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
384
384
|
} else {
|
|
385
385
|
config.licensing = `${config.homepage}/docs`;
|
|
386
386
|
}
|
|
@@ -550,31 +550,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
|
|
|
550
550
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
551
551
|
}
|
|
552
552
|
if (config.configFile) {
|
|
553
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
553
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.configFile);
|
|
554
554
|
}
|
|
555
555
|
if (config.workspaceRoot) {
|
|
556
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
557
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
558
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
556
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
557
|
+
process.env.NX_WORKSPACE_ROOT = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
558
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
559
559
|
}
|
|
560
560
|
if (config.directories) {
|
|
561
561
|
if (!config.skipCache && config.directories.cache) {
|
|
562
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
562
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.directories.cache);
|
|
563
563
|
}
|
|
564
564
|
if (config.directories.data) {
|
|
565
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
565
|
+
process.env[`${prefix}DATA_DIR`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.directories.data);
|
|
566
566
|
}
|
|
567
567
|
if (config.directories.config) {
|
|
568
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
568
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.directories.config);
|
|
569
569
|
}
|
|
570
570
|
if (config.directories.temp) {
|
|
571
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
571
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.directories.temp);
|
|
572
572
|
}
|
|
573
573
|
if (config.directories.log) {
|
|
574
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
574
|
+
process.env[`${prefix}LOG_DIR`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.directories.log);
|
|
575
575
|
}
|
|
576
576
|
if (config.directories.build) {
|
|
577
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
577
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, config.directories.build);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
if (config.skipCache !== void 0) {
|
|
@@ -628,8 +628,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
|
|
|
628
628
|
if (config.logLevel) {
|
|
629
629
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
630
630
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
631
|
-
process.env.NX_VERBOSE_LOGGING = String(
|
|
632
|
-
process.env.RUST_BACKTRACE =
|
|
631
|
+
process.env.NX_VERBOSE_LOGGING = String(_chunkOFV7JN7Ocjs.getLogLevel.call(void 0, config.logLevel) >= _chunkOFV7JN7Ocjs.LogLevel.DEBUG ? true : false);
|
|
632
|
+
process.env.RUST_BACKTRACE = _chunkOFV7JN7Ocjs.getLogLevel.call(void 0, config.logLevel) >= _chunkOFV7JN7Ocjs.LogLevel.DEBUG ? "full" : "none";
|
|
633
633
|
}
|
|
634
634
|
if (config.skipConfigLogging !== void 0) {
|
|
635
635
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
|
|
@@ -747,17 +747,17 @@ var createStormWorkspaceConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(v
|
|
|
747
747
|
if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
748
748
|
let _workspaceRoot = workspaceRoot;
|
|
749
749
|
if (!_workspaceRoot) {
|
|
750
|
-
_workspaceRoot =
|
|
750
|
+
_workspaceRoot = _chunkOFV7JN7Ocjs.findWorkspaceRoot.call(void 0, );
|
|
751
751
|
}
|
|
752
752
|
const configEnv = getConfigEnv();
|
|
753
|
-
const defaultConfig = await
|
|
753
|
+
const defaultConfig = await _chunkOFV7JN7Ocjs.getDefaultConfig.call(void 0, _workspaceRoot);
|
|
754
754
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
755
755
|
if (!configFile && !skipLogs) {
|
|
756
|
-
|
|
756
|
+
_chunkOFV7JN7Ocjs.writeWarning.call(void 0, "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", {
|
|
757
757
|
logLevel: "all"
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
|
-
result = await
|
|
760
|
+
result = await _chunkOFV7JN7Ocjs.stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
|
|
761
761
|
result.workspaceRoot ??= _workspaceRoot;
|
|
762
762
|
} else {
|
|
763
763
|
result = _static_cache.data;
|
|
@@ -792,8 +792,8 @@ var loadStormWorkspaceConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(voi
|
|
|
792
792
|
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
793
793
|
setConfigEnv(config);
|
|
794
794
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
795
|
-
|
|
796
|
-
${
|
|
795
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
|
|
796
|
+
${_chunkOFV7JN7Ocjs.formatLogMessage.call(void 0, config)}`, config);
|
|
797
797
|
}
|
|
798
798
|
return config;
|
|
799
799
|
}, "loadStormWorkspaceConfig");
|
|
@@ -822,24 +822,24 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
822
822
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
823
823
|
var _unbuild = require('unbuild');
|
|
824
824
|
async function resolveOptions(options, config) {
|
|
825
|
-
|
|
826
|
-
const stopwatch =
|
|
825
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
826
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, "Build options resolution");
|
|
827
827
|
if (options.configPath) {
|
|
828
|
-
const configFile = await
|
|
828
|
+
const configFile = await _chunkHEBZFJ2Ncjs.loadConfig.call(void 0, options.configPath);
|
|
829
829
|
if (configFile) {
|
|
830
830
|
options = _defu2.default.call(void 0, options, configFile);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
const outputPath = options.outputPath ||
|
|
833
|
+
const outputPath = options.outputPath || _chunkOFV7JN7Ocjs.joinPaths.call(void 0, "dist", options.projectRoot);
|
|
834
834
|
const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
835
|
-
const projectJsonPath =
|
|
835
|
+
const projectJsonPath = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "project.json");
|
|
836
836
|
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
837
837
|
throw new Error("Cannot find project.json configuration");
|
|
838
838
|
}
|
|
839
839
|
const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
|
|
840
840
|
const projectJson = JSON.parse(projectJsonContent);
|
|
841
841
|
const projectName = projectJson.name;
|
|
842
|
-
const packageJsonPath =
|
|
842
|
+
const packageJsonPath = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot, "package.json");
|
|
843
843
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
844
844
|
throw new Error("Cannot find package.json configuration");
|
|
845
845
|
}
|
|
@@ -847,17 +847,17 @@ async function resolveOptions(options, config) {
|
|
|
847
847
|
const packageJson = JSON.parse(packageJsonContent);
|
|
848
848
|
let tsconfig = options.tsconfig;
|
|
849
849
|
if (!tsconfig) {
|
|
850
|
-
tsconfig =
|
|
850
|
+
tsconfig = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
|
|
851
851
|
}
|
|
852
852
|
if (!tsconfig.startsWith(config.workspaceRoot)) {
|
|
853
|
-
tsconfig =
|
|
853
|
+
tsconfig = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, tsconfig);
|
|
854
854
|
}
|
|
855
855
|
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
856
856
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
857
857
|
}
|
|
858
858
|
let sourceRoot = projectJson.sourceRoot;
|
|
859
859
|
if (!sourceRoot) {
|
|
860
|
-
sourceRoot =
|
|
860
|
+
sourceRoot = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
861
861
|
}
|
|
862
862
|
if (!_fs.existsSync.call(void 0, sourceRoot)) {
|
|
863
863
|
throw new Error("Cannot find sourceRoot directory");
|
|
@@ -892,7 +892,7 @@ async function resolveOptions(options, config) {
|
|
|
892
892
|
while (entryPath.startsWith("/")) {
|
|
893
893
|
entryPath = entryPath.substring(1);
|
|
894
894
|
}
|
|
895
|
-
const outDir =
|
|
895
|
+
const outDir = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, _path.relative.call(void 0, _chunkOFV7JN7Ocjs.joinPaths.call(void 0, config.workspaceRoot, options.projectRoot), config.workspaceRoot), outputPath, "dist");
|
|
896
896
|
ret.push({
|
|
897
897
|
name: `${name}-esm`,
|
|
898
898
|
builder: "mkdist",
|
|
@@ -966,7 +966,7 @@ async function resolveOptions(options, config) {
|
|
|
966
966
|
treeShaking: options.treeShaking !== false,
|
|
967
967
|
platform: options.platform || "neutral",
|
|
968
968
|
color: true,
|
|
969
|
-
logLevel: config.logLevel ===
|
|
969
|
+
logLevel: config.logLevel === _chunkOFV7JN7Ocjs.LogLevelLabel.FATAL ? _chunkOFV7JN7Ocjs.LogLevelLabel.ERROR : _chunkOFV7JN7Ocjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
};
|
|
@@ -983,7 +983,7 @@ async function resolveOptions(options, config) {
|
|
|
983
983
|
if (options.rollup) {
|
|
984
984
|
let rollup = {};
|
|
985
985
|
if (typeof options.rollup === "string") {
|
|
986
|
-
const rollupFile = await
|
|
986
|
+
const rollupFile = await _chunkHEBZFJ2Ncjs.loadConfig.call(void 0, options.rollup);
|
|
987
987
|
if (rollupFile) {
|
|
988
988
|
rollup = rollupFile;
|
|
989
989
|
}
|
|
@@ -995,14 +995,14 @@ async function resolveOptions(options, config) {
|
|
|
995
995
|
resolvedOptions.hooks = {
|
|
996
996
|
"rollup:options": /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (ctx, opts) => {
|
|
997
997
|
if (options.plugins && options.plugins.length > 0) {
|
|
998
|
-
|
|
998
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`, config);
|
|
999
999
|
opts.plugins = options.plugins;
|
|
1000
1000
|
} else {
|
|
1001
|
-
|
|
1001
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u{1F9E9} No plugins found in provided build options, using default plugins`, config);
|
|
1002
1002
|
opts.plugins = await Promise.all([
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1003
|
+
_chunk7AESM4QFcjs.analyzePlugin.call(void 0, resolvedOptions),
|
|
1004
|
+
_chunkHEBZFJ2Ncjs.tscPlugin.call(void 0, resolvedOptions),
|
|
1005
|
+
_chunkMNQGUEQ7cjs.onErrorPlugin.call(void 0, resolvedOptions)
|
|
1006
1006
|
]);
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "rollup:options"),
|
|
@@ -1055,14 +1055,14 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
|
|
|
1055
1055
|
};
|
|
1056
1056
|
}, "addPackageJsonExport");
|
|
1057
1057
|
async function generatePackageJson(options) {
|
|
1058
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
1059
|
-
|
|
1060
|
-
const stopwatch =
|
|
1061
|
-
const packageJsonPath =
|
|
1058
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1059
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
1060
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1061
|
+
const packageJsonPath = _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1062
1062
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1063
1063
|
throw new Error("Cannot find package.json configuration");
|
|
1064
1064
|
}
|
|
1065
|
-
const packageJsonContent = await _promises.readFile.call(void 0,
|
|
1065
|
+
const packageJsonContent = await _promises.readFile.call(void 0, _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
1066
1066
|
if (!packageJsonContent) {
|
|
1067
1067
|
throw new Error("Cannot find package.json configuration file");
|
|
1068
1068
|
}
|
|
@@ -1079,7 +1079,7 @@ async function generatePackageJson(options) {
|
|
|
1079
1079
|
while (entryPath.startsWith("/")) {
|
|
1080
1080
|
entryPath = entryPath.substring(1);
|
|
1081
1081
|
}
|
|
1082
|
-
entryPath = `./${
|
|
1082
|
+
entryPath = `./${_chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.projectRoot, entryPath)}`;
|
|
1083
1083
|
if (!ret.includes(entryPath)) {
|
|
1084
1084
|
ret.push(entryPath);
|
|
1085
1085
|
}
|
|
@@ -1110,23 +1110,23 @@ async function generatePackageJson(options) {
|
|
|
1110
1110
|
}, packageJson.exports);
|
|
1111
1111
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1112
1112
|
packageJson.exports["."] ??= addPackageJsonExport("index", packageJson.type, options.sourceRoot, options.projectRoot);
|
|
1113
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1113
|
+
await _devkit.writeJsonFile.call(void 0, _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1114
1114
|
stopwatch();
|
|
1115
1115
|
}
|
|
1116
1116
|
return options;
|
|
1117
1117
|
}
|
|
1118
1118
|
_chunkBGYQAVKQcjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
1119
1119
|
async function executeUnbuild(options) {
|
|
1120
|
-
|
|
1121
|
-
const stopwatch =
|
|
1120
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
|
|
1121
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
|
|
1122
1122
|
try {
|
|
1123
1123
|
const config = {
|
|
1124
1124
|
...options,
|
|
1125
1125
|
config: null,
|
|
1126
|
-
rootDir:
|
|
1126
|
+
rootDir: _chunkOFV7JN7Ocjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot)
|
|
1127
1127
|
};
|
|
1128
|
-
|
|
1129
|
-
${
|
|
1128
|
+
_chunkOFV7JN7Ocjs.writeTrace.call(void 0, `Running with unbuild configuration:
|
|
1129
|
+
${_chunkOFV7JN7Ocjs.formatLogMessage.call(void 0, {
|
|
1130
1130
|
...config,
|
|
1131
1131
|
env: "<Hidden>"
|
|
1132
1132
|
})}
|
|
@@ -1139,8 +1139,8 @@ ${_chunk4D3WT42Ncjs.formatLogMessage.call(void 0, {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
_chunkBGYQAVKQcjs.__name.call(void 0, executeUnbuild, "executeUnbuild");
|
|
1141
1141
|
async function copyBuildAssets(options) {
|
|
1142
|
-
|
|
1143
|
-
const stopwatch =
|
|
1142
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
|
|
1143
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1144
1144
|
await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.sourceRoot, options.generatePackageJson, options.includeSrc);
|
|
1145
1145
|
stopwatch();
|
|
1146
1146
|
return options;
|
|
@@ -1148,9 +1148,9 @@ async function copyBuildAssets(options) {
|
|
|
1148
1148
|
_chunkBGYQAVKQcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1149
1149
|
async function cleanOutputPath(options) {
|
|
1150
1150
|
if (options.clean !== false && options.outDir) {
|
|
1151
|
-
|
|
1152
|
-
const stopwatch =
|
|
1153
|
-
await
|
|
1151
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`, options.config);
|
|
1152
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1153
|
+
await _chunk3VWVLTGDcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
|
|
1154
1154
|
stopwatch();
|
|
1155
1155
|
}
|
|
1156
1156
|
return options;
|
|
@@ -1166,10 +1166,10 @@ async function build(options) {
|
|
|
1166
1166
|
throw new Error("Cannot find workspace root");
|
|
1167
1167
|
}
|
|
1168
1168
|
const config = await getConfig(workspaceRoot.dir);
|
|
1169
|
-
|
|
1170
|
-
const stopwatch =
|
|
1169
|
+
_chunkOFV7JN7Ocjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`, config);
|
|
1170
|
+
const stopwatch = _chunkOFV7JN7Ocjs.getStopwatch.call(void 0, "Unbuild pipeline");
|
|
1171
1171
|
try {
|
|
1172
|
-
options.projectRoot =
|
|
1172
|
+
options.projectRoot = _chunkOFV7JN7Ocjs.correctPaths.call(void 0, projectRoot);
|
|
1173
1173
|
const resolvedOptions = await resolveOptions(options, config);
|
|
1174
1174
|
await cleanOutputPath(resolvedOptions);
|
|
1175
1175
|
if (options.buildOnly !== true) {
|
|
@@ -1179,9 +1179,9 @@ async function build(options) {
|
|
|
1179
1179
|
if (options.buildOnly !== true) {
|
|
1180
1180
|
await copyBuildAssets(resolvedOptions);
|
|
1181
1181
|
}
|
|
1182
|
-
|
|
1182
|
+
_chunkOFV7JN7Ocjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, config);
|
|
1183
1183
|
} catch (error) {
|
|
1184
|
-
|
|
1184
|
+
_chunkOFV7JN7Ocjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.", config);
|
|
1185
1185
|
throw error;
|
|
1186
1186
|
} finally {
|
|
1187
1187
|
stopwatch();
|
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 _chunk3VWVLTGDcjs = require('./chunk-3VWVLTGD.cjs');
|
|
5
|
+
require('./chunk-OFV7JN7O.cjs');
|
|
6
6
|
require('./chunk-BGYQAVKQ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunk3VWVLTGDcjs.clean; exports.cleanDirectories = _chunk3VWVLTGDcjs.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 _chunkZBIYPMJMcjs = require('./chunk-ZBIYPMJM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk3VWVLTGDcjs = require('./chunk-3VWVLTGD.cjs');
|
|
13
13
|
require('./chunk-ORA4UQMU.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-7AESM4QF.cjs');
|
|
15
|
+
require('./chunk-MNQGUEQ7.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkHEBZFJ2Ncjs = require('./chunk-HEBZFJ2N.cjs');
|
|
20
|
+
require('./chunk-OFV7JN7O.cjs');
|
|
21
21
|
require('./chunk-BGYQAVKQ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkZBIYPMJMcjs.build; exports.clean = _chunk3VWVLTGDcjs.clean; exports.cleanDirectories = _chunk3VWVLTGDcjs.cleanDirectories; exports.cleanOutputPath = _chunkZBIYPMJMcjs.cleanOutputPath; exports.copyBuildAssets = _chunkZBIYPMJMcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkHEBZFJ2Ncjs.createTsCompilerOptions; exports.executeUnbuild = _chunkZBIYPMJMcjs.executeUnbuild; exports.generatePackageJson = _chunkZBIYPMJMcjs.generatePackageJson; exports.loadConfig = _chunkHEBZFJ2Ncjs.loadConfig; exports.resolveOptions = _chunkZBIYPMJMcjs.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-QM6BHE35.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M7TXTZYC.js";
|
|
13
13
|
import "./chunk-OULCUN6I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GMQCUY6K.js";
|
|
15
|
+
import "./chunk-4IZTCCLU.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-NFAQF6SG.js";
|
|
20
|
+
import "./chunk-ICS2FLHB.js";
|
|
21
21
|
import "./chunk-3GQAWCBQ.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 _chunk7AESM4QFcjs = require('../chunk-7AESM4QF.cjs');
|
|
4
|
+
require('../chunk-OFV7JN7O.cjs');
|
|
5
5
|
require('../chunk-BGYQAVKQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunk7AESM4QFcjs.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 _chunkMNQGUEQ7cjs = require('../chunk-MNQGUEQ7.cjs');
|
|
4
|
+
require('../chunk-OFV7JN7O.cjs');
|
|
5
5
|
require('../chunk-BGYQAVKQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunkMNQGUEQ7cjs.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 _chunkHEBZFJ2Ncjs = require('../chunk-HEBZFJ2N.cjs');
|
|
4
|
+
require('../chunk-OFV7JN7O.cjs');
|
|
5
5
|
require('../chunk-BGYQAVKQ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunkHEBZFJ2Ncjs.tscPlugin;
|
package/dist/plugins/tsc.js
CHANGED
package/package.json
CHANGED