@storm-software/workspace-tools 1.296.15 → 1.296.17

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 (95) hide show
  1. package/config/base.json +20 -2
  2. package/config/recommended.json +35 -9
  3. package/dist/{chunk-C3NYIWL4.mjs → chunk-B2AJRGYN.mjs} +1 -1
  4. package/dist/chunk-DH4FAZZB.js +268 -0
  5. package/dist/chunk-TTKVHG3F.mjs +268 -0
  6. package/dist/{chunk-7N34DLDK.mjs → chunk-VZW75NWX.mjs} +1 -1
  7. package/dist/{chunk-RAHDX6VX.mjs → chunk-XIJ6Y5PY.mjs} +1 -1
  8. package/dist/{chunk-KUK2HDLM.mjs → chunk-Y56KCTJM.mjs} +1 -1
  9. package/dist/{chunk-4BFBFTDK.mjs → chunk-ZS6ZECJY.mjs} +1 -1
  10. package/dist/executors.mjs +1 -1
  11. package/dist/generators.mjs +5 -5
  12. package/dist/index.js +2 -2
  13. package/dist/index.mjs +6 -6
  14. package/dist/src/base/base-executor.mjs +1 -1
  15. package/dist/src/base/base-executor.untyped.mjs +1 -1
  16. package/dist/src/base/base-generator.mjs +1 -1
  17. package/dist/src/base/base-generator.untyped.mjs +1 -1
  18. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  19. package/dist/src/base/index.mjs +1 -1
  20. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  21. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  22. package/dist/src/executors/cargo-build/executor.mjs +1 -1
  23. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  24. package/dist/src/executors/cargo-check/executor.mjs +1 -1
  25. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  26. package/dist/src/executors/cargo-clippy/executor.mjs +1 -1
  27. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  28. package/dist/src/executors/cargo-doc/executor.mjs +1 -1
  29. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  30. package/dist/src/executors/cargo-format/executor.mjs +1 -1
  31. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  32. package/dist/src/executors/cargo-publish/executor.mjs +1 -1
  33. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  34. package/dist/src/executors/clean-package/executor.mjs +1 -1
  35. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  36. package/dist/src/executors/esbuild/executor.mjs +1 -1
  37. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  38. package/dist/src/executors/napi/executor.mjs +1 -1
  39. package/dist/src/executors/napi/untyped.mjs +1 -1
  40. package/dist/src/executors/npm-publish/executor.mjs +1 -1
  41. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  42. package/dist/src/executors/size-limit/executor.mjs +1 -1
  43. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  44. package/dist/src/executors/tsdown/executor.mjs +1 -1
  45. package/dist/src/executors/tsdown/untyped.mjs +1 -1
  46. package/dist/src/executors/typia/executor.mjs +1 -1
  47. package/dist/src/executors/typia/untyped.mjs +1 -1
  48. package/dist/src/executors/unbuild/executor.mjs +1 -1
  49. package/dist/src/executors/unbuild/untyped.mjs +1 -1
  50. package/dist/src/generators/browser-library/generator.mjs +2 -2
  51. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  52. package/dist/src/generators/config-schema/generator.mjs +1 -1
  53. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  54. package/dist/src/generators/init/init.mjs +1 -1
  55. package/dist/src/generators/init/untyped.mjs +1 -1
  56. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  57. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  58. package/dist/src/generators/node-library/generator.mjs +2 -2
  59. package/dist/src/generators/node-library/untyped.mjs +1 -1
  60. package/dist/src/generators/preset/generator.mjs +2 -2
  61. package/dist/src/generators/preset/untyped.mjs +1 -1
  62. package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
  63. package/dist/src/plugins/rust/index.mjs +1 -1
  64. package/dist/src/plugins/typescript/index.d.mts +9 -0
  65. package/dist/src/plugins/typescript/index.d.ts +9 -0
  66. package/dist/src/plugins/typescript/index.js +52 -49
  67. package/dist/src/plugins/typescript/index.mjs +40 -37
  68. package/dist/src/plugins/typescript/tsdown.mjs +1 -1
  69. package/dist/src/plugins/typescript/tsup.mjs +1 -1
  70. package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
  71. package/dist/src/release/index.mjs +1 -1
  72. package/dist/src/release/js-version-actions.mjs +1 -1
  73. package/dist/src/release/rust-version-actions.mjs +1 -1
  74. package/dist/src/types.mjs +1 -1
  75. package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
  76. package/dist/src/utils/cargo.mjs +1 -1
  77. package/dist/src/utils/create-cli-options.mjs +1 -1
  78. package/dist/src/utils/get-project-configurations.mjs +1 -1
  79. package/dist/src/utils/github.mjs +1 -1
  80. package/dist/src/utils/index.js +2 -2
  81. package/dist/src/utils/index.mjs +2 -2
  82. package/dist/src/utils/lock-file.mjs +1 -1
  83. package/dist/src/utils/nx-json.d.mts +13 -13
  84. package/dist/src/utils/nx-json.d.ts +13 -13
  85. package/dist/src/utils/nx-json.js +2 -2
  86. package/dist/src/utils/nx-json.mjs +2 -2
  87. package/dist/src/utils/package-helpers.mjs +1 -1
  88. package/dist/src/utils/plugin-helpers.mjs +1 -1
  89. package/dist/src/utils/project-tags.mjs +1 -1
  90. package/dist/src/utils/registry-helpers.mjs +1 -1
  91. package/dist/src/utils/typia-transform.mjs +1 -1
  92. package/dist/src/utils/versions.mjs +1 -1
  93. package/package.json +10 -10
  94. package/dist/chunk-JFADD25N.js +0 -204
  95. package/dist/chunk-POTCFTTZ.mjs +0 -204
@@ -10,7 +10,7 @@ import "../../../chunk-3J2CP54B.mjs";
10
10
  import {
11
11
  joinPaths
12
12
  } from "../../../chunk-TBW5MCN6.mjs";
13
- import "../../../chunk-C3NYIWL4.mjs";
13
+ import "../../../chunk-B2AJRGYN.mjs";
14
14
 
15
15
  // src/executors/clean-package/executor.ts
16
16
  import { joinPathFragments } from "@nx/devkit";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  base_executor_untyped_default
3
3
  } from "../../../chunk-ZCTECGQS.mjs";
4
- import "../../../chunk-C3NYIWL4.mjs";
4
+ import "../../../chunk-B2AJRGYN.mjs";
5
5
 
6
6
  // src/executors/clean-package/untyped.ts
7
7
  import { defineUntypedSchema } from "untyped";
@@ -9,7 +9,7 @@ import "../../../chunk-R5RFMU22.mjs";
9
9
  import "../../../chunk-LOPJYZWJ.mjs";
10
10
  import "../../../chunk-3J2CP54B.mjs";
11
11
  import "../../../chunk-TBW5MCN6.mjs";
12
- import "../../../chunk-C3NYIWL4.mjs";
12
+ import "../../../chunk-B2AJRGYN.mjs";
13
13
  export {
14
14
  executor_default as default,
15
15
  esbuildExecutorFn
@@ -2,7 +2,7 @@ import {
2
2
  typescript_build_executor_untyped_default
3
3
  } from "../../../chunk-LZ3H2OH5.mjs";
4
4
  import "../../../chunk-ZCTECGQS.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/executors/esbuild/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -9,7 +9,7 @@ import "../../../chunk-R5RFMU22.mjs";
9
9
  import "../../../chunk-LOPJYZWJ.mjs";
10
10
  import "../../../chunk-3J2CP54B.mjs";
11
11
  import "../../../chunk-TBW5MCN6.mjs";
12
- import "../../../chunk-C3NYIWL4.mjs";
12
+ import "../../../chunk-B2AJRGYN.mjs";
13
13
  export {
14
14
  executor_default as default,
15
15
  napiExecutor
@@ -2,7 +2,7 @@ import {
2
2
  cargo_base_executor_untyped_default
3
3
  } from "../../../chunk-QQB6GFYM.mjs";
4
4
  import "../../../chunk-ZCTECGQS.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/executors/napi/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -10,7 +10,7 @@ import "../../../chunk-R5RFMU22.mjs";
10
10
  import "../../../chunk-LOPJYZWJ.mjs";
11
11
  import "../../../chunk-3J2CP54B.mjs";
12
12
  import "../../../chunk-TBW5MCN6.mjs";
13
- import "../../../chunk-C3NYIWL4.mjs";
13
+ import "../../../chunk-B2AJRGYN.mjs";
14
14
  export {
15
15
  LARGE_BUFFER,
16
16
  npmPublishExecutorFn as default
@@ -1,4 +1,4 @@
1
- import "../../../chunk-C3NYIWL4.mjs";
1
+ import "../../../chunk-B2AJRGYN.mjs";
2
2
 
3
3
  // src/executors/npm-publish/untyped.ts
4
4
  import { defineUntypedSchema } from "untyped";
@@ -8,7 +8,7 @@ import "../../../chunk-R5RFMU22.mjs";
8
8
  import "../../../chunk-LOPJYZWJ.mjs";
9
9
  import "../../../chunk-3J2CP54B.mjs";
10
10
  import "../../../chunk-TBW5MCN6.mjs";
11
- import "../../../chunk-C3NYIWL4.mjs";
11
+ import "../../../chunk-B2AJRGYN.mjs";
12
12
  export {
13
13
  executor_default as default,
14
14
  sizeLimitExecutorFn
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  base_executor_untyped_default
3
3
  } from "../../../chunk-ZCTECGQS.mjs";
4
- import "../../../chunk-C3NYIWL4.mjs";
4
+ import "../../../chunk-B2AJRGYN.mjs";
5
5
 
6
6
  // src/executors/size-limit/untyped.ts
7
7
  import { defineUntypedSchema } from "untyped";
@@ -9,7 +9,7 @@ import "../../../chunk-R5RFMU22.mjs";
9
9
  import "../../../chunk-LOPJYZWJ.mjs";
10
10
  import "../../../chunk-3J2CP54B.mjs";
11
11
  import "../../../chunk-TBW5MCN6.mjs";
12
- import "../../../chunk-C3NYIWL4.mjs";
12
+ import "../../../chunk-B2AJRGYN.mjs";
13
13
  export {
14
14
  executor_default as default,
15
15
  tsdownExecutorFn
@@ -2,7 +2,7 @@ import {
2
2
  typescript_build_executor_untyped_default
3
3
  } from "../../../chunk-LZ3H2OH5.mjs";
4
4
  import "../../../chunk-ZCTECGQS.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/executors/tsdown/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -8,7 +8,7 @@ import "../../../chunk-R5RFMU22.mjs";
8
8
  import "../../../chunk-LOPJYZWJ.mjs";
9
9
  import "../../../chunk-3J2CP54B.mjs";
10
10
  import "../../../chunk-TBW5MCN6.mjs";
11
- import "../../../chunk-C3NYIWL4.mjs";
11
+ import "../../../chunk-B2AJRGYN.mjs";
12
12
  export {
13
13
  executor_default as default,
14
14
  typiaExecutorFn
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  base_executor_untyped_default
3
3
  } from "../../../chunk-ZCTECGQS.mjs";
4
- import "../../../chunk-C3NYIWL4.mjs";
4
+ import "../../../chunk-B2AJRGYN.mjs";
5
5
 
6
6
  // src/executors/typia/untyped.ts
7
7
  import { defineUntypedSchema } from "untyped";
@@ -8,7 +8,7 @@ import "../../../chunk-R5RFMU22.mjs";
8
8
  import "../../../chunk-LOPJYZWJ.mjs";
9
9
  import "../../../chunk-3J2CP54B.mjs";
10
10
  import "../../../chunk-TBW5MCN6.mjs";
11
- import "../../../chunk-C3NYIWL4.mjs";
11
+ import "../../../chunk-B2AJRGYN.mjs";
12
12
  export {
13
13
  executor_default as default,
14
14
  unbuildExecutorFn
@@ -2,7 +2,7 @@ import {
2
2
  typescript_build_executor_untyped_default
3
3
  } from "../../../chunk-LZ3H2OH5.mjs";
4
4
  import "../../../chunk-ZCTECGQS.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/executors/unbuild/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  browserLibraryGeneratorFn,
3
3
  generator_default
4
- } from "../../../chunk-KUK2HDLM.mjs";
4
+ } from "../../../chunk-Y56KCTJM.mjs";
5
5
  import "../../../chunk-4VWDSVQJ.mjs";
6
6
  import "../../../chunk-QC5ON3X4.mjs";
7
7
  import "../../../chunk-2GQSCZ3J.mjs";
@@ -11,7 +11,7 @@ import "../../../chunk-R5RFMU22.mjs";
11
11
  import "../../../chunk-LOPJYZWJ.mjs";
12
12
  import "../../../chunk-3J2CP54B.mjs";
13
13
  import "../../../chunk-TBW5MCN6.mjs";
14
- import "../../../chunk-C3NYIWL4.mjs";
14
+ import "../../../chunk-B2AJRGYN.mjs";
15
15
  export {
16
16
  browserLibraryGeneratorFn,
17
17
  generator_default as default
@@ -2,7 +2,7 @@ import {
2
2
  typescript_library_generator_untyped_default
3
3
  } from "../../../chunk-SW2E5MQJ.mjs";
4
4
  import "../../../chunk-34LSWMWV.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/generators/browser-library/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -8,7 +8,7 @@ import "../../../chunk-R5RFMU22.mjs";
8
8
  import "../../../chunk-LOPJYZWJ.mjs";
9
9
  import "../../../chunk-3J2CP54B.mjs";
10
10
  import "../../../chunk-TBW5MCN6.mjs";
11
- import "../../../chunk-C3NYIWL4.mjs";
11
+ import "../../../chunk-B2AJRGYN.mjs";
12
12
  export {
13
13
  configSchemaGeneratorFn,
14
14
  generator_default as default
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  base_generator_untyped_default
3
3
  } from "../../../chunk-34LSWMWV.mjs";
4
- import "../../../chunk-C3NYIWL4.mjs";
4
+ import "../../../chunk-B2AJRGYN.mjs";
5
5
 
6
6
  // src/generators/config-schema/untyped.ts
7
7
  import { defineUntypedSchema } from "untyped";
@@ -2,7 +2,7 @@ import {
2
2
  initGenerator,
3
3
  init_default
4
4
  } from "../../../chunk-437WGH2M.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
  export {
7
7
  init_default as default,
8
8
  initGenerator
@@ -1,4 +1,4 @@
1
- import "../../../chunk-C3NYIWL4.mjs";
1
+ import "../../../chunk-B2AJRGYN.mjs";
2
2
 
3
3
  // src/generators/init/untyped.ts
4
4
  import { defineUntypedSchema } from "untyped";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  neutralLibraryGeneratorFn
4
- } from "../../../chunk-4BFBFTDK.mjs";
4
+ } from "../../../chunk-ZS6ZECJY.mjs";
5
5
  import "../../../chunk-4VWDSVQJ.mjs";
6
6
  import "../../../chunk-QC5ON3X4.mjs";
7
7
  import "../../../chunk-2GQSCZ3J.mjs";
@@ -11,7 +11,7 @@ import "../../../chunk-R5RFMU22.mjs";
11
11
  import "../../../chunk-LOPJYZWJ.mjs";
12
12
  import "../../../chunk-3J2CP54B.mjs";
13
13
  import "../../../chunk-TBW5MCN6.mjs";
14
- import "../../../chunk-C3NYIWL4.mjs";
14
+ import "../../../chunk-B2AJRGYN.mjs";
15
15
  export {
16
16
  generator_default as default,
17
17
  neutralLibraryGeneratorFn
@@ -2,7 +2,7 @@ import {
2
2
  typescript_library_generator_untyped_default
3
3
  } from "../../../chunk-SW2E5MQJ.mjs";
4
4
  import "../../../chunk-34LSWMWV.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/generators/neutral-library/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  nodeLibraryGeneratorFn
4
- } from "../../../chunk-RAHDX6VX.mjs";
4
+ } from "../../../chunk-XIJ6Y5PY.mjs";
5
5
  import "../../../chunk-4VWDSVQJ.mjs";
6
6
  import "../../../chunk-QC5ON3X4.mjs";
7
7
  import "../../../chunk-2GQSCZ3J.mjs";
@@ -11,7 +11,7 @@ import "../../../chunk-R5RFMU22.mjs";
11
11
  import "../../../chunk-LOPJYZWJ.mjs";
12
12
  import "../../../chunk-3J2CP54B.mjs";
13
13
  import "../../../chunk-TBW5MCN6.mjs";
14
- import "../../../chunk-C3NYIWL4.mjs";
14
+ import "../../../chunk-B2AJRGYN.mjs";
15
15
  export {
16
16
  generator_default as default,
17
17
  nodeLibraryGeneratorFn
@@ -2,7 +2,7 @@ import {
2
2
  typescript_library_generator_untyped_default
3
3
  } from "../../../chunk-SW2E5MQJ.mjs";
4
4
  import "../../../chunk-34LSWMWV.mjs";
5
- import "../../../chunk-C3NYIWL4.mjs";
5
+ import "../../../chunk-B2AJRGYN.mjs";
6
6
 
7
7
  // src/generators/node-library/untyped.ts
8
8
  import { defineUntypedSchema } from "untyped";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generator_default,
3
3
  presetGeneratorFn
4
- } from "../../../chunk-7N34DLDK.mjs";
4
+ } from "../../../chunk-VZW75NWX.mjs";
5
5
  import "../../../chunk-QC5ON3X4.mjs";
6
6
  import "../../../chunk-K4FLM47P.mjs";
7
7
  import "../../../chunk-2QMGYIOO.mjs";
@@ -9,7 +9,7 @@ import "../../../chunk-R5RFMU22.mjs";
9
9
  import "../../../chunk-LOPJYZWJ.mjs";
10
10
  import "../../../chunk-3J2CP54B.mjs";
11
11
  import "../../../chunk-TBW5MCN6.mjs";
12
- import "../../../chunk-C3NYIWL4.mjs";
12
+ import "../../../chunk-B2AJRGYN.mjs";
13
13
  export {
14
14
  generator_default as default,
15
15
  presetGeneratorFn
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  base_generator_untyped_default
3
3
  } from "../../../chunk-34LSWMWV.mjs";
4
- import "../../../chunk-C3NYIWL4.mjs";
4
+ import "../../../chunk-B2AJRGYN.mjs";
5
5
 
6
6
  // src/generators/preset/untyped.ts
7
7
  import { defineUntypedSchema } from "untyped";
@@ -8,7 +8,7 @@ import {
8
8
  import "../../../chunk-K4QMCCQB.mjs";
9
9
  import "../../../chunk-GKLFEOKK.mjs";
10
10
  import "../../../chunk-2GQSCZ3J.mjs";
11
- import "../../../chunk-C3NYIWL4.mjs";
11
+ import "../../../chunk-B2AJRGYN.mjs";
12
12
  export {
13
13
  DefaultCargoPluginProfileMap,
14
14
  createDependencies,
@@ -8,7 +8,7 @@ import {
8
8
  import "../../../chunk-K4QMCCQB.mjs";
9
9
  import "../../../chunk-GKLFEOKK.mjs";
10
10
  import "../../../chunk-2GQSCZ3J.mjs";
11
- import "../../../chunk-C3NYIWL4.mjs";
11
+ import "../../../chunk-B2AJRGYN.mjs";
12
12
  export {
13
13
  DefaultCargoPluginProfileMap,
14
14
  createDependencies,
@@ -44,6 +44,15 @@ interface TypeScriptPluginOptions extends BaseTypescriptPluginOptions {
44
44
  * @defaultValue false
45
45
  */
46
46
  enableTypecheck?: string | true;
47
+ /**
48
+ * Whether to enable Vitest or Jest for testing TypeScript projects.
49
+ *
50
+ * @remarks
51
+ * If set to a string, it will be used as the target name instead of the default "test".
52
+ *
53
+ * @defaultValue false
54
+ */
55
+ enableTest?: string | true;
47
56
  /**
48
57
  * Whether to use `tsgo` for TypeScript language features in editors that support it.
49
58
  *
@@ -44,6 +44,15 @@ interface TypeScriptPluginOptions extends BaseTypescriptPluginOptions {
44
44
  * @defaultValue false
45
45
  */
46
46
  enableTypecheck?: string | true;
47
+ /**
48
+ * Whether to enable Vitest or Jest for testing TypeScript projects.
49
+ *
50
+ * @remarks
51
+ * If set to a string, it will be used as the target name instead of the default "test".
52
+ *
53
+ * @defaultValue false
54
+ */
55
+ enableTest?: string | true;
47
56
  /**
48
57
  * Whether to use `tsgo` for TypeScript language features in editors that support it.
49
58
  *
@@ -48,6 +48,7 @@ var createNodesV2 = [
48
48
  const enableMarkdownlint = _optionalChain([options2, 'optionalAccess', _2 => _2.enableMarkdownlint]) !== false;
49
49
  const enableEslint = _optionalChain([options2, 'optionalAccess', _3 => _3.enableEslint]) !== false;
50
50
  const enableTypecheck = !!_optionalChain([options2, 'optionalAccess', _4 => _4.enableTypecheck]);
51
+ const enableTest = !!_optionalChain([options2, 'optionalAccess', _5 => _5.enableTest]);
51
52
  const targets = _packagejson.readTargetsFromPackageJson.call(void 0,
52
53
  packageJson,
53
54
  nxJson,
@@ -56,7 +57,7 @@ var createNodesV2 = [
56
57
  );
57
58
  if (_path.join.call(void 0, context2.workspaceRoot, project.root).startsWith(
58
59
  _path.join.call(void 0, context2.workspaceRoot, "tools")
59
- ) && _optionalChain([options2, 'optionalAccess', _5 => _5.lintInternalTools]) !== true) {
60
+ ) && _optionalChain([options2, 'optionalAccess', _6 => _6.lintInternalTools]) !== true) {
60
61
  targets.lint ??= {
61
62
  dependsOn: ["^lint"],
62
63
  executor: "nx:run-commands",
@@ -75,7 +76,7 @@ var createNodesV2 = [
75
76
  }
76
77
  };
77
78
  if (enableMarkdownlint) {
78
- targets[_optionalChain([options2, 'optionalAccess', _6 => _6.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _7 => _7.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"] ??= {
79
+ targets[_optionalChain([options2, 'optionalAccess', _7 => _7.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _8 => _8.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"] ??= {
79
80
  cache: true,
80
81
  inputs: [
81
82
  "linting",
@@ -84,7 +85,7 @@ var createNodesV2 = [
84
85
  ],
85
86
  outputs: ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
86
87
  dependsOn: [
87
- `^${_optionalChain([options2, 'optionalAccess', _8 => _8.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _9 => _9.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"}`
88
+ `^${_optionalChain([options2, 'optionalAccess', _9 => _9.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _10 => _10.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown"}`
88
89
  ],
89
90
  executor: "nx:run-commands",
90
91
  options: {
@@ -93,17 +94,17 @@ var createNodesV2 = [
93
94
  };
94
95
  }
95
96
  if (enableTypecheck) {
96
- targets[_optionalChain([options2, 'optionalAccess', _10 => _10.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _11 => _11.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"] ??= {
97
+ targets[_optionalChain([options2, 'optionalAccess', _11 => _11.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _12 => _12.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"] ??= {
97
98
  cache: true,
98
99
  inputs: ["typescript", "^production"],
99
100
  outputs: [`{workspaceRoot}/dist/${root}`],
100
101
  executor: "nx:run-commands",
101
102
  dependsOn: [
102
103
  "build-untyped",
103
- `^${_optionalChain([options2, 'optionalAccess', _12 => _12.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _13 => _13.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"}`
104
+ `^${_optionalChain([options2, 'optionalAccess', _13 => _13.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _14 => _14.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck"}`
104
105
  ],
105
106
  options: {
106
- command: `pnpm exec ${_optionalChain([options2, 'optionalAccess', _14 => _14.useTsGo]) ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${_path.join.call(void 0,
107
+ command: `pnpm exec ${_optionalChain([options2, 'optionalAccess', _15 => _15.useTsGo]) ? "tsgo" : "tsc"} --noEmit --skipLibCheck --pretty --project ./${_path.join.call(void 0,
107
108
  project.root,
108
109
  "tsconfig.json"
109
110
  )}`
@@ -116,16 +117,16 @@ var createNodesV2 = [
116
117
  eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
117
118
  }
118
119
  if (eslintConfig) {
119
- targets[_optionalChain([options2, 'optionalAccess', _15 => _15.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _16 => _16.enableEslint]) === "string" ? options2.enableEslint : "lint"] ??= {
120
+ targets[_optionalChain([options2, 'optionalAccess', _16 => _16.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _17 => _17.enableEslint]) === "string" ? options2.enableEslint : "lint"] ??= {
120
121
  cache: true,
121
122
  inputs: ["linting", "typescript", "^production"],
122
123
  outputs: [
123
124
  "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
124
125
  ],
125
126
  dependsOn: [
126
- enableMarkdownlint ? _optionalChain([options2, 'optionalAccess', _17 => _17.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _18 => _18.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
127
- enableTypecheck ? _optionalChain([options2, 'optionalAccess', _19 => _19.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _20 => _20.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck" : void 0,
128
- `^${_optionalChain([options2, 'optionalAccess', _21 => _21.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _22 => _22.enableEslint]) === "string" ? options2.enableEslint : "lint"}`
127
+ enableMarkdownlint ? _optionalChain([options2, 'optionalAccess', _18 => _18.enableMarkdownlint]) && typeof _optionalChain([options2, 'optionalAccess', _19 => _19.enableMarkdownlint]) === "string" ? options2.enableMarkdownlint : "lint-markdown" : void 0,
128
+ enableTypecheck ? _optionalChain([options2, 'optionalAccess', _20 => _20.enableTypecheck]) && typeof _optionalChain([options2, 'optionalAccess', _21 => _21.enableTypecheck]) === "string" ? options2.enableTypecheck : "typecheck" : void 0,
129
+ `^${_optionalChain([options2, 'optionalAccess', _22 => _22.enableEslint]) && typeof _optionalChain([options2, 'optionalAccess', _23 => _23.enableEslint]) === "string" ? options2.enableEslint : "lint"}`
129
130
  ].filter(Boolean),
130
131
  executor: "@nx/eslint:lint",
131
132
  options: {
@@ -210,45 +211,47 @@ var createNodesV2 = [
210
211
  command: `pnpm exec nx run ${project.name}:build`
211
212
  }
212
213
  };
213
- if (checkVitestConfigAtPath(project.root)) {
214
- targets.test ??= {
215
- cache: true,
216
- executor: "@nx/vitest:test",
217
- inputs: ["testing", "typescript", "^production"],
218
- outputs: [`{workspaceRoot}/coverage/${root}`],
219
- defaultConfiguration: "development",
220
- options: {
221
- configFile: `{projectRoot}/${checkVitestConfigAtPath(project.root)}`
222
- },
223
- configurations: {
224
- development: {},
225
- production: {
226
- reportsDirectory: `{workspaceRoot}/coverage/${root}`
214
+ if (enableTest) {
215
+ if (checkVitestConfigAtPath(project.root)) {
216
+ targets.test ??= {
217
+ cache: true,
218
+ executor: "@nx/vitest:test",
219
+ inputs: ["testing", "typescript", "^production"],
220
+ outputs: [`{workspaceRoot}/coverage/${root}`],
221
+ defaultConfiguration: "development",
222
+ options: {
223
+ configFile: `{projectRoot}/${checkVitestConfigAtPath(project.root)}`
224
+ },
225
+ configurations: {
226
+ development: {},
227
+ production: {
228
+ reportsDirectory: `{workspaceRoot}/coverage/${root}`
229
+ }
227
230
  }
228
- }
229
- };
230
- } else if (checkJestConfigAtPath(project.root)) {
231
- targets.test ??= {
232
- cache: true,
233
- executor: "@nx/jest:jest",
234
- inputs: ["testing", "typescript", "^production"],
235
- outputs: [`{workspaceRoot}/coverage/${root}`],
236
- defaultConfiguration: "development",
237
- options: {
238
- jestConfig: `{projectRoot}/${checkJestConfigAtPath(project.root)}`,
239
- passWithNoTests: true
240
- },
241
- configurations: {
242
- development: {
243
- ci: false,
244
- codeCoverage: true
231
+ };
232
+ } else if (checkJestConfigAtPath(project.root)) {
233
+ targets.test ??= {
234
+ cache: true,
235
+ executor: "@nx/jest:jest",
236
+ inputs: ["testing", "typescript", "^production"],
237
+ outputs: [`{workspaceRoot}/coverage/${root}`],
238
+ defaultConfiguration: "development",
239
+ options: {
240
+ jestConfig: `{projectRoot}/${checkJestConfigAtPath(project.root)}`,
241
+ passWithNoTests: true
245
242
  },
246
- production: {
247
- ci: true,
248
- codeCoverage: true
243
+ configurations: {
244
+ development: {
245
+ ci: false,
246
+ codeCoverage: true
247
+ },
248
+ production: {
249
+ ci: true,
250
+ codeCoverage: true
251
+ }
249
252
  }
250
- }
251
- };
253
+ };
254
+ }
252
255
  }
253
256
  targets["docs"] ??= {
254
257
  cache: true,
@@ -298,8 +301,8 @@ var createNodesV2 = [
298
301
  cleanComments: true
299
302
  }
300
303
  };
301
- _optionalChain([targets, 'access', _23 => _23["nx-release-publish"], 'access', _24 => _24.dependsOn, 'optionalAccess', _25 => _25.push, 'call', _26 => _26("clean-package")]);
302
- _optionalChain([targets, 'access', _27 => _27["size-limit"], 'access', _28 => _28.dependsOn, 'optionalAccess', _29 => _29.push, 'call', _30 => _30("clean-package")]);
304
+ _optionalChain([targets, 'access', _24 => _24["nx-release-publish"], 'access', _25 => _25.dependsOn, 'optionalAccess', _26 => _26.push, 'call', _27 => _27("clean-package")]);
305
+ _optionalChain([targets, 'access', _28 => _28["size-limit"], 'access', _29 => _29.dependsOn, 'optionalAccess', _30 => _30.push, 'call', _31 => _31("clean-package")]);
303
306
  }
304
307
  }
305
308
  _chunkTAP26ZJQjs.addProjectTag.call(void 0,
@@ -311,7 +314,7 @@ var createNodesV2 = [
311
314
  _chunkTAP26ZJQjs.addProjectTag.call(void 0,
312
315
  project,
313
316
  _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.TAG_ID,
314
- _optionalChain([options2, 'optionalAccess', _31 => _31.projectLinks]) === "alias" /* ALIAS */ ? _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.ALIAS : _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.REFERENCE,
317
+ _optionalChain([options2, 'optionalAccess', _32 => _32.projectLinks]) === "alias" /* ALIAS */ ? _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.ALIAS : _chunkTAP26ZJQjs.ProjectTagConstants.ProjectLinking.REFERENCE,
315
318
  { overwrite: true }
316
319
  );
317
320
  const platform = _chunkBAPFD3TOjs.getProjectPlatform.call(void 0, project);