@storm-software/projen 0.9.32 → 0.9.33
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-RQVK53ZU.mjs → chunk-K66SNYX5.mjs} +7 -2
- package/dist/{chunk-KWEYIJCM.js → chunk-VEIIPJHP.js} +35 -30
- 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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Projen
|
|
4
4
|
|
|
5
|
+
## [0.9.33](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.33) (2025-03-17)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([90d1828f9](https://github.com/storm-software/storm-ops/commit/90d1828f9))
|
|
11
|
+
|
|
5
12
|
## [0.9.32](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.32) (2025-03-17)
|
|
6
13
|
|
|
7
14
|
### 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 -->
|
|
@@ -2717,12 +2717,16 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
2717
2717
|
};
|
|
2718
2718
|
}, {})
|
|
2719
2719
|
},
|
|
2720
|
-
inject:
|
|
2720
|
+
inject: [
|
|
2721
2721
|
options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : "",
|
|
2722
2722
|
options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : ""
|
|
2723
|
-
]
|
|
2723
|
+
]
|
|
2724
2724
|
};
|
|
2725
2725
|
result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
|
|
2726
|
+
if (options.inject) {
|
|
2727
|
+
options.inject = defu4(result.inject, options.inject);
|
|
2728
|
+
}
|
|
2729
|
+
options.inject?.filter(Boolean);
|
|
2726
2730
|
delete result.entry;
|
|
2727
2731
|
delete result.outputPath;
|
|
2728
2732
|
stopwatch();
|
|
@@ -2834,6 +2838,7 @@ async function executeEsBuild(context2) {
|
|
|
2834
2838
|
delete options.renderers;
|
|
2835
2839
|
delete options.config;
|
|
2836
2840
|
delete options.injectShims;
|
|
2841
|
+
delete options.external;
|
|
2837
2842
|
writeTrace(`Run esbuild (${context2.options.name}) with the following options:
|
|
2838
2843
|
${formatLogMessage(options)}`, context2.options.config);
|
|
2839
2844
|
const result = await esbuild2.build(options);
|
|
@@ -2716,12 +2716,16 @@ var resolveOptions = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, async
|
|
|
2716
2716
|
};
|
|
2717
2717
|
}, {})
|
|
2718
2718
|
},
|
|
2719
|
-
inject:
|
|
2719
|
+
inject: [
|
|
2720
2720
|
options.format === "cjs" && options.injectShims ? _chunk3DQG66DJjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
|
|
2721
2721
|
options.format === "esm" && options.injectShims && options.platform === "node" ? _chunk3DQG66DJjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : ""
|
|
2722
|
-
]
|
|
2722
|
+
]
|
|
2723
2723
|
};
|
|
2724
2724
|
result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
|
|
2725
|
+
if (options.inject) {
|
|
2726
|
+
options.inject = _defu2.default.call(void 0, result.inject, options.inject);
|
|
2727
|
+
}
|
|
2728
|
+
_optionalChain([options, 'access', _126 => _126.inject, 'optionalAccess', _127 => _127.filter, 'call', _128 => _128(Boolean)]);
|
|
2725
2729
|
delete result.entry;
|
|
2726
2730
|
delete result.outputPath;
|
|
2727
2731
|
stopwatch();
|
|
@@ -2833,6 +2837,7 @@ async function executeEsBuild(context2) {
|
|
|
2833
2837
|
delete options.renderers;
|
|
2834
2838
|
delete options.config;
|
|
2835
2839
|
delete options.injectShims;
|
|
2840
|
+
delete options.external;
|
|
2836
2841
|
writeTrace(`Run esbuild (${context2.options.name}) with the following options:
|
|
2837
2842
|
${formatLogMessage(options)}`, context2.options.config);
|
|
2838
2843
|
const result = await esbuild2.build(options);
|
|
@@ -2846,7 +2851,7 @@ ${formatLogMessage(options)}`, context2.options.config);
|
|
|
2846
2851
|
}
|
|
2847
2852
|
_chunkWTMG7MTKjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
2848
2853
|
async function copyBuildAssets(context2) {
|
|
2849
|
-
if (_optionalChain([context2, 'access',
|
|
2854
|
+
if (_optionalChain([context2, 'access', _129 => _129.result, 'optionalAccess', _130 => _130.errors, 'access', _131 => _131.length]) === 0) {
|
|
2850
2855
|
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
2851
2856
|
const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
|
|
2852
2857
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -2856,7 +2861,7 @@ async function copyBuildAssets(context2) {
|
|
|
2856
2861
|
}
|
|
2857
2862
|
_chunkWTMG7MTKjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
2858
2863
|
async function reportResults(context2) {
|
|
2859
|
-
if (_optionalChain([context2, 'access',
|
|
2864
|
+
if (_optionalChain([context2, 'access', _132 => _132.result, 'optionalAccess', _133 => _133.errors, 'access', _134 => _134.length]) === 0) {
|
|
2860
2865
|
if (context2.result.warnings.length > 0) {
|
|
2861
2866
|
writeWarning(` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
2862
2867
|
}
|
|
@@ -2957,14 +2962,14 @@ var watch = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, (context2, opti
|
|
|
2957
2962
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2958
2963
|
async function esbuildExecutorFn(options, context2, config) {
|
|
2959
2964
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
2960
|
-
if (!_optionalChain([context2, 'access',
|
|
2965
|
+
if (!_optionalChain([context2, 'access', _135 => _135.projectsConfigurations, 'optionalAccess', _136 => _136.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _137 => _137.projectsConfigurations, 'access', _138 => _138.projects, 'access', _139 => _139[context2.projectName], 'optionalAccess', _140 => _140.root])) {
|
|
2961
2966
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
2962
2967
|
}
|
|
2963
2968
|
await build3({
|
|
2964
2969
|
...options,
|
|
2965
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
2970
|
+
projectRoot: _optionalChain([context2, 'access', _141 => _141.projectsConfigurations, 'access', _142 => _142.projects, 'optionalAccess', _143 => _143[context2.projectName], 'access', _144 => _144.root]),
|
|
2966
2971
|
projectName: context2.projectName,
|
|
2967
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
2972
|
+
sourceRoot: _optionalChain([context2, 'access', _145 => _145.projectsConfigurations, 'access', _146 => _146.projects, 'optionalAccess', _147 => _147[context2.projectName], 'optionalAccess', _148 => _148.sourceRoot]),
|
|
2968
2973
|
format: options.format,
|
|
2969
2974
|
platform: options.format
|
|
2970
2975
|
});
|
|
@@ -3010,7 +3015,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
3010
3015
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
3011
3016
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
3012
3017
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
3013
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
3018
|
+
if (!_optionalChain([context2, 'optionalAccess', _149 => _149.projectName]) || !_optionalChain([context2, 'access', _150 => _150.projectsConfigurations, 'optionalAccess', _151 => _151.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
3014
3019
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
3015
3020
|
}
|
|
3016
3021
|
writeInfo(`\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -3019,7 +3024,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
3019
3024
|
_esbuild3.default,
|
|
3020
3025
|
_esbuildwhy2.default
|
|
3021
3026
|
], {
|
|
3022
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
3027
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _152 => _152.projectsConfigurations, 'access', _153 => _153.projects, 'access', _154 => _154[context2.projectName], 'optionalAccess', _155 => _155.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _156 => _156.projectsConfigurations, 'access', _157 => _157.projects, 'access', _158 => _158[context2.projectName], 'optionalAccess', _159 => _159.root]), () => ( "./")), "src")))
|
|
3023
3028
|
}).then((result) => {
|
|
3024
3029
|
writeInfo(`\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
3025
3030
|
});
|
|
@@ -3080,7 +3085,7 @@ _chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
|
3080
3085
|
var _jiti = require('jiti');
|
|
3081
3086
|
async function unbuildExecutorFn(options, context2, config) {
|
|
3082
3087
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
3083
|
-
if (!_optionalChain([context2, 'access',
|
|
3088
|
+
if (!_optionalChain([context2, 'access', _160 => _160.projectsConfigurations, 'optionalAccess', _161 => _161.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
3084
3089
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
3085
3090
|
}
|
|
3086
3091
|
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
@@ -3168,7 +3173,7 @@ var withRunGenerator = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, (nam
|
|
|
3168
3173
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
3169
3174
|
config = await getConfig(workspaceRoot3);
|
|
3170
3175
|
}
|
|
3171
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
3176
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _162 => _162.hooks, 'optionalAccess', _163 => _163.applyDefaultOptions])) {
|
|
3172
3177
|
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
3173
3178
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
3174
3179
|
writeDebug("Completed the applyDefaultOptions hook", config);
|
|
@@ -3179,22 +3184,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3179
3184
|
workspaceRoot: tree.root,
|
|
3180
3185
|
config
|
|
3181
3186
|
}, applyWorkspaceBaseTokens);
|
|
3182
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
3187
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _164 => _164.hooks, 'optionalAccess', _165 => _165.preProcess])) {
|
|
3183
3188
|
writeDebug("Running the preProcess hook...", config);
|
|
3184
3189
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
3185
3190
|
writeDebug("Completed the preProcess hook", config);
|
|
3186
3191
|
}
|
|
3187
3192
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
3188
3193
|
if (result) {
|
|
3189
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
3194
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _166 => _166.error, 'optionalAccess', _167 => _167.message]) && typeof _optionalChain([result, 'optionalAccess', _168 => _168.error, 'optionalAccess', _169 => _169.message]) === "string" && _optionalChain([result, 'optionalAccess', _170 => _170.error, 'optionalAccess', _171 => _171.name]) && typeof _optionalChain([result, 'optionalAccess', _172 => _172.error, 'optionalAccess', _173 => _173.name]) === "string") {
|
|
3190
3195
|
throw new Error(`The ${name} generator failed to run`, {
|
|
3191
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
3196
|
+
cause: _optionalChain([result, 'optionalAccess', _174 => _174.error])
|
|
3192
3197
|
});
|
|
3193
3198
|
} else if (result.success && result.data) {
|
|
3194
3199
|
return result;
|
|
3195
3200
|
}
|
|
3196
3201
|
}
|
|
3197
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
3202
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _175 => _175.hooks, 'optionalAccess', _176 => _176.postProcess])) {
|
|
3198
3203
|
writeDebug("Running the postProcess hook...", config);
|
|
3199
3204
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
3200
3205
|
writeDebug("Completed the postProcess hook", config);
|
|
@@ -3363,15 +3368,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3363
3368
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
3364
3369
|
let repository = {
|
|
3365
3370
|
type: "github",
|
|
3366
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
3371
|
+
url: _optionalChain([config, 'optionalAccess', _177 => _177.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _178 => _178.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _179 => _179.namespace]) || _optionalChain([config, 'optionalAccess', _180 => _180.name]) || "repository"}.git`
|
|
3367
3372
|
};
|
|
3368
3373
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
3369
3374
|
if (tree.exists("package.json")) {
|
|
3370
3375
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
3371
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3376
|
+
if (_optionalChain([packageJson, 'optionalAccess', _181 => _181.repository])) {
|
|
3372
3377
|
repository = packageJson.repository;
|
|
3373
3378
|
}
|
|
3374
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3379
|
+
if (_optionalChain([packageJson, 'optionalAccess', _182 => _182.description])) {
|
|
3375
3380
|
description = packageJson.description;
|
|
3376
3381
|
}
|
|
3377
3382
|
}
|
|
@@ -3426,9 +3431,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3426
3431
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
3427
3432
|
...json,
|
|
3428
3433
|
pnpm: {
|
|
3429
|
-
..._optionalChain([json, 'optionalAccess',
|
|
3434
|
+
..._optionalChain([json, 'optionalAccess', _183 => _183.pnpm]),
|
|
3430
3435
|
overrides: {
|
|
3431
|
-
..._optionalChain([json, 'optionalAccess',
|
|
3436
|
+
..._optionalChain([json, 'optionalAccess', _184 => _184.pnpm, 'optionalAccess', _185 => _185.overrides]),
|
|
3432
3437
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
3433
3438
|
}
|
|
3434
3439
|
}
|
|
@@ -3442,10 +3447,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3442
3447
|
]);
|
|
3443
3448
|
if (tree.exists("package.json")) {
|
|
3444
3449
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
3445
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3450
|
+
if (_optionalChain([packageJson, 'optionalAccess', _186 => _186.repository])) {
|
|
3446
3451
|
repository = packageJson.repository;
|
|
3447
3452
|
}
|
|
3448
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3453
|
+
if (_optionalChain([packageJson, 'optionalAccess', _187 => _187.description])) {
|
|
3449
3454
|
description = packageJson.description;
|
|
3450
3455
|
}
|
|
3451
3456
|
}
|
|
@@ -3493,24 +3498,24 @@ _chunkWTMG7MTKjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
3493
3498
|
function createProjectTsConfigJson(tree, options) {
|
|
3494
3499
|
const tsconfig = {
|
|
3495
3500
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
3496
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3501
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _188 => _188.tsconfigOptions]), () => ( {})),
|
|
3497
3502
|
compilerOptions: {
|
|
3498
3503
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3499
3504
|
outDir: _chunk3DQG66DJjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3500
3505
|
noEmit: true,
|
|
3501
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3506
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _189 => _189.tsconfigOptions, 'optionalAccess', _190 => _190.compilerOptions]), () => ( {}))
|
|
3502
3507
|
},
|
|
3503
3508
|
files: [
|
|
3504
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3509
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _191 => _191.tsconfigOptions, 'optionalAccess', _192 => _192.files]), () => ( []))
|
|
3505
3510
|
],
|
|
3506
3511
|
include: [
|
|
3507
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3512
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _193 => _193.tsconfigOptions, 'optionalAccess', _194 => _194.include]), () => ( [])),
|
|
3508
3513
|
"src/**/*.ts",
|
|
3509
3514
|
"src/**/*.js",
|
|
3510
3515
|
"bin/**/*"
|
|
3511
3516
|
],
|
|
3512
3517
|
exclude: [
|
|
3513
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3518
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _195 => _195.tsconfigOptions, 'optionalAccess', _196 => _196.exclude]), () => ( [])),
|
|
3514
3519
|
"jest.config.ts",
|
|
3515
3520
|
"src/**/*.spec.ts",
|
|
3516
3521
|
"src/**/*.test.ts"
|
|
@@ -3521,8 +3526,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3521
3526
|
_chunkWTMG7MTKjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
3522
3527
|
async function normalizeOptions(tree, options, config) {
|
|
3523
3528
|
let importPath = options.importPath;
|
|
3524
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
3525
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
3529
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _197 => _197.namespace])) {
|
|
3530
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _198 => _198.namespace])}/${options.name}`;
|
|
3526
3531
|
}
|
|
3527
3532
|
if (options.publishable) {
|
|
3528
3533
|
if (!importPath) {
|
|
@@ -3655,7 +3660,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
3655
3660
|
name: "StormWorkspaceConfiguration"
|
|
3656
3661
|
});
|
|
3657
3662
|
writeTrace(jsonSchema, config);
|
|
3658
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
3663
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _199 => _199.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _200 => _200.outputFile, 'optionalAccess', _201 => _201.startsWith, 'call', _202 => _202("./")]) ? "" : "./");
|
|
3659
3664
|
writeTrace(`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
3660
3665
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
3661
3666
|
spaces: 2
|
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3Y6AMHJ5.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkVEIIPJHPjs = require('./chunk-VEIIPJHP.js');
|
|
5
5
|
require('./chunk-3DQG66DJ.js');
|
|
6
6
|
require('./chunk-WTMG7MTK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkVEIIPJHPjs.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkZ2UXMCUYjs = require('./chunk-Z2UXMCUY.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkVEIIPJHPjs = require('./chunk-VEIIPJHP.js');
|
|
8
8
|
require('./chunk-3DQG66DJ.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -16,10 +16,10 @@ var _chunkWTMG7MTKjs = require('./chunk-WTMG7MTK.js');
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
18
|
_chunkWTMG7MTKjs.__export.call(void 0, index_exports, {
|
|
19
|
-
initGeneratorFn: () =>
|
|
19
|
+
initGeneratorFn: () => _chunkVEIIPJHPjs.initGeneratorFn
|
|
20
20
|
});
|
|
21
21
|
_chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
_chunkWTMG7MTKjs.__reExport.call(void 0, index_exports, _chunkWTMG7MTKjs.__toESM.call(void 0, _chunkZ2UXMCUYjs.require_components.call(void 0, )));
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.initGeneratorFn =
|
|
25
|
+
exports.initGeneratorFn = _chunkVEIIPJHPjs.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 _chunkVEIIPJHPjs = require('../../../chunk-VEIIPJHP.js');
|
|
5
5
|
require('../../../chunk-3DQG66DJ.js');
|
|
6
6
|
require('../../../chunk-WTMG7MTK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkVEIIPJHPjs.generator_default; exports.initGeneratorFn = _chunkVEIIPJHPjs.initGeneratorFn;
|