@storm-software/build-tools 0.151.15 → 0.151.17
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/{chunk-5WY3AOPI.mjs → chunk-3Y2UCCVY.mjs} +21 -27
- package/dist/{chunk-LYKFXP4A.mjs → chunk-7FDGMKOH.mjs} +1 -1
- package/dist/{chunk-HO2UHUGD.js → chunk-GEGGAV75.js} +17 -20
- package/dist/{chunk-OXESDWEB.js → chunk-GJBPVWQV.js} +8 -8
- package/dist/{chunk-YOXCRO7H.mjs → chunk-HG6KME7U.mjs} +1 -1
- package/dist/{chunk-BPIOGQTL.mjs → chunk-IOXPZJ4F.mjs} +1 -1
- package/dist/{chunk-YVGW4DU2.mjs → chunk-MGV4IMYX.mjs} +17 -20
- package/dist/{chunk-4UPOBZKL.js → chunk-MLYARNMM.js} +63 -69
- package/dist/{chunk-EVXQJYU4.js → chunk-OQ7L2KD3.js} +8 -8
- package/dist/{chunk-VVLSE7AP.js → chunk-OTX5ITS4.js} +2 -2
- package/dist/{chunk-HBUMLXOE.mjs → chunk-PZVQHCR3.mjs} +1 -1
- package/dist/{chunk-7JYT7IWA.js → chunk-UTXEO62G.js} +10 -10
- package/dist/{chunk-WFCLO6NM.js → chunk-VBUN4VP5.js} +9 -9
- package/dist/{chunk-QX5CVG7T.mjs → chunk-YBILONEX.mjs} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/plugins/analyze.js +3 -3
- package/dist/plugins/analyze.mjs +2 -2
- package/dist/plugins/index.js +4 -4
- package/dist/plugins/index.mjs +3 -3
- package/dist/plugins/ts-resolve.js +3 -3
- package/dist/plugins/ts-resolve.mjs +2 -2
- package/dist/{types-D8j4iW-j.d.ts → types-BGaA15bv.d.mts} +1 -2
- package/dist/{types-3n8VOg4P.d.mts → types-BGaA15bv.d.ts} +5 -6
- package/dist/{types-D8j4iW-j.d.mts → types-DSVSMow6.d.mts} +5 -6
- package/dist/{types-3n8VOg4P.d.ts → types-DSVSMow6.d.ts} +1 -2
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utilities/copy-assets.d.mts +1 -1
- package/dist/utilities/copy-assets.d.ts +1 -1
- package/dist/utilities/copy-assets.js +3 -3
- package/dist/utilities/copy-assets.mjs +2 -2
- package/dist/utilities/generate-package-json.d.mts +1 -1
- package/dist/utilities/generate-package-json.d.ts +1 -1
- package/dist/utilities/generate-package-json.js +3 -3
- package/dist/utilities/generate-package-json.mjs +2 -2
- package/dist/utilities/get-entry-points.d.mts +1 -1
- package/dist/utilities/get-entry-points.d.ts +1 -1
- package/dist/utilities/get-entry-points.js +3 -3
- package/dist/utilities/get-entry-points.mjs +2 -2
- package/dist/utilities/get-env.d.mts +1 -1
- package/dist/utilities/get-env.d.ts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.d.ts +1 -1
- package/dist/utilities/index.js +6 -6
- package/dist/utilities/index.mjs +5 -5
- package/dist/utilities/read-nx-config.js +3 -3
- package/dist/utilities/read-nx-config.mjs +2 -2
- package/package.json +2 -2
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 -->
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
stormWorkspaceConfigSchema,
|
|
16
16
|
writeTrace,
|
|
17
17
|
writeWarning
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MGV4IMYX.mjs";
|
|
19
19
|
|
|
20
20
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
21
21
|
import { loadConfig } from "c12";
|
|
@@ -131,13 +131,13 @@ var getConfigEnv = () => {
|
|
|
131
131
|
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
132
132
|
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
133
133
|
},
|
|
134
|
-
|
|
135
|
-
twitter: process.env[`${prefix}
|
|
136
|
-
discord: process.env[`${prefix}
|
|
137
|
-
telegram: process.env[`${prefix}
|
|
138
|
-
slack: process.env[`${prefix}
|
|
139
|
-
medium: process.env[`${prefix}
|
|
140
|
-
github: process.env[`${prefix}
|
|
134
|
+
socials: {
|
|
135
|
+
twitter: process.env[`${prefix}SOCIAL_TWITTER`] || void 0,
|
|
136
|
+
discord: process.env[`${prefix}SOCIAL_DISCORD`] || void 0,
|
|
137
|
+
telegram: process.env[`${prefix}SOCIAL_TELEGRAM`] || void 0,
|
|
138
|
+
slack: process.env[`${prefix}SOCIAL_SLACK`] || void 0,
|
|
139
|
+
medium: process.env[`${prefix}SOCIAL_MEDIUM`] || void 0,
|
|
140
|
+
github: process.env[`${prefix}SOCIAL_GITHUB`] || void 0
|
|
141
141
|
},
|
|
142
142
|
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`] ? {
|
|
143
143
|
name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
|
|
@@ -179,7 +179,6 @@ var getConfigEnv = () => {
|
|
|
179
179
|
repository: process.env[`${prefix}REPOSITORY`] || void 0,
|
|
180
180
|
branch: process.env[`${prefix}BRANCH`] || void 0,
|
|
181
181
|
preid: process.env[`${prefix}PRE_ID`] || void 0,
|
|
182
|
-
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
183
182
|
registry: {
|
|
184
183
|
github: process.env[`${prefix}REGISTRY_GITHUB`] || void 0,
|
|
185
184
|
npm: process.env[`${prefix}REGISTRY_NPM`] || void 0,
|
|
@@ -331,24 +330,24 @@ var setConfigEnv = (config) => {
|
|
|
331
330
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
332
331
|
process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
|
|
333
332
|
}
|
|
334
|
-
if (config.
|
|
335
|
-
if (config.
|
|
336
|
-
process.env[`${prefix}
|
|
333
|
+
if (config.socials) {
|
|
334
|
+
if (config.socials.twitter) {
|
|
335
|
+
process.env[`${prefix}SOCIAL_TWITTER`] = config.socials.twitter;
|
|
337
336
|
}
|
|
338
|
-
if (config.
|
|
339
|
-
process.env[`${prefix}
|
|
337
|
+
if (config.socials.discord) {
|
|
338
|
+
process.env[`${prefix}SOCIAL_DISCORD`] = config.socials.discord;
|
|
340
339
|
}
|
|
341
|
-
if (config.
|
|
342
|
-
process.env[`${prefix}
|
|
340
|
+
if (config.socials.telegram) {
|
|
341
|
+
process.env[`${prefix}SOCIAL_TELEGRAM`] = config.socials.telegram;
|
|
343
342
|
}
|
|
344
|
-
if (config.
|
|
345
|
-
process.env[`${prefix}
|
|
343
|
+
if (config.socials.slack) {
|
|
344
|
+
process.env[`${prefix}SOCIAL_SLACK`] = config.socials.slack;
|
|
346
345
|
}
|
|
347
|
-
if (config.
|
|
348
|
-
process.env[`${prefix}
|
|
346
|
+
if (config.socials.medium) {
|
|
347
|
+
process.env[`${prefix}SOCIAL_MEDIUM`] = config.socials.medium;
|
|
349
348
|
}
|
|
350
|
-
if (config.
|
|
351
|
-
process.env[`${prefix}
|
|
349
|
+
if (config.socials.github) {
|
|
350
|
+
process.env[`${prefix}SOCIAL_GITHUB`] = config.socials.github;
|
|
352
351
|
}
|
|
353
352
|
}
|
|
354
353
|
if (config.organization) {
|
|
@@ -486,11 +485,6 @@ var setConfigEnv = (config) => {
|
|
|
486
485
|
if (config.preid) {
|
|
487
486
|
process.env[`${prefix}PRE_ID`] = String(config.preid);
|
|
488
487
|
}
|
|
489
|
-
if (config.externalPackagePatterns) {
|
|
490
|
-
process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(
|
|
491
|
-
config.externalPackagePatterns
|
|
492
|
-
);
|
|
493
|
-
}
|
|
494
488
|
if (config.registry) {
|
|
495
489
|
if (config.registry.github) {
|
|
496
490
|
process.env[`${prefix}REGISTRY_GITHUB`] = String(config.registry.github);
|
|
@@ -243,24 +243,24 @@ var LogLevelLabel = {
|
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
// ../config/src/constants.ts
|
|
246
|
-
var STORM_DEFAULT_DOCS = "https://stormsoftware.com
|
|
246
|
+
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
247
247
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
248
248
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
249
249
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
250
250
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
251
251
|
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
var
|
|
255
|
-
var
|
|
256
|
-
var
|
|
257
|
-
var
|
|
252
|
+
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
253
|
+
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
254
|
+
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
255
|
+
var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
|
|
256
|
+
var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
|
|
257
|
+
var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
|
|
258
258
|
var STORM_DEFAULT_RELEASE_FOOTER = `
|
|
259
259
|
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.
|
|
260
260
|
|
|
261
|
-
Join us on [Discord](${
|
|
261
|
+
Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
262
262
|
|
|
263
|
-
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](${
|
|
263
|
+
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!
|
|
264
264
|
`;
|
|
265
265
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
266
266
|
|
|
@@ -374,13 +374,13 @@ var WorkspaceReleaseConfigSchema = z.object({
|
|
|
374
374
|
"A footer message appended to the end of the workspace's release notes"
|
|
375
375
|
)
|
|
376
376
|
}).describe("The workspace's release config used during the release process");
|
|
377
|
-
var
|
|
378
|
-
twitter: z.string().trim().default(
|
|
379
|
-
discord: z.string().trim().default(
|
|
380
|
-
telegram: z.string().trim().default(
|
|
381
|
-
slack: z.string().trim().default(
|
|
382
|
-
medium: z.string().trim().default(
|
|
383
|
-
github: z.string().trim().default(
|
|
377
|
+
var WorkspaceSocialsConfigSchema = z.object({
|
|
378
|
+
twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
379
|
+
discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
380
|
+
telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
381
|
+
slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
|
|
382
|
+
medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
383
|
+
github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
384
384
|
}).describe(
|
|
385
385
|
"The workspace's account config used to store various social media links"
|
|
386
386
|
);
|
|
@@ -444,13 +444,10 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
444
444
|
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
445
445
|
bot: WorkspaceBotConfigSchema,
|
|
446
446
|
release: WorkspaceReleaseConfigSchema,
|
|
447
|
-
|
|
447
|
+
socials: WorkspaceSocialsConfigSchema,
|
|
448
448
|
error: errorConfigSchema,
|
|
449
449
|
mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
|
|
450
450
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
451
|
-
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
452
|
-
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
453
|
-
),
|
|
454
451
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
455
452
|
directories: WorkspaceDirectoryConfigSchema,
|
|
456
453
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkGEGGAV75js = require('./chunk-GEGGAV75.js');
|
|
4
4
|
|
|
5
5
|
// src/plugins/ts-resolve.ts
|
|
6
6
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
@@ -26,8 +26,8 @@ var tsResolvePlugin = ({
|
|
|
26
26
|
return {
|
|
27
27
|
name: `storm:ts-resolve`,
|
|
28
28
|
async resolveId(source, importer) {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - resolveId source: ${source}`);
|
|
30
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - resolveId importer: ${importer}`);
|
|
31
31
|
if (!importer) {
|
|
32
32
|
return null;
|
|
33
33
|
}
|
|
@@ -38,7 +38,7 @@ var tsResolvePlugin = ({
|
|
|
38
38
|
return false;
|
|
39
39
|
}
|
|
40
40
|
if (ignore && ignore(source, importer)) {
|
|
41
|
-
|
|
41
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - ignored ${source}`);
|
|
42
42
|
return null;
|
|
43
43
|
}
|
|
44
44
|
if (resolveOnly) {
|
|
@@ -47,12 +47,12 @@ var tsResolvePlugin = ({
|
|
|
47
47
|
return v.test(source);
|
|
48
48
|
});
|
|
49
49
|
if (!shouldResolve) {
|
|
50
|
-
|
|
50
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - skipped by matching resolveOnly ${source}`);
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
if (_path2.default.isAbsolute(source)) {
|
|
55
|
-
|
|
55
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - skipped absolute path: ${source}`);
|
|
56
56
|
return null;
|
|
57
57
|
}
|
|
58
58
|
const basedir = importer ? await _fs2.default.promises.realpath(_path2.default.dirname(importer)) : process.cwd();
|
|
@@ -81,10 +81,10 @@ var tsResolvePlugin = ({
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
if (id) {
|
|
84
|
-
|
|
84
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - resolved ${source} to ${id}`);
|
|
85
85
|
return id;
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
_chunkGEGGAV75js.writeDebug.call(void 0, `ts-resolve - mark ${source} as external`);
|
|
88
88
|
return false;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
@@ -243,24 +243,24 @@ var LogLevelLabel = {
|
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
// ../config/src/constants.ts
|
|
246
|
-
var STORM_DEFAULT_DOCS = "https://stormsoftware.com
|
|
246
|
+
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
247
247
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
248
248
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
249
249
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
250
250
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
251
251
|
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
var
|
|
255
|
-
var
|
|
256
|
-
var
|
|
257
|
-
var
|
|
252
|
+
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
253
|
+
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
254
|
+
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
255
|
+
var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
|
|
256
|
+
var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
|
|
257
|
+
var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
|
|
258
258
|
var STORM_DEFAULT_RELEASE_FOOTER = `
|
|
259
259
|
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.
|
|
260
260
|
|
|
261
|
-
Join us on [Discord](${
|
|
261
|
+
Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
262
262
|
|
|
263
|
-
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](${
|
|
263
|
+
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!
|
|
264
264
|
`;
|
|
265
265
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
266
266
|
|
|
@@ -374,13 +374,13 @@ var WorkspaceReleaseConfigSchema = z.object({
|
|
|
374
374
|
"A footer message appended to the end of the workspace's release notes"
|
|
375
375
|
)
|
|
376
376
|
}).describe("The workspace's release config used during the release process");
|
|
377
|
-
var
|
|
378
|
-
twitter: z.string().trim().default(
|
|
379
|
-
discord: z.string().trim().default(
|
|
380
|
-
telegram: z.string().trim().default(
|
|
381
|
-
slack: z.string().trim().default(
|
|
382
|
-
medium: z.string().trim().default(
|
|
383
|
-
github: z.string().trim().default(
|
|
377
|
+
var WorkspaceSocialsConfigSchema = z.object({
|
|
378
|
+
twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
379
|
+
discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
380
|
+
telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
381
|
+
slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
|
|
382
|
+
medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
383
|
+
github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
384
384
|
}).describe(
|
|
385
385
|
"The workspace's account config used to store various social media links"
|
|
386
386
|
);
|
|
@@ -444,13 +444,10 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
444
444
|
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
445
445
|
bot: WorkspaceBotConfigSchema,
|
|
446
446
|
release: WorkspaceReleaseConfigSchema,
|
|
447
|
-
|
|
447
|
+
socials: WorkspaceSocialsConfigSchema,
|
|
448
448
|
error: errorConfigSchema,
|
|
449
449
|
mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
|
|
450
450
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
451
|
-
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
452
|
-
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
453
|
-
),
|
|
454
451
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
455
452
|
directories: WorkspaceDirectoryConfigSchema,
|
|
456
453
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
|