@storm-software/workspace-tools 1.240.2 → 1.240.4

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 (144) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +1 -1
  3. package/dist/chunk-2AUNU6UA.mjs +32 -0
  4. package/dist/{chunk-WPMFZECR.js → chunk-2GRVQNW3.js} +3 -3
  5. package/dist/{chunk-HCEVPME2.js → chunk-2HD75CLD.js} +11 -11
  6. package/dist/{chunk-QLOTS3MH.mjs → chunk-3SP4ZXOA.mjs} +2 -2
  7. package/dist/{chunk-M47JATRY.mjs → chunk-4BEERAL7.mjs} +4 -4
  8. package/dist/{chunk-XSRDTQ5C.mjs → chunk-5AQJQ72E.mjs} +4 -4
  9. package/dist/{chunk-ZPWY4RXH.js → chunk-5DAZ2WTI.js} +2 -2
  10. package/dist/{chunk-WGNNLNSH.mjs → chunk-5XF4CY7D.mjs} +1 -1
  11. package/dist/{chunk-6TSAUSG4.mjs → chunk-6N67WSX5.mjs} +1 -1
  12. package/dist/{chunk-XS73BPQS.js → chunk-6QSFQS3X.js} +2 -2
  13. package/dist/{chunk-BJAK7EVK.js → chunk-7GKIVRFH.js} +6 -6
  14. package/dist/{chunk-5FEFILUQ.mjs → chunk-7PLUDZNP.mjs} +2 -2
  15. package/dist/{chunk-NYX3ICKR.mjs → chunk-7Q66XSCS.mjs} +2 -2
  16. package/dist/{chunk-RN4QXP7F.js → chunk-B6PUPX6O.js} +27 -27
  17. package/dist/{chunk-XCSSYTCU.js → chunk-BUXJSVJG.js} +11 -5
  18. package/dist/{chunk-M4PPRKPX.mjs → chunk-CFRPLVEU.mjs} +2 -2
  19. package/dist/{chunk-FFBZYD6R.mjs → chunk-CLBFXZQ5.mjs} +1 -1
  20. package/dist/{chunk-PB6J3FU7.js → chunk-D2ECVPJF.js} +2 -2
  21. package/dist/{chunk-TYAPQ46X.js → chunk-EDVXB4EP.js} +28 -20
  22. package/dist/{chunk-Y7RQKDIF.js → chunk-EFPBJWHS.js} +5 -5
  23. package/dist/{chunk-Y5SXJ6IC.mjs → chunk-EUCOXCI2.mjs} +3 -3
  24. package/dist/{chunk-JKJK4ONU.mjs → chunk-GJ6DN3BR.mjs} +3 -3
  25. package/dist/{chunk-33S3ENYB.mjs → chunk-GMC262MH.mjs} +4 -4
  26. package/dist/{chunk-3LJCHADS.js → chunk-GYGIXXAL.js} +5 -5
  27. package/dist/{chunk-NWSV2EYZ.js → chunk-HONSACRT.js} +2 -2
  28. package/dist/{chunk-AJ7WQHX5.mjs → chunk-HXU5ZXAJ.mjs} +1 -1
  29. package/dist/{chunk-CRMDACYF.js → chunk-IBHLVELV.js} +25 -25
  30. package/dist/{chunk-MQAKNE4X.js → chunk-IF2GIONQ.js} +5 -5
  31. package/dist/{chunk-I5N7XQEK.mjs → chunk-IUV3RLT4.mjs} +1 -1
  32. package/dist/{chunk-6NSTM255.js → chunk-JARU6ZVH.js} +41 -41
  33. package/dist/{chunk-2VV3TV3C.js → chunk-JOJ3CZQC.js} +5 -5
  34. package/dist/{chunk-2BQA54CQ.mjs → chunk-K62HB3IT.mjs} +1 -1
  35. package/dist/{chunk-4AOGBZNI.js → chunk-K7QVZAWD.js} +2 -2
  36. package/dist/{chunk-EGBJI6CN.js → chunk-KLHTXAIU.js} +20 -20
  37. package/dist/{chunk-RRQ7WHLD.mjs → chunk-KWIXQ4UN.mjs} +3 -3
  38. package/dist/{chunk-6WRRTV43.js → chunk-L5FYEAAP.js} +62 -62
  39. package/dist/{chunk-762D6XMQ.mjs → chunk-LNDWWYO3.mjs} +2 -2
  40. package/dist/chunk-LUQIF4A3.mjs +73 -0
  41. package/dist/{chunk-MFWYLIWY.mjs → chunk-LYUV4LMB.mjs} +2 -2
  42. package/dist/{chunk-MZ6IF3DO.js → chunk-MMMTLP2W.js} +5 -5
  43. package/dist/{chunk-XID4OBY2.mjs → chunk-N7VQR5KC.mjs} +25 -17
  44. package/dist/{chunk-F7QTSVDJ.mjs → chunk-NJ2QOT34.mjs} +1 -1
  45. package/dist/{chunk-PY52QA2R.js → chunk-PK2SUBWI.js} +7 -7
  46. package/dist/{chunk-FOYWFRVO.mjs → chunk-Q45DDLNL.mjs} +2 -2
  47. package/dist/{chunk-YVJY3MXR.js → chunk-QSLN7UYG.js} +2 -2
  48. package/dist/{chunk-BWFTYFWM.js → chunk-RFO5NMSB.js} +2 -2
  49. package/dist/{chunk-4ZKSU75O.js → chunk-RRWRVA7F.js} +15 -15
  50. package/dist/{chunk-2JLHVV5S.js → chunk-RSILHGEU.js} +21 -21
  51. package/dist/{chunk-SBHOAJIT.js → chunk-RTFFYOEY.js} +5 -5
  52. package/dist/{chunk-JXMDPU4I.mjs → chunk-SNFZL5BN.mjs} +3 -3
  53. package/dist/{chunk-SC3ANGC5.mjs → chunk-T342MIBF.mjs} +3 -3
  54. package/dist/{chunk-7HUOKMPU.mjs → chunk-TGDWEUKX.mjs} +1 -1
  55. package/dist/{chunk-JE4JY3YS.mjs → chunk-U4K5KWKS.mjs} +2 -2
  56. package/dist/{chunk-5MKQX2FE.js → chunk-U6TLQT5H.js} +3 -3
  57. package/dist/chunk-UF6KFXG5.js +73 -0
  58. package/dist/{chunk-BFKQCOQJ.mjs → chunk-UI3SQYV3.mjs} +1 -1
  59. package/dist/{chunk-FBLF4KJF.js → chunk-XHH2IY66.js} +15 -15
  60. package/dist/{chunk-RXH7O5YP.mjs → chunk-XIOF32ZH.mjs} +1 -1
  61. package/dist/{chunk-APBDTIK2.js → chunk-YSYBVJGR.js} +2 -2
  62. package/dist/{chunk-SGSMEZWT.js → chunk-YWKUJJ34.js} +2 -2
  63. package/dist/{chunk-HO2DSAZ2.mjs → chunk-ZERO7WV2.mjs} +1 -1
  64. package/dist/{chunk-DMUTOQCB.mjs → chunk-ZOFW74B2.mjs} +1 -1
  65. package/dist/executors.js +19 -19
  66. package/dist/executors.mjs +18 -18
  67. package/dist/generators.js +15 -15
  68. package/dist/generators.mjs +16 -16
  69. package/dist/index.d.mts +2 -1
  70. package/dist/index.d.ts +2 -1
  71. package/dist/index.js +44 -34
  72. package/dist/index.mjs +53 -43
  73. package/dist/src/base/base-executor.js +6 -6
  74. package/dist/src/base/base-executor.mjs +5 -5
  75. package/dist/src/base/base-generator.js +6 -6
  76. package/dist/src/base/base-generator.mjs +5 -5
  77. package/dist/src/base/index.js +9 -9
  78. package/dist/src/base/index.mjs +8 -8
  79. package/dist/src/executors/cargo-build/executor.js +7 -7
  80. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  81. package/dist/src/executors/cargo-check/executor.js +7 -7
  82. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  83. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  84. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  85. package/dist/src/executors/cargo-doc/executor.js +7 -7
  86. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  87. package/dist/src/executors/cargo-format/executor.js +7 -7
  88. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  89. package/dist/src/executors/clean-package/executor.js +9 -9
  90. package/dist/src/executors/clean-package/executor.mjs +5 -5
  91. package/dist/src/executors/esbuild/executor.js +8 -8
  92. package/dist/src/executors/esbuild/executor.mjs +7 -7
  93. package/dist/src/executors/npm-publish/executor.js +4 -4
  94. package/dist/src/executors/npm-publish/executor.mjs +3 -3
  95. package/dist/src/executors/size-limit/executor.js +7 -7
  96. package/dist/src/executors/size-limit/executor.mjs +6 -6
  97. package/dist/src/executors/tsdown/executor.js +8 -8
  98. package/dist/src/executors/tsdown/executor.mjs +7 -7
  99. package/dist/src/executors/typia/executor.js +7 -7
  100. package/dist/src/executors/typia/executor.mjs +6 -6
  101. package/dist/src/executors/unbuild/executor.js +7 -7
  102. package/dist/src/executors/unbuild/executor.mjs +6 -6
  103. package/dist/src/generators/browser-library/generator.js +9 -9
  104. package/dist/src/generators/browser-library/generator.mjs +8 -8
  105. package/dist/src/generators/config-schema/generator.js +7 -7
  106. package/dist/src/generators/config-schema/generator.mjs +6 -6
  107. package/dist/src/generators/neutral-library/generator.js +9 -9
  108. package/dist/src/generators/neutral-library/generator.mjs +8 -8
  109. package/dist/src/generators/node-library/generator.js +9 -9
  110. package/dist/src/generators/node-library/generator.mjs +8 -8
  111. package/dist/src/generators/preset/generator.js +7 -7
  112. package/dist/src/generators/preset/generator.mjs +6 -6
  113. package/dist/src/generators/release-version/generator.js +5 -5
  114. package/dist/src/generators/release-version/generator.mjs +4 -4
  115. package/dist/src/plugins/typescript/index.js +3 -2
  116. package/dist/src/plugins/typescript/index.mjs +2 -1
  117. package/dist/src/plugins/typescript/project-config.js +3 -2
  118. package/dist/src/plugins/typescript/project-config.mjs +2 -1
  119. package/dist/src/plugins/typescript/tsdown.js +9 -2
  120. package/dist/src/plugins/typescript/tsdown.mjs +9 -2
  121. package/dist/src/plugins/typescript/tsup.js +9 -2
  122. package/dist/src/plugins/typescript/tsup.mjs +9 -2
  123. package/dist/src/utils/apply-workspace-tokens.js +4 -4
  124. package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
  125. package/dist/src/utils/get-project-configurations.js +4 -4
  126. package/dist/src/utils/get-project-configurations.mjs +3 -3
  127. package/dist/src/utils/index.d.mts +2 -1
  128. package/dist/src/utils/index.d.ts +2 -1
  129. package/dist/src/utils/index.js +20 -10
  130. package/dist/src/utils/index.mjs +27 -17
  131. package/dist/src/utils/lock-file.d.mts +1 -1
  132. package/dist/src/utils/lock-file.d.ts +1 -1
  133. package/dist/src/utils/lock-file.js +2 -2
  134. package/dist/src/utils/lock-file.mjs +1 -1
  135. package/dist/src/utils/plugin-helpers.d.mts +9 -0
  136. package/dist/src/utils/plugin-helpers.d.ts +9 -0
  137. package/dist/src/utils/plugin-helpers.js +14 -0
  138. package/dist/src/utils/plugin-helpers.mjs +14 -0
  139. package/dist/src/utils/pnpm-deps-update.js +3 -3
  140. package/dist/src/utils/pnpm-deps-update.mjs +2 -2
  141. package/package.json +2 -7
  142. package/dist/chunk-PVTEDLBL.mjs +0 -26
  143. /package/dist/{chunk-JGP4YWZY.js → chunk-DO2X7OZO.js} +0 -0
  144. /package/dist/{chunk-6YZ3OUJB.mjs → chunk-XCVH63OO.mjs} +0 -0
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- var _chunkPY52QA2Rjs = require('../../chunk-PY52QA2R.js');
13
+ var _chunkPK2SUBWIjs = require('../../chunk-PK2SUBWI.js');
14
14
  require('../../chunk-3GQAWCBQ.js');
15
15
 
16
16
 
@@ -24,4 +24,4 @@ require('../../chunk-3GQAWCBQ.js');
24
24
 
25
25
 
26
26
 
27
- exports.LOCK_FILES = _chunkPY52QA2Rjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPY52QA2Rjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPY52QA2Rjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPY52QA2Rjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPY52QA2Rjs.PNPM_LOCK_PATH; exports.YARN_LOCK_FILE = _chunkPY52QA2Rjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPY52QA2Rjs.YARN_LOCK_PATH; exports.getLockFileDependencies = _chunkPY52QA2Rjs.getLockFileDependencies; exports.getLockFileName = _chunkPY52QA2Rjs.getLockFileName; exports.getLockFileNodes = _chunkPY52QA2Rjs.getLockFileNodes; exports.lockFileExists = _chunkPY52QA2Rjs.lockFileExists;
27
+ exports.LOCK_FILES = _chunkPK2SUBWIjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPK2SUBWIjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPK2SUBWIjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPK2SUBWIjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPK2SUBWIjs.PNPM_LOCK_PATH; exports.YARN_LOCK_FILE = _chunkPK2SUBWIjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPK2SUBWIjs.YARN_LOCK_PATH; exports.getLockFileDependencies = _chunkPK2SUBWIjs.getLockFileDependencies; exports.getLockFileName = _chunkPK2SUBWIjs.getLockFileName; exports.getLockFileNodes = _chunkPK2SUBWIjs.getLockFileNodes; exports.lockFileExists = _chunkPK2SUBWIjs.lockFileExists;
@@ -10,7 +10,7 @@ import {
10
10
  getLockFileName,
11
11
  getLockFileNodes,
12
12
  lockFileExists
13
- } from "../../chunk-F7QTSVDJ.mjs";
13
+ } from "../../chunk-NJ2QOT34.mjs";
14
14
  import "../../chunk-XUV4U54K.mjs";
15
15
  export {
16
16
  LOCK_FILES,
@@ -0,0 +1,9 @@
1
+ import { ProjectConfiguration } from '@nx/devkit';
2
+ import { PackageJson } from 'pkg-types';
3
+
4
+ declare const getProjectPlatform: (project: ProjectConfiguration, ignoreTags?: boolean) => "node" | "neutral" | "browser" | "worker";
5
+ declare const getProjectConfigFromProjectJsonPath: (projectJsonPath: string, packageJson: PackageJson) => ProjectConfiguration;
6
+ declare const getProjectConfigFromProjectRoot: (projectRoot: string, packageJson: PackageJson) => ProjectConfiguration;
7
+ declare const getProjectRoot: (configPath: string, workspaceRoot: string) => string | null;
8
+
9
+ export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot };
@@ -0,0 +1,9 @@
1
+ import { ProjectConfiguration } from '@nx/devkit';
2
+ import { PackageJson } from 'pkg-types';
3
+
4
+ declare const getProjectPlatform: (project: ProjectConfiguration, ignoreTags?: boolean) => "node" | "neutral" | "browser" | "worker";
5
+ declare const getProjectConfigFromProjectJsonPath: (projectJsonPath: string, packageJson: PackageJson) => ProjectConfiguration;
6
+ declare const getProjectConfigFromProjectRoot: (projectRoot: string, packageJson: PackageJson) => ProjectConfiguration;
7
+ declare const getProjectRoot: (configPath: string, workspaceRoot: string) => string | null;
8
+
9
+ export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot };
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkUF6KFXG5js = require('../../chunk-UF6KFXG5.js');
7
+ require('../../chunk-7YRW5HNX.js');
8
+ require('../../chunk-3GQAWCBQ.js');
9
+
10
+
11
+
12
+
13
+
14
+ exports.getProjectConfigFromProjectJsonPath = _chunkUF6KFXG5js.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunkUF6KFXG5js.getProjectConfigFromProjectRoot; exports.getProjectPlatform = _chunkUF6KFXG5js.getProjectPlatform; exports.getProjectRoot = _chunkUF6KFXG5js.getProjectRoot;
@@ -0,0 +1,14 @@
1
+ import {
2
+ getProjectConfigFromProjectJsonPath,
3
+ getProjectConfigFromProjectRoot,
4
+ getProjectPlatform,
5
+ getProjectRoot
6
+ } from "../../chunk-LUQIF4A3.mjs";
7
+ import "../../chunk-66TYTM73.mjs";
8
+ import "../../chunk-XUV4U54K.mjs";
9
+ export {
10
+ getProjectConfigFromProjectJsonPath,
11
+ getProjectConfigFromProjectRoot,
12
+ getProjectPlatform,
13
+ getProjectRoot
14
+ };
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkWPMFZECRjs = require('../../chunk-WPMFZECR.js');
4
- require('../../chunk-XCSSYTCU.js');
3
+ var _chunk2GRVQNW3js = require('../../chunk-2GRVQNW3.js');
4
+ require('../../chunk-BUXJSVJG.js');
5
5
  require('../../chunk-3GQAWCBQ.js');
6
6
 
7
7
 
8
- exports.pnpmCatalogUpdate = _chunkWPMFZECRjs.pnpmCatalogUpdate;
8
+ exports.pnpmCatalogUpdate = _chunk2GRVQNW3js.pnpmCatalogUpdate;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "../../chunk-RXH7O5YP.mjs";
4
- import "../../chunk-PVTEDLBL.mjs";
3
+ } from "../../chunk-XIOF32ZH.mjs";
4
+ import "../../chunk-2AUNU6UA.mjs";
5
5
  import "../../chunk-XUV4U54K.mjs";
6
6
  export {
7
7
  pnpmCatalogUpdate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.240.2",
3
+ "version": "1.240.4",
4
4
  "description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -188,7 +188,6 @@
188
188
  },
189
189
  "dependencies": {
190
190
  "@ltd/j-toml": "1.38.0",
191
- "@nx/devkit": "^20.3.1",
192
191
  "@size-limit/esbuild": "11.1.4",
193
192
  "@size-limit/esbuild-why": "11.1.4",
194
193
  "@size-limit/file": "11.1.4",
@@ -208,11 +207,7 @@
208
207
  },
209
208
  "devDependencies": {
210
209
  "@microsoft/api-extractor": "^7.48.1",
211
- "@nx/esbuild": "^20.3.1",
212
- "@storm-software/esbuild": "0.21.6",
213
- "@storm-software/prettier": "0.30.4",
214
- "@storm-software/tsdown": "0.22.6",
215
- "@storm-software/unbuild": "0.31.2",
210
+ "@nx/devkit": "^20.3.1",
216
211
  "@types/micromatch": "4.0.9",
217
212
  "@types/node": "^22.10.2",
218
213
  "@types/semver": "7.5.8",
@@ -1,26 +0,0 @@
1
- import {
2
- __name
3
- } from "./chunk-XUV4U54K.mjs";
4
-
5
- // ../config-tools/src/utilities/correct-paths.ts
6
- import { joinPathFragments } from "@nx/devkit";
7
- var correctPaths = /* @__PURE__ */ __name((path) => {
8
- if (!path) {
9
- return "";
10
- }
11
- if (!path.toUpperCase().startsWith("C:") && path.includes("\\")) {
12
- path = `C:${path}`;
13
- }
14
- return path.replaceAll("\\", "/");
15
- }, "correctPaths");
16
- var joinPaths = /* @__PURE__ */ __name((...paths) => {
17
- if (!paths || paths.length === 0) {
18
- return "";
19
- }
20
- return correctPaths(joinPathFragments(...paths.map((path) => correctPaths(path))));
21
- }, "joinPaths");
22
-
23
- export {
24
- correctPaths,
25
- joinPaths
26
- };
File without changes
File without changes