@storm-software/unbuild 0.24.1 → 0.25.0
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.js +71 -28
- package/bin/unbuild.mjs +69 -26
- package/dist/build.d.mts +1 -0
- package/dist/build.d.ts +1 -0
- package/dist/build.js +8 -8
- package/dist/build.mjs +7 -7
- package/dist/{chunk-RNM4JSUG.js → chunk-44VTNVZA.js} +6 -6
- package/dist/{chunk-UT4OJQUT.mjs → chunk-4BAUMYRN.mjs} +4 -7
- package/dist/{chunk-L76UPCDF.js → chunk-523YIUTF.js} +2 -2
- package/dist/{chunk-4QTKZ7Y7.mjs → chunk-6UMHN4KS.mjs} +9 -4
- package/dist/{chunk-QPMFJ7G7.js → chunk-BUCFGCTW.js} +2 -2
- package/dist/{chunk-TCARWZKA.mjs → chunk-ESGPHEWU.mjs} +3 -3
- package/dist/{chunk-26H2BQTK.mjs → chunk-G6BE6UP3.mjs} +62 -27
- package/dist/{chunk-X6Y2OZGW.js → chunk-MCNTIU52.js} +2 -8
- package/dist/{chunk-27VOTZLA.js → chunk-PVZYPNLZ.js} +11 -6
- package/dist/{chunk-JLKG5B52.mjs → chunk-Q4GMTWGF.mjs} +1 -1
- package/dist/{chunk-D4WJVAJM.js → chunk-SQOZCV36.js} +4 -7
- package/dist/{chunk-J3DIENOH.mjs → chunk-TEEYWCSY.mjs} +2 -8
- package/dist/{chunk-NXZFF473.mjs → chunk-WXJPXYHF.mjs} +1 -1
- package/dist/{chunk-YXF5LOZH.js → chunk-YIP6AERX.js} +107 -72
- package/dist/clean.d.mts +9 -1
- package/dist/clean.d.ts +9 -1
- package/dist/clean.js +5 -3
- package/dist/clean.mjs +6 -4
- package/dist/config.d.mts +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.js +6 -6
- package/dist/config.mjs +5 -5
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +10 -8
- package/dist/index.mjs +10 -8
- package/dist/types.d.mts +2 -0
- package/dist/types.d.ts +2 -0
- package/package.json +4 -4
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
var _chunk45FJ3WQ6js = require('./chunk-45FJ3WQ6.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkPVZYPNLZjs = require('./chunk-PVZYPNLZ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk44VTNVZAjs = require('./chunk-44VTNVZA.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk523YIUTFjs = require('./chunk-523YIUTF.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -33,10 +33,7 @@ var _chunkL76UPCDFjs = require('./chunk-L76UPCDF.js');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var _chunkX6Y2OZGWjs = require('./chunk-X6Y2OZGW.js');
|
|
36
|
+
var _chunkMCNTIU52js = require('./chunk-MCNTIU52.js');
|
|
40
37
|
|
|
41
38
|
|
|
42
39
|
|
|
@@ -1711,7 +1708,7 @@ var import_dotenv = _chunkRBSVNX4Wjs.__toESM.call(void 0, require_main(), 1);
|
|
|
1711
1708
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
1712
1709
|
|
|
1713
1710
|
var getConfigFileByName = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
1714
|
-
const workspacePath = filePath ||
|
|
1711
|
+
const workspacePath = filePath || _chunkMCNTIU52js.findWorkspaceRoot.call(void 0, filePath);
|
|
1715
1712
|
let config = await loadConfig2({
|
|
1716
1713
|
cwd: workspacePath,
|
|
1717
1714
|
packageJson: true,
|
|
@@ -1719,7 +1716,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, a
|
|
|
1719
1716
|
envName: _optionalChain([fileName, 'optionalAccess', _9 => _9.toUpperCase, 'call', _10 => _10()]),
|
|
1720
1717
|
jitiOptions: {
|
|
1721
1718
|
debug: false,
|
|
1722
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1719
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkMCNTIU52js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
1723
1720
|
},
|
|
1724
1721
|
...options
|
|
1725
1722
|
});
|
|
@@ -1731,7 +1728,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, a
|
|
|
1731
1728
|
envName: _optionalChain([fileName, 'optionalAccess', _11 => _11.toUpperCase, 'call', _12 => _12()]),
|
|
1732
1729
|
jitiOptions: {
|
|
1733
1730
|
debug: false,
|
|
1734
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1731
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkMCNTIU52js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
1735
1732
|
},
|
|
1736
1733
|
configFile: fileName,
|
|
1737
1734
|
...options
|
|
@@ -1740,12 +1737,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, a
|
|
|
1740
1737
|
return config;
|
|
1741
1738
|
}, "getConfigFileByName");
|
|
1742
1739
|
var getConfigFile = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
1743
|
-
const workspacePath = filePath ? filePath :
|
|
1740
|
+
const workspacePath = filePath ? filePath : _chunkMCNTIU52js.findWorkspaceRoot.call(void 0, filePath);
|
|
1744
1741
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
1745
1742
|
let config = result.config;
|
|
1746
1743
|
const configFile = result.configFile;
|
|
1747
1744
|
if (config && configFile && Object.keys(config).length > 0) {
|
|
1748
|
-
|
|
1745
|
+
_chunkMCNTIU52js.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
1749
1746
|
logLevel: "all"
|
|
1750
1747
|
});
|
|
1751
1748
|
}
|
|
@@ -1753,7 +1750,7 @@ var getConfigFile = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (
|
|
|
1753
1750
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
1754
1751
|
for (const result2 of results) {
|
|
1755
1752
|
if (_optionalChain([result2, 'optionalAccess', _13 => _13.config]) && _optionalChain([result2, 'optionalAccess', _14 => _14.configFile]) && Object.keys(result2.config).length > 0) {
|
|
1756
|
-
|
|
1753
|
+
_chunkMCNTIU52js.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
1757
1754
|
logLevel: "all"
|
|
1758
1755
|
});
|
|
1759
1756
|
config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
|
|
@@ -1789,15 +1786,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => {
|
|
|
1789
1786
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
1790
1787
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1791
1788
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1792
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
1793
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1789
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
1790
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1794
1791
|
directories: {
|
|
1795
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1796
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1797
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1798
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1799
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1800
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1792
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
1793
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
1794
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
1795
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
1796
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
1797
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkMCNTIU52js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
1801
1798
|
},
|
|
1802
1799
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1803
1800
|
env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1820,7 +1817,7 @@ var getConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, () => {
|
|
|
1820
1817
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
1821
1818
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
1822
1819
|
},
|
|
1823
|
-
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`])) ?
|
|
1820
|
+
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`])) ? _chunkMCNTIU52js.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
1824
1821
|
};
|
|
1825
1822
|
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _config2.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
1826
1823
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
@@ -1975,31 +1972,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config)
|
|
|
1975
1972
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1976
1973
|
}
|
|
1977
1974
|
if (config.configFile) {
|
|
1978
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
1975
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.configFile);
|
|
1979
1976
|
}
|
|
1980
1977
|
if (config.workspaceRoot) {
|
|
1981
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1982
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1983
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1978
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1979
|
+
process.env.NX_WORKSPACE_ROOT = _chunkMCNTIU52js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1980
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkMCNTIU52js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1984
1981
|
}
|
|
1985
1982
|
if (config.directories) {
|
|
1986
1983
|
if (!config.skipCache && config.directories.cache) {
|
|
1987
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1984
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.directories.cache);
|
|
1988
1985
|
}
|
|
1989
1986
|
if (config.directories.data) {
|
|
1990
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1987
|
+
process.env[`${prefix}DATA_DIR`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.directories.data);
|
|
1991
1988
|
}
|
|
1992
1989
|
if (config.directories.config) {
|
|
1993
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1990
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.directories.config);
|
|
1994
1991
|
}
|
|
1995
1992
|
if (config.directories.temp) {
|
|
1996
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1993
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.directories.temp);
|
|
1997
1994
|
}
|
|
1998
1995
|
if (config.directories.log) {
|
|
1999
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1996
|
+
process.env[`${prefix}LOG_DIR`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.directories.log);
|
|
2000
1997
|
}
|
|
2001
1998
|
if (config.directories.build) {
|
|
2002
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1999
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkMCNTIU52js.correctPaths.call(void 0, config.directories.build);
|
|
2003
2000
|
}
|
|
2004
2001
|
}
|
|
2005
2002
|
if (config.skipCache !== void 0) {
|
|
@@ -2053,8 +2050,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, (config)
|
|
|
2053
2050
|
if (config.logLevel) {
|
|
2054
2051
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
2055
2052
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
2056
|
-
process.env.NX_VERBOSE_LOGGING = String(
|
|
2057
|
-
process.env.RUST_BACKTRACE =
|
|
2053
|
+
process.env.NX_VERBOSE_LOGGING = String(_chunkMCNTIU52js.getLogLevel.call(void 0, config.logLevel) >= _chunkMCNTIU52js.LogLevel.DEBUG ? true : false);
|
|
2054
|
+
process.env.RUST_BACKTRACE = _chunkMCNTIU52js.getLogLevel.call(void 0, config.logLevel) >= _chunkMCNTIU52js.LogLevel.DEBUG ? "full" : "none";
|
|
2058
2055
|
}
|
|
2059
2056
|
process.env[`${prefix}CONFIG`] = JSON.stringify(config);
|
|
2060
2057
|
for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
|
|
@@ -2164,26 +2161,59 @@ var _static_cache = void 0;
|
|
|
2164
2161
|
var loadStormConfig = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (workspaceRoot) => {
|
|
2165
2162
|
let config = {};
|
|
2166
2163
|
if (_optionalChain([_static_cache, 'optionalAccess', _37 => _37.data]) && _optionalChain([_static_cache, 'optionalAccess', _38 => _38.timestamp]) && _static_cache.timestamp >= Date.now() + 3e4) {
|
|
2167
|
-
|
|
2164
|
+
_chunkMCNTIU52js.writeTrace.call(void 0, `Configuration cache hit - ${_static_cache.timestamp}`, _static_cache.data);
|
|
2168
2165
|
return _static_cache.data;
|
|
2169
2166
|
}
|
|
2170
2167
|
let _workspaceRoot = workspaceRoot;
|
|
2171
2168
|
if (!_workspaceRoot) {
|
|
2172
|
-
_workspaceRoot =
|
|
2169
|
+
_workspaceRoot = _chunkMCNTIU52js.findWorkspaceRoot.call(void 0, );
|
|
2173
2170
|
}
|
|
2174
2171
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
2175
2172
|
if (!configFile) {
|
|
2176
|
-
|
|
2173
|
+
_chunkMCNTIU52js.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
|
|
2177
2174
|
logLevel: "all"
|
|
2178
2175
|
});
|
|
2179
2176
|
}
|
|
2180
|
-
config = _defu2.default.call(void 0, getConfigEnv(), configFile,
|
|
2177
|
+
config = _defu2.default.call(void 0, getConfigEnv(), configFile, _chunkMCNTIU52js.getDefaultConfig.call(void 0, _workspaceRoot));
|
|
2181
2178
|
setConfigEnv(config);
|
|
2182
|
-
|
|
2183
|
-
${
|
|
2179
|
+
_chunkMCNTIU52js.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
|
|
2180
|
+
${_chunkMCNTIU52js.formatLogMessage.call(void 0, config)}`, config);
|
|
2184
2181
|
return config;
|
|
2185
2182
|
}, "loadStormConfig");
|
|
2186
2183
|
|
|
2184
|
+
// ../config-tools/src/logger/create-logger.ts
|
|
2185
|
+
_chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
2186
|
+
|
|
2187
|
+
async function createLogger(config) {
|
|
2188
|
+
const workspaceRoot = _chunkMCNTIU52js.findWorkspaceRoot.call(void 0, );
|
|
2189
|
+
if (!workspaceRoot) {
|
|
2190
|
+
throw new Error("Cannot find workspace root");
|
|
2191
|
+
}
|
|
2192
|
+
const jiti = _jiti.createJiti.call(void 0, _optionalChain([config, 'optionalAccess', _39 => _39.workspaceRoot]) || workspaceRoot, {
|
|
2193
|
+
fsCache: "node_modules/.cache/storm/jiti",
|
|
2194
|
+
interopDefault: true
|
|
2195
|
+
});
|
|
2196
|
+
const chalk = await jiti.import("chalk");
|
|
2197
|
+
const writeFatal = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.FATAL, config, chalk);
|
|
2198
|
+
const writeError = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.ERROR, config, chalk);
|
|
2199
|
+
const writeWarning2 = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.WARN, config, chalk);
|
|
2200
|
+
const writeInfo = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.INFO, config, chalk);
|
|
2201
|
+
const writeSuccess = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.SUCCESS, config, chalk);
|
|
2202
|
+
const writeDebug = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.DEBUG, config, chalk);
|
|
2203
|
+
const writeTrace2 = _chunkMCNTIU52js.getLogFn.call(void 0, _chunkMCNTIU52js.LogLevel.DEBUG, config, chalk);
|
|
2204
|
+
return {
|
|
2205
|
+
fatal: writeFatal,
|
|
2206
|
+
error: writeError,
|
|
2207
|
+
warning: writeWarning2,
|
|
2208
|
+
info: writeInfo,
|
|
2209
|
+
success: writeSuccess,
|
|
2210
|
+
debug: writeDebug,
|
|
2211
|
+
trace: writeTrace2,
|
|
2212
|
+
getStopwatch: _chunkMCNTIU52js.getStopwatch
|
|
2213
|
+
};
|
|
2214
|
+
}
|
|
2215
|
+
_chunkRBSVNX4Wjs.__name.call(void 0, createLogger, "createLogger");
|
|
2216
|
+
|
|
2187
2217
|
// src/build.ts
|
|
2188
2218
|
|
|
2189
2219
|
|
|
@@ -2196,29 +2226,30 @@ async function resolveOptions(options) {
|
|
|
2196
2226
|
if (!projectRoot) {
|
|
2197
2227
|
throw new Error("Cannot find project root");
|
|
2198
2228
|
}
|
|
2199
|
-
const outputPath = options.outputPath ||
|
|
2229
|
+
const outputPath = options.outputPath || _chunkMCNTIU52js.joinPaths.call(void 0, "dist", projectRoot);
|
|
2200
2230
|
const workspaceRoot = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
|
|
2201
2231
|
if (!workspaceRoot) {
|
|
2202
2232
|
throw new Error("Cannot find workspace root");
|
|
2203
2233
|
}
|
|
2204
2234
|
const config = await loadStormConfig(workspaceRoot.dir);
|
|
2205
|
-
|
|
2206
|
-
|
|
2235
|
+
const logger = await createLogger(config);
|
|
2236
|
+
logger.debug(" \u2699\uFE0F Resolving build options");
|
|
2237
|
+
const stopwatch = logger.getStopwatch("Build options resolution");
|
|
2207
2238
|
if (options.configPath) {
|
|
2208
|
-
const configFile = await
|
|
2239
|
+
const configFile = await _chunk523YIUTFjs.loadConfig.call(void 0, options.configPath);
|
|
2209
2240
|
if (configFile) {
|
|
2210
2241
|
options = _defu2.default.call(void 0, options, configFile);
|
|
2211
2242
|
}
|
|
2212
2243
|
}
|
|
2213
2244
|
const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
2214
|
-
const projectJsonPath =
|
|
2245
|
+
const projectJsonPath = _chunkMCNTIU52js.joinPaths.call(void 0, config.workspaceRoot, projectRoot, "project.json");
|
|
2215
2246
|
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
2216
2247
|
throw new Error("Cannot find project.json configuration");
|
|
2217
2248
|
}
|
|
2218
2249
|
const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
|
|
2219
2250
|
const projectJson = JSON.parse(projectJsonContent);
|
|
2220
2251
|
const projectName = projectJson.name;
|
|
2221
|
-
const packageJsonPath =
|
|
2252
|
+
const packageJsonPath = _chunkMCNTIU52js.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "package.json");
|
|
2222
2253
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2223
2254
|
throw new Error("Cannot find package.json configuration");
|
|
2224
2255
|
}
|
|
@@ -2226,14 +2257,14 @@ async function resolveOptions(options) {
|
|
|
2226
2257
|
const packageJson = JSON.parse(packageJsonContent);
|
|
2227
2258
|
let tsconfig = options.tsconfig;
|
|
2228
2259
|
if (!tsconfig) {
|
|
2229
|
-
tsconfig =
|
|
2260
|
+
tsconfig = _chunkMCNTIU52js.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "tsconfig.json");
|
|
2230
2261
|
}
|
|
2231
2262
|
if (!_fs.existsSync.call(void 0, tsconfig)) {
|
|
2232
2263
|
throw new Error("Cannot find tsconfig.json configuration");
|
|
2233
2264
|
}
|
|
2234
2265
|
let sourceRoot = projectJson.sourceRoot;
|
|
2235
2266
|
if (!sourceRoot) {
|
|
2236
|
-
sourceRoot =
|
|
2267
|
+
sourceRoot = _chunkMCNTIU52js.joinPaths.call(void 0, projectRoot, "src");
|
|
2237
2268
|
}
|
|
2238
2269
|
if (!_fs.existsSync.call(void 0, sourceRoot)) {
|
|
2239
2270
|
throw new Error("Cannot find sourceRoot directory");
|
|
@@ -2246,7 +2277,7 @@ async function resolveOptions(options) {
|
|
|
2246
2277
|
dependencies.push(tsLibDependency);
|
|
2247
2278
|
}
|
|
2248
2279
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
2249
|
-
fsCache: config.skipCache ? false :
|
|
2280
|
+
fsCache: config.skipCache ? false : _chunkMCNTIU52js.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
|
|
2250
2281
|
interopDefault: true
|
|
2251
2282
|
});
|
|
2252
2283
|
const resolvedOptions = {
|
|
@@ -2257,19 +2288,20 @@ async function resolveOptions(options) {
|
|
|
2257
2288
|
projectName,
|
|
2258
2289
|
tsconfig,
|
|
2259
2290
|
jiti,
|
|
2291
|
+
logger,
|
|
2260
2292
|
clean: false,
|
|
2261
2293
|
entries: [
|
|
2262
2294
|
{
|
|
2263
2295
|
builder: "mkdist",
|
|
2264
2296
|
input: `.${sourceRoot.replace(projectRoot, "")}`,
|
|
2265
|
-
outDir:
|
|
2297
|
+
outDir: _chunkMCNTIU52js.joinPaths.call(void 0, _path.relative.call(void 0, _chunkMCNTIU52js.joinPaths.call(void 0, config.workspaceRoot, projectRoot), config.workspaceRoot).replaceAll("\\", "/"), outputPath, "dist").replaceAll("\\", "/"),
|
|
2266
2298
|
declaration: options.emitTypes !== false,
|
|
2267
2299
|
format: "esm"
|
|
2268
2300
|
},
|
|
2269
2301
|
{
|
|
2270
2302
|
builder: "mkdist",
|
|
2271
2303
|
input: `.${sourceRoot.replace(projectRoot, "")}`,
|
|
2272
|
-
outDir:
|
|
2304
|
+
outDir: _chunkMCNTIU52js.joinPaths.call(void 0, _path.relative.call(void 0, _chunkMCNTIU52js.joinPaths.call(void 0, config.workspaceRoot, projectRoot), config.workspaceRoot).replaceAll("\\", "/"), outputPath, "dist").replaceAll("\\", "/"),
|
|
2273
2305
|
declaration: options.emitTypes !== false,
|
|
2274
2306
|
format: "cjs",
|
|
2275
2307
|
ext: "cjs"
|
|
@@ -2327,7 +2359,7 @@ async function resolveOptions(options) {
|
|
|
2327
2359
|
splitting: options.splitting !== false,
|
|
2328
2360
|
treeShaking: options.treeShaking !== false,
|
|
2329
2361
|
color: true,
|
|
2330
|
-
logLevel: config.logLevel ===
|
|
2362
|
+
logLevel: config.logLevel === _chunkMCNTIU52js.LogLevelLabel.FATAL ? _chunkMCNTIU52js.LogLevelLabel.ERROR : _chunkMCNTIU52js.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
|
|
2331
2363
|
}
|
|
2332
2364
|
}
|
|
2333
2365
|
};
|
|
@@ -2344,7 +2376,7 @@ async function resolveOptions(options) {
|
|
|
2344
2376
|
if (options.rollup) {
|
|
2345
2377
|
let rollup = {};
|
|
2346
2378
|
if (typeof options.rollup === "string") {
|
|
2347
|
-
const rollupFile = await
|
|
2379
|
+
const rollupFile = await _chunk523YIUTFjs.loadConfig.call(void 0, options.rollup);
|
|
2348
2380
|
if (rollupFile) {
|
|
2349
2381
|
rollup = rollupFile;
|
|
2350
2382
|
}
|
|
@@ -2355,7 +2387,7 @@ async function resolveOptions(options) {
|
|
|
2355
2387
|
}
|
|
2356
2388
|
resolvedOptions.hooks = {
|
|
2357
2389
|
"rollup:options": /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (ctx, opts) => {
|
|
2358
|
-
opts.plugins = await _asyncNullishCoalesce(options.plugins, async () => ( await
|
|
2390
|
+
opts.plugins = await _asyncNullishCoalesce(options.plugins, async () => ( await _chunk44VTNVZAjs.getDefaultBuildPlugins.call(void 0, options, resolvedOptions)));
|
|
2359
2391
|
}, "rollup:options")
|
|
2360
2392
|
};
|
|
2361
2393
|
stopwatch();
|
|
@@ -2363,32 +2395,32 @@ async function resolveOptions(options) {
|
|
|
2363
2395
|
}
|
|
2364
2396
|
_chunkRBSVNX4Wjs.__name.call(void 0, resolveOptions, "resolveOptions");
|
|
2365
2397
|
async function generatePackageJson(options) {
|
|
2366
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2367
|
-
|
|
2368
|
-
const stopwatch =
|
|
2369
|
-
const packageJsonPath =
|
|
2398
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkMCNTIU52js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
2399
|
+
options.logger.debug(" \u270D\uFE0F Writing package.json file");
|
|
2400
|
+
const stopwatch = options.logger.getStopwatch("Write package.json file");
|
|
2401
|
+
const packageJsonPath = _chunkMCNTIU52js.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
2370
2402
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2371
2403
|
throw new Error("Cannot find package.json configuration");
|
|
2372
2404
|
}
|
|
2373
|
-
let packageJsonContent = await _promises.readFile.call(void 0,
|
|
2405
|
+
let packageJsonContent = await _promises.readFile.call(void 0, _chunkMCNTIU52js.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
2374
2406
|
if (!packageJsonContent) {
|
|
2375
2407
|
throw new Error("Cannot find package.json configuration file");
|
|
2376
2408
|
}
|
|
2377
2409
|
let packageJson = JSON.parse(packageJsonContent);
|
|
2378
2410
|
packageJson = await _buildtools.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
2379
2411
|
packageJson = await _buildtools.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
2380
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
2412
|
+
await _devkit.writeJsonFile.call(void 0, _chunkMCNTIU52js.joinPaths.call(void 0, options.outDir, "package.json"), await _buildtools.addPackageJsonExports.call(void 0, options.sourceRoot, packageJson));
|
|
2381
2413
|
stopwatch();
|
|
2382
2414
|
}
|
|
2383
2415
|
return options;
|
|
2384
2416
|
}
|
|
2385
2417
|
_chunkRBSVNX4Wjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
2386
2418
|
async function resolveUnbuild(options) {
|
|
2387
|
-
|
|
2419
|
+
options.logger.trace(`Resolving Unbuild package with Jiti`);
|
|
2388
2420
|
try {
|
|
2389
2421
|
return options.jiti.import("unbuild");
|
|
2390
2422
|
} catch (error) {
|
|
2391
|
-
|
|
2423
|
+
options.logger.error(" \u274C An error occurred while resolving the Unbuild package");
|
|
2392
2424
|
throw new Error("An error occurred while resolving the Unbuild package", {
|
|
2393
2425
|
cause: error
|
|
2394
2426
|
});
|
|
@@ -2396,8 +2428,8 @@ async function resolveUnbuild(options) {
|
|
|
2396
2428
|
}
|
|
2397
2429
|
_chunkRBSVNX4Wjs.__name.call(void 0, resolveUnbuild, "resolveUnbuild");
|
|
2398
2430
|
async function executeUnbuild(options) {
|
|
2399
|
-
|
|
2400
|
-
const stopwatch =
|
|
2431
|
+
options.logger.debug(` \u{1F680} Running ${options.name} (${options.projectRoot}) build`);
|
|
2432
|
+
const stopwatch = options.logger.getStopwatch(`${options.name} (${options.projectRoot}) build`);
|
|
2401
2433
|
try {
|
|
2402
2434
|
const unbuild = await resolveUnbuild(options);
|
|
2403
2435
|
await unbuild.build(options.projectRoot, false, {
|
|
@@ -2411,8 +2443,8 @@ async function executeUnbuild(options) {
|
|
|
2411
2443
|
}
|
|
2412
2444
|
_chunkRBSVNX4Wjs.__name.call(void 0, executeUnbuild, "executeUnbuild");
|
|
2413
2445
|
async function copyBuildAssets(options) {
|
|
2414
|
-
|
|
2415
|
-
const stopwatch =
|
|
2446
|
+
options.logger.debug(` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`);
|
|
2447
|
+
const stopwatch = options.logger.getStopwatch(`${options.name} asset copy`);
|
|
2416
2448
|
await _buildtools.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.projectName, options.sourceRoot, options.generatePackageJson, options.includeSrc);
|
|
2417
2449
|
stopwatch();
|
|
2418
2450
|
return options;
|
|
@@ -2420,23 +2452,26 @@ async function copyBuildAssets(options) {
|
|
|
2420
2452
|
_chunkRBSVNX4Wjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
2421
2453
|
async function cleanOutputPath(options) {
|
|
2422
2454
|
if (options.clean !== false && options.outDir) {
|
|
2423
|
-
|
|
2455
|
+
options.logger.debug(` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`);
|
|
2456
|
+
const stopwatch = options.logger.getStopwatch(`${options.name} output clean`);
|
|
2457
|
+
await _chunkPVZYPNLZjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
|
|
2458
|
+
stopwatch();
|
|
2424
2459
|
}
|
|
2425
2460
|
return options;
|
|
2426
2461
|
}
|
|
2427
2462
|
_chunkRBSVNX4Wjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
2428
2463
|
async function build(options) {
|
|
2429
|
-
|
|
2430
|
-
|
|
2464
|
+
const resolvedOptions = await resolveOptions(options);
|
|
2465
|
+
resolvedOptions.logger.debug(` \u26A1 Executing Storm Unbuild pipeline`);
|
|
2466
|
+
const stopwatch = resolvedOptions.logger.getStopwatch("Unbuild pipeline");
|
|
2431
2467
|
try {
|
|
2432
|
-
const resolvedOptions = await resolveOptions(options);
|
|
2433
2468
|
await cleanOutputPath(resolvedOptions);
|
|
2434
2469
|
await generatePackageJson(resolvedOptions);
|
|
2435
2470
|
await executeUnbuild(resolvedOptions);
|
|
2436
2471
|
await copyBuildAssets(resolvedOptions);
|
|
2437
|
-
|
|
2472
|
+
resolvedOptions.logger.success(` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`);
|
|
2438
2473
|
} catch (error) {
|
|
2439
|
-
|
|
2474
|
+
resolvedOptions.logger.fatal(" \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
|
|
2440
2475
|
throw error;
|
|
2441
2476
|
} finally {
|
|
2442
2477
|
stopwatch();
|
package/dist/clean.d.mts
CHANGED
|
@@ -8,5 +8,13 @@ import { StormConfig } from '@storm-software/config';
|
|
|
8
8
|
* @param config - The StormConfig object
|
|
9
9
|
*/
|
|
10
10
|
declare function clean(name: string | undefined, directory: string, config?: StormConfig): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Clean the Unbuild output path
|
|
13
|
+
*
|
|
14
|
+
* @param name - The name of the executor
|
|
15
|
+
* @param directory - The directory to clean
|
|
16
|
+
* @param config - The StormConfig object
|
|
17
|
+
*/
|
|
18
|
+
declare function cleanDirectories(name: string | undefined, directory: string, config?: StormConfig): Promise<void>;
|
|
11
19
|
|
|
12
|
-
export { clean };
|
|
20
|
+
export { clean, cleanDirectories };
|
package/dist/clean.d.ts
CHANGED
|
@@ -8,5 +8,13 @@ import { StormConfig } from '@storm-software/config';
|
|
|
8
8
|
* @param config - The StormConfig object
|
|
9
9
|
*/
|
|
10
10
|
declare function clean(name: string | undefined, directory: string, config?: StormConfig): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Clean the Unbuild output path
|
|
13
|
+
*
|
|
14
|
+
* @param name - The name of the executor
|
|
15
|
+
* @param directory - The directory to clean
|
|
16
|
+
* @param config - The StormConfig object
|
|
17
|
+
*/
|
|
18
|
+
declare function cleanDirectories(name: string | undefined, directory: string, config?: StormConfig): Promise<void>;
|
|
11
19
|
|
|
12
|
-
export { clean };
|
|
20
|
+
export { clean, cleanDirectories };
|
package/dist/clean.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
require('./chunk-
|
|
3
|
+
|
|
4
|
+
var _chunkPVZYPNLZjs = require('./chunk-PVZYPNLZ.js');
|
|
5
|
+
require('./chunk-MCNTIU52.js');
|
|
5
6
|
require('./chunk-RBSVNX4W.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
|
|
10
|
+
exports.clean = _chunkPVZYPNLZjs.clean; exports.cleanDirectories = _chunkPVZYPNLZjs.cleanDirectories;
|
package/dist/clean.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
clean
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
clean,
|
|
3
|
+
cleanDirectories
|
|
4
|
+
} from "./chunk-6UMHN4KS.mjs";
|
|
5
|
+
import "./chunk-TEEYWCSY.mjs";
|
|
5
6
|
import "./chunk-3TNHGERR.mjs";
|
|
6
7
|
export {
|
|
7
|
-
clean
|
|
8
|
+
clean,
|
|
9
|
+
cleanDirectories
|
|
8
10
|
};
|
package/dist/config.d.mts
CHANGED
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunk44VTNVZAjs = require('./chunk-44VTNVZA.js');
|
|
4
|
+
require('./chunk-523YIUTF.js');
|
|
5
5
|
require('./chunk-P6LWSWAQ.js');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-BUCFGCTW.js');
|
|
7
|
+
require('./chunk-MCNTIU52.js');
|
|
8
|
+
require('./chunk-SQOZCV36.js');
|
|
9
9
|
require('./chunk-RBSVNX4W.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.getDefaultBuildPlugins =
|
|
12
|
+
exports.getDefaultBuildPlugins = _chunk44VTNVZAjs.getDefaultBuildPlugins;
|
package/dist/config.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDefaultBuildPlugins
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ESGPHEWU.mjs";
|
|
4
|
+
import "./chunk-Q4GMTWGF.mjs";
|
|
5
5
|
import "./chunk-4ENAOJ33.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-WXJPXYHF.mjs";
|
|
7
|
+
import "./chunk-TEEYWCSY.mjs";
|
|
8
|
+
import "./chunk-4BAUMYRN.mjs";
|
|
9
9
|
import "./chunk-3TNHGERR.mjs";
|
|
10
10
|
export {
|
|
11
11
|
getDefaultBuildPlugins
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { build } from './build.mjs';
|
|
2
|
-
export { clean } from './clean.mjs';
|
|
2
|
+
export { clean, cleanDirectories } from './clean.mjs';
|
|
3
3
|
export { getDefaultBuildPlugins } from './config.mjs';
|
|
4
4
|
export { DeepPartial, UnbuildCLIOptions, UnbuildOptions, UnbuildResolvedOptions } from './types.mjs';
|
|
5
5
|
import { DependentBuildableProjectNode } from '@nx/js/src/utils/buildable-libs-utils';
|
|
@@ -8,6 +8,7 @@ import ts from 'typescript';
|
|
|
8
8
|
import { RollupBuildOptions } from 'unbuild';
|
|
9
9
|
import 'rollup';
|
|
10
10
|
import '@storm-software/build-tools';
|
|
11
|
+
import '@storm-software/config-tools/types';
|
|
11
12
|
import 'jiti';
|
|
12
13
|
|
|
13
14
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { build } from './build.js';
|
|
2
|
-
export { clean } from './clean.js';
|
|
2
|
+
export { clean, cleanDirectories } from './clean.js';
|
|
3
3
|
export { getDefaultBuildPlugins } from './config.js';
|
|
4
4
|
export { DeepPartial, UnbuildCLIOptions, UnbuildOptions, UnbuildResolvedOptions } from './types.js';
|
|
5
5
|
import { DependentBuildableProjectNode } from '@nx/js/src/utils/buildable-libs-utils';
|
|
@@ -8,6 +8,7 @@ import ts from 'typescript';
|
|
|
8
8
|
import { RollupBuildOptions } from 'unbuild';
|
|
9
9
|
import 'rollup';
|
|
10
10
|
import '@storm-software/build-tools';
|
|
11
|
+
import '@storm-software/config-tools/types';
|
|
11
12
|
import 'jiti';
|
|
12
13
|
|
|
13
14
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkYIP6AERXjs = require('./chunk-YIP6AERX.js');
|
|
4
4
|
require('./chunk-45FJ3WQ6.js');
|
|
5
5
|
require('./chunk-W7YS7HE5.js');
|
|
6
6
|
require('./chunk-RM7SW35Z.js');
|
|
@@ -9,19 +9,20 @@ require('./chunk-4HFICKAT.js');
|
|
|
9
9
|
require('./chunk-NMYL4VJJ.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var _chunk27VOTZLAjs = require('./chunk-27VOTZLA.js');
|
|
13
12
|
|
|
13
|
+
var _chunkPVZYPNLZjs = require('./chunk-PVZYPNLZ.js');
|
|
14
14
|
|
|
15
|
-
var _chunkRNM4JSUGjs = require('./chunk-RNM4JSUG.js');
|
|
16
15
|
|
|
16
|
+
var _chunk44VTNVZAjs = require('./chunk-44VTNVZA.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
var _chunk523YIUTFjs = require('./chunk-523YIUTF.js');
|
|
20
21
|
require('./chunk-P6LWSWAQ.js');
|
|
21
22
|
require('./chunk-7G3WYTPJ.js');
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-BUCFGCTW.js');
|
|
24
|
+
require('./chunk-MCNTIU52.js');
|
|
25
|
+
require('./chunk-SQOZCV36.js');
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
|
|
@@ -34,4 +35,5 @@ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
|
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
|
|
39
|
+
exports.build = _chunkYIP6AERXjs.build; exports.clean = _chunkPVZYPNLZjs.clean; exports.cleanDirectories = _chunkPVZYPNLZjs.cleanDirectories; exports.createTsCompilerOptions = _chunk523YIUTFjs.createTsCompilerOptions; exports.getDefaultBuildPlugins = _chunk44VTNVZAjs.getDefaultBuildPlugins; exports.loadConfig = _chunk523YIUTFjs.loadConfig;
|