@storm-software/workspace-tools 1.47.0 → 1.48.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.
- package/CHANGELOG.md +7 -0
- package/index.js +34 -21
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +7 -5
- package/src/executors/design-tokens/executor.js +4 -4
- package/src/executors/tsup/executor.js +22 -17
- package/src/executors/tsup/schema.d.ts +1 -0
- package/src/executors/tsup/schema.json +27 -6
- package/src/executors/tsup-browser/executor.js +28 -19
- package/src/executors/tsup-neutral/executor.js +25 -18
- package/src/executors/tsup-node/executor.js +25 -18
- package/src/executors/typia/executor.js +4 -4
- package/src/generators/browser-library/generator.js +4 -4
- package/src/generators/config-schema/generator.js +4 -4
- package/src/generators/neutral-library/generator.js +4 -4
- package/src/generators/node-library/generator.js +4 -4
- package/src/generators/preset/generator.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.47.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.46.1...workspace-tools-v1.47.0) (2024-01-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **config-tools:** Added the `getConfigFileByName` function export ([9f56a9c](https://github.com/storm-software/storm-ops/commit/9f56a9ca2c1df0bccbf533cc63f15602e8de0dff))
|
|
7
|
+
|
|
1
8
|
## [1.46.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.46.0...workspace-tools-v1.46.1) (2024-01-19)
|
|
2
9
|
|
|
3
10
|
|
package/index.js
CHANGED
|
@@ -45557,9 +45557,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
45557
45557
|
}
|
|
45558
45558
|
});
|
|
45559
45559
|
|
|
45560
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
45560
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
45561
45561
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
45562
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
45562
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
45563
45563
|
"use strict";
|
|
45564
45564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45565
45565
|
var version = "8.0.0";
|
|
@@ -47206,9 +47206,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
47206
47206
|
}
|
|
47207
47207
|
});
|
|
47208
47208
|
|
|
47209
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47209
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
47210
47210
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
47211
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47211
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
47212
47212
|
"use strict";
|
|
47213
47213
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47214
47214
|
function _interopRequireDefault(obj) {
|
|
@@ -47486,9 +47486,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
47486
47486
|
}
|
|
47487
47487
|
});
|
|
47488
47488
|
|
|
47489
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47489
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
47490
47490
|
var require_chunk_UIX4URMV = __commonJS({
|
|
47491
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47491
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
47492
47492
|
"use strict";
|
|
47493
47493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47494
47494
|
function _interopRequireWildcard(obj) {
|
|
@@ -48422,9 +48422,9 @@ var require_dist3 = __commonJS({
|
|
|
48422
48422
|
}
|
|
48423
48423
|
});
|
|
48424
48424
|
|
|
48425
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48425
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
48426
48426
|
var require_chunk_7G76EW2R = __commonJS({
|
|
48427
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48427
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
48428
48428
|
"use strict";
|
|
48429
48429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48430
48430
|
function _interopRequireDefault(obj) {
|
|
@@ -101624,9 +101624,9 @@ var require_chokidar = __commonJS({
|
|
|
101624
101624
|
}
|
|
101625
101625
|
});
|
|
101626
101626
|
|
|
101627
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
101627
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/index.js
|
|
101628
101628
|
var require_dist6 = __commonJS({
|
|
101629
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
101629
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=vonq2ypzonrhdbbnbw7rufdaga_@microsoft+api-extractor@7.38.3_@swc+core@1._oxrz763w3giqwq7zitausocayi/node_modules/tsup/dist/index.js"(exports) {
|
|
101630
101630
|
"use strict";
|
|
101631
101631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101632
101632
|
function _interopRequireDefault(obj) {
|
|
@@ -103340,7 +103340,6 @@ var require_dist6 = __commonJS({
|
|
|
103340
103340
|
tsconfigResolvePaths: options.tsconfigResolvePaths
|
|
103341
103341
|
}),
|
|
103342
103342
|
options.tsconfigDecoratorMetadata && swcPlugin({ logger: logger3 }),
|
|
103343
|
-
nativeNodeModulesPlugin(),
|
|
103344
103343
|
postcssPlugin({
|
|
103345
103344
|
css,
|
|
103346
103345
|
inject: options.injectStyle,
|
|
@@ -103349,6 +103348,9 @@ var require_dist6 = __commonJS({
|
|
|
103349
103348
|
sveltePlugin({ css }),
|
|
103350
103349
|
...options.esbuildPlugins || []
|
|
103351
103350
|
];
|
|
103351
|
+
if (options.skipNativeModulesPlugin !== true) {
|
|
103352
|
+
esbuildPlugins.push(nativeNodeModulesPlugin());
|
|
103353
|
+
}
|
|
103352
103354
|
const banner = typeof options.banner === "function" ? options.banner({ format: format2 }) : options.banner;
|
|
103353
103355
|
const footer = typeof options.footer === "function" ? options.footer({ format: format2 }) : options.footer;
|
|
103354
103356
|
try {
|
|
@@ -130960,7 +130962,7 @@ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(">")}
|
|
|
130960
130962
|
return (message) => {
|
|
130961
130963
|
console.warn(
|
|
130962
130964
|
`
|
|
130963
|
-
${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("
|
|
130965
|
+
${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0 Warn ")} ${chalk.hex(
|
|
130964
130966
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
130965
130967
|
)(message)}
|
|
130966
130968
|
`
|
|
@@ -130971,7 +130973,7 @@ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">
|
|
|
130971
130973
|
return (message) => {
|
|
130972
130974
|
console.info(
|
|
130973
130975
|
`
|
|
130974
|
-
${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("
|
|
130976
|
+
${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u2139 Info ")} ${chalk.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(
|
|
130975
130977
|
message
|
|
130976
130978
|
)}
|
|
130977
130979
|
`
|
|
@@ -130993,7 +130995,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
130993
130995
|
return (message) => {
|
|
130994
130996
|
console.debug(
|
|
130995
130997
|
`
|
|
130996
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
130998
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! Debug ")} ${chalk.hex(
|
|
130997
130999
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
130998
131000
|
)(message)}
|
|
130999
131001
|
`
|
|
@@ -131003,7 +131005,7 @@ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">
|
|
|
131003
131005
|
return (message) => {
|
|
131004
131006
|
console.log(
|
|
131005
131007
|
`
|
|
131006
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
131008
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! System ")} ${chalk.hex(
|
|
131007
131009
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
131008
131010
|
)(message)}
|
|
131009
131011
|
`
|
|
@@ -133116,7 +133118,8 @@ function defaultConfig({
|
|
|
133116
133118
|
apiReport = true,
|
|
133117
133119
|
docModel = true,
|
|
133118
133120
|
tsdocMetadata = true,
|
|
133119
|
-
metafile =
|
|
133121
|
+
metafile = true,
|
|
133122
|
+
skipNativeModulesPlugin = false,
|
|
133120
133123
|
define: define2,
|
|
133121
133124
|
env: env2,
|
|
133122
133125
|
plugins,
|
|
@@ -133164,6 +133167,7 @@ function defaultConfig({
|
|
|
133164
133167
|
tsdocMetadata,
|
|
133165
133168
|
sourcemap: debug,
|
|
133166
133169
|
clean: false,
|
|
133170
|
+
skipNativeModulesPlugin,
|
|
133167
133171
|
tsconfigDecoratorMetadata: true,
|
|
133168
133172
|
plugins,
|
|
133169
133173
|
getTransform,
|
|
@@ -140357,7 +140361,8 @@ var applyDefaultOptions = (options) => {
|
|
|
140357
140361
|
options.docModel ??= true;
|
|
140358
140362
|
options.tsdocMetadata ??= true;
|
|
140359
140363
|
options.emitOnAll ??= false;
|
|
140360
|
-
options.metafile ??=
|
|
140364
|
+
options.metafile ??= true;
|
|
140365
|
+
options.skipNativeModulesPlugin ??= false;
|
|
140361
140366
|
options.define ??= {};
|
|
140362
140367
|
options.env ??= {};
|
|
140363
140368
|
options.getConfig ??= { dist: defaultConfig };
|
|
@@ -140400,7 +140405,8 @@ var neutralConfig = ({
|
|
|
140400
140405
|
banner = {},
|
|
140401
140406
|
platform = "neutral",
|
|
140402
140407
|
verbose = false,
|
|
140403
|
-
metafile =
|
|
140408
|
+
metafile = true,
|
|
140409
|
+
skipNativeModulesPlugin = false,
|
|
140404
140410
|
define: define2,
|
|
140405
140411
|
env: env2,
|
|
140406
140412
|
apiReport = true,
|
|
@@ -140452,6 +140458,7 @@ var neutralConfig = ({
|
|
|
140452
140458
|
tsdocMetadata,
|
|
140453
140459
|
sourcemap: debug,
|
|
140454
140460
|
clean: false,
|
|
140461
|
+
skipNativeModulesPlugin,
|
|
140455
140462
|
tsconfigDecoratorMetadata: true,
|
|
140456
140463
|
plugins,
|
|
140457
140464
|
outExtension,
|
|
@@ -140531,7 +140538,8 @@ function nodeConfig({
|
|
|
140531
140538
|
apiReport = true,
|
|
140532
140539
|
docModel = true,
|
|
140533
140540
|
tsdocMetadata = true,
|
|
140534
|
-
metafile =
|
|
140541
|
+
metafile = true,
|
|
140542
|
+
skipNativeModulesPlugin = false,
|
|
140535
140543
|
define: define2,
|
|
140536
140544
|
env: env2,
|
|
140537
140545
|
plugins,
|
|
@@ -140579,6 +140587,7 @@ function nodeConfig({
|
|
|
140579
140587
|
tsdocMetadata,
|
|
140580
140588
|
sourcemap: debug,
|
|
140581
140589
|
clean: false,
|
|
140590
|
+
skipNativeModulesPlugin,
|
|
140582
140591
|
tsconfigDecoratorMetadata: true,
|
|
140583
140592
|
plugins,
|
|
140584
140593
|
outExtension,
|
|
@@ -140652,7 +140661,8 @@ var modernBrowserConfig = ({
|
|
|
140652
140661
|
banner = {},
|
|
140653
140662
|
platform = "browser",
|
|
140654
140663
|
verbose = false,
|
|
140655
|
-
metafile =
|
|
140664
|
+
metafile = true,
|
|
140665
|
+
skipNativeModulesPlugin = false,
|
|
140656
140666
|
define: define2,
|
|
140657
140667
|
env: env2,
|
|
140658
140668
|
plugins,
|
|
@@ -140701,6 +140711,7 @@ var modernBrowserConfig = ({
|
|
|
140701
140711
|
tsdocMetadata: false,
|
|
140702
140712
|
sourcemap: debug,
|
|
140703
140713
|
clean: false,
|
|
140714
|
+
skipNativeModulesPlugin,
|
|
140704
140715
|
tsconfigDecoratorMetadata: true,
|
|
140705
140716
|
plugins,
|
|
140706
140717
|
outExtension,
|
|
@@ -140734,7 +140745,8 @@ var legacyBrowserConfig = ({
|
|
|
140734
140745
|
apiReport = true,
|
|
140735
140746
|
docModel = true,
|
|
140736
140747
|
tsdocMetadata = true,
|
|
140737
|
-
metafile =
|
|
140748
|
+
metafile = true,
|
|
140749
|
+
skipNativeModulesPlugin = false,
|
|
140738
140750
|
define: define2,
|
|
140739
140751
|
env: env2,
|
|
140740
140752
|
plugins,
|
|
@@ -140783,6 +140795,7 @@ var legacyBrowserConfig = ({
|
|
|
140783
140795
|
tsdocMetadata,
|
|
140784
140796
|
sourcemap: debug,
|
|
140785
140797
|
clean: false,
|
|
140798
|
+
skipNativeModulesPlugin,
|
|
140786
140799
|
tsconfigDecoratorMetadata: true,
|
|
140787
140800
|
plugins,
|
|
140788
140801
|
outExtension,
|