@storm-software/pulumi-tools 0.7.0 → 0.7.3

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{chunk-53MF6VMZ.js → chunk-6FXELAAU.js} +2 -2
  3. package/dist/{chunk-CFSEZM76.js → chunk-7PPYQH3N.js} +2 -2
  4. package/dist/{chunk-XVKT7UGE.mjs → chunk-A6CBZSEQ.mjs} +1 -1
  5. package/dist/{chunk-LZVNTYR3.js → chunk-AUKNCSAG.js} +5 -5
  6. package/dist/{chunk-F6BX5YBK.mjs → chunk-BDMO52WS.mjs} +1 -1
  7. package/dist/{chunk-AJZ5SHGR.js → chunk-EXRYBEI6.js} +2 -2
  8. package/dist/{chunk-Z2BSLIJ7.js → chunk-GHJM2ZLS.js} +709 -144
  9. package/dist/{chunk-Z7XF6QIZ.mjs → chunk-IJD3Y56I.mjs} +1 -1
  10. package/dist/{chunk-FLIBLJZ5.mjs → chunk-KUMMH6MK.mjs} +712 -147
  11. package/dist/{chunk-3I666OI5.js → chunk-L2RV7FVQ.js} +2 -2
  12. package/dist/{chunk-QWZKKPML.mjs → chunk-OMYSB5DA.mjs} +1 -1
  13. package/dist/{chunk-ANLNSAGB.mjs → chunk-T6M6HPMY.mjs} +1 -1
  14. package/dist/{chunk-A6SQY5H3.js → chunk-TEMOWP6U.js} +2 -2
  15. package/dist/{chunk-4BDVESFO.mjs → chunk-TRHIR6LO.mjs} +1 -1
  16. package/dist/{chunk-DFO7BOCT.js → chunk-WAPECT7Q.js} +3 -3
  17. package/dist/{chunk-U64WWLJ7.mjs → chunk-XQUDEM6K.mjs} +1 -1
  18. package/dist/executors.js +7 -7
  19. package/dist/executors.mjs +7 -7
  20. package/dist/generators.js +3 -3
  21. package/dist/generators.mjs +2 -2
  22. package/dist/index.js +9 -9
  23. package/dist/index.mjs +8 -8
  24. package/dist/src/base/base-executor.js +3 -3
  25. package/dist/src/base/base-executor.mjs +2 -2
  26. package/dist/src/base/index.js +3 -3
  27. package/dist/src/base/index.mjs +2 -2
  28. package/dist/src/executors/config/executor.js +4 -4
  29. package/dist/src/executors/config/executor.mjs +3 -3
  30. package/dist/src/executors/import/executor.js +4 -4
  31. package/dist/src/executors/import/executor.mjs +3 -3
  32. package/dist/src/executors/preview/executor.js +4 -4
  33. package/dist/src/executors/preview/executor.mjs +3 -3
  34. package/dist/src/executors/refresh/executor.js +4 -4
  35. package/dist/src/executors/refresh/executor.mjs +3 -3
  36. package/dist/src/executors/up/executor.js +4 -4
  37. package/dist/src/executors/up/executor.mjs +3 -3
  38. package/dist/src/generators/init/generator.js +3 -3
  39. package/dist/src/generators/init/generator.mjs +2 -2
  40. package/package.json +142 -1
@@ -654,26 +654,26 @@ var applyWorkspaceTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
654
654
  // ../config-tools/src/config-file/get-config-file.ts
655
655
  var getConfigFileByName = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
656
656
  const workspacePath = filePath || findWorkspaceRoot(filePath);
657
- let config = _c12.loadConfig.call(void 0, {
657
+ let config = await _c12.loadConfig.call(void 0, {
658
658
  cwd: workspacePath,
659
659
  packageJson: true,
660
660
  name: fileName,
661
661
  envName: _optionalChain([fileName, 'optionalAccess', _34 => _34.toUpperCase, 'call', _35 => _35()]),
662
662
  jitiOptions: {
663
663
  debug: false,
664
- cache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
664
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
665
665
  },
666
666
  ...options
667
667
  });
668
668
  if (!config || Object.keys(config).length === 0) {
669
- config = _c12.loadConfig.call(void 0, {
669
+ config = await _c12.loadConfig.call(void 0, {
670
670
  cwd: workspacePath,
671
671
  packageJson: true,
672
672
  name: fileName,
673
673
  envName: _optionalChain([fileName, 'optionalAccess', _36 => _36.toUpperCase, 'call', _37 => _37()]),
674
674
  jitiOptions: {
675
675
  debug: false,
676
- cache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache", "storm")
676
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
677
677
  },
678
678
  configFile: fileName,
679
679
  ...options
@@ -1614,12 +1614,13 @@ var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_reso
1614
1614
 
1615
1615
  // ../build-tools/src/utilities/copy-assets.ts
1616
1616
 
1617
-
1618
1617
  var _js = require('@nx/js');
1619
1618
  var _glob = require('glob');
1619
+ var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
1620
1620
 
1621
1621
  // ../build-tools/src/utilities/read-nx-config.ts
1622
1622
 
1623
+
1623
1624
  var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3) => {
1624
1625
  let rootDir = workspaceRoot3;
1625
1626
  if (!rootDir) {
@@ -1627,10 +1628,11 @@ var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (w
1627
1628
  rootDir = config.workspaceRoot;
1628
1629
  }
1629
1630
  const nxJsonPath = joinPaths(rootDir, "nx.json");
1630
- if (!await _node.hfs.isFile(nxJsonPath)) {
1631
+ if (!_fs.existsSync.call(void 0, nxJsonPath)) {
1631
1632
  throw new Error("Cannot find project.json configuration");
1632
1633
  }
1633
- return _node.hfs.json(nxJsonPath);
1634
+ const configContent = await _promises.readFile.call(void 0, nxJsonPath, "utf8");
1635
+ return JSON.parse(configContent);
1634
1636
  }, "readNxConfig");
1635
1637
 
1636
1638
  // ../build-tools/src/utilities/copy-assets.ts
@@ -1665,14 +1667,12 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
1665
1667
  });
1666
1668
  }
1667
1669
  const nxJson = readNxConfig(config.workspaceRoot);
1668
- const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1669
- exitOnError: true
1670
- });
1670
+ const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
1671
1671
  const projectsConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
1672
1672
  if (!_optionalChain([projectsConfigurations, 'optionalAccess', _122 => _122.projects, 'optionalAccess', _123 => _123[projectName]])) {
1673
1673
  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.");
1674
1674
  }
1675
- const buildTarget = _optionalChain([projectsConfigurations, 'access', _124 => _124.projects, 'access', _125 => _125[projectName], 'optionalAccess', _126 => _126.targets, 'optionalAccess', _127 => _127.build]);
1675
+ const buildTarget = _optionalChain([projectsConfigurations, 'access', _124 => _124.projects, 'access', _125 => _125[projectName], 'access', _126 => _126.targets, 'optionalAccess', _127 => _127.build]);
1676
1676
  if (!buildTarget) {
1677
1677
  throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${joinPaths(projectRoot, "project.json")}`);
1678
1678
  }
@@ -1702,42 +1702,30 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
1702
1702
  joinPaths(config.workspaceRoot, outputPath, "src/**/*.js"),
1703
1703
  joinPaths(config.workspaceRoot, outputPath, "src/**/*.jsx")
1704
1704
  ]);
1705
- await Promise.allSettled(files.map(async (file) => _node.hfs.write(file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
1705
+ await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
1706
1706
 
1707
- ${await _node.hfs.text(file)}
1707
+ ${await _promises.readFile.call(void 0, file, "utf8")}
1708
1708
 
1709
1709
  ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `// ${footer}` : ""}`)));
1710
1710
  }
1711
1711
  }, "copyAssets");
1712
1712
 
1713
1713
  // ../build-tools/src/utilities/generate-package-json.ts
1714
-
1715
1714
  var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
1716
1715
 
1716
+
1717
+
1717
1718
  var _projectgraph = require('nx/src/project-graph/project-graph');
1718
1719
  var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
1719
- const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, {
1720
- exitOnError: true
1721
- });
1722
- const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
1723
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _128 => _128.projects, 'optionalAccess', _129 => _129[projectName]])) {
1724
- 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.");
1725
- }
1726
- const projectJsonPath = joinPaths(workspaceRoot3, projectRoot, "project.json");
1727
- if (!await _node.hfs.isFile(projectJsonPath)) {
1728
- throw new Error("Cannot find project.json configuration");
1729
- }
1730
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _130 => _130.projects, 'optionalAccess', _131 => _131[projectName]])) {
1731
- 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.");
1732
- }
1733
- const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
1720
+ const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, _projectgraph.readCachedProjectGraph.call(void 0, ), workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
1734
1721
  const localPackages = [];
1735
1722
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
1736
1723
  const projectNode = project.node;
1737
1724
  if (projectNode.data.root) {
1738
1725
  const projectPackageJsonPath = joinPaths(workspaceRoot3, projectNode.data.root, "package.json");
1739
- if (await _node.hfs.isFile(projectPackageJsonPath)) {
1740
- const projectPackageJson = await _node.hfs.json(projectPackageJsonPath);
1726
+ if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
1727
+ const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
1728
+ const projectPackageJson = JSON.parse(projectPackageJsonContent);
1741
1729
  if (projectPackageJson.private !== false) {
1742
1730
  localPackages.push(projectPackageJson);
1743
1731
  }
@@ -1773,7 +1761,8 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
1773
1761
  }, "addPackageDependencies");
1774
1762
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
1775
1763
  const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
1776
- const workspacePackageJson = await _node.hfs.json(joinPaths(workspaceRoot3, "package.json"));
1764
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, joinPaths(workspaceRoot3, "package.json"), "utf8");
1765
+ const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
1777
1766
  packageJson.type ??= "module";
1778
1767
  packageJson.sideEffects ??= false;
1779
1768
  if (includeSrc === true) {
@@ -1919,18 +1908,18 @@ var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, opti
1919
1908
  }, "getEnv");
1920
1909
 
1921
1910
  // ../build-tools/src/utilities/get-out-extension.ts
1922
- function getOutExtension(format, pkgType) {
1911
+ function getOutExtension(format2, pkgType) {
1923
1912
  let jsExtension = ".js";
1924
1913
  let dtsExtension = ".d.ts";
1925
- if (pkgType === "module" && format === "cjs") {
1914
+ if (pkgType === "module" && format2 === "cjs") {
1926
1915
  jsExtension = ".cjs";
1927
1916
  dtsExtension = ".d.cts";
1928
1917
  }
1929
- if (pkgType !== "module" && format === "esm") {
1918
+ if (pkgType !== "module" && format2 === "esm") {
1930
1919
  jsExtension = ".mjs";
1931
1920
  dtsExtension = ".d.mts";
1932
1921
  }
1933
- if (format === "iife") {
1922
+ if (format2 === "iife") {
1934
1923
  jsExtension = ".global.js";
1935
1924
  }
1936
1925
  return {
@@ -2018,15 +2007,15 @@ var RendererEngine = class {
2018
2007
  if (!relativePath.startsWith("\\\\?\\")) {
2019
2008
  relativePath = relativePath.replace(/\\/g, "/");
2020
2009
  }
2021
- const meta = _optionalChain([metafile, 'optionalAccess', _132 => _132.outputs, 'access', _133 => _133[relativePath]]);
2010
+ const meta = _optionalChain([metafile, 'optionalAccess', _128 => _128.outputs, 'access', _129 => _129[relativePath]]);
2022
2011
  return {
2023
2012
  type: "chunk",
2024
2013
  path: file.path,
2025
2014
  code: file.text,
2026
- map: _optionalChain([outputFiles, 'access', _134 => _134.find, 'call', _135 => _135((f) => f.path === `${file.path}.map`), 'optionalAccess', _136 => _136.text]),
2027
- entryPoint: _optionalChain([meta, 'optionalAccess', _137 => _137.entryPoint]),
2028
- exports: _optionalChain([meta, 'optionalAccess', _138 => _138.exports]),
2029
- imports: _optionalChain([meta, 'optionalAccess', _139 => _139.imports])
2015
+ map: _optionalChain([outputFiles, 'access', _130 => _130.find, 'call', _131 => _131((f) => f.path === `${file.path}.map`), 'optionalAccess', _132 => _132.text]),
2016
+ entryPoint: _optionalChain([meta, 'optionalAccess', _133 => _133.entryPoint]),
2017
+ exports: _optionalChain([meta, 'optionalAccess', _134 => _134.exports]),
2018
+ imports: _optionalChain([meta, 'optionalAccess', _135 => _135.imports])
2030
2019
  };
2031
2020
  } else {
2032
2021
  return {
@@ -2109,7 +2098,7 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
2109
2098
  name: "storm:esm-split-code-to-cjs",
2110
2099
  setup(build6) {
2111
2100
  build6.onEnd(async (result) => {
2112
- const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _140 => _140.metafile, 'optionalAccess', _141 => _141.outputs]), () => ( {})));
2101
+ const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _136 => _136.metafile, 'optionalAccess', _137 => _137.outputs]), () => ( {})));
2113
2102
  const jsFiles = outFiles.filter((f) => f.endsWith("js"));
2114
2103
  await esbuild.build({
2115
2104
  outdir: resolvedOptions.outdir,
@@ -2231,7 +2220,7 @@ ${result.errors.map((error) => error.text).join("\n")}
2231
2220
  // ../esbuild/src/plugins/resolve-paths.ts
2232
2221
 
2233
2222
  function resolvePathsConfig(options, cwd) {
2234
- if (_optionalChain([options, 'optionalAccess', _142 => _142.compilerOptions, 'optionalAccess', _143 => _143.paths])) {
2223
+ if (_optionalChain([options, 'optionalAccess', _138 => _138.compilerOptions, 'optionalAccess', _139 => _139.paths])) {
2235
2224
  const paths = Object.entries(options.compilerOptions.paths);
2236
2225
  const resolvedPaths = paths.map(([key, paths2]) => {
2237
2226
  return [
@@ -2259,7 +2248,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (o
2259
2248
  build6.onResolve({
2260
2249
  filter: packagesRegex
2261
2250
  }, (args) => {
2262
- if (_optionalChain([build6, 'access', _144 => _144.initialOptions, 'access', _145 => _145.external, 'optionalAccess', _146 => _146.includes, 'call', _147 => _147(args.path)])) {
2251
+ if (_optionalChain([build6, 'access', _140 => _140.initialOptions, 'access', _141 => _141.external, 'optionalAccess', _142 => _142.includes, 'call', _143 => _143(args.path)])) {
2263
2252
  return {
2264
2253
  path: args.path,
2265
2254
  external: true
@@ -2367,7 +2356,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
2367
2356
  function getTypeDependencyPackageName(npmPackage) {
2368
2357
  if (npmPackage.startsWith("@")) {
2369
2358
  const [scope, name] = npmPackage.split("/");
2370
- return `@types/${_optionalChain([scope, 'optionalAccess', _148 => _148.slice, 'call', _149 => _149(1)])}__${name}`;
2359
+ return `@types/${_optionalChain([scope, 'optionalAccess', _144 => _144.slice, 'call', _145 => _145(1)])}__${name}`;
2371
2360
  }
2372
2361
  return `@types/${npmPackage}`;
2373
2362
  }
@@ -2574,7 +2563,7 @@ function pipeSync(fn, ...fns) {
2574
2563
  return (...args) => {
2575
2564
  let result = fn(...args);
2576
2565
  for (let i = 0; result !== skip && i < fns.length; ++i) {
2577
- result = _optionalChain([fns, 'access', _150 => _150[i], 'optionalCall', _151 => _151(result)]);
2566
+ result = _optionalChain([fns, 'access', _146 => _146[i], 'optionalCall', _147 => _147(result)]);
2578
2567
  }
2579
2568
  return result;
2580
2569
  };
@@ -2584,7 +2573,7 @@ function pipeAsync(fn, ...fns) {
2584
2573
  return async (...args) => {
2585
2574
  let result = await fn(...args);
2586
2575
  for (let i = 0; result !== skip && i < fns.length; ++i) {
2587
- result = await _optionalChain([fns, 'access', _152 => _152[i], 'optionalCall', _153 => _153(result)]);
2576
+ result = await _optionalChain([fns, 'access', _148 => _148[i], 'optionalCall', _149 => _149(result)]);
2588
2577
  }
2589
2578
  return result;
2590
2579
  };
@@ -2613,7 +2602,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
2613
2602
  const projectJson = await _node.hfs.json(projectJsonPath);
2614
2603
  const projectName = projectJson.name;
2615
2604
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
2616
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _154 => _154.projects, 'optionalAccess', _155 => _155[projectName]])) {
2605
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _150 => _150.projects, 'optionalAccess', _151 => _151[projectName]])) {
2617
2606
  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.");
2618
2607
  }
2619
2608
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
@@ -2789,7 +2778,7 @@ async function executeEsBuild(context2) {
2789
2778
  }
2790
2779
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
2791
2780
  async function copyBuildAssets(context2) {
2792
- if (_optionalChain([context2, 'access', _156 => _156.result, 'optionalAccess', _157 => _157.errors, 'access', _158 => _158.length]) === 0) {
2781
+ if (_optionalChain([context2, 'access', _152 => _152.result, 'optionalAccess', _153 => _153.errors, 'access', _154 => _154.length]) === 0) {
2793
2782
  writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
2794
2783
  const stopwatch = getStopwatch(`${context2.options.name} asset copy`);
2795
2784
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
@@ -2799,7 +2788,7 @@ async function copyBuildAssets(context2) {
2799
2788
  }
2800
2789
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
2801
2790
  async function reportResults(context2) {
2802
- if (_optionalChain([context2, 'access', _159 => _159.result, 'optionalAccess', _160 => _160.errors, 'access', _161 => _161.length]) === 0) {
2791
+ if (_optionalChain([context2, 'access', _155 => _155.result, 'optionalAccess', _156 => _156.errors, 'access', _157 => _157.length]) === 0) {
2803
2792
  if (context2.result.warnings.length > 0) {
2804
2793
  writeWarning(` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
2805
2794
  }
@@ -2897,14 +2886,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
2897
2886
  // ../workspace-tools/src/executors/esbuild/executor.ts
2898
2887
  async function esbuildExecutorFn(options, context2, config) {
2899
2888
  writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
2900
- if (!_optionalChain([context2, 'access', _162 => _162.projectsConfigurations, 'optionalAccess', _163 => _163.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _164 => _164.projectsConfigurations, 'access', _165 => _165.projects, 'access', _166 => _166[context2.projectName], 'optionalAccess', _167 => _167.root])) {
2889
+ if (!_optionalChain([context2, 'access', _158 => _158.projectsConfigurations, 'optionalAccess', _159 => _159.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _160 => _160.projectsConfigurations, 'access', _161 => _161.projects, 'access', _162 => _162[context2.projectName], 'optionalAccess', _163 => _163.root])) {
2901
2890
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
2902
2891
  }
2903
2892
  await build3({
2904
2893
  ...options,
2905
- projectRoot: _optionalChain([context2, 'access', _168 => _168.projectsConfigurations, 'access', _169 => _169.projects, 'optionalAccess', _170 => _170[context2.projectName], 'access', _171 => _171.root]),
2894
+ projectRoot: _optionalChain([context2, 'access', _164 => _164.projectsConfigurations, 'access', _165 => _165.projects, 'optionalAccess', _166 => _166[context2.projectName], 'access', _167 => _167.root]),
2906
2895
  projectName: context2.projectName,
2907
- sourceRoot: _optionalChain([context2, 'access', _172 => _172.projectsConfigurations, 'access', _173 => _173.projects, 'optionalAccess', _174 => _174[context2.projectName], 'optionalAccess', _175 => _175.sourceRoot]),
2896
+ sourceRoot: _optionalChain([context2, 'access', _168 => _168.projectsConfigurations, 'access', _169 => _169.projects, 'optionalAccess', _170 => _170[context2.projectName], 'optionalAccess', _171 => _171.sourceRoot]),
2908
2897
  format: options.format,
2909
2898
  platform: options.format
2910
2899
  });
@@ -2929,11 +2918,12 @@ var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn
2929
2918
 
2930
2919
  // ../workspace-tools/src/executors/npm-publish/executor.ts
2931
2920
 
2932
- var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
2921
+
2933
2922
 
2934
2923
  // ../workspace-tools/src/utils/pnpm-deps-update.ts
2935
2924
 
2936
2925
 
2926
+ var _prettier = require('prettier');
2937
2927
  var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequireDefault(_readyamlfile);
2938
2928
 
2939
2929
  // ../workspace-tools/src/executors/npm-publish/executor.ts
@@ -2946,7 +2936,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
2946
2936
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
2947
2937
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
2948
2938
  async function sizeLimitExecutorFn(options, context2, config) {
2949
- if (!_optionalChain([context2, 'optionalAccess', _176 => _176.projectName]) || !_optionalChain([context2, 'access', _177 => _177.projectsConfigurations, 'optionalAccess', _178 => _178.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
2939
+ if (!_optionalChain([context2, 'optionalAccess', _172 => _172.projectName]) || !_optionalChain([context2, 'access', _173 => _173.projectsConfigurations, 'optionalAccess', _174 => _174.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
2950
2940
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
2951
2941
  }
2952
2942
  writeInfo(`\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
@@ -2955,7 +2945,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
2955
2945
  _esbuild3.default,
2956
2946
  _esbuildwhy2.default
2957
2947
  ], {
2958
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _179 => _179.projectsConfigurations, 'access', _180 => _180.projects, 'access', _181 => _181[context2.projectName], 'optionalAccess', _182 => _182.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _183 => _183.projectsConfigurations, 'access', _184 => _184.projects, 'access', _185 => _185[context2.projectName], 'optionalAccess', _186 => _186.root]), () => ( "./")), "src")))
2948
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _175 => _175.projectsConfigurations, 'access', _176 => _176.projects, 'access', _177 => _177[context2.projectName], 'optionalAccess', _178 => _178.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _179 => _179.projectsConfigurations, 'access', _180 => _180.projects, 'access', _181 => _181[context2.projectName], 'optionalAccess', _182 => _182.root]), () => ( "./")), "src")))
2959
2949
  }).then((result) => {
2960
2950
  writeInfo(`\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
2961
2951
  });
@@ -3032,7 +3022,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
3032
3022
  const projectJson = await _node.hfs.json(projectJsonPath);
3033
3023
  const projectName = projectJson.name;
3034
3024
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
3035
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _187 => _187.projects, 'optionalAccess', _188 => _188[projectName]])) {
3025
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _183 => _183.projects, 'optionalAccess', _184 => _184[projectName]])) {
3036
3026
  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.");
3037
3027
  }
3038
3028
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
@@ -3212,14 +3202,14 @@ _chunk3GQAWCBQjs.__name.call(void 0, build4, "build");
3212
3202
  // ../workspace-tools/src/executors/tsdown/executor.ts
3213
3203
  async function tsdownExecutorFn(options, context2, config) {
3214
3204
  writeInfo("\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
3215
- if (!_optionalChain([context2, 'access', _189 => _189.projectsConfigurations, 'optionalAccess', _190 => _190.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _191 => _191.projectsConfigurations, 'access', _192 => _192.projects, 'access', _193 => _193[context2.projectName], 'optionalAccess', _194 => _194.root])) {
3205
+ if (!_optionalChain([context2, 'access', _185 => _185.projectsConfigurations, 'optionalAccess', _186 => _186.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _187 => _187.projectsConfigurations, 'access', _188 => _188.projects, 'access', _189 => _189[context2.projectName], 'optionalAccess', _190 => _190.root])) {
3216
3206
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
3217
3207
  }
3218
3208
  await build4({
3219
3209
  ...options,
3220
- projectRoot: _optionalChain([context2, 'access', _195 => _195.projectsConfigurations, 'access', _196 => _196.projects, 'optionalAccess', _197 => _197[context2.projectName], 'access', _198 => _198.root]),
3210
+ projectRoot: _optionalChain([context2, 'access', _191 => _191.projectsConfigurations, 'access', _192 => _192.projects, 'optionalAccess', _193 => _193[context2.projectName], 'access', _194 => _194.root]),
3221
3211
  projectName: context2.projectName,
3222
- sourceRoot: _optionalChain([context2, 'access', _199 => _199.projectsConfigurations, 'access', _200 => _200.projects, 'optionalAccess', _201 => _201[context2.projectName], 'optionalAccess', _202 => _202.sourceRoot]),
3212
+ sourceRoot: _optionalChain([context2, 'access', _195 => _195.projectsConfigurations, 'access', _196 => _196.projects, 'optionalAccess', _197 => _197[context2.projectName], 'optionalAccess', _198 => _198.sourceRoot]),
3223
3213
  format: options.format,
3224
3214
  platform: options.platform
3225
3215
  });
@@ -3283,17 +3273,21 @@ var executor_default9 = withRunExecutor("Typia runtime validation generator", ty
3283
3273
 
3284
3274
 
3285
3275
 
3276
+ var _jiti = require('jiti');
3277
+
3286
3278
 
3287
3279
 
3288
3280
 
3289
- var _unbuild = require('unbuild');
3290
3281
 
3291
3282
  // ../unbuild/src/clean.ts
3292
3283
 
3293
3284
  async function clean3(name = "Unbuild", directory, config) {
3294
3285
  writeDebug(` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
3295
3286
  const stopwatch = getStopwatch(`${name} output clean`);
3296
- await _node.hfs.deleteAll(directory);
3287
+ await _promises.rm.call(void 0, directory, {
3288
+ recursive: true,
3289
+ force: true
3290
+ });
3297
3291
  stopwatch();
3298
3292
  }
3299
3293
  _chunk3GQAWCBQjs.__name.call(void 0, clean3, "clean");
@@ -3344,26 +3338,6 @@ ${error ? error.message : "Unknown build error"}
3344
3338
  }
3345
3339
  }), "onErrorPlugin");
3346
3340
 
3347
- // ../unbuild/src/plugins/swc.ts
3348
- var swcPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => {
3349
- const { transform: transform3 } = _chunk3GQAWCBQjs.__require.call(void 0, "@swc/core");
3350
- return {
3351
- name: "storm:swc",
3352
- transform(code, filename) {
3353
- return transform3(code, {
3354
- filename,
3355
- jsc: {
3356
- transform: {
3357
- react: {
3358
- runtime: "automatic"
3359
- }
3360
- }
3361
- }
3362
- });
3363
- }
3364
- };
3365
- }, "swcPlugin");
3366
-
3367
3341
  // ../unbuild/src/plugins/tsc.ts
3368
3342
 
3369
3343
 
@@ -3398,9 +3372,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, createTsCompilerOptions, "createTsCompilerO
3398
3372
 
3399
3373
  // ../unbuild/src/plugins/tsc.ts
3400
3374
  var tscPlugin2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, resolvedOptions) => {
3401
- const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
3402
- exitOnError: true
3403
- });
3375
+ const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
3404
3376
  const result = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, resolvedOptions.config.workspaceRoot, resolvedOptions.projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
3405
3377
  let dependencies = result.dependencies;
3406
3378
  const tsLibDependency = _compilerhelperdependency.getHelperDependency.call(void 0, _compilerhelperdependency.HelperDependency.tsc, resolvedOptions.tsconfig, dependencies, projectGraph, true);
@@ -3419,37 +3391,39 @@ var tscPlugin2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (opt
3419
3391
 
3420
3392
  // ../unbuild/src/plugins/type-definitions.ts
3421
3393
 
3422
- var typeDefinitions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
3423
- name: "storm:dts-bundle",
3424
- async generateBundle(_opts, bundle) {
3425
- for (const file of Object.values(bundle)) {
3426
- if (file.type === "asset" || !file.isEntry || file.facadeModuleId == null) {
3427
- continue;
3428
- }
3429
- const hasDefaultExport = file.exports.includes("default");
3430
- const entrySourceFileName = _path.relative.call(void 0, options.projectRoot, file.facadeModuleId);
3431
- const entrySourceDtsName = entrySourceFileName.replace(/\.[cm]?[jt]sx?$/, "");
3432
- const dtsFileName = file.fileName.replace(/\.[cm]?js$/, ".d.ts");
3433
- const relativeSourceDtsName = JSON.stringify("./" + entrySourceDtsName);
3434
- const dtsFileSource = hasDefaultExport ? `
3394
+ function typeDefinitions(projectRoot) {
3395
+ return {
3396
+ name: "storm:dts-bundle",
3397
+ async generateBundle(_opts, bundle) {
3398
+ for (const file of Object.values(bundle)) {
3399
+ if (file.type === "asset" || !file.isEntry || file.facadeModuleId == null) {
3400
+ continue;
3401
+ }
3402
+ const hasDefaultExport = file.exports.includes("default");
3403
+ const entrySourceFileName = _path.relative.call(void 0, projectRoot, file.facadeModuleId);
3404
+ const entrySourceDtsName = entrySourceFileName.replace(/\.[cm]?[jt]sx?$/, "");
3405
+ const dtsFileName = file.fileName.replace(/\.[cm]?js$/, ".d.ts");
3406
+ const relativeSourceDtsName = JSON.stringify("./" + entrySourceDtsName);
3407
+ const dtsFileSource = hasDefaultExport ? `
3435
3408
  export * from ${relativeSourceDtsName};
3436
3409
  export { default } from ${relativeSourceDtsName};
3437
3410
  ` : `export * from ${relativeSourceDtsName};
3438
3411
  `;
3439
- this.emitFile({
3440
- type: "asset",
3441
- fileName: dtsFileName,
3442
- source: dtsFileSource
3443
- });
3412
+ this.emitFile({
3413
+ type: "asset",
3414
+ fileName: dtsFileName,
3415
+ source: dtsFileSource
3416
+ });
3417
+ }
3444
3418
  }
3445
- }
3446
- }), "typeDefinitions");
3419
+ };
3420
+ }
3421
+ _chunk3GQAWCBQjs.__name.call(void 0, typeDefinitions, "typeDefinitions");
3447
3422
 
3448
3423
  // ../unbuild/src/config.ts
3449
3424
  var getDefaultBuildPlugins2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, resolvedOptions) => Promise.all([
3450
3425
  analyzePlugin(options, resolvedOptions),
3451
- swcPlugin(options, resolvedOptions),
3452
- typeDefinitions(options, resolvedOptions),
3426
+ typeDefinitions(resolvedOptions.projectRoot),
3453
3427
  tscPlugin2(options, resolvedOptions),
3454
3428
  onErrorPlugin2(options, resolvedOptions)
3455
3429
  ].map((plugin) => Promise.resolve(plugin))), "getDefaultBuildPlugins");
@@ -3474,38 +3448,34 @@ async function resolveOptions3(options) {
3474
3448
  options = _defu2.default.call(void 0, options, configFile);
3475
3449
  }
3476
3450
  }
3477
- const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
3478
- exitOnError: true
3479
- });
3451
+ const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
3480
3452
  const projectJsonPath = joinPaths(config.workspaceRoot, projectRoot, "project.json");
3481
- if (!await _node.hfs.isFile(projectJsonPath)) {
3453
+ if (!_fs.existsSync.call(void 0, projectJsonPath)) {
3482
3454
  throw new Error("Cannot find project.json configuration");
3483
3455
  }
3484
- const projectJson = await _node.hfs.json(projectJsonPath);
3456
+ const projectJsonContent = await _promises.readFile.call(void 0, projectJsonPath, "utf8");
3457
+ const projectJson = JSON.parse(projectJsonContent);
3485
3458
  const projectName = projectJson.name;
3486
3459
  const packageJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "package.json");
3487
- if (!await _node.hfs.isFile(packageJsonPath)) {
3460
+ if (!_fs.existsSync.call(void 0, packageJsonPath)) {
3488
3461
  throw new Error("Cannot find package.json configuration");
3489
3462
  }
3490
- const packageJson = await _node.hfs.json(packageJsonPath);
3463
+ const packageJsonContent = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
3464
+ const packageJson = JSON.parse(packageJsonContent);
3491
3465
  let tsconfig = options.tsconfig;
3492
3466
  if (!tsconfig) {
3493
3467
  tsconfig = joinPaths(workspaceRoot3.dir, projectRoot, "tsconfig.json");
3494
3468
  }
3495
- if (!await _node.hfs.isFile(tsconfig)) {
3469
+ if (!_fs.existsSync.call(void 0, tsconfig)) {
3496
3470
  throw new Error("Cannot find tsconfig.json configuration");
3497
3471
  }
3498
3472
  let sourceRoot = projectJson.sourceRoot;
3499
3473
  if (!sourceRoot) {
3500
3474
  sourceRoot = joinPaths(projectRoot, "src");
3501
3475
  }
3502
- if (!await _node.hfs.isDirectory(sourceRoot)) {
3476
+ if (!_fs.existsSync.call(void 0, sourceRoot)) {
3503
3477
  throw new Error("Cannot find sourceRoot directory");
3504
3478
  }
3505
- const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
3506
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _203 => _203.projects, 'optionalAccess', _204 => _204[projectName]])) {
3507
- 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.");
3508
- }
3509
3479
  const result = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3.dir, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
3510
3480
  let dependencies = result.dependencies;
3511
3481
  const tsLibDependency = _js.getHelperDependency.call(void 0, _js.HelperDependency.tsc, tsconfig, dependencies, projectGraph, true);
@@ -3513,6 +3483,11 @@ async function resolveOptions3(options) {
3513
3483
  dependencies = dependencies.filter((deps) => deps.name !== tsLibDependency.name);
3514
3484
  dependencies.push(tsLibDependency);
3515
3485
  }
3486
+ const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
3487
+ cache: true,
3488
+ fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
3489
+ interopDefault: true
3490
+ });
3516
3491
  const resolvedOptions = {
3517
3492
  name: projectName,
3518
3493
  config,
@@ -3520,6 +3495,7 @@ async function resolveOptions3(options) {
3520
3495
  sourceRoot,
3521
3496
  projectName,
3522
3497
  tsconfig,
3498
+ jiti,
3523
3499
  clean: false,
3524
3500
  entries: [
3525
3501
  {
@@ -3586,7 +3562,7 @@ async function resolveOptions3(options) {
3586
3562
  ]
3587
3563
  },
3588
3564
  esbuild: {
3589
- minify: !!options.minify,
3565
+ minify: options.minify !== false,
3590
3566
  splitting: options.splitting !== false,
3591
3567
  treeShaking: options.treeShaking !== false,
3592
3568
  color: true,
@@ -3626,31 +3602,44 @@ async function resolveOptions3(options) {
3626
3602
  }
3627
3603
  _chunk3GQAWCBQjs.__name.call(void 0, resolveOptions3, "resolveOptions");
3628
3604
  async function generatePackageJson3(options) {
3629
- if (options.generatePackageJson !== false && await _node.hfs.isFile(joinPaths(options.projectRoot, "package.json"))) {
3605
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, joinPaths(options.projectRoot, "package.json"))) {
3630
3606
  writeDebug(" \u270D\uFE0F Writing package.json file", options.config);
3631
3607
  const stopwatch = getStopwatch("Write package.json file");
3632
3608
  const packageJsonPath = joinPaths(options.projectRoot, "project.json");
3633
- if (!await _node.hfs.isFile(packageJsonPath)) {
3609
+ if (!_fs.existsSync.call(void 0, packageJsonPath)) {
3634
3610
  throw new Error("Cannot find package.json configuration");
3635
3611
  }
3636
- let packageJson = await _node.hfs.json(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"));
3637
- if (!packageJson) {
3612
+ let packageJsonContent = await _promises.readFile.call(void 0, joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
3613
+ if (!packageJsonContent) {
3638
3614
  throw new Error("Cannot find package.json configuration file");
3639
3615
  }
3616
+ let packageJson = JSON.parse(packageJsonContent);
3640
3617
  packageJson = await addPackageDependencies(options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
3641
3618
  packageJson = await addWorkspacePackageJsonFields(options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
3642
- packageJson = await addPackageJsonExports(options.sourceRoot, packageJson);
3643
- await _devkit.writeJsonFile.call(void 0, joinPaths(options.outDir, "package.json"), packageJson);
3619
+ await _devkit.writeJsonFile.call(void 0, joinPaths(options.outDir, "package.json"), await addPackageJsonExports(options.sourceRoot, packageJson));
3644
3620
  stopwatch();
3645
3621
  }
3646
3622
  return options;
3647
3623
  }
3648
3624
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson3, "generatePackageJson");
3625
+ async function resolveUnbuild(options) {
3626
+ writeTrace(`Resolving Unbuild package with Jiti`, options.config);
3627
+ try {
3628
+ return options.jiti.import("unbuild");
3629
+ } catch (error) {
3630
+ writeError(" \u274C An error occurred while resolving the Unbuild package", options.config);
3631
+ throw new Error("An error occurred while resolving the Unbuild package", {
3632
+ cause: error
3633
+ });
3634
+ }
3635
+ }
3636
+ _chunk3GQAWCBQjs.__name.call(void 0, resolveUnbuild, "resolveUnbuild");
3649
3637
  async function executeUnbuild(options) {
3650
3638
  writeDebug(` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
3651
3639
  const stopwatch = getStopwatch(`${options.name} (${options.projectRoot}) build`);
3652
3640
  try {
3653
- await _unbuild.build.call(void 0, options.projectRoot, false, {
3641
+ const unbuild = await resolveUnbuild(options);
3642
+ await unbuild.build(options.projectRoot, false, {
3654
3643
  ...options,
3655
3644
  rootDir: options.projectRoot
3656
3645
  });
@@ -3698,14 +3687,14 @@ _chunk3GQAWCBQjs.__name.call(void 0, build5, "build");
3698
3687
 
3699
3688
  async function unbuildExecutorFn(options, context2, config) {
3700
3689
  writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
3701
- if (!_optionalChain([context2, 'access', _205 => _205.projectsConfigurations, 'optionalAccess', _206 => _206.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _207 => _207.projectsConfigurations, 'access', _208 => _208.projects, 'access', _209 => _209[context2.projectName], 'optionalAccess', _210 => _210.root])) {
3690
+ if (!_optionalChain([context2, 'access', _199 => _199.projectsConfigurations, 'optionalAccess', _200 => _200.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _201 => _201.projectsConfigurations, 'access', _202 => _202.projects, 'access', _203 => _203[context2.projectName], 'optionalAccess', _204 => _204.root])) {
3702
3691
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
3703
3692
  }
3704
3693
  await build5(_defu.defu.call(void 0, {
3705
3694
  ...options,
3706
- projectRoot: _optionalChain([context2, 'access', _211 => _211.projectsConfigurations, 'access', _212 => _212.projects, 'optionalAccess', _213 => _213[context2.projectName], 'access', _214 => _214.root]),
3695
+ projectRoot: _optionalChain([context2, 'access', _205 => _205.projectsConfigurations, 'access', _206 => _206.projects, 'optionalAccess', _207 => _207[context2.projectName], 'access', _208 => _208.root]),
3707
3696
  projectName: context2.projectName,
3708
- sourceRoot: _optionalChain([context2, 'access', _215 => _215.projectsConfigurations, 'access', _216 => _216.projects, 'optionalAccess', _217 => _217[context2.projectName], 'optionalAccess', _218 => _218.sourceRoot]),
3697
+ sourceRoot: _optionalChain([context2, 'access', _209 => _209.projectsConfigurations, 'access', _210 => _210.projects, 'optionalAccess', _211 => _211[context2.projectName], 'optionalAccess', _212 => _212.sourceRoot]),
3709
3698
  platform: options.platform,
3710
3699
  name: context2.projectName
3711
3700
  }, {
@@ -3902,15 +3891,15 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
3902
3891
  _devkit.addProjectConfiguration.call(void 0, tree, options.name, projectConfig);
3903
3892
  let repository = {
3904
3893
  type: "github",
3905
- url: _optionalChain([config, 'optionalAccess', _219 => _219.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _220 => _220.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _221 => _221.namespace]) || _optionalChain([config, 'optionalAccess', _222 => _222.name]) || "repository"}.git`
3894
+ url: _optionalChain([config, 'optionalAccess', _213 => _213.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _214 => _214.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _215 => _215.namespace]) || _optionalChain([config, 'optionalAccess', _216 => _216.name]) || "repository"}.git`
3906
3895
  };
3907
3896
  let description = schema.description || "A package developed by Storm Software used to create modern, scalable web applications.";
3908
3897
  if (tree.exists("package.json")) {
3909
3898
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3910
- if (_optionalChain([packageJson, 'optionalAccess', _223 => _223.repository])) {
3899
+ if (_optionalChain([packageJson, 'optionalAccess', _217 => _217.repository])) {
3911
3900
  repository = packageJson.repository;
3912
3901
  }
3913
- if (_optionalChain([packageJson, 'optionalAccess', _224 => _224.description])) {
3902
+ if (_optionalChain([packageJson, 'optionalAccess', _218 => _218.description])) {
3914
3903
  description = packageJson.description;
3915
3904
  }
3916
3905
  }
@@ -3965,9 +3954,9 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
3965
3954
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
3966
3955
  ...json,
3967
3956
  pnpm: {
3968
- ..._optionalChain([json, 'optionalAccess', _225 => _225.pnpm]),
3957
+ ..._optionalChain([json, 'optionalAccess', _219 => _219.pnpm]),
3969
3958
  overrides: {
3970
- ..._optionalChain([json, 'optionalAccess', _226 => _226.pnpm, 'optionalAccess', _227 => _227.overrides]),
3959
+ ..._optionalChain([json, 'optionalAccess', _220 => _220.pnpm, 'optionalAccess', _221 => _221.overrides]),
3971
3960
  [_nullishCoalesce(options.importPath, () => ( ""))]: "workspace:*"
3972
3961
  }
3973
3962
  }
@@ -3981,10 +3970,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
3981
3970
  ]);
3982
3971
  if (tree.exists("package.json")) {
3983
3972
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
3984
- if (_optionalChain([packageJson, 'optionalAccess', _228 => _228.repository])) {
3973
+ if (_optionalChain([packageJson, 'optionalAccess', _222 => _222.repository])) {
3985
3974
  repository = packageJson.repository;
3986
3975
  }
3987
- if (_optionalChain([packageJson, 'optionalAccess', _229 => _229.description])) {
3976
+ if (_optionalChain([packageJson, 'optionalAccess', _223 => _223.description])) {
3988
3977
  description = packageJson.description;
3989
3978
  }
3990
3979
  }
@@ -4032,24 +4021,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
4032
4021
  function createProjectTsConfigJson(tree, options) {
4033
4022
  const tsconfig = {
4034
4023
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
4035
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _230 => _230.tsconfigOptions]), () => ( {})),
4024
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions]), () => ( {})),
4036
4025
  compilerOptions: {
4037
4026
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
4038
4027
  outDir: joinPaths(_devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
4039
4028
  noEmit: true,
4040
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _231 => _231.tsconfigOptions, 'optionalAccess', _232 => _232.compilerOptions]), () => ( {}))
4029
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _225 => _225.tsconfigOptions, 'optionalAccess', _226 => _226.compilerOptions]), () => ( {}))
4041
4030
  },
4042
4031
  files: [
4043
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _233 => _233.tsconfigOptions, 'optionalAccess', _234 => _234.files]), () => ( []))
4032
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _227 => _227.tsconfigOptions, 'optionalAccess', _228 => _228.files]), () => ( []))
4044
4033
  ],
4045
4034
  include: [
4046
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _235 => _235.tsconfigOptions, 'optionalAccess', _236 => _236.include]), () => ( [])),
4035
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _229 => _229.tsconfigOptions, 'optionalAccess', _230 => _230.include]), () => ( [])),
4047
4036
  "src/**/*.ts",
4048
4037
  "src/**/*.js",
4049
4038
  "bin/**/*"
4050
4039
  ],
4051
4040
  exclude: [
4052
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _237 => _237.tsconfigOptions, 'optionalAccess', _238 => _238.exclude]), () => ( [])),
4041
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _231 => _231.tsconfigOptions, 'optionalAccess', _232 => _232.exclude]), () => ( [])),
4053
4042
  "jest.config.ts",
4054
4043
  "src/**/*.spec.ts",
4055
4044
  "src/**/*.test.ts"
@@ -4187,7 +4176,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
4187
4176
  name: "StormWorkspaceConfiguration"
4188
4177
  });
4189
4178
  writeTrace(jsonSchema, config);
4190
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _239 => _239.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _240 => _240.outputFile, 'optionalAccess', _241 => _241.startsWith, 'call', _242 => _242("./")]) ? "" : "./");
4179
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _233 => _233.workspaceRoot]), () => ( findWorkspaceRoot())), _optionalChain([options, 'access', _234 => _234.outputFile, 'optionalAccess', _235 => _235.startsWith, 'call', _236 => _236("./")]) ? "" : "./");
4191
4180
  writeTrace(`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
4192
4181
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
4193
4182
  spaces: 2
@@ -4550,6 +4539,582 @@ var _version = require('nx/src/command-line/release/version');
4550
4539
  var _utils = require('nx/src/tasks-runner/utils');
4551
4540
  var _semver3 = require('semver');
4552
4541
 
4542
+ // ../workspace-tools/src/base/base-executor.untyped.ts
4543
+ var _untyped = require('untyped');
4544
+ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4545
+ $schema: {
4546
+ id: "baseExecutor",
4547
+ title: "Base Executor",
4548
+ description: "A base type definition for an executor schema"
4549
+ },
4550
+ outputPath: {
4551
+ $schema: {
4552
+ title: "Output Path",
4553
+ type: "string",
4554
+ format: "path",
4555
+ description: "The output path for the build"
4556
+ },
4557
+ $default: "dist/{projectRoot}"
4558
+ }
4559
+ });
4560
+
4561
+ // ../workspace-tools/src/base/base-generator.untyped.ts
4562
+
4563
+ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4564
+ $schema: {
4565
+ id: "BaseGeneratorSchema",
4566
+ title: "Base Generator",
4567
+ description: "A type definition for the base Generator schema"
4568
+ },
4569
+ directory: {
4570
+ $schema: {
4571
+ title: "Directory",
4572
+ type: "string",
4573
+ description: "The directory to create the library in"
4574
+ }
4575
+ }
4576
+ });
4577
+
4578
+ // ../workspace-tools/src/base/cargo-base-executor.untyped.ts
4579
+
4580
+ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4581
+ ...base_executor_untyped_default,
4582
+ $schema: {
4583
+ id: "cargoBaseExecutor",
4584
+ title: "Cargo Base Executor",
4585
+ description: "A base type definition for a Cargo/rust related executor schema"
4586
+ },
4587
+ package: {
4588
+ $schema: {
4589
+ title: "Cargo.toml Path",
4590
+ type: "string",
4591
+ format: "path",
4592
+ description: "The path to the Cargo.toml file"
4593
+ },
4594
+ $default: "{projectRoot}/Cargo.toml"
4595
+ },
4596
+ toolchain: {
4597
+ $schema: {
4598
+ title: "Toolchain",
4599
+ description: "The type of toolchain to use for the build",
4600
+ enum: [
4601
+ "stable",
4602
+ "beta",
4603
+ "nightly"
4604
+ ],
4605
+ default: "stable"
4606
+ },
4607
+ $default: "stable"
4608
+ },
4609
+ target: {
4610
+ $schema: {
4611
+ title: "Target",
4612
+ type: "string",
4613
+ description: "The target to build"
4614
+ }
4615
+ },
4616
+ allTargets: {
4617
+ $schema: {
4618
+ title: "All Targets",
4619
+ type: "boolean",
4620
+ description: "Build all targets"
4621
+ }
4622
+ },
4623
+ profile: {
4624
+ $schema: {
4625
+ title: "Profile",
4626
+ type: "string",
4627
+ description: "The profile to build"
4628
+ }
4629
+ },
4630
+ release: {
4631
+ $schema: {
4632
+ title: "Release",
4633
+ type: "boolean",
4634
+ description: "Build in release mode"
4635
+ }
4636
+ },
4637
+ features: {
4638
+ $schema: {
4639
+ title: "Features",
4640
+ type: "string",
4641
+ description: "The features to build",
4642
+ oneOf: [
4643
+ {
4644
+ type: "string"
4645
+ },
4646
+ {
4647
+ type: "array",
4648
+ items: {
4649
+ type: "string"
4650
+ }
4651
+ }
4652
+ ]
4653
+ }
4654
+ },
4655
+ allFeatures: {
4656
+ $schema: {
4657
+ title: "All Features",
4658
+ type: "boolean",
4659
+ description: "Build all features"
4660
+ }
4661
+ }
4662
+ });
4663
+
4664
+ // ../workspace-tools/src/base/typescript-build-executor.untyped.ts
4665
+
4666
+ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4667
+ ...base_executor_untyped_default,
4668
+ $schema: {
4669
+ id: "TypeScriptBuildExecutorSchema",
4670
+ title: "TypeScript Build Executor",
4671
+ description: "A type definition for the base TypeScript build executor schema",
4672
+ required: [
4673
+ "entry",
4674
+ "tsconfig"
4675
+ ]
4676
+ },
4677
+ entry: {
4678
+ $schema: {
4679
+ title: "Entry File(s)",
4680
+ format: "path",
4681
+ type: "array",
4682
+ description: "The entry file or files to build",
4683
+ items: {
4684
+ type: "string"
4685
+ }
4686
+ },
4687
+ $default: [
4688
+ "{sourceRoot}/index.ts"
4689
+ ]
4690
+ },
4691
+ tsconfig: {
4692
+ $schema: {
4693
+ title: "TSConfig Path",
4694
+ type: "string",
4695
+ format: "path",
4696
+ description: "The path to the tsconfig file"
4697
+ },
4698
+ $default: "{projectRoot}/tsconfig.json"
4699
+ },
4700
+ bundle: {
4701
+ $schema: {
4702
+ title: "Bundle",
4703
+ type: "boolean",
4704
+ description: "Bundle the output"
4705
+ },
4706
+ $default: false
4707
+ },
4708
+ minify: {
4709
+ $schema: {
4710
+ title: "Minify",
4711
+ type: "boolean",
4712
+ description: "Minify the output"
4713
+ },
4714
+ $default: false
4715
+ },
4716
+ debug: {
4717
+ $schema: {
4718
+ title: "Debug",
4719
+ type: "boolean",
4720
+ description: "Debug the output"
4721
+ },
4722
+ $default: false
4723
+ },
4724
+ sourcemap: {
4725
+ $schema: {
4726
+ title: "Sourcemap",
4727
+ type: "boolean",
4728
+ description: "Generate a sourcemap"
4729
+ },
4730
+ $default: false
4731
+ },
4732
+ silent: {
4733
+ $schema: {
4734
+ title: "Silent",
4735
+ type: "boolean",
4736
+ description: "Should the build run silently - only report errors back to the user"
4737
+ },
4738
+ $default: false
4739
+ },
4740
+ target: {
4741
+ $schema: {
4742
+ title: "Target",
4743
+ type: "string",
4744
+ description: "The target to build",
4745
+ enum: [
4746
+ "es3",
4747
+ "es5",
4748
+ "es6",
4749
+ "es2015",
4750
+ "es2016",
4751
+ "es2017",
4752
+ "es2018",
4753
+ "es2019",
4754
+ "es2020",
4755
+ "es2021",
4756
+ "es2022",
4757
+ "es2023",
4758
+ "es2024",
4759
+ "esnext",
4760
+ "node12",
4761
+ "node14",
4762
+ "node16",
4763
+ "node18",
4764
+ "node20",
4765
+ "node22",
4766
+ "browser",
4767
+ "chrome58",
4768
+ "chrome59",
4769
+ "chrome60"
4770
+ ]
4771
+ },
4772
+ $default: "esnext",
4773
+ $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve")
4774
+ },
4775
+ format: {
4776
+ $schema: {
4777
+ title: "Format",
4778
+ type: "array",
4779
+ description: "The format to build",
4780
+ items: {
4781
+ type: "string",
4782
+ enum: [
4783
+ "cjs",
4784
+ "esm",
4785
+ "iife"
4786
+ ]
4787
+ }
4788
+ },
4789
+ $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = [
4790
+ "cjs",
4791
+ "esm"
4792
+ ]) => [].concat(val), "$resolve")
4793
+ },
4794
+ platform: {
4795
+ $schema: {
4796
+ title: "Platform",
4797
+ type: "string",
4798
+ description: "The platform to build",
4799
+ enum: [
4800
+ "neutral",
4801
+ "node",
4802
+ "browser"
4803
+ ]
4804
+ },
4805
+ $default: "neutral"
4806
+ },
4807
+ external: {
4808
+ $schema: {
4809
+ title: "External",
4810
+ type: "array",
4811
+ description: "The external dependencies"
4812
+ },
4813
+ $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
4814
+ },
4815
+ define: {
4816
+ $schema: {
4817
+ title: "Define",
4818
+ type: "object",
4819
+ tsType: "Record<string, string>",
4820
+ description: "The define values"
4821
+ },
4822
+ $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
4823
+ $default: {}
4824
+ },
4825
+ env: {
4826
+ $schema: {
4827
+ title: "Environment Variables",
4828
+ type: "object",
4829
+ tsType: "Record<string, string>",
4830
+ description: "The environment variable values"
4831
+ },
4832
+ $resolve: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (val = {}) => val, "$resolve"),
4833
+ $default: {}
4834
+ }
4835
+ });
4836
+
4837
+ // ../workspace-tools/src/base/typescript-library-generator.untyped.ts
4838
+
4839
+ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
4840
+ ...base_generator_untyped_default,
4841
+ $schema: {
4842
+ id: "TypeScriptLibraryGeneratorSchema",
4843
+ title: "TypeScript Library Generator",
4844
+ description: "A type definition for the base TypeScript Library Generator schema",
4845
+ required: [
4846
+ "directory",
4847
+ "name"
4848
+ ]
4849
+ },
4850
+ name: {
4851
+ $schema: {
4852
+ title: "Name",
4853
+ type: "string",
4854
+ description: "The name of the library"
4855
+ }
4856
+ },
4857
+ description: {
4858
+ $schema: {
4859
+ title: "Description",
4860
+ type: "string",
4861
+ description: "The description of the library"
4862
+ }
4863
+ },
4864
+ buildExecutor: {
4865
+ $schema: {
4866
+ title: "Build Executor",
4867
+ type: "string",
4868
+ description: "The executor to use for building the library"
4869
+ },
4870
+ $default: "@storm-software/workspace-tools:unbuild"
4871
+ },
4872
+ platform: {
4873
+ $schema: {
4874
+ title: "Platform",
4875
+ type: "string",
4876
+ description: "The platform to target with the library",
4877
+ enum: [
4878
+ "neutral",
4879
+ "node",
4880
+ "browser"
4881
+ ]
4882
+ },
4883
+ $default: "neutral"
4884
+ },
4885
+ devDependencies: {
4886
+ $schema: {
4887
+ title: "Dev Dependencies",
4888
+ type: "object",
4889
+ description: "The dev dependencies to install"
4890
+ }
4891
+ },
4892
+ dependencies: {
4893
+ $schema: {
4894
+ title: "Dependencies",
4895
+ type: "object",
4896
+ description: "The dependencies to install"
4897
+ }
4898
+ },
4899
+ peerDependencies: {
4900
+ $schema: {
4901
+ title: "Peer Dependencies",
4902
+ type: "object",
4903
+ description: "The peer dependencies to install"
4904
+ }
4905
+ },
4906
+ peerDependenciesMeta: {
4907
+ $schema: {
4908
+ title: "Peer Dependencies Meta",
4909
+ type: "object",
4910
+ description: "The peer dependencies meta"
4911
+ }
4912
+ },
4913
+ tags: {
4914
+ $schema: {
4915
+ title: "Tags",
4916
+ type: "string",
4917
+ description: "The tags for the library"
4918
+ }
4919
+ },
4920
+ tsconfigOptions: {
4921
+ $schema: {
4922
+ title: "TypeScript Config (tsconfig.json) Options",
4923
+ type: "object",
4924
+ description: "The TypeScript configuration options"
4925
+ }
4926
+ },
4927
+ skipFormat: {
4928
+ $schema: {
4929
+ title: "Skip Format",
4930
+ type: "boolean",
4931
+ description: "Skip formatting"
4932
+ }
4933
+ },
4934
+ skipTsConfig: {
4935
+ $schema: {
4936
+ title: "Skip TsConfig",
4937
+ type: "boolean",
4938
+ description: "Skip TypeScript configuration"
4939
+ }
4940
+ },
4941
+ skipPackageJson: {
4942
+ $schema: {
4943
+ title: "Skip Package Json",
4944
+ type: "boolean",
4945
+ description: "Skip package.json"
4946
+ }
4947
+ },
4948
+ includeBabelRc: {
4949
+ $schema: {
4950
+ title: "Include Babel Rc",
4951
+ type: "boolean",
4952
+ description: "Include Babel configuration"
4953
+ }
4954
+ },
4955
+ unitTestRunner: {
4956
+ $schema: {
4957
+ title: "Unit Test Runner",
4958
+ type: "string",
4959
+ enum: [
4960
+ "jest",
4961
+ "vitest",
4962
+ "none"
4963
+ ],
4964
+ description: "The unit test runner to use"
4965
+ }
4966
+ },
4967
+ linter: {
4968
+ $schema: {
4969
+ title: "Linter",
4970
+ type: "string",
4971
+ description: "The linter to use"
4972
+ }
4973
+ },
4974
+ testEnvironment: {
4975
+ $schema: {
4976
+ title: "Test Environment",
4977
+ type: "string",
4978
+ enum: [
4979
+ "jsdom",
4980
+ "node"
4981
+ ],
4982
+ description: "The test environment to use"
4983
+ }
4984
+ },
4985
+ importPath: {
4986
+ $schema: {
4987
+ title: "Import Path",
4988
+ type: "string",
4989
+ description: "The import path for the library"
4990
+ }
4991
+ },
4992
+ js: {
4993
+ $schema: {
4994
+ title: "JavaScript",
4995
+ type: "boolean",
4996
+ description: "Use JavaScript instead of TypeScript"
4997
+ }
4998
+ },
4999
+ pascalCaseFiles: {
5000
+ $schema: {
5001
+ title: "Pascal Case Files",
5002
+ type: "boolean",
5003
+ description: "Use PascalCase for file names"
5004
+ }
5005
+ },
5006
+ strict: {
5007
+ $schema: {
5008
+ title: "Strict",
5009
+ type: "boolean",
5010
+ description: "Enable strict mode"
5011
+ }
5012
+ },
5013
+ publishable: {
5014
+ $schema: {
5015
+ title: "Publishable",
5016
+ type: "boolean",
5017
+ description: "Make the library publishable"
5018
+ }
5019
+ },
5020
+ buildable: {
5021
+ $schema: {
5022
+ title: "Buildable",
5023
+ type: "boolean",
5024
+ description: "Make the library buildable"
5025
+ }
5026
+ },
5027
+ setParserOptionsProject: {
5028
+ $schema: {
5029
+ title: "Set Parser Options Project",
5030
+ type: "boolean",
5031
+ description: "Set parser options project"
5032
+ }
5033
+ },
5034
+ config: {
5035
+ $schema: {
5036
+ title: "Config",
5037
+ type: "string",
5038
+ enum: [
5039
+ "workspace",
5040
+ "project",
5041
+ "npm-scripts"
5042
+ ],
5043
+ description: "The configuration type"
5044
+ }
5045
+ },
5046
+ compiler: {
5047
+ $schema: {
5048
+ title: "Compiler",
5049
+ type: "string",
5050
+ description: "The compiler to use"
5051
+ }
5052
+ },
5053
+ bundler: {
5054
+ $schema: {
5055
+ title: "Bundler",
5056
+ type: "string",
5057
+ description: "The bundler to use"
5058
+ }
5059
+ },
5060
+ skipTypeCheck: {
5061
+ $schema: {
5062
+ title: "Skip Type Check",
5063
+ type: "boolean",
5064
+ description: "Skip type checking"
5065
+ }
5066
+ },
5067
+ minimal: {
5068
+ $schema: {
5069
+ title: "Minimal",
5070
+ type: "boolean",
5071
+ description: "Create a minimal library"
5072
+ }
5073
+ },
5074
+ rootProject: {
5075
+ $schema: {
5076
+ title: "Root Project",
5077
+ type: "boolean",
5078
+ description: "Create a root project"
5079
+ }
5080
+ },
5081
+ simpleName: {
5082
+ $schema: {
5083
+ title: "Simple Name",
5084
+ type: "boolean",
5085
+ description: "Use a simple name for the library"
5086
+ }
5087
+ },
5088
+ addPlugin: {
5089
+ $schema: {
5090
+ title: "Add Plugin",
5091
+ type: "boolean",
5092
+ description: "Add a plugin to the library"
5093
+ }
5094
+ },
5095
+ useProjectJson: {
5096
+ $schema: {
5097
+ title: "Use Project Json",
5098
+ type: "boolean",
5099
+ description: "Use project.json"
5100
+ }
5101
+ },
5102
+ skipWorkspacesWarning: {
5103
+ $schema: {
5104
+ title: "Skip Workspaces Warning",
5105
+ type: "boolean",
5106
+ description: "Skip workspaces warning"
5107
+ }
5108
+ },
5109
+ useTscExecutor: {
5110
+ $schema: {
5111
+ title: "Use Tsc Executor",
5112
+ type: "boolean",
5113
+ description: "Use TSC executor"
5114
+ }
5115
+ }
5116
+ });
5117
+
4553
5118
  // ../workspace-tools/src/utils/create-cli-options.ts
4554
5119
 
4555
5120