@storm-software/projen 0.15.28 → 0.15.30
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-GPPLEZ5J.mjs → chunk-M4QTGZWR.mjs} +98 -89
- package/dist/{chunk-LWINONZT.js → chunk-NZFZHMKP.js} +85 -76
- 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 +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Projen
|
|
4
4
|
|
|
5
|
+
## [0.15.29](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.29) (2025-06-20)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update README markdown files
|
|
10
|
+
([cd1727b2a](https://github.com/storm-software/storm-ops/commit/cd1727b2a))
|
|
11
|
+
|
|
12
|
+
## [0.15.28](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.28) (2025-06-20)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Update README markdown files
|
|
17
|
+
([90a90bfac](https://github.com/storm-software/storm-ops/commit/90a90bfac))
|
|
18
|
+
|
|
5
19
|
## [0.15.27](https://github.com/storm-software/storm-ops/releases/tag/projen%400.15.27) (2025-06-20)
|
|
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 -->
|
|
@@ -248,9 +248,9 @@ var organizationConfigSchema = z.object({
|
|
|
248
248
|
}).describe("The workspace's organization details");
|
|
249
249
|
var stormWorkspaceConfigSchema = z.object({
|
|
250
250
|
$schema: z.string().trim().default(
|
|
251
|
-
"https://
|
|
252
|
-
).
|
|
253
|
-
"The URL to the JSON schema file that describes the Storm configuration file"
|
|
251
|
+
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
252
|
+
).describe(
|
|
253
|
+
"The URL or file path to the JSON schema file that describes the Storm configuration file"
|
|
254
254
|
),
|
|
255
255
|
extends: ExtendsSchema.optional(),
|
|
256
256
|
name: z.string().trim().toLowerCase().optional().describe(
|
|
@@ -1790,9 +1790,9 @@ function cargoMetadata() {
|
|
|
1790
1790
|
function runProcess(processCmd, ...args) {
|
|
1791
1791
|
const metadata = cargoMetadata();
|
|
1792
1792
|
const targetDir = metadata?.target_directory ?? joinPathFragments(workspaceRoot, "dist");
|
|
1793
|
-
return new Promise((
|
|
1793
|
+
return new Promise((resolve2) => {
|
|
1794
1794
|
if (process.env.VERCEL) {
|
|
1795
|
-
return
|
|
1795
|
+
return resolve2({ success: true });
|
|
1796
1796
|
}
|
|
1797
1797
|
execSync(`${processCmd} ${args.join(" ")}`, {
|
|
1798
1798
|
cwd: process.cwd(),
|
|
@@ -1805,7 +1805,7 @@ function runProcess(processCmd, ...args) {
|
|
|
1805
1805
|
windowsHide: true,
|
|
1806
1806
|
stdio: ["inherit", "inherit", "inherit"]
|
|
1807
1807
|
});
|
|
1808
|
-
|
|
1808
|
+
resolve2({ success: true });
|
|
1809
1809
|
});
|
|
1810
1810
|
}
|
|
1811
1811
|
|
|
@@ -2781,18 +2781,91 @@ var executor_default6 = withRunExecutor(
|
|
|
2781
2781
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2782
2782
|
init_esm_shims();
|
|
2783
2783
|
import { execSync as execSync3 } from "node:child_process";
|
|
2784
|
-
import { readFile as
|
|
2785
|
-
import { format as
|
|
2784
|
+
import { readFile as readFile7, writeFile as writeFile4 } from "node:fs/promises";
|
|
2785
|
+
import { format as format3 } from "prettier";
|
|
2786
2786
|
|
|
2787
|
-
// ../workspace-tools/src/utils/
|
|
2787
|
+
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2788
2788
|
init_esm_shims();
|
|
2789
2789
|
import {
|
|
2790
|
-
|
|
2791
|
-
|
|
2790
|
+
joinPathFragments as joinPathFragments3,
|
|
2791
|
+
readJsonFile
|
|
2792
2792
|
} from "@nx/devkit";
|
|
2793
|
+
import { execFileSync } from "child_process";
|
|
2793
2794
|
import { existsSync as existsSync7 } from "node:fs";
|
|
2794
2795
|
import { readFile as readFile5, writeFile as writeFile2 } from "node:fs/promises";
|
|
2796
|
+
import { dirname, resolve } from "path";
|
|
2795
2797
|
import { format } from "prettier";
|
|
2798
|
+
|
|
2799
|
+
// ../workspace-tools/src/utils/project-tags.ts
|
|
2800
|
+
init_esm_shims();
|
|
2801
|
+
var ProjectTagConstants = {
|
|
2802
|
+
Language: {
|
|
2803
|
+
TAG_ID: "language",
|
|
2804
|
+
TYPESCRIPT: "typescript",
|
|
2805
|
+
RUST: "rust"
|
|
2806
|
+
},
|
|
2807
|
+
ProjectType: {
|
|
2808
|
+
TAG_ID: "type",
|
|
2809
|
+
LIBRARY: "library",
|
|
2810
|
+
APPLICATION: "application"
|
|
2811
|
+
},
|
|
2812
|
+
DistStyle: {
|
|
2813
|
+
TAG_ID: "dist-style",
|
|
2814
|
+
NORMAL: "normal",
|
|
2815
|
+
CLEAN: "clean"
|
|
2816
|
+
},
|
|
2817
|
+
Provider: {
|
|
2818
|
+
TAG_ID: "provider"
|
|
2819
|
+
},
|
|
2820
|
+
Platform: {
|
|
2821
|
+
TAG_ID: "platform",
|
|
2822
|
+
NODE: "node",
|
|
2823
|
+
BROWSER: "browser",
|
|
2824
|
+
NEUTRAL: "neutral",
|
|
2825
|
+
WORKER: "worker"
|
|
2826
|
+
},
|
|
2827
|
+
Registry: {
|
|
2828
|
+
TAG_ID: "registry",
|
|
2829
|
+
CARGO: "cargo",
|
|
2830
|
+
NPM: "npm",
|
|
2831
|
+
CONTAINER: "container",
|
|
2832
|
+
CYCLONE: "cyclone"
|
|
2833
|
+
},
|
|
2834
|
+
Plugin: {
|
|
2835
|
+
TAG_ID: "plugin"
|
|
2836
|
+
}
|
|
2837
|
+
};
|
|
2838
|
+
var formatProjectTag = (variant, value) => {
|
|
2839
|
+
return `${variant}:${value}`;
|
|
2840
|
+
};
|
|
2841
|
+
var hasProjectTag = (project, variant) => {
|
|
2842
|
+
project.tags = project.tags ?? [];
|
|
2843
|
+
const prefix = formatProjectTag(variant, "");
|
|
2844
|
+
return project.tags.some(
|
|
2845
|
+
(tag) => tag.startsWith(prefix) && tag.length > prefix.length
|
|
2846
|
+
);
|
|
2847
|
+
};
|
|
2848
|
+
var addProjectTag = (project, variant, value, options = {
|
|
2849
|
+
overwrite: false
|
|
2850
|
+
}) => {
|
|
2851
|
+
project.tags = project.tags ?? [];
|
|
2852
|
+
if (options.overwrite || !hasProjectTag(project, variant)) {
|
|
2853
|
+
project.tags = project.tags.filter(
|
|
2854
|
+
(tag) => !tag.startsWith(formatProjectTag(variant, ""))
|
|
2855
|
+
);
|
|
2856
|
+
project.tags.push(formatProjectTag(variant, value));
|
|
2857
|
+
}
|
|
2858
|
+
};
|
|
2859
|
+
|
|
2860
|
+
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
2861
|
+
init_esm_shims();
|
|
2862
|
+
import {
|
|
2863
|
+
createProjectGraphAsync as createProjectGraphAsync3,
|
|
2864
|
+
readCachedProjectGraph as readCachedProjectGraph2
|
|
2865
|
+
} from "@nx/devkit";
|
|
2866
|
+
import { existsSync as existsSync8 } from "node:fs";
|
|
2867
|
+
import { readFile as readFile6, writeFile as writeFile3 } from "node:fs/promises";
|
|
2868
|
+
import { format as format2 } from "prettier";
|
|
2796
2869
|
import readYamlFile from "read-yaml-file";
|
|
2797
2870
|
|
|
2798
2871
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
@@ -2800,7 +2873,7 @@ var LARGE_BUFFER2 = 1024 * 1e6;
|
|
|
2800
2873
|
|
|
2801
2874
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2802
2875
|
init_esm_shims();
|
|
2803
|
-
import { joinPathFragments as
|
|
2876
|
+
import { joinPathFragments as joinPathFragments4 } from "@nx/devkit";
|
|
2804
2877
|
import esBuildPlugin from "@size-limit/esbuild";
|
|
2805
2878
|
import esBuildWhyPlugin from "@size-limit/esbuild-why";
|
|
2806
2879
|
import filePlugin from "@size-limit/file";
|
|
@@ -2813,7 +2886,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
2813
2886
|
}
|
|
2814
2887
|
writeInfo(`\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
2815
2888
|
sizeLimit([filePlugin, esBuildPlugin, esBuildWhyPlugin], {
|
|
2816
|
-
checks: options.entry ?? context.projectsConfigurations.projects[context.projectName]?.sourceRoot ??
|
|
2889
|
+
checks: options.entry ?? context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? joinPathFragments4(
|
|
2817
2890
|
context.projectsConfigurations.projects[context.projectName]?.root ?? "./",
|
|
2818
2891
|
"src"
|
|
2819
2892
|
)
|
|
@@ -3090,67 +3163,6 @@ import {
|
|
|
3090
3163
|
import jsInitGenerator from "@nx/js/src/generators/init/init";
|
|
3091
3164
|
import setupVerdaccio from "@nx/js/src/generators/setup-verdaccio/generator";
|
|
3092
3165
|
|
|
3093
|
-
// ../workspace-tools/src/utils/project-tags.ts
|
|
3094
|
-
init_esm_shims();
|
|
3095
|
-
var ProjectTagConstants = {
|
|
3096
|
-
Language: {
|
|
3097
|
-
TAG_ID: "language",
|
|
3098
|
-
TYPESCRIPT: "typescript",
|
|
3099
|
-
RUST: "rust"
|
|
3100
|
-
},
|
|
3101
|
-
ProjectType: {
|
|
3102
|
-
TAG_ID: "type",
|
|
3103
|
-
LIBRARY: "library",
|
|
3104
|
-
APPLICATION: "application"
|
|
3105
|
-
},
|
|
3106
|
-
DistStyle: {
|
|
3107
|
-
TAG_ID: "dist-style",
|
|
3108
|
-
NORMAL: "normal",
|
|
3109
|
-
CLEAN: "clean"
|
|
3110
|
-
},
|
|
3111
|
-
Provider: {
|
|
3112
|
-
TAG_ID: "provider"
|
|
3113
|
-
},
|
|
3114
|
-
Platform: {
|
|
3115
|
-
TAG_ID: "platform",
|
|
3116
|
-
NODE: "node",
|
|
3117
|
-
BROWSER: "browser",
|
|
3118
|
-
NEUTRAL: "neutral",
|
|
3119
|
-
WORKER: "worker"
|
|
3120
|
-
},
|
|
3121
|
-
Registry: {
|
|
3122
|
-
TAG_ID: "registry",
|
|
3123
|
-
CARGO: "cargo",
|
|
3124
|
-
NPM: "npm",
|
|
3125
|
-
CONTAINER: "container",
|
|
3126
|
-
CYCLONE: "cyclone"
|
|
3127
|
-
},
|
|
3128
|
-
Plugin: {
|
|
3129
|
-
TAG_ID: "plugin"
|
|
3130
|
-
}
|
|
3131
|
-
};
|
|
3132
|
-
var formatProjectTag = (variant, value) => {
|
|
3133
|
-
return `${variant}:${value}`;
|
|
3134
|
-
};
|
|
3135
|
-
var hasProjectTag = (project, variant) => {
|
|
3136
|
-
project.tags = project.tags ?? [];
|
|
3137
|
-
const prefix = formatProjectTag(variant, "");
|
|
3138
|
-
return project.tags.some(
|
|
3139
|
-
(tag) => tag.startsWith(prefix) && tag.length > prefix.length
|
|
3140
|
-
);
|
|
3141
|
-
};
|
|
3142
|
-
var addProjectTag = (project, variant, value, options = {
|
|
3143
|
-
overwrite: false
|
|
3144
|
-
}) => {
|
|
3145
|
-
project.tags = project.tags ?? [];
|
|
3146
|
-
if (options.overwrite || !hasProjectTag(project, variant)) {
|
|
3147
|
-
project.tags = project.tags.filter(
|
|
3148
|
-
(tag) => !tag.startsWith(formatProjectTag(variant, ""))
|
|
3149
|
-
);
|
|
3150
|
-
project.tags.push(formatProjectTag(variant, value));
|
|
3151
|
-
}
|
|
3152
|
-
};
|
|
3153
|
-
|
|
3154
3166
|
// ../workspace-tools/src/utils/versions.ts
|
|
3155
3167
|
init_esm_shims();
|
|
3156
3168
|
var typesNodeVersion = "20.9.0";
|
|
@@ -3537,7 +3549,12 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
3537
3549
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
3538
3550
|
config
|
|
3539
3551
|
);
|
|
3540
|
-
const jsonSchema = z2.toJSONSchema(stormWorkspaceConfigSchema
|
|
3552
|
+
const jsonSchema = z2.toJSONSchema(stormWorkspaceConfigSchema, {
|
|
3553
|
+
target: "draft-7"
|
|
3554
|
+
});
|
|
3555
|
+
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
3556
|
+
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
3557
|
+
jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
|
|
3541
3558
|
writeTrace(jsonSchema, config);
|
|
3542
3559
|
if (!options.outputFile) {
|
|
3543
3560
|
throw new Error(
|
|
@@ -3732,7 +3749,7 @@ import {
|
|
|
3732
3749
|
addProjectConfiguration as addProjectConfiguration2,
|
|
3733
3750
|
formatFiles as formatFiles7,
|
|
3734
3751
|
generateFiles as generateFiles4,
|
|
3735
|
-
joinPathFragments as
|
|
3752
|
+
joinPathFragments as joinPathFragments5,
|
|
3736
3753
|
updateJson as updateJson2
|
|
3737
3754
|
} from "@nx/devkit";
|
|
3738
3755
|
import * as path3 from "node:path";
|
|
@@ -3954,7 +3971,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
3954
3971
|
tree,
|
|
3955
3972
|
dependencies,
|
|
3956
3973
|
{},
|
|
3957
|
-
|
|
3974
|
+
joinPathFragments5(projectRoot, "package.json")
|
|
3958
3975
|
)
|
|
3959
3976
|
);
|
|
3960
3977
|
return null;
|
|
@@ -3968,7 +3985,7 @@ var generator_default5 = withRunGenerator(
|
|
|
3968
3985
|
init_esm_shims();
|
|
3969
3986
|
import {
|
|
3970
3987
|
formatFiles as formatFiles8,
|
|
3971
|
-
joinPathFragments as
|
|
3988
|
+
joinPathFragments as joinPathFragments6,
|
|
3972
3989
|
output,
|
|
3973
3990
|
readJson as readJson2,
|
|
3974
3991
|
updateJson as updateJson3,
|
|
@@ -4597,10 +4614,10 @@ import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/proj
|
|
|
4597
4614
|
init_esm_shims();
|
|
4598
4615
|
import {
|
|
4599
4616
|
output as output2,
|
|
4600
|
-
readJsonFile,
|
|
4617
|
+
readJsonFile as readJsonFile2,
|
|
4601
4618
|
workspaceRoot as workspaceRoot2
|
|
4602
4619
|
} from "@nx/devkit";
|
|
4603
|
-
import { existsSync as
|
|
4620
|
+
import { existsSync as existsSync9 } from "node:fs";
|
|
4604
4621
|
import { join as join4 } from "node:path";
|
|
4605
4622
|
import {
|
|
4606
4623
|
getNpmLockfileDependencies,
|
|
@@ -4621,20 +4638,12 @@ var YARN_LOCK_PATH = join4(workspaceRoot2, YARN_LOCK_FILE);
|
|
|
4621
4638
|
var NPM_LOCK_PATH = join4(workspaceRoot2, NPM_LOCK_FILE);
|
|
4622
4639
|
var PNPM_LOCK_PATH = join4(workspaceRoot2, PNPM_LOCK_FILE);
|
|
4623
4640
|
|
|
4624
|
-
// ../workspace-tools/src/utils/package-helpers.ts
|
|
4625
|
-
init_esm_shims();
|
|
4626
|
-
import {
|
|
4627
|
-
joinPathFragments as joinPathFragments6,
|
|
4628
|
-
readJsonFile as readJsonFile2
|
|
4629
|
-
} from "@nx/devkit";
|
|
4630
|
-
import { existsSync as existsSync9 } from "node:fs";
|
|
4631
|
-
|
|
4632
4641
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
4633
4642
|
init_esm_shims();
|
|
4634
4643
|
import { readJsonFile as readJsonFile3 } from "@nx/devkit";
|
|
4635
4644
|
import defu6 from "defu";
|
|
4636
4645
|
import { existsSync as existsSync10 } from "node:fs";
|
|
4637
|
-
import { dirname, join as join5 } from "node:path";
|
|
4646
|
+
import { dirname as dirname2, join as join5 } from "node:path";
|
|
4638
4647
|
|
|
4639
4648
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
4640
4649
|
init_esm_shims();
|
|
@@ -247,9 +247,9 @@ var organizationConfigSchema = z.object({
|
|
|
247
247
|
}).describe("The workspace's organization details");
|
|
248
248
|
var stormWorkspaceConfigSchema = z.object({
|
|
249
249
|
$schema: z.string().trim().default(
|
|
250
|
-
"https://
|
|
251
|
-
).
|
|
252
|
-
"The URL to the JSON schema file that describes the Storm configuration file"
|
|
250
|
+
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
251
|
+
).describe(
|
|
252
|
+
"The URL or file path to the JSON schema file that describes the Storm configuration file"
|
|
253
253
|
),
|
|
254
254
|
extends: ExtendsSchema.optional(),
|
|
255
255
|
name: z.string().trim().toLowerCase().optional().describe(
|
|
@@ -1789,9 +1789,9 @@ function cargoMetadata() {
|
|
|
1789
1789
|
function runProcess(processCmd, ...args) {
|
|
1790
1790
|
const metadata = cargoMetadata();
|
|
1791
1791
|
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _86 => _86.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist")));
|
|
1792
|
-
return new Promise((
|
|
1792
|
+
return new Promise((resolve2) => {
|
|
1793
1793
|
if (process.env.VERCEL) {
|
|
1794
|
-
return
|
|
1794
|
+
return resolve2({ success: true });
|
|
1795
1795
|
}
|
|
1796
1796
|
_child_process.execSync.call(void 0, `${processCmd} ${args.join(" ")}`, {
|
|
1797
1797
|
cwd: process.cwd(),
|
|
@@ -1804,7 +1804,7 @@ function runProcess(processCmd, ...args) {
|
|
|
1804
1804
|
windowsHide: true,
|
|
1805
1805
|
stdio: ["inherit", "inherit", "inherit"]
|
|
1806
1806
|
});
|
|
1807
|
-
|
|
1807
|
+
resolve2({ success: true });
|
|
1808
1808
|
});
|
|
1809
1809
|
}
|
|
1810
1810
|
|
|
@@ -2783,6 +2783,79 @@ _chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
|
2783
2783
|
|
|
2784
2784
|
var _prettier = require('prettier');
|
|
2785
2785
|
|
|
2786
|
+
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2787
|
+
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
// ../workspace-tools/src/utils/project-tags.ts
|
|
2799
|
+
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
2800
|
+
var ProjectTagConstants = {
|
|
2801
|
+
Language: {
|
|
2802
|
+
TAG_ID: "language",
|
|
2803
|
+
TYPESCRIPT: "typescript",
|
|
2804
|
+
RUST: "rust"
|
|
2805
|
+
},
|
|
2806
|
+
ProjectType: {
|
|
2807
|
+
TAG_ID: "type",
|
|
2808
|
+
LIBRARY: "library",
|
|
2809
|
+
APPLICATION: "application"
|
|
2810
|
+
},
|
|
2811
|
+
DistStyle: {
|
|
2812
|
+
TAG_ID: "dist-style",
|
|
2813
|
+
NORMAL: "normal",
|
|
2814
|
+
CLEAN: "clean"
|
|
2815
|
+
},
|
|
2816
|
+
Provider: {
|
|
2817
|
+
TAG_ID: "provider"
|
|
2818
|
+
},
|
|
2819
|
+
Platform: {
|
|
2820
|
+
TAG_ID: "platform",
|
|
2821
|
+
NODE: "node",
|
|
2822
|
+
BROWSER: "browser",
|
|
2823
|
+
NEUTRAL: "neutral",
|
|
2824
|
+
WORKER: "worker"
|
|
2825
|
+
},
|
|
2826
|
+
Registry: {
|
|
2827
|
+
TAG_ID: "registry",
|
|
2828
|
+
CARGO: "cargo",
|
|
2829
|
+
NPM: "npm",
|
|
2830
|
+
CONTAINER: "container",
|
|
2831
|
+
CYCLONE: "cyclone"
|
|
2832
|
+
},
|
|
2833
|
+
Plugin: {
|
|
2834
|
+
TAG_ID: "plugin"
|
|
2835
|
+
}
|
|
2836
|
+
};
|
|
2837
|
+
var formatProjectTag = (variant, value) => {
|
|
2838
|
+
return `${variant}:${value}`;
|
|
2839
|
+
};
|
|
2840
|
+
var hasProjectTag = (project, variant) => {
|
|
2841
|
+
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
2842
|
+
const prefix = formatProjectTag(variant, "");
|
|
2843
|
+
return project.tags.some(
|
|
2844
|
+
(tag) => tag.startsWith(prefix) && tag.length > prefix.length
|
|
2845
|
+
);
|
|
2846
|
+
};
|
|
2847
|
+
var addProjectTag = (project, variant, value, options = {
|
|
2848
|
+
overwrite: false
|
|
2849
|
+
}) => {
|
|
2850
|
+
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
2851
|
+
if (options.overwrite || !hasProjectTag(project, variant)) {
|
|
2852
|
+
project.tags = project.tags.filter(
|
|
2853
|
+
(tag) => !tag.startsWith(formatProjectTag(variant, ""))
|
|
2854
|
+
);
|
|
2855
|
+
project.tags.push(formatProjectTag(variant, value));
|
|
2856
|
+
}
|
|
2857
|
+
};
|
|
2858
|
+
|
|
2786
2859
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
2787
2860
|
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
2788
2861
|
|
|
@@ -3089,67 +3162,6 @@ var _js = require('@nx/js');
|
|
|
3089
3162
|
var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopRequireDefault(_init);
|
|
3090
3163
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
3091
3164
|
|
|
3092
|
-
// ../workspace-tools/src/utils/project-tags.ts
|
|
3093
|
-
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
3094
|
-
var ProjectTagConstants = {
|
|
3095
|
-
Language: {
|
|
3096
|
-
TAG_ID: "language",
|
|
3097
|
-
TYPESCRIPT: "typescript",
|
|
3098
|
-
RUST: "rust"
|
|
3099
|
-
},
|
|
3100
|
-
ProjectType: {
|
|
3101
|
-
TAG_ID: "type",
|
|
3102
|
-
LIBRARY: "library",
|
|
3103
|
-
APPLICATION: "application"
|
|
3104
|
-
},
|
|
3105
|
-
DistStyle: {
|
|
3106
|
-
TAG_ID: "dist-style",
|
|
3107
|
-
NORMAL: "normal",
|
|
3108
|
-
CLEAN: "clean"
|
|
3109
|
-
},
|
|
3110
|
-
Provider: {
|
|
3111
|
-
TAG_ID: "provider"
|
|
3112
|
-
},
|
|
3113
|
-
Platform: {
|
|
3114
|
-
TAG_ID: "platform",
|
|
3115
|
-
NODE: "node",
|
|
3116
|
-
BROWSER: "browser",
|
|
3117
|
-
NEUTRAL: "neutral",
|
|
3118
|
-
WORKER: "worker"
|
|
3119
|
-
},
|
|
3120
|
-
Registry: {
|
|
3121
|
-
TAG_ID: "registry",
|
|
3122
|
-
CARGO: "cargo",
|
|
3123
|
-
NPM: "npm",
|
|
3124
|
-
CONTAINER: "container",
|
|
3125
|
-
CYCLONE: "cyclone"
|
|
3126
|
-
},
|
|
3127
|
-
Plugin: {
|
|
3128
|
-
TAG_ID: "plugin"
|
|
3129
|
-
}
|
|
3130
|
-
};
|
|
3131
|
-
var formatProjectTag = (variant, value) => {
|
|
3132
|
-
return `${variant}:${value}`;
|
|
3133
|
-
};
|
|
3134
|
-
var hasProjectTag = (project, variant) => {
|
|
3135
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
3136
|
-
const prefix = formatProjectTag(variant, "");
|
|
3137
|
-
return project.tags.some(
|
|
3138
|
-
(tag) => tag.startsWith(prefix) && tag.length > prefix.length
|
|
3139
|
-
);
|
|
3140
|
-
};
|
|
3141
|
-
var addProjectTag = (project, variant, value, options = {
|
|
3142
|
-
overwrite: false
|
|
3143
|
-
}) => {
|
|
3144
|
-
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
3145
|
-
if (options.overwrite || !hasProjectTag(project, variant)) {
|
|
3146
|
-
project.tags = project.tags.filter(
|
|
3147
|
-
(tag) => !tag.startsWith(formatProjectTag(variant, ""))
|
|
3148
|
-
);
|
|
3149
|
-
project.tags.push(formatProjectTag(variant, value));
|
|
3150
|
-
}
|
|
3151
|
-
};
|
|
3152
|
-
|
|
3153
3165
|
// ../workspace-tools/src/utils/versions.ts
|
|
3154
3166
|
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
3155
3167
|
var typesNodeVersion = "20.9.0";
|
|
@@ -3536,7 +3548,12 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
3536
3548
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
3537
3549
|
config
|
|
3538
3550
|
);
|
|
3539
|
-
const jsonSchema = z2.toJSONSchema(stormWorkspaceConfigSchema
|
|
3551
|
+
const jsonSchema = z2.toJSONSchema(stormWorkspaceConfigSchema, {
|
|
3552
|
+
target: "draft-7"
|
|
3553
|
+
});
|
|
3554
|
+
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
3555
|
+
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
3556
|
+
jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
|
|
3540
3557
|
writeTrace(jsonSchema, config);
|
|
3541
3558
|
if (!options.outputFile) {
|
|
3542
3559
|
throw new Error(
|
|
@@ -4620,14 +4637,6 @@ var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FI
|
|
|
4620
4637
|
var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
|
|
4621
4638
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
4622
4639
|
|
|
4623
|
-
// ../workspace-tools/src/utils/package-helpers.ts
|
|
4624
|
-
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
4640
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
4632
4641
|
_chunkMWIFWHR4js.init_cjs_shims.call(void 0, );
|
|
4633
4642
|
|
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 _chunkNZFZHMKPjs = require('./chunk-NZFZHMKP.js');
|
|
5
5
|
require('./chunk-LP4I3FEY.js');
|
|
6
6
|
require('./chunk-MWIFWHR4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkNZFZHMKPjs.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 _chunkNZFZHMKPjs = require('./chunk-NZFZHMKP.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: () => _chunkNZFZHMKPjs.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 = _chunkNZFZHMKPjs.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 _chunkNZFZHMKPjs = require('../../../chunk-NZFZHMKP.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 = _chunkNZFZHMKPjs.generator_default; exports.initGeneratorFn = _chunkNZFZHMKPjs.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.30",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing Projen configuration automation within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -141,5 +141,6 @@
|
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
143
|
"executors": "./executors.json",
|
|
144
|
-
"generators": "./generators.json"
|
|
144
|
+
"generators": "./generators.json",
|
|
145
|
+
"gitHead": "cc6b643307c447a3a7e1118fee4893b3be34cdbd"
|
|
145
146
|
}
|