@storm-software/workspace-tools 1.263.1 → 1.264.0

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 (146) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +12 -30
  3. package/dist/{chunk-G6GGPUG7.mjs → chunk-267XQYEI.mjs} +4 -4
  4. package/dist/{chunk-2WTKQCPA.mjs → chunk-2BPV2XV2.mjs} +1 -1
  5. package/dist/{chunk-GCN3NUF6.mjs → chunk-3FTFBAIV.mjs} +1 -1
  6. package/dist/{chunk-OQ32KFGA.mjs → chunk-3PWCELL5.mjs} +2 -2
  7. package/dist/{chunk-IT3ENPW3.mjs → chunk-3RLLSZI3.mjs} +3 -3
  8. package/dist/{chunk-XEHJM6RO.mjs → chunk-5CZXBNEE.mjs} +1 -1
  9. package/dist/{chunk-VOIYJ67D.mjs → chunk-5DWBECCN.mjs} +4 -4
  10. package/dist/{chunk-GPOYI6OO.mjs → chunk-77KNPIOO.mjs} +3 -3
  11. package/dist/{chunk-4PDLEPIC.mjs → chunk-7ENGREV2.mjs} +1 -1
  12. package/dist/{chunk-IGJN2SBZ.mjs → chunk-AD4BVP7F.mjs} +2 -2
  13. package/dist/{chunk-HASYGI6W.mjs → chunk-ATIBREWM.mjs} +1 -1
  14. package/dist/{chunk-5JPH5VCU.mjs → chunk-AWKIWCLR.mjs} +2 -2
  15. package/dist/{chunk-GRU4UEE7.mjs → chunk-BMNXBEWE.mjs} +3 -3
  16. package/dist/{chunk-BV32SZPV.mjs → chunk-EVQJFIA7.mjs} +3 -3
  17. package/dist/{chunk-3I74ESKM.mjs → chunk-FIJJTQKT.mjs} +3 -3
  18. package/dist/{chunk-2PKZRCQJ.mjs → chunk-FR3YQN55.mjs} +2 -2
  19. package/dist/{chunk-U6DRC3BT.mjs → chunk-G6VTRIV6.mjs} +4 -4
  20. package/dist/{chunk-STVTZJIX.mjs → chunk-GKFEPODO.mjs} +3 -3
  21. package/dist/{chunk-6YMGUA6X.mjs → chunk-H5VTYV4U.mjs} +2 -2
  22. package/dist/{chunk-J53HKGFM.mjs → chunk-HUVBVDJ7.mjs} +1 -1
  23. package/dist/{chunk-L6CV744X.mjs → chunk-IXZ3PGBP.mjs} +3 -3
  24. package/dist/{chunk-GHJGKUBW.mjs → chunk-JIAGNEII.mjs} +1 -1
  25. package/dist/{chunk-H4RWKANW.mjs → chunk-KTJM6G4K.mjs} +1 -1
  26. package/dist/{chunk-TAJU54DW.mjs → chunk-LZ4WXOF5.mjs} +3 -3
  27. package/dist/{chunk-RGZAGFUD.mjs → chunk-MDK5L6VS.mjs} +4 -4
  28. package/dist/{chunk-3ABED6KX.mjs → chunk-NZAGHP4Q.mjs} +4 -4
  29. package/dist/{chunk-6QKCP4DS.js → chunk-PD4CDI7L.js} +296 -41
  30. package/dist/{chunk-R2BMSX6J.mjs → chunk-RLG36VMZ.mjs} +3 -3
  31. package/dist/{chunk-XIS3TY42.mjs → chunk-RMNEVFW4.mjs} +4 -4
  32. package/dist/{chunk-3XR4FSEA.mjs → chunk-V4QUJRZH.mjs} +4 -4
  33. package/dist/{chunk-AOOHLS72.mjs → chunk-VJJBBVYU.mjs} +3 -3
  34. package/dist/{chunk-EF7U4632.mjs → chunk-VYHRGNJQ.mjs} +306 -51
  35. package/dist/{chunk-OBUTMEEY.mjs → chunk-XB6ATVWM.mjs} +3 -3
  36. package/dist/{chunk-OVLYU6HE.mjs → chunk-XBRJIYCS.mjs} +2 -2
  37. package/dist/{chunk-HY43JWZ7.mjs → chunk-XDVGK64G.mjs} +2 -2
  38. package/dist/{chunk-RULS5ZOT.mjs → chunk-YBDZ7EWU.mjs} +2 -2
  39. package/dist/{chunk-BGSGM2KX.mjs → chunk-YPUNRGTW.mjs} +3 -3
  40. package/dist/{chunk-SF477J3B.mjs → chunk-YZLAY7R4.mjs} +3 -3
  41. package/dist/{chunk-WJTTZD3M.mjs → chunk-ZETTXDZO.mjs} +1 -1
  42. package/dist/{chunk-DGI7OQYG.mjs → chunk-ZPN57TH7.mjs} +4 -4
  43. package/dist/{chunk-B5OPGMAP.mjs → chunk-ZUYLHO4U.mjs} +1 -1
  44. package/dist/executors.d.mts +0 -1
  45. package/dist/executors.d.ts +0 -1
  46. package/dist/executors.js +5 -10
  47. package/dist/executors.mjs +23 -28
  48. package/dist/generators.js +5 -5
  49. package/dist/generators.mjs +20 -20
  50. package/dist/index.d.mts +0 -1
  51. package/dist/index.d.ts +0 -1
  52. package/dist/index.js +10 -15
  53. package/dist/index.mjs +45 -50
  54. package/dist/src/base/base-executor.mjs +6 -6
  55. package/dist/src/base/base-executor.untyped.mjs +1 -1
  56. package/dist/src/base/base-generator.mjs +6 -6
  57. package/dist/src/base/base-generator.untyped.mjs +1 -1
  58. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  59. package/dist/src/base/index.mjs +10 -10
  60. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  61. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  62. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  63. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  64. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  65. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  66. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  67. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  68. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  69. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  70. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  71. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  72. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  73. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  74. package/dist/src/executors/clean-package/executor.mjs +6 -6
  75. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  76. package/dist/src/executors/esbuild/executor.js +2 -3
  77. package/dist/src/executors/esbuild/executor.mjs +7 -8
  78. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  79. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  80. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  81. package/dist/src/executors/size-limit/executor.mjs +7 -7
  82. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  83. package/dist/src/executors/typia/executor.mjs +7 -7
  84. package/dist/src/executors/typia/untyped.mjs +1 -1
  85. package/dist/src/executors/unbuild/executor.mjs +7 -7
  86. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  87. package/dist/src/generators/browser-library/generator.mjs +9 -9
  88. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  89. package/dist/src/generators/config-schema/generator.mjs +7 -7
  90. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  91. package/dist/src/generators/init/init.mjs +2 -2
  92. package/dist/src/generators/init/untyped.mjs +1 -1
  93. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  94. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  95. package/dist/src/generators/node-library/generator.mjs +9 -9
  96. package/dist/src/generators/node-library/untyped.mjs +1 -1
  97. package/dist/src/generators/preset/generator.mjs +7 -7
  98. package/dist/src/generators/preset/untyped.mjs +1 -1
  99. package/dist/src/generators/release-version/generator.mjs +6 -6
  100. package/dist/src/generators/release-version/untyped.mjs +1 -1
  101. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  102. package/dist/src/plugins/rust/index.mjs +4 -4
  103. package/dist/src/plugins/typescript/index.mjs +4 -4
  104. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  105. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  106. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  107. package/dist/src/types.mjs +1 -1
  108. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  109. package/dist/src/utils/cargo.mjs +2 -2
  110. package/dist/src/utils/create-cli-options.mjs +2 -2
  111. package/dist/src/utils/get-project-configurations.mjs +4 -4
  112. package/dist/src/utils/index.mjs +14 -14
  113. package/dist/src/utils/lock-file.mjs +2 -2
  114. package/dist/src/utils/package-helpers.mjs +4 -4
  115. package/dist/src/utils/plugin-helpers.mjs +3 -3
  116. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  117. package/dist/src/utils/project-tags.mjs +2 -2
  118. package/dist/src/utils/toml.mjs +2 -2
  119. package/dist/src/utils/typia-transform.mjs +2 -2
  120. package/dist/src/utils/versions.mjs +1 -1
  121. package/executors.json +0 -5
  122. package/package.json +3 -6
  123. package/dist/chunk-55IQXVOQ.js +0 -308
  124. package/dist/chunk-IFSORSAN.js +0 -304
  125. package/dist/chunk-SE2XSR7P.mjs +0 -304
  126. package/dist/chunk-UFPTODUJ.mjs +0 -308
  127. package/dist/executor-BDvqiAmr.d.ts +0 -144
  128. package/dist/executor-KAQdKP88.d.mts +0 -144
  129. package/dist/src/executors/tsdown/executor.d.mts +0 -4
  130. package/dist/src/executors/tsdown/executor.d.ts +0 -4
  131. package/dist/src/executors/tsdown/executor.js +0 -15
  132. package/dist/src/executors/tsdown/executor.mjs +0 -15
  133. package/dist/src/executors/tsdown/schema.d.ts +0 -135
  134. package/dist/src/executors/tsdown/schema.json +0 -174
  135. package/dist/src/executors/tsdown/schema.md +0 -126
  136. package/dist/src/executors/tsdown/untyped.d.mts +0 -5
  137. package/dist/src/executors/tsdown/untyped.d.ts +0 -5
  138. package/dist/src/executors/tsdown/untyped.js +0 -19
  139. package/dist/src/executors/tsdown/untyped.mjs +0 -19
  140. package/dist/src/plugins/typescript/tsdown.d.mts +0 -7
  141. package/dist/src/plugins/typescript/tsdown.d.ts +0 -7
  142. package/dist/src/plugins/typescript/tsdown.js +0 -159
  143. package/dist/src/plugins/typescript/tsdown.mjs +0 -159
  144. package/docs/api/executors/tsdown/schema.md +0 -126
  145. /package/dist/{chunk-3J53KHVV.js → chunk-7VDOGZYO.js} +0 -0
  146. /package/dist/{chunk-V7YZ3666.mjs → chunk-BLX5SLPC.mjs} +0 -0
@@ -1,144 +0,0 @@
1
- import * as _nx_devkit from '@nx/devkit';
2
- import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormConfig } from './types-D6pIdih6.js';
4
-
5
- // Generated by @storm-software/untyped
6
- // Do not edit this file directly
7
-
8
- interface TSDownExecutorSchema {
9
- /**
10
- * Output Path
11
- *
12
- * The output path for the build
13
- *
14
- * @default "dist/{projectRoot}"
15
- *
16
- * @format path
17
- */
18
- outputPath?: string,
19
-
20
- /**
21
- * Entry File(s)
22
- *
23
- * The entry file or files to build
24
- *
25
- * @default ["{sourceRoot}/index.ts"]
26
- *
27
- * @format path
28
- */
29
- entry?: Array<string>,
30
-
31
- /**
32
- * TSConfig Path
33
- *
34
- * The path to the tsconfig file
35
- *
36
- * @default "{projectRoot}/tsconfig.json"
37
- *
38
- * @format path
39
- */
40
- tsconfig?: string,
41
-
42
- /**
43
- * Bundle
44
- *
45
- * Bundle the output
46
- *
47
- */
48
- bundle?: boolean,
49
-
50
- /**
51
- * Minify
52
- *
53
- * Minify the output
54
- *
55
- */
56
- minify?: boolean,
57
-
58
- /**
59
- * Debug
60
- *
61
- * Debug the output
62
- *
63
- */
64
- debug?: boolean,
65
-
66
- /**
67
- * Sourcemap
68
- *
69
- * Generate a sourcemap
70
- *
71
- */
72
- sourcemap?: boolean,
73
-
74
- /**
75
- * Silent
76
- *
77
- * Should the build run silently - only report errors back to the user
78
- *
79
- * @default false
80
- */
81
- silent?: boolean,
82
-
83
- /**
84
- * Target
85
- *
86
- * The target to build
87
- *
88
- * @default "esnext"
89
- *
90
- * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
91
- */
92
- target?: string,
93
-
94
- /**
95
- * Format
96
- *
97
- * The format to build
98
- *
99
- * @default ["cjs","esm"]
100
- */
101
- format?: Array<string>,
102
-
103
- /**
104
- * Platform
105
- *
106
- * The platform to build
107
- *
108
- * @default "neutral"
109
- *
110
- * @enum neutral,node,browser
111
- */
112
- platform?: string,
113
-
114
- /**
115
- * External
116
- *
117
- * The external dependencies
118
- *
119
- */
120
- external?: Array<any>,
121
-
122
- /**
123
- * Define
124
- *
125
- * The define values
126
- *
127
- */
128
- define?: Record<string, string>,
129
-
130
- /**
131
- * Environment Variables
132
- *
133
- * The environment variable values
134
- *
135
- */
136
- env?: Record<string, string>,
137
- }
138
-
139
- declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormConfig): Promise<{
140
- success: boolean;
141
- }>;
142
- declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
143
-
144
- export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
@@ -1,144 +0,0 @@
1
- import * as _nx_devkit from '@nx/devkit';
2
- import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormConfig } from './types-D6pIdih6.mjs';
4
-
5
- // Generated by @storm-software/untyped
6
- // Do not edit this file directly
7
-
8
- interface TSDownExecutorSchema {
9
- /**
10
- * Output Path
11
- *
12
- * The output path for the build
13
- *
14
- * @default "dist/{projectRoot}"
15
- *
16
- * @format path
17
- */
18
- outputPath?: string,
19
-
20
- /**
21
- * Entry File(s)
22
- *
23
- * The entry file or files to build
24
- *
25
- * @default ["{sourceRoot}/index.ts"]
26
- *
27
- * @format path
28
- */
29
- entry?: Array<string>,
30
-
31
- /**
32
- * TSConfig Path
33
- *
34
- * The path to the tsconfig file
35
- *
36
- * @default "{projectRoot}/tsconfig.json"
37
- *
38
- * @format path
39
- */
40
- tsconfig?: string,
41
-
42
- /**
43
- * Bundle
44
- *
45
- * Bundle the output
46
- *
47
- */
48
- bundle?: boolean,
49
-
50
- /**
51
- * Minify
52
- *
53
- * Minify the output
54
- *
55
- */
56
- minify?: boolean,
57
-
58
- /**
59
- * Debug
60
- *
61
- * Debug the output
62
- *
63
- */
64
- debug?: boolean,
65
-
66
- /**
67
- * Sourcemap
68
- *
69
- * Generate a sourcemap
70
- *
71
- */
72
- sourcemap?: boolean,
73
-
74
- /**
75
- * Silent
76
- *
77
- * Should the build run silently - only report errors back to the user
78
- *
79
- * @default false
80
- */
81
- silent?: boolean,
82
-
83
- /**
84
- * Target
85
- *
86
- * The target to build
87
- *
88
- * @default "esnext"
89
- *
90
- * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
91
- */
92
- target?: string,
93
-
94
- /**
95
- * Format
96
- *
97
- * The format to build
98
- *
99
- * @default ["cjs","esm"]
100
- */
101
- format?: Array<string>,
102
-
103
- /**
104
- * Platform
105
- *
106
- * The platform to build
107
- *
108
- * @default "neutral"
109
- *
110
- * @enum neutral,node,browser
111
- */
112
- platform?: string,
113
-
114
- /**
115
- * External
116
- *
117
- * The external dependencies
118
- *
119
- */
120
- external?: Array<any>,
121
-
122
- /**
123
- * Define
124
- *
125
- * The define values
126
- *
127
- */
128
- define?: Record<string, string>,
129
-
130
- /**
131
- * Environment Variables
132
- *
133
- * The environment variable values
134
- *
135
- */
136
- env?: Record<string, string>,
137
- }
138
-
139
- declare function tsdownExecutorFn(options: TSDownExecutorSchema, context: ExecutorContext, config?: StormConfig): Promise<{
140
- success: boolean;
141
- }>;
142
- declare const _default: _nx_devkit.PromiseExecutor<TSDownExecutorSchema>;
143
-
144
- export { type TSDownExecutorSchema as T, _default as _, tsdownExecutorFn as t };
@@ -1,4 +0,0 @@
1
- import '@nx/devkit';
2
- import '../../../types-D6pIdih6.mjs';
3
- export { _ as default, t as tsdownExecutorFn } from '../../../executor-KAQdKP88.mjs';
4
- import 'zod';
@@ -1,4 +0,0 @@
1
- import '@nx/devkit';
2
- import '../../../types-D6pIdih6.js';
3
- export { _ as default, t as tsdownExecutorFn } from '../../../executor-BDvqiAmr.js';
4
- import 'zod';
@@ -1,15 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunk55IQXVOQjs = require('../../../chunk-55IQXVOQ.js');
5
- require('../../../chunk-IFSORSAN.js');
6
- require('../../../chunk-FGMOZZ77.js');
7
- require('../../../chunk-UALZJZUK.js');
8
- require('../../../chunk-NG6GE2YZ.js');
9
- require('../../../chunk-4JOIS7WW.js');
10
- require('../../../chunk-JTAXCQX6.js');
11
- require('../../../chunk-3GQAWCBQ.js');
12
-
13
-
14
-
15
- exports.default = _chunk55IQXVOQjs.executor_default; exports.tsdownExecutorFn = _chunk55IQXVOQjs.tsdownExecutorFn;
@@ -1,15 +0,0 @@
1
- import {
2
- executor_default,
3
- tsdownExecutorFn
4
- } from "../../../chunk-UFPTODUJ.mjs";
5
- import "../../../chunk-SE2XSR7P.mjs";
6
- import "../../../chunk-VOIYJ67D.mjs";
7
- import "../../../chunk-5JPH5VCU.mjs";
8
- import "../../../chunk-L6CV744X.mjs";
9
- import "../../../chunk-2PKZRCQJ.mjs";
10
- import "../../../chunk-HASYGI6W.mjs";
11
- import "../../../chunk-2WTKQCPA.mjs";
12
- export {
13
- executor_default as default,
14
- tsdownExecutorFn
15
- };
@@ -1,135 +0,0 @@
1
-
2
- // Generated by @storm-software/untyped
3
- // Do not edit this file directly
4
-
5
- export interface TSDownExecutorSchema {
6
- /**
7
- * Output Path
8
- *
9
- * The output path for the build
10
- *
11
- * @default "dist/{projectRoot}"
12
- *
13
- * @format path
14
- */
15
- outputPath?: string,
16
-
17
- /**
18
- * Entry File(s)
19
- *
20
- * The entry file or files to build
21
- *
22
- * @default ["{sourceRoot}/index.ts"]
23
- *
24
- * @format path
25
- */
26
- entry?: Array<string>,
27
-
28
- /**
29
- * TSConfig Path
30
- *
31
- * The path to the tsconfig file
32
- *
33
- * @default "{projectRoot}/tsconfig.json"
34
- *
35
- * @format path
36
- */
37
- tsconfig?: string,
38
-
39
- /**
40
- * Bundle
41
- *
42
- * Bundle the output
43
- *
44
- */
45
- bundle?: boolean,
46
-
47
- /**
48
- * Minify
49
- *
50
- * Minify the output
51
- *
52
- */
53
- minify?: boolean,
54
-
55
- /**
56
- * Debug
57
- *
58
- * Debug the output
59
- *
60
- */
61
- debug?: boolean,
62
-
63
- /**
64
- * Sourcemap
65
- *
66
- * Generate a sourcemap
67
- *
68
- */
69
- sourcemap?: boolean,
70
-
71
- /**
72
- * Silent
73
- *
74
- * Should the build run silently - only report errors back to the user
75
- *
76
- * @default false
77
- */
78
- silent?: boolean,
79
-
80
- /**
81
- * Target
82
- *
83
- * The target to build
84
- *
85
- * @default "esnext"
86
- *
87
- * @enum es3,es5,es6,es2015,es2016,es2017,es2018,es2019,es2020,es2021,es2022,es2023,es2024,esnext,node12,node14,node16,node18,node20,node22,browser,chrome58,chrome59,chrome60
88
- */
89
- target?: string,
90
-
91
- /**
92
- * Format
93
- *
94
- * The format to build
95
- *
96
- * @default ["cjs","esm"]
97
- */
98
- format?: Array<string>,
99
-
100
- /**
101
- * Platform
102
- *
103
- * The platform to build
104
- *
105
- * @default "neutral"
106
- *
107
- * @enum neutral,node,browser
108
- */
109
- platform?: string,
110
-
111
- /**
112
- * External
113
- *
114
- * The external dependencies
115
- *
116
- */
117
- external?: Array<any>,
118
-
119
- /**
120
- * Define
121
- *
122
- * The define values
123
- *
124
- */
125
- define?: Record<string, string>,
126
-
127
- /**
128
- * Environment Variables
129
- *
130
- * The environment variable values
131
- *
132
- */
133
- env?: Record<string, string>,
134
- }
135
-
@@ -1,174 +0,0 @@
1
- {
2
- "id": "#",
3
- "title": "TSDown Executor",
4
- "description": "A type definition for a tsdown executor schema",
5
- "properties": {
6
- "outputPath": {
7
- "title": "Output Path",
8
- "type": "string",
9
- "format": "path",
10
- "description": "The output path for the build",
11
- "id": "#outputPath",
12
- "default": "dist/{projectRoot}"
13
- },
14
- "entry": {
15
- "title": "Entry File(s)",
16
- "format": "path",
17
- "type": "array",
18
- "description": "The entry file or files to build",
19
- "items": {
20
- "type": "string"
21
- },
22
- "id": "#entry",
23
- "default": [
24
- "{sourceRoot}/index.ts"
25
- ]
26
- },
27
- "tsconfig": {
28
- "title": "TSConfig Path",
29
- "type": "string",
30
- "format": "path",
31
- "description": "The path to the tsconfig file",
32
- "id": "#tsconfig",
33
- "default": "{projectRoot}/tsconfig.json"
34
- },
35
- "bundle": {
36
- "title": "Bundle",
37
- "type": "boolean",
38
- "description": "Bundle the output",
39
- "id": "#bundle"
40
- },
41
- "minify": {
42
- "title": "Minify",
43
- "type": "boolean",
44
- "description": "Minify the output",
45
- "id": "#minify"
46
- },
47
- "debug": {
48
- "title": "Debug",
49
- "type": "boolean",
50
- "description": "Debug the output",
51
- "id": "#debug"
52
- },
53
- "sourcemap": {
54
- "title": "Sourcemap",
55
- "type": "boolean",
56
- "description": "Generate a sourcemap",
57
- "id": "#sourcemap"
58
- },
59
- "silent": {
60
- "title": "Silent",
61
- "type": "boolean",
62
- "description": "Should the build run silently - only report errors back to the user",
63
- "id": "#silent",
64
- "default": false
65
- },
66
- "target": {
67
- "title": "Target",
68
- "type": "string",
69
- "description": "The target to build",
70
- "enum": [
71
- "es3",
72
- "es5",
73
- "es6",
74
- "es2015",
75
- "es2016",
76
- "es2017",
77
- "es2018",
78
- "es2019",
79
- "es2020",
80
- "es2021",
81
- "es2022",
82
- "es2023",
83
- "es2024",
84
- "esnext",
85
- "node12",
86
- "node14",
87
- "node16",
88
- "node18",
89
- "node20",
90
- "node22",
91
- "browser",
92
- "chrome58",
93
- "chrome59",
94
- "chrome60"
95
- ],
96
- "id": "#target",
97
- "default": "esnext"
98
- },
99
- "format": {
100
- "title": "Format",
101
- "type": "array",
102
- "description": "The format to build",
103
- "items": {
104
- "type": "string",
105
- "enum": [
106
- "cjs",
107
- "esm",
108
- "iife"
109
- ]
110
- },
111
- "id": "#format",
112
- "default": [
113
- "cjs",
114
- "esm"
115
- ]
116
- },
117
- "platform": {
118
- "title": "Platform",
119
- "type": "string",
120
- "description": "The platform to build",
121
- "enum": [
122
- "neutral",
123
- "node",
124
- "browser"
125
- ],
126
- "id": "#platform",
127
- "default": "neutral"
128
- },
129
- "external": {
130
- "title": "External",
131
- "type": "array",
132
- "description": "The external dependencies",
133
- "id": "#external",
134
- "default": [],
135
- "items": {
136
- "type": "any"
137
- }
138
- },
139
- "define": {
140
- "title": "Define",
141
- "type": "object",
142
- "tsType": "Record<string, string>",
143
- "description": "The define values",
144
- "id": "#define",
145
- "default": {}
146
- },
147
- "env": {
148
- "title": "Environment Variables",
149
- "type": "object",
150
- "tsType": "Record<string, string>",
151
- "description": "The environment variable values",
152
- "id": "#env",
153
- "default": {}
154
- }
155
- },
156
- "type": "object",
157
- "default": {
158
- "outputPath": "dist/{projectRoot}",
159
- "entry": [
160
- "{sourceRoot}/index.ts"
161
- ],
162
- "tsconfig": "{projectRoot}/tsconfig.json",
163
- "silent": false,
164
- "target": "esnext",
165
- "format": [
166
- "cjs",
167
- "esm"
168
- ],
169
- "platform": "neutral",
170
- "external": [],
171
- "define": {},
172
- "env": {}
173
- }
174
- }