@storm-software/projen 0.9.37 → 0.9.38
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-VXDOX27T.js → chunk-JHKTV4AJ.js} +114 -92
- package/dist/{chunk-MHQEVFHV.mjs → chunk-WCN64HFB.mjs} +82 -60
- 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.38](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.38) (2025-04-07)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([1ac4c6ad4](https://github.com/storm-software/storm-ops/commit/1ac4c6ad4))
|
|
11
|
+
|
|
5
12
|
## [0.9.37](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.37) (2025-04-04)
|
|
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 -->
|
|
@@ -1881,57 +1881,6 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call
|
|
|
1881
1881
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
1882
1882
|
_chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
1883
1883
|
|
|
1884
|
-
var getEntryPoints = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
1885
|
-
const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
|
|
1886
|
-
const entryPoints = [];
|
|
1887
|
-
if (entry) {
|
|
1888
|
-
if (typeof entry === "string") {
|
|
1889
|
-
entryPoints.push(entry);
|
|
1890
|
-
} else if (Array.isArray(entry)) {
|
|
1891
|
-
entryPoints.push(...entry);
|
|
1892
|
-
} else {
|
|
1893
|
-
entryPoints.push(...Object.values(entry));
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
if (emitOnAll) {
|
|
1897
|
-
entryPoints.push(_chunk3DQG66DJjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
1898
|
-
}
|
|
1899
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
1900
|
-
const paths = [];
|
|
1901
|
-
if (entryPoint.includes("*")) {
|
|
1902
|
-
const files = await _glob.glob.call(void 0, entryPoint, {
|
|
1903
|
-
withFileTypes: true,
|
|
1904
|
-
ignore: [
|
|
1905
|
-
"**/node_modules/**"
|
|
1906
|
-
]
|
|
1907
|
-
});
|
|
1908
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
1909
|
-
const result = _chunk3DQG66DJjs.correctPaths.call(void 0, _chunk3DQG66DJjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunk3DQG66DJjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunk3DQG66DJjs.correctPaths.call(void 0, projectRoot), ""));
|
|
1910
|
-
if (result) {
|
|
1911
|
-
writeDebug(`Trying to add entry point ${result} at "${_chunk3DQG66DJjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
1912
|
-
if (!paths.includes(result)) {
|
|
1913
|
-
paths.push(result);
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
return ret;
|
|
1917
|
-
}, []));
|
|
1918
|
-
} else {
|
|
1919
|
-
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
1920
|
-
if (!paths.includes(entryPoint)) {
|
|
1921
|
-
paths.push(entryPoint);
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
return paths;
|
|
1925
|
-
}));
|
|
1926
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
1927
|
-
result.forEach((res) => {
|
|
1928
|
-
if (res && !ret.includes(res)) {
|
|
1929
|
-
ret.push(res);
|
|
1930
|
-
}
|
|
1931
|
-
});
|
|
1932
|
-
return ret;
|
|
1933
|
-
}, []);
|
|
1934
|
-
}, "getEntryPoints");
|
|
1935
1884
|
|
|
1936
1885
|
// ../build-tools/src/utilities/get-env.ts
|
|
1937
1886
|
_chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
@@ -2380,10 +2329,10 @@ var tscPlugin = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, (options, r
|
|
|
2380
2329
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
2381
2330
|
await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
|
|
2382
2331
|
}
|
|
2383
|
-
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
|
|
2332
|
+
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && _optionalChain([resolvedOptions, 'access', _122 => _122.entryPoints, 'access', _123 => _123[0], 'optionalAccess', _124 => _124.in]) && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
|
|
2384
2333
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
2385
2334
|
const typeOutDir = resolvedOptions.outdir;
|
|
2386
|
-
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
2335
|
+
const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
2387
2336
|
const bundlePath = _chunk3DQG66DJjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
|
|
2388
2337
|
let dtsPath;
|
|
2389
2338
|
if (_fs.existsSync.call(void 0, _chunk3DQG66DJjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
@@ -2406,7 +2355,7 @@ var tscPlugin = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, (options, r
|
|
|
2406
2355
|
function getTypeDependencyPackageName(npmPackage) {
|
|
2407
2356
|
if (npmPackage.startsWith("@")) {
|
|
2408
2357
|
const [scope, name] = npmPackage.split("/");
|
|
2409
|
-
return `@types/${_optionalChain([scope, 'optionalAccess',
|
|
2358
|
+
return `@types/${_optionalChain([scope, 'optionalAccess', _125 => _125.slice, 'call', _126 => _126(1)])}__${name}`;
|
|
2410
2359
|
}
|
|
2411
2360
|
return `@types/${npmPackage}`;
|
|
2412
2361
|
}
|
|
@@ -2576,6 +2525,85 @@ var shebangRenderer = {
|
|
|
2576
2525
|
}
|
|
2577
2526
|
};
|
|
2578
2527
|
|
|
2528
|
+
// ../esbuild/src/utilities/get-entry-points.ts
|
|
2529
|
+
_chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
2530
|
+
|
|
2531
|
+
var getEntryPoints = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
2532
|
+
const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
|
|
2533
|
+
const entryPoints = [];
|
|
2534
|
+
if (entry) {
|
|
2535
|
+
if (typeof entry === "string") {
|
|
2536
|
+
entryPoints.push({
|
|
2537
|
+
in: entry,
|
|
2538
|
+
out: entry
|
|
2539
|
+
});
|
|
2540
|
+
} else if (Array.isArray(entry)) {
|
|
2541
|
+
entryPoints.push(...entry.map((entry2) => ({
|
|
2542
|
+
in: entry2,
|
|
2543
|
+
out: entry2
|
|
2544
|
+
})));
|
|
2545
|
+
} else {
|
|
2546
|
+
entryPoints.push(...Object.entries(entry).map(([key, value]) => {
|
|
2547
|
+
if (typeof value === "string") {
|
|
2548
|
+
return {
|
|
2549
|
+
in: key,
|
|
2550
|
+
out: value
|
|
2551
|
+
};
|
|
2552
|
+
} else {
|
|
2553
|
+
return {
|
|
2554
|
+
in: key,
|
|
2555
|
+
out: key
|
|
2556
|
+
};
|
|
2557
|
+
}
|
|
2558
|
+
}));
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
if (emitOnAll) {
|
|
2562
|
+
entryPoints.push({
|
|
2563
|
+
in: _chunk3DQG66DJjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
|
|
2564
|
+
out: _chunk3DQG66DJjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}")
|
|
2565
|
+
});
|
|
2566
|
+
}
|
|
2567
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
2568
|
+
const paths = [];
|
|
2569
|
+
if (entryPoint.in.includes("*")) {
|
|
2570
|
+
const files = await _glob.glob.call(void 0, entryPoint.in, {
|
|
2571
|
+
withFileTypes: true,
|
|
2572
|
+
ignore: [
|
|
2573
|
+
"**/node_modules/**"
|
|
2574
|
+
]
|
|
2575
|
+
});
|
|
2576
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
2577
|
+
const result = _chunk3DQG66DJjs.correctPaths.call(void 0, _chunk3DQG66DJjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunk3DQG66DJjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunk3DQG66DJjs.correctPaths.call(void 0, projectRoot), ""));
|
|
2578
|
+
if (result) {
|
|
2579
|
+
writeDebug(`Trying to add entry point ${result} at "${_chunk3DQG66DJjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
2580
|
+
if (!paths.some((p) => p.in === result)) {
|
|
2581
|
+
paths.push({
|
|
2582
|
+
in: result,
|
|
2583
|
+
out: entryPoint.out.replace(entryPoint.in, result)
|
|
2584
|
+
});
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
return ret;
|
|
2588
|
+
}, []));
|
|
2589
|
+
} else {
|
|
2590
|
+
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
2591
|
+
if (!paths.some((p) => p.in === entryPoint.in)) {
|
|
2592
|
+
paths.push(entryPoint);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
return paths;
|
|
2596
|
+
}));
|
|
2597
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
2598
|
+
result.forEach((res) => {
|
|
2599
|
+
if (res && !ret.some((p) => p.in === res.in)) {
|
|
2600
|
+
ret.push(res);
|
|
2601
|
+
}
|
|
2602
|
+
});
|
|
2603
|
+
return ret;
|
|
2604
|
+
}, []);
|
|
2605
|
+
}, "getEntryPoints");
|
|
2606
|
+
|
|
2579
2607
|
// ../esbuild/src/utilities/helpers.ts
|
|
2580
2608
|
_chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
2581
2609
|
function handleSync(fn) {
|
|
@@ -2625,7 +2653,7 @@ function pipeSync(fn, ...fns) {
|
|
|
2625
2653
|
return (...args) => {
|
|
2626
2654
|
let result = fn(...args);
|
|
2627
2655
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
2628
|
-
result = _optionalChain([fns, 'access',
|
|
2656
|
+
result = _optionalChain([fns, 'access', _127 => _127[i], 'optionalCall', _128 => _128(result)]);
|
|
2629
2657
|
}
|
|
2630
2658
|
return result;
|
|
2631
2659
|
};
|
|
@@ -2635,7 +2663,7 @@ function pipeAsync(fn, ...fns) {
|
|
|
2635
2663
|
return async (...args) => {
|
|
2636
2664
|
let result = await fn(...args);
|
|
2637
2665
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
2638
|
-
result = await _optionalChain([fns, 'access',
|
|
2666
|
+
result = await _optionalChain([fns, 'access', _129 => _129[i], 'optionalCall', _130 => _130(result)]);
|
|
2639
2667
|
}
|
|
2640
2668
|
return result;
|
|
2641
2669
|
};
|
|
@@ -2665,7 +2693,7 @@ var resolveOptions = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, async
|
|
|
2665
2693
|
const projectJson = JSON.parse(projectJsonFile);
|
|
2666
2694
|
const projectName = projectJson.name;
|
|
2667
2695
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
2668
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
2696
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _131 => _131.projects, 'optionalAccess', _132 => _132[projectName]])) {
|
|
2669
2697
|
throw new Error("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.");
|
|
2670
2698
|
}
|
|
2671
2699
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
@@ -2771,19 +2799,13 @@ async function generatePackageJson(context2) {
|
|
|
2771
2799
|
packageJson.exports ??= {};
|
|
2772
2800
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
2773
2801
|
packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
|
|
2774
|
-
|
|
2802
|
+
const entryPoints = [
|
|
2775
2803
|
{
|
|
2776
2804
|
in: "./src/index.ts",
|
|
2777
2805
|
out: "./src/index.ts"
|
|
2778
2806
|
}
|
|
2779
2807
|
];
|
|
2780
2808
|
if (context2.options.entryPoints) {
|
|
2781
|
-
if (Array.isArray(context2.options.entryPoints)) {
|
|
2782
|
-
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
2783
|
-
in: entryPoint,
|
|
2784
|
-
out: _chunk3DQG66DJjs.correctPaths.call(void 0, entryPoint.replaceAll(_chunk3DQG66DJjs.correctPaths.call(void 0, context2.options.config.workspaceRoot), "").replaceAll(_chunk3DQG66DJjs.correctPaths.call(void 0, context2.options.projectRoot), ""))
|
|
2785
|
-
} : entryPoint);
|
|
2786
|
-
}
|
|
2787
2809
|
for (const entryPoint of entryPoints) {
|
|
2788
2810
|
const split = entryPoint.out.split(".");
|
|
2789
2811
|
split.pop();
|
|
@@ -2879,7 +2901,7 @@ ${formatLogMessage({
|
|
|
2879
2901
|
}
|
|
2880
2902
|
_chunkWTMG7MTKjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
2881
2903
|
async function copyBuildAssets(context2) {
|
|
2882
|
-
if (_optionalChain([context2, 'access',
|
|
2904
|
+
if (_optionalChain([context2, 'access', _133 => _133.result, 'optionalAccess', _134 => _134.errors, 'access', _135 => _135.length]) === 0) {
|
|
2883
2905
|
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
2884
2906
|
const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
|
|
2885
2907
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -2889,7 +2911,7 @@ async function copyBuildAssets(context2) {
|
|
|
2889
2911
|
}
|
|
2890
2912
|
_chunkWTMG7MTKjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
2891
2913
|
async function reportResults(context2) {
|
|
2892
|
-
if (_optionalChain([context2, 'access',
|
|
2914
|
+
if (_optionalChain([context2, 'access', _136 => _136.result, 'optionalAccess', _137 => _137.errors, 'access', _138 => _138.length]) === 0) {
|
|
2893
2915
|
if (context2.result.warnings.length > 0) {
|
|
2894
2916
|
writeWarning(` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
2895
2917
|
}
|
|
@@ -2990,14 +3012,14 @@ var watch = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, (context2, opti
|
|
|
2990
3012
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2991
3013
|
async function esbuildExecutorFn(options, context2, config) {
|
|
2992
3014
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
2993
|
-
if (!_optionalChain([context2, 'access',
|
|
3015
|
+
if (!_optionalChain([context2, 'access', _139 => _139.projectsConfigurations, 'optionalAccess', _140 => _140.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _141 => _141.projectsConfigurations, 'access', _142 => _142.projects, 'access', _143 => _143[context2.projectName], 'optionalAccess', _144 => _144.root])) {
|
|
2994
3016
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
2995
3017
|
}
|
|
2996
3018
|
await build3({
|
|
2997
3019
|
...options,
|
|
2998
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
3020
|
+
projectRoot: _optionalChain([context2, 'access', _145 => _145.projectsConfigurations, 'access', _146 => _146.projects, 'optionalAccess', _147 => _147[context2.projectName], 'access', _148 => _148.root]),
|
|
2999
3021
|
projectName: context2.projectName,
|
|
3000
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
3022
|
+
sourceRoot: _optionalChain([context2, 'access', _149 => _149.projectsConfigurations, 'access', _150 => _150.projects, 'optionalAccess', _151 => _151[context2.projectName], 'optionalAccess', _152 => _152.sourceRoot]),
|
|
3001
3023
|
format: options.format,
|
|
3002
3024
|
platform: options.format
|
|
3003
3025
|
});
|
|
@@ -3043,7 +3065,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
3043
3065
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
3044
3066
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
3045
3067
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
3046
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
3068
|
+
if (!_optionalChain([context2, 'optionalAccess', _153 => _153.projectName]) || !_optionalChain([context2, 'access', _154 => _154.projectsConfigurations, 'optionalAccess', _155 => _155.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
3047
3069
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
3048
3070
|
}
|
|
3049
3071
|
writeInfo(`\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -3052,7 +3074,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
3052
3074
|
_esbuild3.default,
|
|
3053
3075
|
_esbuildwhy2.default
|
|
3054
3076
|
], {
|
|
3055
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
3077
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _156 => _156.projectsConfigurations, 'access', _157 => _157.projects, 'access', _158 => _158[context2.projectName], 'optionalAccess', _159 => _159.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _160 => _160.projectsConfigurations, 'access', _161 => _161.projects, 'access', _162 => _162[context2.projectName], 'optionalAccess', _163 => _163.root]), () => ( "./")), "src")))
|
|
3056
3078
|
}).then((result) => {
|
|
3057
3079
|
writeInfo(`\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
3058
3080
|
});
|
|
@@ -3113,7 +3135,7 @@ _chunkWTMG7MTKjs.init_cjs_shims.call(void 0, );
|
|
|
3113
3135
|
var _jiti = require('jiti');
|
|
3114
3136
|
async function unbuildExecutorFn(options, context2, config) {
|
|
3115
3137
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
3116
|
-
if (!_optionalChain([context2, 'access',
|
|
3138
|
+
if (!_optionalChain([context2, 'access', _164 => _164.projectsConfigurations, 'optionalAccess', _165 => _165.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
3117
3139
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
3118
3140
|
}
|
|
3119
3141
|
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
@@ -3201,7 +3223,7 @@ var withRunGenerator = /* @__PURE__ */ _chunkWTMG7MTKjs.__name.call(void 0, (nam
|
|
|
3201
3223
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
3202
3224
|
config = await getConfig(workspaceRoot3);
|
|
3203
3225
|
}
|
|
3204
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
3226
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _166 => _166.hooks, 'optionalAccess', _167 => _167.applyDefaultOptions])) {
|
|
3205
3227
|
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
3206
3228
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
3207
3229
|
writeDebug("Completed the applyDefaultOptions hook", config);
|
|
@@ -3212,22 +3234,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3212
3234
|
workspaceRoot: tree.root,
|
|
3213
3235
|
config
|
|
3214
3236
|
}, applyWorkspaceBaseTokens);
|
|
3215
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
3237
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _168 => _168.hooks, 'optionalAccess', _169 => _169.preProcess])) {
|
|
3216
3238
|
writeDebug("Running the preProcess hook...", config);
|
|
3217
3239
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
3218
3240
|
writeDebug("Completed the preProcess hook", config);
|
|
3219
3241
|
}
|
|
3220
3242
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
3221
3243
|
if (result) {
|
|
3222
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
3244
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _170 => _170.error, 'optionalAccess', _171 => _171.message]) && typeof _optionalChain([result, 'optionalAccess', _172 => _172.error, 'optionalAccess', _173 => _173.message]) === "string" && _optionalChain([result, 'optionalAccess', _174 => _174.error, 'optionalAccess', _175 => _175.name]) && typeof _optionalChain([result, 'optionalAccess', _176 => _176.error, 'optionalAccess', _177 => _177.name]) === "string") {
|
|
3223
3245
|
throw new Error(`The ${name} generator failed to run`, {
|
|
3224
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
3246
|
+
cause: _optionalChain([result, 'optionalAccess', _178 => _178.error])
|
|
3225
3247
|
});
|
|
3226
3248
|
} else if (result.success && result.data) {
|
|
3227
3249
|
return result;
|
|
3228
3250
|
}
|
|
3229
3251
|
}
|
|
3230
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
3252
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _179 => _179.hooks, 'optionalAccess', _180 => _180.postProcess])) {
|
|
3231
3253
|
writeDebug("Running the postProcess hook...", config);
|
|
3232
3254
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
3233
3255
|
writeDebug("Completed the postProcess hook", config);
|
|
@@ -3396,15 +3418,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3396
3418
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
3397
3419
|
let repository = {
|
|
3398
3420
|
type: "github",
|
|
3399
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
3421
|
+
url: _optionalChain([config, 'optionalAccess', _181 => _181.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _182 => _182.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _183 => _183.namespace]) || _optionalChain([config, 'optionalAccess', _184 => _184.name]) || "repository"}.git`
|
|
3400
3422
|
};
|
|
3401
3423
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
3402
3424
|
if (tree.exists("package.json")) {
|
|
3403
3425
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
3404
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3426
|
+
if (_optionalChain([packageJson, 'optionalAccess', _185 => _185.repository])) {
|
|
3405
3427
|
repository = packageJson.repository;
|
|
3406
3428
|
}
|
|
3407
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3429
|
+
if (_optionalChain([packageJson, 'optionalAccess', _186 => _186.description])) {
|
|
3408
3430
|
description = packageJson.description;
|
|
3409
3431
|
}
|
|
3410
3432
|
}
|
|
@@ -3459,9 +3481,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3459
3481
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
3460
3482
|
...json,
|
|
3461
3483
|
pnpm: {
|
|
3462
|
-
..._optionalChain([json, 'optionalAccess',
|
|
3484
|
+
..._optionalChain([json, 'optionalAccess', _187 => _187.pnpm]),
|
|
3463
3485
|
overrides: {
|
|
3464
|
-
..._optionalChain([json, 'optionalAccess',
|
|
3486
|
+
..._optionalChain([json, 'optionalAccess', _188 => _188.pnpm, 'optionalAccess', _189 => _189.overrides]),
|
|
3465
3487
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
3466
3488
|
}
|
|
3467
3489
|
}
|
|
@@ -3475,10 +3497,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3475
3497
|
]);
|
|
3476
3498
|
if (tree.exists("package.json")) {
|
|
3477
3499
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
3478
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3500
|
+
if (_optionalChain([packageJson, 'optionalAccess', _190 => _190.repository])) {
|
|
3479
3501
|
repository = packageJson.repository;
|
|
3480
3502
|
}
|
|
3481
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
3503
|
+
if (_optionalChain([packageJson, 'optionalAccess', _191 => _191.description])) {
|
|
3482
3504
|
description = packageJson.description;
|
|
3483
3505
|
}
|
|
3484
3506
|
}
|
|
@@ -3526,24 +3548,24 @@ _chunkWTMG7MTKjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
3526
3548
|
function createProjectTsConfigJson(tree, options) {
|
|
3527
3549
|
const tsconfig = {
|
|
3528
3550
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
3529
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3551
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _192 => _192.tsconfigOptions]), () => ( {})),
|
|
3530
3552
|
compilerOptions: {
|
|
3531
3553
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3532
3554
|
outDir: _chunk3DQG66DJjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3533
3555
|
noEmit: true,
|
|
3534
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3556
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _193 => _193.tsconfigOptions, 'optionalAccess', _194 => _194.compilerOptions]), () => ( {}))
|
|
3535
3557
|
},
|
|
3536
3558
|
files: [
|
|
3537
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3559
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _195 => _195.tsconfigOptions, 'optionalAccess', _196 => _196.files]), () => ( []))
|
|
3538
3560
|
],
|
|
3539
3561
|
include: [
|
|
3540
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3562
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _197 => _197.tsconfigOptions, 'optionalAccess', _198 => _198.include]), () => ( [])),
|
|
3541
3563
|
"src/**/*.ts",
|
|
3542
3564
|
"src/**/*.js",
|
|
3543
3565
|
"bin/**/*"
|
|
3544
3566
|
],
|
|
3545
3567
|
exclude: [
|
|
3546
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
3568
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _199 => _199.tsconfigOptions, 'optionalAccess', _200 => _200.exclude]), () => ( [])),
|
|
3547
3569
|
"jest.config.ts",
|
|
3548
3570
|
"src/**/*.spec.ts",
|
|
3549
3571
|
"src/**/*.test.ts"
|
|
@@ -3554,8 +3576,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3554
3576
|
_chunkWTMG7MTKjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
3555
3577
|
async function normalizeOptions(tree, options, config) {
|
|
3556
3578
|
let importPath = options.importPath;
|
|
3557
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
3558
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
3579
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _201 => _201.namespace])) {
|
|
3580
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _202 => _202.namespace])}/${options.name}`;
|
|
3559
3581
|
}
|
|
3560
3582
|
if (options.publishable) {
|
|
3561
3583
|
if (!importPath) {
|
|
@@ -3688,7 +3710,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
3688
3710
|
name: "StormWorkspaceConfiguration"
|
|
3689
3711
|
});
|
|
3690
3712
|
writeTrace(jsonSchema, config);
|
|
3691
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
3713
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _203 => _203.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _204 => _204.outputFile, 'optionalAccess', _205 => _205.startsWith, 'call', _206 => _206("./")]) ? "" : "./");
|
|
3692
3714
|
writeTrace(`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
3693
3715
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
3694
3716
|
spaces: 2
|
|
@@ -1882,57 +1882,6 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projec
|
|
|
1882
1882
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
1883
1883
|
init_esm_shims();
|
|
1884
1884
|
import { glob as glob2 } from "glob";
|
|
1885
|
-
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
1886
|
-
const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
|
|
1887
|
-
const entryPoints = [];
|
|
1888
|
-
if (entry) {
|
|
1889
|
-
if (typeof entry === "string") {
|
|
1890
|
-
entryPoints.push(entry);
|
|
1891
|
-
} else if (Array.isArray(entry)) {
|
|
1892
|
-
entryPoints.push(...entry);
|
|
1893
|
-
} else {
|
|
1894
|
-
entryPoints.push(...Object.values(entry));
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
if (emitOnAll) {
|
|
1898
|
-
entryPoints.push(joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
1899
|
-
}
|
|
1900
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
1901
|
-
const paths = [];
|
|
1902
|
-
if (entryPoint.includes("*")) {
|
|
1903
|
-
const files = await glob2(entryPoint, {
|
|
1904
|
-
withFileTypes: true,
|
|
1905
|
-
ignore: [
|
|
1906
|
-
"**/node_modules/**"
|
|
1907
|
-
]
|
|
1908
|
-
});
|
|
1909
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
1910
|
-
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
|
|
1911
|
-
if (result) {
|
|
1912
|
-
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
1913
|
-
if (!paths.includes(result)) {
|
|
1914
|
-
paths.push(result);
|
|
1915
|
-
}
|
|
1916
|
-
}
|
|
1917
|
-
return ret;
|
|
1918
|
-
}, []));
|
|
1919
|
-
} else {
|
|
1920
|
-
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
1921
|
-
if (!paths.includes(entryPoint)) {
|
|
1922
|
-
paths.push(entryPoint);
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
return paths;
|
|
1926
|
-
}));
|
|
1927
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
1928
|
-
result.forEach((res) => {
|
|
1929
|
-
if (res && !ret.includes(res)) {
|
|
1930
|
-
ret.push(res);
|
|
1931
|
-
}
|
|
1932
|
-
});
|
|
1933
|
-
return ret;
|
|
1934
|
-
}, []);
|
|
1935
|
-
}, "getEntryPoints");
|
|
1936
1885
|
|
|
1937
1886
|
// ../build-tools/src/utilities/get-env.ts
|
|
1938
1887
|
init_esm_shims();
|
|
@@ -2381,10 +2330,10 @@ var tscPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
|
2381
2330
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
2382
2331
|
await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
|
|
2383
2332
|
}
|
|
2384
|
-
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
|
|
2333
|
+
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0]?.in && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
|
|
2385
2334
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
2386
2335
|
const typeOutDir = resolvedOptions.outdir;
|
|
2387
|
-
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
2336
|
+
const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
2388
2337
|
const bundlePath = joinPaths(resolvedOptions.outdir, entryPoint);
|
|
2389
2338
|
let dtsPath;
|
|
2390
2339
|
if (existsSync5(joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
@@ -2577,6 +2526,85 @@ var shebangRenderer = {
|
|
|
2577
2526
|
}
|
|
2578
2527
|
};
|
|
2579
2528
|
|
|
2529
|
+
// ../esbuild/src/utilities/get-entry-points.ts
|
|
2530
|
+
init_esm_shims();
|
|
2531
|
+
import { glob as glob3 } from "glob";
|
|
2532
|
+
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
2533
|
+
const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
|
|
2534
|
+
const entryPoints = [];
|
|
2535
|
+
if (entry) {
|
|
2536
|
+
if (typeof entry === "string") {
|
|
2537
|
+
entryPoints.push({
|
|
2538
|
+
in: entry,
|
|
2539
|
+
out: entry
|
|
2540
|
+
});
|
|
2541
|
+
} else if (Array.isArray(entry)) {
|
|
2542
|
+
entryPoints.push(...entry.map((entry2) => ({
|
|
2543
|
+
in: entry2,
|
|
2544
|
+
out: entry2
|
|
2545
|
+
})));
|
|
2546
|
+
} else {
|
|
2547
|
+
entryPoints.push(...Object.entries(entry).map(([key, value]) => {
|
|
2548
|
+
if (typeof value === "string") {
|
|
2549
|
+
return {
|
|
2550
|
+
in: key,
|
|
2551
|
+
out: value
|
|
2552
|
+
};
|
|
2553
|
+
} else {
|
|
2554
|
+
return {
|
|
2555
|
+
in: key,
|
|
2556
|
+
out: key
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
}));
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
if (emitOnAll) {
|
|
2563
|
+
entryPoints.push({
|
|
2564
|
+
in: joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
|
|
2565
|
+
out: joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}")
|
|
2566
|
+
});
|
|
2567
|
+
}
|
|
2568
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
2569
|
+
const paths = [];
|
|
2570
|
+
if (entryPoint.in.includes("*")) {
|
|
2571
|
+
const files = await glob3(entryPoint.in, {
|
|
2572
|
+
withFileTypes: true,
|
|
2573
|
+
ignore: [
|
|
2574
|
+
"**/node_modules/**"
|
|
2575
|
+
]
|
|
2576
|
+
});
|
|
2577
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
2578
|
+
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
|
|
2579
|
+
if (result) {
|
|
2580
|
+
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
2581
|
+
if (!paths.some((p) => p.in === result)) {
|
|
2582
|
+
paths.push({
|
|
2583
|
+
in: result,
|
|
2584
|
+
out: entryPoint.out.replace(entryPoint.in, result)
|
|
2585
|
+
});
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
return ret;
|
|
2589
|
+
}, []));
|
|
2590
|
+
} else {
|
|
2591
|
+
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
2592
|
+
if (!paths.some((p) => p.in === entryPoint.in)) {
|
|
2593
|
+
paths.push(entryPoint);
|
|
2594
|
+
}
|
|
2595
|
+
}
|
|
2596
|
+
return paths;
|
|
2597
|
+
}));
|
|
2598
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
2599
|
+
result.forEach((res) => {
|
|
2600
|
+
if (res && !ret.some((p) => p.in === res.in)) {
|
|
2601
|
+
ret.push(res);
|
|
2602
|
+
}
|
|
2603
|
+
});
|
|
2604
|
+
return ret;
|
|
2605
|
+
}, []);
|
|
2606
|
+
}, "getEntryPoints");
|
|
2607
|
+
|
|
2580
2608
|
// ../esbuild/src/utilities/helpers.ts
|
|
2581
2609
|
init_esm_shims();
|
|
2582
2610
|
function handleSync(fn) {
|
|
@@ -2772,19 +2800,13 @@ async function generatePackageJson(context2) {
|
|
|
2772
2800
|
packageJson.exports ??= {};
|
|
2773
2801
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
2774
2802
|
packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
|
|
2775
|
-
|
|
2803
|
+
const entryPoints = [
|
|
2776
2804
|
{
|
|
2777
2805
|
in: "./src/index.ts",
|
|
2778
2806
|
out: "./src/index.ts"
|
|
2779
2807
|
}
|
|
2780
2808
|
];
|
|
2781
2809
|
if (context2.options.entryPoints) {
|
|
2782
|
-
if (Array.isArray(context2.options.entryPoints)) {
|
|
2783
|
-
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
2784
|
-
in: entryPoint,
|
|
2785
|
-
out: correctPaths(entryPoint.replaceAll(correctPaths(context2.options.config.workspaceRoot), "").replaceAll(correctPaths(context2.options.projectRoot), ""))
|
|
2786
|
-
} : entryPoint);
|
|
2787
|
-
}
|
|
2788
2810
|
for (const entryPoint of entryPoints) {
|
|
2789
2811
|
const split = entryPoint.out.split(".");
|
|
2790
2812
|
split.pop();
|
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 _chunkJHKTV4AJjs = require('./chunk-JHKTV4AJ.js');
|
|
5
5
|
require('./chunk-3DQG66DJ.js');
|
|
6
6
|
require('./chunk-WTMG7MTK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkJHKTV4AJjs.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 _chunkJHKTV4AJjs = require('./chunk-JHKTV4AJ.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: () => _chunkJHKTV4AJjs.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 = _chunkJHKTV4AJjs.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 _chunkJHKTV4AJjs = require('../../../chunk-JHKTV4AJ.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 = _chunkJHKTV4AJjs.generator_default; exports.initGeneratorFn = _chunkJHKTV4AJjs.initGeneratorFn;
|