@storm-software/esbuild 0.45.23 → 0.45.24
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 +4 -4
- package/dist/assets.js +3 -3
- package/dist/build.cjs +11 -11
- package/dist/build.js +10 -10
- package/dist/{chunk-AH2TOIDQ.cjs → chunk-4HE545P4.cjs} +10 -10
- package/dist/{chunk-LD2J4CP3.cjs → chunk-4LRLQFJJ.cjs} +3 -3
- package/dist/{chunk-AJXAXCLM.js → chunk-4ULX4DBM.js} +1 -1
- package/dist/{chunk-NKZM3SWM.js → chunk-7I26EJWI.js} +1 -1
- package/dist/{chunk-NCO2G2GK.js → chunk-7X74QP66.js} +2 -2
- package/dist/{chunk-FKLOVXUJ.js → chunk-AIAQVLE6.js} +3 -3
- package/dist/{chunk-FLN36M66.cjs → chunk-FHF7HJHV.cjs} +6 -6
- package/dist/{chunk-6ZPYPJOY.js → chunk-HPXSZW4P.js} +7 -7
- package/dist/{chunk-FHUOHYJB.cjs → chunk-J4PCKY3U.cjs} +17 -20
- package/dist/{chunk-NPY5BN7C.cjs → chunk-K2XUWJDS.cjs} +48 -54
- package/dist/{chunk-MZV73UG4.cjs → chunk-OIZBG247.cjs} +3 -3
- package/dist/{chunk-75GFQQQS.cjs → chunk-PTL6WQOU.cjs} +5 -5
- package/dist/{chunk-4QCMXRFN.cjs → chunk-SPQZ3B6W.cjs} +22 -22
- package/dist/{chunk-G3IH5OMD.js → chunk-TXFPCK5S.js} +1 -1
- package/dist/{chunk-CYTVDBTY.js → chunk-U3O7UOPK.js} +2 -2
- package/dist/{chunk-RCSPP6TR.js → chunk-ULL45PNX.js} +1 -1
- package/dist/{chunk-X2LVFYMY.js → chunk-WEVIUNTH.js} +17 -20
- package/dist/{chunk-SYM37AB2.cjs → chunk-XMYVVZ7Y.cjs} +3 -3
- package/dist/{chunk-6TTUM4UG.js → chunk-YACE4BS2.js} +21 -27
- package/dist/{chunk-HZUMM6TX.cjs → chunk-YUAMFY7G.cjs} +3 -3
- package/dist/clean.cjs +3 -3
- package/dist/clean.js +2 -2
- package/dist/config.cjs +4 -4
- package/dist/config.js +3 -3
- package/dist/context.cjs +5 -5
- package/dist/context.js +4 -4
- package/dist/index.cjs +11 -11
- package/dist/index.js +10 -10
- package/dist/package-json.cjs +4 -4
- package/dist/package-json.js +3 -3
- package/dist/plugins/deps-check.cjs +3 -3
- package/dist/plugins/deps-check.js +2 -2
- package/dist/tsup.cjs +3 -3
- package/dist/tsup.js +2 -2
- package/dist/watch.cjs +3 -3
- package/dist/watch.js +1 -1
- package/package.json +5 -5
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -65,7 +65,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
65
65
|
output: "src/"
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
_chunkJ4PCKY3Ucjs.writeTrace.call(void 0,
|
|
69
69
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
70
70
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkREAX6FSOcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
71
71
|
config
|
|
@@ -78,7 +78,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
78
78
|
});
|
|
79
79
|
await assetHandler.processAllAssetsOnce();
|
|
80
80
|
if (includeSrc === true) {
|
|
81
|
-
|
|
81
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0,
|
|
82
82
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkREAX6FSOcjs.joinPaths.call(void 0,
|
|
83
83
|
outputPath,
|
|
84
84
|
"src"
|
|
@@ -163,7 +163,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
if (localPackages.length > 0) {
|
|
166
|
-
|
|
166
|
+
_chunkJ4PCKY3Ucjs.writeTrace.call(void 0,
|
|
167
167
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
168
168
|
);
|
|
169
169
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -211,12 +211,12 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
211
211
|
return ret;
|
|
212
212
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
213
213
|
} else {
|
|
214
|
-
|
|
214
|
+
_chunkJ4PCKY3Ucjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
215
215
|
}
|
|
216
216
|
return packageJson;
|
|
217
217
|
};
|
|
218
218
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
219
|
-
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
219
|
+
const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkJ4PCKY3Ucjs.findWorkspaceRoot.call(void 0, );
|
|
220
220
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
221
221
|
_chunkREAX6FSOcjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
|
|
222
222
|
"utf8"
|
|
@@ -270,7 +270,7 @@ _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
|
270
270
|
var _c12 = require('c12');
|
|
271
271
|
|
|
272
272
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
273
|
-
const workspacePath = filePath ||
|
|
273
|
+
const workspacePath = filePath || _chunkJ4PCKY3Ucjs.findWorkspaceRoot.call(void 0, filePath);
|
|
274
274
|
const configs = await Promise.all([
|
|
275
275
|
_c12.loadConfig.call(void 0, {
|
|
276
276
|
cwd: workspacePath,
|
|
@@ -305,12 +305,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
305
305
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
306
306
|
};
|
|
307
307
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
308
|
-
const workspacePath = filePath ? filePath :
|
|
308
|
+
const workspacePath = filePath ? filePath : _chunkJ4PCKY3Ucjs.findWorkspaceRoot.call(void 0, filePath);
|
|
309
309
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
310
310
|
let config = result.config;
|
|
311
311
|
const configFile = result.configFile;
|
|
312
312
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
313
|
-
|
|
313
|
+
_chunkJ4PCKY3Ucjs.writeTrace.call(void 0,
|
|
314
314
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
315
315
|
{
|
|
316
316
|
logLevel: "all"
|
|
@@ -326,7 +326,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
326
326
|
for (const result2 of results) {
|
|
327
327
|
if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
|
|
328
328
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
329
|
-
|
|
329
|
+
_chunkJ4PCKY3Ucjs.writeTrace.call(void 0,
|
|
330
330
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
331
331
|
{
|
|
332
332
|
logLevel: "all"
|
|
@@ -378,13 +378,13 @@ var getConfigEnv = () => {
|
|
|
378
378
|
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
379
379
|
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
380
380
|
},
|
|
381
|
-
|
|
382
|
-
twitter: process.env[`${prefix}
|
|
383
|
-
discord: process.env[`${prefix}
|
|
384
|
-
telegram: process.env[`${prefix}
|
|
385
|
-
slack: process.env[`${prefix}
|
|
386
|
-
medium: process.env[`${prefix}
|
|
387
|
-
github: process.env[`${prefix}
|
|
381
|
+
socials: {
|
|
382
|
+
twitter: process.env[`${prefix}SOCIAL_TWITTER`] || void 0,
|
|
383
|
+
discord: process.env[`${prefix}SOCIAL_DISCORD`] || void 0,
|
|
384
|
+
telegram: process.env[`${prefix}SOCIAL_TELEGRAM`] || void 0,
|
|
385
|
+
slack: process.env[`${prefix}SOCIAL_SLACK`] || void 0,
|
|
386
|
+
medium: process.env[`${prefix}SOCIAL_MEDIUM`] || void 0,
|
|
387
|
+
github: process.env[`${prefix}SOCIAL_GITHUB`] || void 0
|
|
388
388
|
},
|
|
389
389
|
organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
|
|
390
390
|
name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
|
|
@@ -426,7 +426,6 @@ var getConfigEnv = () => {
|
|
|
426
426
|
repository: process.env[`${prefix}REPOSITORY`] || void 0,
|
|
427
427
|
branch: process.env[`${prefix}BRANCH`] || void 0,
|
|
428
428
|
preid: process.env[`${prefix}PRE_ID`] || void 0,
|
|
429
|
-
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
430
429
|
registry: {
|
|
431
430
|
github: process.env[`${prefix}REGISTRY_GITHUB`] || void 0,
|
|
432
431
|
npm: process.env[`${prefix}REGISTRY_NPM`] || void 0,
|
|
@@ -436,13 +435,13 @@ var getConfigEnv = () => {
|
|
|
436
435
|
},
|
|
437
436
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
438
437
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
439
|
-
) ?
|
|
438
|
+
) ? _chunkJ4PCKY3Ucjs.getLogLevelLabel.call(void 0,
|
|
440
439
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
441
440
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
442
441
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
443
442
|
};
|
|
444
443
|
const themeNames = Object.keys(process.env).filter(
|
|
445
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
444
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkJ4PCKY3Ucjs.COLOR_KEYS.every(
|
|
446
445
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
447
446
|
)
|
|
448
447
|
);
|
|
@@ -453,16 +452,16 @@ var getConfigEnv = () => {
|
|
|
453
452
|
},
|
|
454
453
|
{}
|
|
455
454
|
) : getThemeColorConfigEnv(prefix);
|
|
456
|
-
if (config.docs ===
|
|
457
|
-
if (config.homepage ===
|
|
458
|
-
config.docs = `${
|
|
455
|
+
if (config.docs === _chunkJ4PCKY3Ucjs.STORM_DEFAULT_DOCS) {
|
|
456
|
+
if (config.homepage === _chunkJ4PCKY3Ucjs.STORM_DEFAULT_HOMEPAGE) {
|
|
457
|
+
config.docs = `${_chunkJ4PCKY3Ucjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
459
458
|
} else {
|
|
460
459
|
config.docs = `${config.homepage}/docs`;
|
|
461
460
|
}
|
|
462
461
|
}
|
|
463
|
-
if (config.licensing ===
|
|
464
|
-
if (config.homepage ===
|
|
465
|
-
config.licensing = `${
|
|
462
|
+
if (config.licensing === _chunkJ4PCKY3Ucjs.STORM_DEFAULT_LICENSING) {
|
|
463
|
+
if (config.homepage === _chunkJ4PCKY3Ucjs.STORM_DEFAULT_HOMEPAGE) {
|
|
464
|
+
config.licensing = `${_chunkJ4PCKY3Ucjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
466
465
|
} else {
|
|
467
466
|
config.licensing = `${config.homepage}/docs`;
|
|
468
467
|
}
|
|
@@ -579,24 +578,24 @@ var setConfigEnv = (config) => {
|
|
|
579
578
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
580
579
|
process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
|
|
581
580
|
}
|
|
582
|
-
if (config.
|
|
583
|
-
if (config.
|
|
584
|
-
process.env[`${prefix}
|
|
581
|
+
if (config.socials) {
|
|
582
|
+
if (config.socials.twitter) {
|
|
583
|
+
process.env[`${prefix}SOCIAL_TWITTER`] = config.socials.twitter;
|
|
585
584
|
}
|
|
586
|
-
if (config.
|
|
587
|
-
process.env[`${prefix}
|
|
585
|
+
if (config.socials.discord) {
|
|
586
|
+
process.env[`${prefix}SOCIAL_DISCORD`] = config.socials.discord;
|
|
588
587
|
}
|
|
589
|
-
if (config.
|
|
590
|
-
process.env[`${prefix}
|
|
588
|
+
if (config.socials.telegram) {
|
|
589
|
+
process.env[`${prefix}SOCIAL_TELEGRAM`] = config.socials.telegram;
|
|
591
590
|
}
|
|
592
|
-
if (config.
|
|
593
|
-
process.env[`${prefix}
|
|
591
|
+
if (config.socials.slack) {
|
|
592
|
+
process.env[`${prefix}SOCIAL_SLACK`] = config.socials.slack;
|
|
594
593
|
}
|
|
595
|
-
if (config.
|
|
596
|
-
process.env[`${prefix}
|
|
594
|
+
if (config.socials.medium) {
|
|
595
|
+
process.env[`${prefix}SOCIAL_MEDIUM`] = config.socials.medium;
|
|
597
596
|
}
|
|
598
|
-
if (config.
|
|
599
|
-
process.env[`${prefix}
|
|
597
|
+
if (config.socials.github) {
|
|
598
|
+
process.env[`${prefix}SOCIAL_GITHUB`] = config.socials.github;
|
|
600
599
|
}
|
|
601
600
|
}
|
|
602
601
|
if (config.organization) {
|
|
@@ -734,11 +733,6 @@ var setConfigEnv = (config) => {
|
|
|
734
733
|
if (config.preid) {
|
|
735
734
|
process.env[`${prefix}PRE_ID`] = String(config.preid);
|
|
736
735
|
}
|
|
737
|
-
if (config.externalPackagePatterns) {
|
|
738
|
-
process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(
|
|
739
|
-
config.externalPackagePatterns
|
|
740
|
-
);
|
|
741
|
-
}
|
|
742
736
|
if (config.registry) {
|
|
743
737
|
if (config.registry.github) {
|
|
744
738
|
process.env[`${prefix}REGISTRY_GITHUB`] = String(config.registry.github);
|
|
@@ -764,9 +758,9 @@ var setConfigEnv = (config) => {
|
|
|
764
758
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
765
759
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
766
760
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
767
|
-
|
|
761
|
+
_chunkJ4PCKY3Ucjs.getLogLevel.call(void 0, config.logLevel) >= _chunkJ4PCKY3Ucjs.LogLevel.DEBUG ? true : false
|
|
768
762
|
);
|
|
769
|
-
process.env.RUST_BACKTRACE =
|
|
763
|
+
process.env.RUST_BACKTRACE = _chunkJ4PCKY3Ucjs.getLogLevel.call(void 0, config.logLevel) >= _chunkJ4PCKY3Ucjs.LogLevel.DEBUG ? "full" : "none";
|
|
770
764
|
}
|
|
771
765
|
if (config.skipConfigLogging !== void 0) {
|
|
772
766
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -886,13 +880,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
886
880
|
if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
887
881
|
let _workspaceRoot = workspaceRoot;
|
|
888
882
|
if (!_workspaceRoot) {
|
|
889
|
-
_workspaceRoot =
|
|
883
|
+
_workspaceRoot = _chunkJ4PCKY3Ucjs.findWorkspaceRoot.call(void 0, );
|
|
890
884
|
}
|
|
891
885
|
const configEnv = getConfigEnv();
|
|
892
886
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
893
887
|
if (!configFile) {
|
|
894
888
|
if (!skipLogs) {
|
|
895
|
-
|
|
889
|
+
_chunkJ4PCKY3Ucjs.writeWarning.call(void 0,
|
|
896
890
|
"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",
|
|
897
891
|
{ logLevel: "all" }
|
|
898
892
|
);
|
|
@@ -901,9 +895,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
901
895
|
return void 0;
|
|
902
896
|
}
|
|
903
897
|
}
|
|
904
|
-
const defaultConfig = await
|
|
905
|
-
result =
|
|
906
|
-
await
|
|
898
|
+
const defaultConfig = await _chunkJ4PCKY3Ucjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
899
|
+
result = _chunkJ4PCKY3Ucjs.applyDefaultConfig.call(void 0,
|
|
900
|
+
await _chunkJ4PCKY3Ucjs.stormWorkspaceConfigSchema.parseAsync(
|
|
907
901
|
_defu2.default.call(void 0, configEnv, configFile, defaultConfig)
|
|
908
902
|
)
|
|
909
903
|
);
|
|
@@ -945,9 +939,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
945
939
|
);
|
|
946
940
|
setConfigEnv(config);
|
|
947
941
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
948
|
-
|
|
942
|
+
_chunkJ4PCKY3Ucjs.writeTrace.call(void 0,
|
|
949
943
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
950
|
-
${
|
|
944
|
+
${_chunkJ4PCKY3Ucjs.formatLogMessage.call(void 0, config)}`,
|
|
951
945
|
config
|
|
952
946
|
);
|
|
953
947
|
}
|
|
@@ -961,7 +955,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
|
|
|
961
955
|
var getWorkspaceConfig = (skipLogs = true, options = {}) => {
|
|
962
956
|
let workspaceRoot = options.workspaceRoot;
|
|
963
957
|
if (!workspaceRoot) {
|
|
964
|
-
workspaceRoot =
|
|
958
|
+
workspaceRoot = _chunkJ4PCKY3Ucjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
965
959
|
}
|
|
966
960
|
return getConfig(workspaceRoot, skipLogs);
|
|
967
961
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
@@ -10,8 +10,8 @@ var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
|
10
10
|
_chunk4ICWACJMcjs.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
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
14
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
15
15
|
await cleanDirectories(directory);
|
|
16
16
|
stopwatch();
|
|
17
17
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkK2XUWJDScjs = require('./chunk-K2XUWJDS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
@@ -13,12 +13,12 @@ var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
|
13
13
|
_chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
async function copyBuildAssets(context) {
|
|
15
15
|
if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
|
|
16
|
-
|
|
16
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0,
|
|
17
17
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
18
18
|
context.workspaceConfig
|
|
19
19
|
);
|
|
20
|
-
const stopwatch =
|
|
21
|
-
await
|
|
20
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
21
|
+
await _chunkK2XUWJDScjs.copyAssets.call(void 0,
|
|
22
22
|
context.workspaceConfig,
|
|
23
23
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
24
24
|
context.outputPath,
|
|
@@ -1,21 +1,21 @@
|
|
|
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 _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 _chunkYUAMFY7Gcjs = require('./chunk-YUAMFY7G.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkPTL6WQOUcjs = require('./chunk-PTL6WQOU.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkOIZBG247cjs = require('./chunk-OIZBG247.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk4HE545P4cjs = require('./chunk-4HE545P4.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkFHF7HJHVcjs = require('./chunk-FHF7HJHV.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk4LRLQFJJcjs = require('./chunk-4LRLQFJJ.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ var _chunkLD2J4CP3cjs = require('./chunk-LD2J4CP3.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
@@ -35,17 +35,17 @@ var _globby = require('globby');
|
|
|
35
35
|
async function reportResults(context) {
|
|
36
36
|
if (_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) === 0) {
|
|
37
37
|
if (context.result.warnings.length > 0) {
|
|
38
|
-
|
|
38
|
+
_chunkJ4PCKY3Ucjs.writeWarning.call(void 0,
|
|
39
39
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
40
40
|
context.workspaceConfig
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
_chunkJ4PCKY3Ucjs.writeSuccess.call(void 0,
|
|
44
44
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
45
45
|
context.workspaceConfig
|
|
46
46
|
);
|
|
47
47
|
} else if (_optionalChain([context, 'access', _4 => _4.result, 'optionalAccess', _5 => _5.errors]) && _optionalChain([context, 'access', _6 => _6.result, 'optionalAccess', _7 => _7.errors, 'access', _8 => _8.length]) > 0) {
|
|
48
|
-
|
|
48
|
+
_chunkJ4PCKY3Ucjs.writeError.call(void 0,
|
|
49
49
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
50
50
|
context.workspaceConfig
|
|
51
51
|
);
|
|
@@ -74,7 +74,7 @@ async function dependencyCheck(options) {
|
|
|
74
74
|
write: false,
|
|
75
75
|
// no need to write for analysis
|
|
76
76
|
outdir: "out",
|
|
77
|
-
plugins: [
|
|
77
|
+
plugins: [_chunkYUAMFY7Gcjs.depsCheckPlugin.call(void 0, options.bundle)]
|
|
78
78
|
});
|
|
79
79
|
await buildPromise.catch(() => {
|
|
80
80
|
});
|
|
@@ -82,36 +82,36 @@ async function dependencyCheck(options) {
|
|
|
82
82
|
}
|
|
83
83
|
async function cleanOutputPath(context) {
|
|
84
84
|
if (context.clean !== false && context.outputPath) {
|
|
85
|
-
|
|
85
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0,
|
|
86
86
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
87
87
|
context.workspaceConfig
|
|
88
88
|
);
|
|
89
|
-
const stopwatch =
|
|
90
|
-
await
|
|
89
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
90
|
+
await _chunkOIZBG247cjs.cleanDirectories.call(void 0, context.outputPath);
|
|
91
91
|
stopwatch();
|
|
92
92
|
}
|
|
93
93
|
return context;
|
|
94
94
|
}
|
|
95
95
|
async function build2(options) {
|
|
96
|
-
|
|
97
|
-
const stopwatch =
|
|
96
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
97
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
98
98
|
try {
|
|
99
99
|
const opts = Array.isArray(options) ? options : [options];
|
|
100
100
|
if (opts.length === 0) {
|
|
101
101
|
throw new Error("No build options were provided");
|
|
102
102
|
}
|
|
103
|
-
const context = await
|
|
103
|
+
const context = await _chunk4HE545P4cjs.resolveContext.call(void 0, options);
|
|
104
104
|
await cleanOutputPath(context);
|
|
105
105
|
await Promise.all([
|
|
106
106
|
dependencyCheck(context.options),
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
_chunkFHF7HJHVcjs.generatePackageJson.call(void 0, context),
|
|
108
|
+
_chunkPTL6WQOUcjs.copyBuildAssets.call(void 0, context),
|
|
109
|
+
_chunk4LRLQFJJcjs.executeTsup.call(void 0, context)
|
|
110
110
|
]);
|
|
111
111
|
await reportResults(context);
|
|
112
|
-
|
|
112
|
+
_chunkJ4PCKY3Ucjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
113
113
|
} catch (error) {
|
|
114
|
-
|
|
114
|
+
_chunkJ4PCKY3Ucjs.writeFatal.call(void 0,
|
|
115
115
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
116
116
|
);
|
|
117
117
|
throw error;
|
|
@@ -42,24 +42,24 @@ init_esm_shims();
|
|
|
42
42
|
|
|
43
43
|
// ../config/src/constants.ts
|
|
44
44
|
init_esm_shims();
|
|
45
|
-
var STORM_DEFAULT_DOCS = "https://stormsoftware.com
|
|
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";
|
|
48
48
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
49
49
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
50
50
|
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
51
|
+
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
52
|
+
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
53
|
+
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
54
|
+
var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
|
|
55
|
+
var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
|
|
56
|
+
var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
|
|
57
57
|
var STORM_DEFAULT_RELEASE_FOOTER = `
|
|
58
58
|
Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
|
|
59
59
|
|
|
60
|
-
Join us on [Discord](${
|
|
60
|
+
Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
61
61
|
|
|
62
|
-
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](${
|
|
62
|
+
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_SOCIAL_SLACK}) channel!
|
|
63
63
|
`;
|
|
64
64
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
65
65
|
|
|
@@ -177,13 +177,13 @@ var WorkspaceReleaseConfigSchema = z.object({
|
|
|
177
177
|
"A footer message appended to the end of the workspace's release notes"
|
|
178
178
|
)
|
|
179
179
|
}).describe("The workspace's release config used during the release process");
|
|
180
|
-
var
|
|
181
|
-
twitter: z.string().trim().default(
|
|
182
|
-
discord: z.string().trim().default(
|
|
183
|
-
telegram: z.string().trim().default(
|
|
184
|
-
slack: z.string().trim().default(
|
|
185
|
-
medium: z.string().trim().default(
|
|
186
|
-
github: z.string().trim().default(
|
|
180
|
+
var WorkspaceSocialsConfigSchema = z.object({
|
|
181
|
+
twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
182
|
+
discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
183
|
+
telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
184
|
+
slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
|
|
185
|
+
medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
186
|
+
github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
187
187
|
}).describe(
|
|
188
188
|
"The workspace's account config used to store various social media links"
|
|
189
189
|
);
|
|
@@ -247,13 +247,10 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
247
247
|
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
248
248
|
bot: WorkspaceBotConfigSchema,
|
|
249
249
|
release: WorkspaceReleaseConfigSchema,
|
|
250
|
-
|
|
250
|
+
socials: WorkspaceSocialsConfigSchema,
|
|
251
251
|
error: errorConfigSchema,
|
|
252
252
|
mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
|
|
253
253
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
254
|
-
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
255
|
-
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
256
|
-
),
|
|
257
254
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
258
255
|
directories: WorkspaceDirectoryConfigSchema,
|
|
259
256
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkK2XUWJDScjs = require('./chunk-K2XUWJDS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
@@ -44,8 +44,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
44
44
|
".woff2": "file"
|
|
45
45
|
},
|
|
46
46
|
banner: {
|
|
47
|
-
js:
|
|
48
|
-
css:
|
|
47
|
+
js: _chunkK2XUWJDScjs.DEFAULT_COMPILED_BANNER,
|
|
48
|
+
css: _chunkK2XUWJDScjs.DEFAULT_COMPILED_BANNER
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeDebug,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WEVIUNTH.js";
|
|
18
18
|
import {
|
|
19
19
|
correctPaths,
|
|
20
20
|
joinPaths
|
|
@@ -378,13 +378,13 @@ var getConfigEnv = () => {
|
|
|
378
378
|
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
379
379
|
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
380
380
|
},
|
|
381
|
-
|
|
382
|
-
twitter: process.env[`${prefix}
|
|
383
|
-
discord: process.env[`${prefix}
|
|
384
|
-
telegram: process.env[`${prefix}
|
|
385
|
-
slack: process.env[`${prefix}
|
|
386
|
-
medium: process.env[`${prefix}
|
|
387
|
-
github: process.env[`${prefix}
|
|
381
|
+
socials: {
|
|
382
|
+
twitter: process.env[`${prefix}SOCIAL_TWITTER`] || void 0,
|
|
383
|
+
discord: process.env[`${prefix}SOCIAL_DISCORD`] || void 0,
|
|
384
|
+
telegram: process.env[`${prefix}SOCIAL_TELEGRAM`] || void 0,
|
|
385
|
+
slack: process.env[`${prefix}SOCIAL_SLACK`] || void 0,
|
|
386
|
+
medium: process.env[`${prefix}SOCIAL_MEDIUM`] || void 0,
|
|
387
|
+
github: process.env[`${prefix}SOCIAL_GITHUB`] || void 0
|
|
388
388
|
},
|
|
389
389
|
organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
|
|
390
390
|
name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
|
|
@@ -426,7 +426,6 @@ var getConfigEnv = () => {
|
|
|
426
426
|
repository: process.env[`${prefix}REPOSITORY`] || void 0,
|
|
427
427
|
branch: process.env[`${prefix}BRANCH`] || void 0,
|
|
428
428
|
preid: process.env[`${prefix}PRE_ID`] || void 0,
|
|
429
|
-
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
430
429
|
registry: {
|
|
431
430
|
github: process.env[`${prefix}REGISTRY_GITHUB`] || void 0,
|
|
432
431
|
npm: process.env[`${prefix}REGISTRY_NPM`] || void 0,
|
|
@@ -579,24 +578,24 @@ var setConfigEnv = (config) => {
|
|
|
579
578
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
580
579
|
process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
|
|
581
580
|
}
|
|
582
|
-
if (config.
|
|
583
|
-
if (config.
|
|
584
|
-
process.env[`${prefix}
|
|
581
|
+
if (config.socials) {
|
|
582
|
+
if (config.socials.twitter) {
|
|
583
|
+
process.env[`${prefix}SOCIAL_TWITTER`] = config.socials.twitter;
|
|
585
584
|
}
|
|
586
|
-
if (config.
|
|
587
|
-
process.env[`${prefix}
|
|
585
|
+
if (config.socials.discord) {
|
|
586
|
+
process.env[`${prefix}SOCIAL_DISCORD`] = config.socials.discord;
|
|
588
587
|
}
|
|
589
|
-
if (config.
|
|
590
|
-
process.env[`${prefix}
|
|
588
|
+
if (config.socials.telegram) {
|
|
589
|
+
process.env[`${prefix}SOCIAL_TELEGRAM`] = config.socials.telegram;
|
|
591
590
|
}
|
|
592
|
-
if (config.
|
|
593
|
-
process.env[`${prefix}
|
|
591
|
+
if (config.socials.slack) {
|
|
592
|
+
process.env[`${prefix}SOCIAL_SLACK`] = config.socials.slack;
|
|
594
593
|
}
|
|
595
|
-
if (config.
|
|
596
|
-
process.env[`${prefix}
|
|
594
|
+
if (config.socials.medium) {
|
|
595
|
+
process.env[`${prefix}SOCIAL_MEDIUM`] = config.socials.medium;
|
|
597
596
|
}
|
|
598
|
-
if (config.
|
|
599
|
-
process.env[`${prefix}
|
|
597
|
+
if (config.socials.github) {
|
|
598
|
+
process.env[`${prefix}SOCIAL_GITHUB`] = config.socials.github;
|
|
600
599
|
}
|
|
601
600
|
}
|
|
602
601
|
if (config.organization) {
|
|
@@ -734,11 +733,6 @@ var setConfigEnv = (config) => {
|
|
|
734
733
|
if (config.preid) {
|
|
735
734
|
process.env[`${prefix}PRE_ID`] = String(config.preid);
|
|
736
735
|
}
|
|
737
|
-
if (config.externalPackagePatterns) {
|
|
738
|
-
process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(
|
|
739
|
-
config.externalPackagePatterns
|
|
740
|
-
);
|
|
741
|
-
}
|
|
742
736
|
if (config.registry) {
|
|
743
737
|
if (config.registry.github) {
|
|
744
738
|
process.env[`${prefix}REGISTRY_GITHUB`] = String(config.registry.github);
|