@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
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/dist/assets.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkPTL6WQOUcjs = require('./chunk-PTL6WQOU.cjs');
|
|
4
|
+
require('./chunk-K2XUWJDS.cjs');
|
|
5
|
+
require('./chunk-J4PCKY3U.cjs');
|
|
6
6
|
require('./chunk-REAX6FSO.cjs');
|
|
7
7
|
require('./chunk-4ICWACJM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.copyBuildAssets =
|
|
10
|
+
exports.copyBuildAssets = _chunkPTL6WQOUcjs.copyBuildAssets;
|
package/dist/assets.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
copyBuildAssets
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-U3O7UOPK.js";
|
|
4
|
+
import "./chunk-YACE4BS2.js";
|
|
5
|
+
import "./chunk-WEVIUNTH.js";
|
|
6
6
|
import "./chunk-A7I6K5HC.js";
|
|
7
7
|
import "./chunk-GL7N7ANS.js";
|
|
8
8
|
export {
|
package/dist/build.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
3
|
+
var _chunkSPQZ3B6Wcjs = require('./chunk-SPQZ3B6W.cjs');
|
|
4
|
+
require('./chunk-YUAMFY7G.cjs');
|
|
5
|
+
require('./chunk-PTL6WQOU.cjs');
|
|
6
|
+
require('./chunk-OIZBG247.cjs');
|
|
7
|
+
require('./chunk-4HE545P4.cjs');
|
|
8
|
+
require('./chunk-XMYVVZ7Y.cjs');
|
|
9
|
+
require('./chunk-FHF7HJHV.cjs');
|
|
10
|
+
require('./chunk-K2XUWJDS.cjs');
|
|
11
|
+
require('./chunk-4LRLQFJJ.cjs');
|
|
12
|
+
require('./chunk-J4PCKY3U.cjs');
|
|
13
13
|
require('./chunk-REAX6FSO.cjs');
|
|
14
14
|
require('./chunk-4ICWACJM.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.build =
|
|
17
|
+
exports.build = _chunkSPQZ3B6Wcjs.build;
|
package/dist/build.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HPXSZW4P.js";
|
|
4
|
+
import "./chunk-TXFPCK5S.js";
|
|
5
|
+
import "./chunk-U3O7UOPK.js";
|
|
6
|
+
import "./chunk-7I26EJWI.js";
|
|
7
|
+
import "./chunk-AIAQVLE6.js";
|
|
8
|
+
import "./chunk-4ULX4DBM.js";
|
|
9
|
+
import "./chunk-7X74QP66.js";
|
|
10
|
+
import "./chunk-YACE4BS2.js";
|
|
11
|
+
import "./chunk-ULL45PNX.js";
|
|
12
|
+
import "./chunk-WEVIUNTH.js";
|
|
13
13
|
import "./chunk-A7I6K5HC.js";
|
|
14
14
|
import "./chunk-GL7N7ANS.js";
|
|
15
15
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkXMYVVZ7Ycjs = require('./chunk-XMYVVZ7Y.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkK2XUWJDScjs = require('./chunk-K2XUWJDS.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
|
|
@@ -33,11 +33,11 @@ async function resolveContext(userOptions) {
|
|
|
33
33
|
if (!workspaceRoot) {
|
|
34
34
|
throw new Error("Cannot find Nx workspace root");
|
|
35
35
|
}
|
|
36
|
-
const workspaceConfig = await
|
|
36
|
+
const workspaceConfig = await _chunkK2XUWJDScjs.getWorkspaceConfig.call(void 0, true, {
|
|
37
37
|
workspaceRoot: workspaceRoot.dir
|
|
38
38
|
});
|
|
39
|
-
|
|
40
|
-
const stopwatch =
|
|
39
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
40
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, "Build options resolution");
|
|
41
41
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
42
42
|
exitOnError: true
|
|
43
43
|
});
|
|
@@ -58,7 +58,7 @@ async function resolveContext(userOptions) {
|
|
|
58
58
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
-
const options = _defu2.default.call(void 0, userOptions,
|
|
61
|
+
const options = _defu2.default.call(void 0, userOptions, _chunkXMYVVZ7Ycjs.DEFAULT_BUILD_OPTIONS);
|
|
62
62
|
options.name ??= projectName;
|
|
63
63
|
const packageJsonPath = _chunkREAX6FSOcjs.joinPaths.call(void 0,
|
|
64
64
|
workspaceRoot.dir,
|
|
@@ -68,7 +68,7 @@ async function resolveContext(userOptions) {
|
|
|
68
68
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
69
69
|
throw new Error("Cannot find package.json configuration");
|
|
70
70
|
}
|
|
71
|
-
const env =
|
|
71
|
+
const env = _chunkK2XUWJDScjs.getEnv.call(void 0, "esbuild", options);
|
|
72
72
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
73
73
|
const resolvedOptions = {
|
|
74
74
|
...options,
|
|
@@ -107,10 +107,10 @@ async function resolveContext(userOptions) {
|
|
|
107
107
|
};
|
|
108
108
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
109
109
|
if (context.options.verbose) {
|
|
110
|
-
|
|
110
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0,
|
|
111
111
|
` \u2699\uFE0F Build options resolved:
|
|
112
112
|
|
|
113
|
-
${
|
|
113
|
+
${_chunkJ4PCKY3Ucjs.formatLogMessage.call(void 0, context.options)}`,
|
|
114
114
|
workspaceConfig
|
|
115
115
|
);
|
|
116
116
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard2(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 _nullishCoalesce2(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain2(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; } var _class2;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
|
|
@@ -2668,11 +2668,11 @@ module.exports = exports.default;
|
|
|
2668
2668
|
_chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
2669
2669
|
var import_tsup = _chunk4ICWACJMcjs.__toESM.call(void 0, require_dist(), 1);
|
|
2670
2670
|
async function executeTsup(context) {
|
|
2671
|
-
|
|
2671
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0,
|
|
2672
2672
|
` \u{1F680} Running ${context.options.name} build`,
|
|
2673
2673
|
context.workspaceConfig
|
|
2674
2674
|
);
|
|
2675
|
-
const stopwatch =
|
|
2675
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
2676
2676
|
await (0, import_tsup.build)({
|
|
2677
2677
|
...context.options,
|
|
2678
2678
|
outDir: context.options.distDir ? _chunkREAX6FSOcjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addPackageDependencies,
|
|
3
3
|
addWorkspacePackageJsonFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YACE4BS2.js";
|
|
5
5
|
import {
|
|
6
6
|
getStopwatch,
|
|
7
7
|
writeDebug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WEVIUNTH.js";
|
|
9
9
|
import {
|
|
10
10
|
joinPaths
|
|
11
11
|
} from "./chunk-A7I6K5HC.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BUILD_OPTIONS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4ULX4DBM.js";
|
|
4
4
|
import {
|
|
5
5
|
getEnv,
|
|
6
6
|
getWorkspaceConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YACE4BS2.js";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
11
11
|
writeDebug
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WEVIUNTH.js";
|
|
13
13
|
import {
|
|
14
14
|
joinPaths
|
|
15
15
|
} from "./chunk-A7I6K5HC.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkK2XUWJDScjs = require('./chunk-K2XUWJDS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkJ4PCKY3Ucjs = require('./chunk-J4PCKY3U.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
|
|
@@ -20,8 +20,8 @@ var _fs = require('fs');
|
|
|
20
20
|
var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
|
|
21
21
|
async function generatePackageJson(context) {
|
|
22
22
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkREAX6FSOcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
23
|
-
|
|
24
|
-
const stopwatch =
|
|
23
|
+
_chunkJ4PCKY3Ucjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
24
|
+
const stopwatch = _chunkJ4PCKY3Ucjs.getStopwatch.call(void 0, "Write package.json file");
|
|
25
25
|
const packageJsonPath = _chunkREAX6FSOcjs.joinPaths.call(void 0,
|
|
26
26
|
context.options.projectRoot,
|
|
27
27
|
"project.json"
|
|
@@ -41,13 +41,13 @@ async function generatePackageJson(context) {
|
|
|
41
41
|
if (!packageJson) {
|
|
42
42
|
throw new Error("Cannot find package.json configuration file");
|
|
43
43
|
}
|
|
44
|
-
packageJson = await
|
|
44
|
+
packageJson = await _chunkK2XUWJDScjs.addPackageDependencies.call(void 0,
|
|
45
45
|
context.workspaceConfig.workspaceRoot,
|
|
46
46
|
context.options.projectRoot,
|
|
47
47
|
context.projectName,
|
|
48
48
|
packageJson
|
|
49
49
|
);
|
|
50
|
-
packageJson = await
|
|
50
|
+
packageJson = await _chunkK2XUWJDScjs.addWorkspacePackageJsonFields.call(void 0,
|
|
51
51
|
context.workspaceConfig,
|
|
52
52
|
context.options.projectRoot,
|
|
53
53
|
context.sourceRoot,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
depsCheckPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TXFPCK5S.js";
|
|
4
4
|
import {
|
|
5
5
|
copyBuildAssets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-U3O7UOPK.js";
|
|
7
7
|
import {
|
|
8
8
|
cleanDirectories
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7I26EJWI.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AIAQVLE6.js";
|
|
13
13
|
import {
|
|
14
14
|
generatePackageJson
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7X74QP66.js";
|
|
16
16
|
import {
|
|
17
17
|
executeTsup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ULL45PNX.js";
|
|
19
19
|
import {
|
|
20
20
|
getStopwatch,
|
|
21
21
|
writeDebug,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
writeFatal,
|
|
24
24
|
writeSuccess,
|
|
25
25
|
writeWarning
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WEVIUNTH.js";
|
|
27
27
|
import {
|
|
28
28
|
init_esm_shims
|
|
29
29
|
} from "./chunk-GL7N7ANS.js";
|
|
@@ -42,24 +42,24 @@ _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
|
42
42
|
|
|
43
43
|
// ../config/src/constants.ts
|
|
44
44
|
_chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
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(
|