@storm-software/projen 0.15.39 → 0.15.41
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/{chunk-NHZSYECC.js → chunk-AC7GOCGF.js} +22 -18
- package/dist/{chunk-LR3RQK6D.mjs → chunk-BLWDC52B.mjs} +23 -19
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Projen
|
|
4
4
|
|
|
5
|
+
## [0.15.40](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.40) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate workspace artifacts
|
|
10
|
+
([f45c14e5f](https://github.com/storm-software/storm-ops/commit/f45c14e5f))
|
|
11
|
+
|
|
12
|
+
## [0.15.39](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.39) (2025-07-10)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([98723860a](https://github.com/storm-software/storm-ops/commit/98723860a))
|
|
18
|
+
|
|
5
19
|
## [0.15.38](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.38) (2025-07-08)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
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 -->
|
|
@@ -74,7 +74,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
74
74
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
75
75
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
76
76
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
77
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
78
77
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
79
78
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
80
79
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -95,7 +94,7 @@ _chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
|
95
94
|
|
|
96
95
|
// ../config/src/schema.ts
|
|
97
96
|
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
98
|
-
var
|
|
97
|
+
var _zod = require('zod'); var z = _interopRequireWildcard(_zod); var z2 = _interopRequireWildcard(_zod);
|
|
99
98
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
100
99
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
101
100
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
@@ -162,7 +161,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
162
161
|
positive: PositiveColorSchema,
|
|
163
162
|
negative: NegativeColorSchema
|
|
164
163
|
});
|
|
165
|
-
var RegistryUrlConfigSchema = z.
|
|
164
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
166
165
|
var RegistryConfigSchema = z.object({
|
|
167
166
|
github: RegistryUrlConfigSchema,
|
|
168
167
|
npm: RegistryUrlConfigSchema,
|
|
@@ -189,18 +188,18 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
189
188
|
name: z.string().trim().default("stormie-bot").describe(
|
|
190
189
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
191
190
|
),
|
|
192
|
-
email: z.
|
|
191
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
193
192
|
}).describe(
|
|
194
193
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
195
194
|
);
|
|
196
195
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
197
|
-
banner: z.string().trim().
|
|
196
|
+
banner: z.string().trim().optional().describe(
|
|
198
197
|
"A URL to a banner image used to display the workspace's release"
|
|
199
198
|
),
|
|
200
199
|
header: z.string().trim().optional().describe(
|
|
201
200
|
"A header message appended to the start of the workspace's release notes"
|
|
202
201
|
),
|
|
203
|
-
footer: z.string().trim().
|
|
202
|
+
footer: z.string().trim().optional().describe(
|
|
204
203
|
"A footer message appended to the end of the workspace's release notes"
|
|
205
204
|
)
|
|
206
205
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -232,19 +231,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
232
231
|
);
|
|
233
232
|
var errorConfigSchema = z.object({
|
|
234
233
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
235
|
-
url: z.
|
|
234
|
+
url: z.url().optional().describe(
|
|
236
235
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
237
236
|
)
|
|
238
237
|
}).describe("The workspace's error config used during the error process");
|
|
239
238
|
var organizationConfigSchema = z.object({
|
|
240
239
|
name: z.string().trim().describe("The name of the organization"),
|
|
241
240
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
242
|
-
logo: z.
|
|
243
|
-
icon: z.
|
|
244
|
-
url: z.
|
|
241
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
242
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
243
|
+
url: z.url().optional().describe(
|
|
245
244
|
"A URL to a page that provides more information about the organization"
|
|
246
245
|
)
|
|
247
246
|
}).describe("The workspace's organization details");
|
|
247
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
248
248
|
var stormWorkspaceConfigSchema = z.object({
|
|
249
249
|
$schema: z.string().trim().default(
|
|
250
250
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -261,12 +261,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
261
261
|
),
|
|
262
262
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
263
263
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
264
|
-
homepage: z.
|
|
265
|
-
docs: z.
|
|
266
|
-
portal: z.
|
|
267
|
-
licensing: z.
|
|
268
|
-
contact: z.
|
|
269
|
-
support: z.
|
|
264
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
265
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
266
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
267
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
268
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
269
|
+
support: z.url().optional().describe(
|
|
270
270
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
271
271
|
),
|
|
272
272
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -276,7 +276,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
276
276
|
release: WorkspaceReleaseConfigSchema,
|
|
277
277
|
socials: WorkspaceSocialsConfigSchema,
|
|
278
278
|
error: errorConfigSchema,
|
|
279
|
-
mode: z.enum(
|
|
279
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
280
280
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
281
281
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
282
282
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -1494,7 +1494,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
|
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
1496
1496
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1497
|
-
const configInput = _defu2.default.call(void 0,
|
|
1497
|
+
const configInput = _defu2.default.call(void 0,
|
|
1498
|
+
configEnv,
|
|
1499
|
+
configFile,
|
|
1500
|
+
defaultConfig
|
|
1501
|
+
);
|
|
1498
1502
|
try {
|
|
1499
1503
|
result = applyDefaultConfig(
|
|
1500
1504
|
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
@@ -75,7 +75,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
75
75
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
76
76
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
77
77
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
78
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
79
78
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
80
79
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
81
80
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -96,7 +95,7 @@ init_esm_shims();
|
|
|
96
95
|
|
|
97
96
|
// ../config/src/schema.ts
|
|
98
97
|
init_esm_shims();
|
|
99
|
-
import * as z from "zod
|
|
98
|
+
import * as z from "zod";
|
|
100
99
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
101
100
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
102
101
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
@@ -163,7 +162,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
163
162
|
positive: PositiveColorSchema,
|
|
164
163
|
negative: NegativeColorSchema
|
|
165
164
|
});
|
|
166
|
-
var RegistryUrlConfigSchema = z.
|
|
165
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
167
166
|
var RegistryConfigSchema = z.object({
|
|
168
167
|
github: RegistryUrlConfigSchema,
|
|
169
168
|
npm: RegistryUrlConfigSchema,
|
|
@@ -190,18 +189,18 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
190
189
|
name: z.string().trim().default("stormie-bot").describe(
|
|
191
190
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
192
191
|
),
|
|
193
|
-
email: z.
|
|
192
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
194
193
|
}).describe(
|
|
195
194
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
196
195
|
);
|
|
197
196
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
198
|
-
banner: z.string().trim().
|
|
197
|
+
banner: z.string().trim().optional().describe(
|
|
199
198
|
"A URL to a banner image used to display the workspace's release"
|
|
200
199
|
),
|
|
201
200
|
header: z.string().trim().optional().describe(
|
|
202
201
|
"A header message appended to the start of the workspace's release notes"
|
|
203
202
|
),
|
|
204
|
-
footer: z.string().trim().
|
|
203
|
+
footer: z.string().trim().optional().describe(
|
|
205
204
|
"A footer message appended to the end of the workspace's release notes"
|
|
206
205
|
)
|
|
207
206
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -233,19 +232,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
233
232
|
);
|
|
234
233
|
var errorConfigSchema = z.object({
|
|
235
234
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
236
|
-
url: z.
|
|
235
|
+
url: z.url().optional().describe(
|
|
237
236
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
238
237
|
)
|
|
239
238
|
}).describe("The workspace's error config used during the error process");
|
|
240
239
|
var organizationConfigSchema = z.object({
|
|
241
240
|
name: z.string().trim().describe("The name of the organization"),
|
|
242
241
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
243
|
-
logo: z.
|
|
244
|
-
icon: z.
|
|
245
|
-
url: z.
|
|
242
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
243
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
244
|
+
url: z.url().optional().describe(
|
|
246
245
|
"A URL to a page that provides more information about the organization"
|
|
247
246
|
)
|
|
248
247
|
}).describe("The workspace's organization details");
|
|
248
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
249
249
|
var stormWorkspaceConfigSchema = z.object({
|
|
250
250
|
$schema: z.string().trim().default(
|
|
251
251
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -262,12 +262,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
262
262
|
),
|
|
263
263
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
264
264
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
265
|
-
homepage: z.
|
|
266
|
-
docs: z.
|
|
267
|
-
portal: z.
|
|
268
|
-
licensing: z.
|
|
269
|
-
contact: z.
|
|
270
|
-
support: z.
|
|
265
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
266
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
267
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
268
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
269
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
270
|
+
support: z.url().optional().describe(
|
|
271
271
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
272
272
|
),
|
|
273
273
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -277,7 +277,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
277
277
|
release: WorkspaceReleaseConfigSchema,
|
|
278
278
|
socials: WorkspaceSocialsConfigSchema,
|
|
279
279
|
error: errorConfigSchema,
|
|
280
|
-
mode: z.enum(
|
|
280
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
281
281
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
282
282
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
283
283
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -1495,7 +1495,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
|
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
1497
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1498
|
-
const configInput = defu2(
|
|
1498
|
+
const configInput = defu2(
|
|
1499
|
+
configEnv,
|
|
1500
|
+
configFile,
|
|
1501
|
+
defaultConfig
|
|
1502
|
+
);
|
|
1499
1503
|
try {
|
|
1500
1504
|
result = applyDefaultConfig(
|
|
1501
1505
|
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
@@ -3543,7 +3547,7 @@ var generator_default = withRunGenerator(
|
|
|
3543
3547
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
3544
3548
|
init_esm_shims();
|
|
3545
3549
|
import { formatFiles as formatFiles3, writeJson as writeJson2 } from "@nx/devkit";
|
|
3546
|
-
import * as z2 from "zod
|
|
3550
|
+
import * as z2 from "zod";
|
|
3547
3551
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
3548
3552
|
writeInfo(
|
|
3549
3553
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3MCIDYYV.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkAC7GOCGFjs = require('./chunk-AC7GOCGF.js');
|
|
5
5
|
require('./chunk-LP4I3FEY.js');
|
|
6
6
|
require('./chunk-MWIFWHR4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkAC7GOCGFjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkKFR27Y3Kjs = require('./chunk-KFR27Y3K.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAC7GOCGFjs = require('./chunk-AC7GOCGF.js');
|
|
8
8
|
require('./chunk-LP4I3FEY.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -16,10 +16,10 @@ var _chunkMWIFWHR4js = require('./chunk-MWIFWHR4.js');
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
18
|
_chunkMWIFWHR4js.__export.call(void 0, index_exports, {
|
|
19
|
-
initGeneratorFn: () =>
|
|
19
|
+
initGeneratorFn: () => _chunkAC7GOCGFjs.initGeneratorFn
|
|
20
20
|
});
|
|
21
21
|
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
22
22
|
_chunkMWIFWHR4js.__reExport.call(void 0, index_exports, _chunkMWIFWHR4js.__toESM.call(void 0, _chunkKFR27Y3Kjs.require_components.call(void 0, )));
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.initGeneratorFn =
|
|
25
|
+
exports.initGeneratorFn = _chunkAC7GOCGFjs.initGeneratorFn;
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkAC7GOCGFjs = require('../../../chunk-AC7GOCGF.js');
|
|
5
5
|
require('../../../chunk-LP4I3FEY.js');
|
|
6
6
|
require('../../../chunk-MWIFWHR4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkAC7GOCGFjs.generator_default; exports.initGeneratorFn = _chunkAC7GOCGFjs.initGeneratorFn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/projen",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.41",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing Projen configuration automation within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
143
|
"executors": "./executors.json",
|
|
144
144
|
"generators": "./generators.json",
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "56f060816d1082fefc318aa1b65294279c0bfdcd"
|
|
146
146
|
}
|