@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/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -48134,7 +48134,7 @@ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(">")}
|
|
|
48134
48134
|
return (message) => {
|
|
48135
48135
|
console.warn(
|
|
48136
48136
|
`
|
|
48137
|
-
${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("
|
|
48137
|
+
${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(
|
|
48138
48138
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
48139
48139
|
)(message)}
|
|
48140
48140
|
`
|
|
@@ -48145,7 +48145,7 @@ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">
|
|
|
48145
48145
|
return (message) => {
|
|
48146
48146
|
console.info(
|
|
48147
48147
|
`
|
|
48148
|
-
${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("
|
|
48148
|
+
${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")(
|
|
48149
48149
|
message
|
|
48150
48150
|
)}
|
|
48151
48151
|
`
|
|
@@ -48167,7 +48167,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
48167
48167
|
return (message) => {
|
|
48168
48168
|
console.debug(
|
|
48169
48169
|
`
|
|
48170
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
48170
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! Debug ")} ${chalk.hex(
|
|
48171
48171
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
48172
48172
|
)(message)}
|
|
48173
48173
|
`
|
|
@@ -48177,7 +48177,7 @@ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">
|
|
|
48177
48177
|
return (message) => {
|
|
48178
48178
|
console.log(
|
|
48179
48179
|
`
|
|
48180
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
48180
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! System ")} ${chalk.hex(
|
|
48181
48181
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
48182
48182
|
)(message)}
|
|
48183
48183
|
`
|
|
@@ -50290,7 +50290,8 @@ function defaultConfig({
|
|
|
50290
50290
|
apiReport = true,
|
|
50291
50291
|
docModel = true,
|
|
50292
50292
|
tsdocMetadata = true,
|
|
50293
|
-
metafile =
|
|
50293
|
+
metafile = true,
|
|
50294
|
+
skipNativeModulesPlugin = false,
|
|
50294
50295
|
define,
|
|
50295
50296
|
env,
|
|
50296
50297
|
plugins,
|
|
@@ -50338,6 +50339,7 @@ function defaultConfig({
|
|
|
50338
50339
|
tsdocMetadata,
|
|
50339
50340
|
sourcemap: debug,
|
|
50340
50341
|
clean: false,
|
|
50342
|
+
skipNativeModulesPlugin,
|
|
50341
50343
|
tsconfigDecoratorMetadata: true,
|
|
50342
50344
|
plugins,
|
|
50343
50345
|
getTransform,
|
|
@@ -65852,7 +65852,7 @@ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(">")}
|
|
|
65852
65852
|
return (message) => {
|
|
65853
65853
|
console.warn(
|
|
65854
65854
|
`
|
|
65855
|
-
${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("
|
|
65855
|
+
${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(
|
|
65856
65856
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
65857
65857
|
)(message)}
|
|
65858
65858
|
`
|
|
@@ -65863,7 +65863,7 @@ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">
|
|
|
65863
65863
|
return (message) => {
|
|
65864
65864
|
console.info(
|
|
65865
65865
|
`
|
|
65866
|
-
${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("
|
|
65866
|
+
${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")(
|
|
65867
65867
|
message
|
|
65868
65868
|
)}
|
|
65869
65869
|
`
|
|
@@ -65885,7 +65885,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
65885
65885
|
return (message) => {
|
|
65886
65886
|
console.debug(
|
|
65887
65887
|
`
|
|
65888
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
65888
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! Debug ")} ${chalk.hex(
|
|
65889
65889
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
65890
65890
|
)(message)}
|
|
65891
65891
|
`
|
|
@@ -65895,7 +65895,7 @@ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">
|
|
|
65895
65895
|
return (message) => {
|
|
65896
65896
|
console.log(
|
|
65897
65897
|
`
|
|
65898
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
65898
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! System ")} ${chalk.hex(
|
|
65899
65899
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
65900
65900
|
)(message)}
|
|
65901
65901
|
`
|
|
@@ -44991,9 +44991,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
44991
44991
|
}
|
|
44992
44992
|
});
|
|
44993
44993
|
|
|
44994
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
44994
|
+
// 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
|
|
44995
44995
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
44996
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
44996
|
+
"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) {
|
|
44997
44997
|
"use strict";
|
|
44998
44998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44999
44999
|
var version = "8.0.0";
|
|
@@ -46640,9 +46640,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
46640
46640
|
}
|
|
46641
46641
|
});
|
|
46642
46642
|
|
|
46643
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46643
|
+
// 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
|
|
46644
46644
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
46645
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46645
|
+
"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) {
|
|
46646
46646
|
"use strict";
|
|
46647
46647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46648
46648
|
function _interopRequireDefault(obj) {
|
|
@@ -46920,9 +46920,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
46920
46920
|
}
|
|
46921
46921
|
});
|
|
46922
46922
|
|
|
46923
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46923
|
+
// 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
|
|
46924
46924
|
var require_chunk_UIX4URMV = __commonJS({
|
|
46925
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46925
|
+
"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) {
|
|
46926
46926
|
"use strict";
|
|
46927
46927
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46928
46928
|
function _interopRequireWildcard(obj) {
|
|
@@ -47856,9 +47856,9 @@ var require_dist3 = __commonJS({
|
|
|
47856
47856
|
}
|
|
47857
47857
|
});
|
|
47858
47858
|
|
|
47859
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47859
|
+
// 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
|
|
47860
47860
|
var require_chunk_7G76EW2R = __commonJS({
|
|
47861
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47861
|
+
"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) {
|
|
47862
47862
|
"use strict";
|
|
47863
47863
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47864
47864
|
function _interopRequireDefault(obj) {
|
|
@@ -101058,9 +101058,9 @@ var require_chokidar = __commonJS({
|
|
|
101058
101058
|
}
|
|
101059
101059
|
});
|
|
101060
101060
|
|
|
101061
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
101061
|
+
// 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
|
|
101062
101062
|
var require_dist6 = __commonJS({
|
|
101063
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
101063
|
+
"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) {
|
|
101064
101064
|
"use strict";
|
|
101065
101065
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101066
101066
|
function _interopRequireDefault(obj) {
|
|
@@ -102774,7 +102774,6 @@ var require_dist6 = __commonJS({
|
|
|
102774
102774
|
tsconfigResolvePaths: options.tsconfigResolvePaths
|
|
102775
102775
|
}),
|
|
102776
102776
|
options.tsconfigDecoratorMetadata && swcPlugin({ logger: logger3 }),
|
|
102777
|
-
nativeNodeModulesPlugin(),
|
|
102778
102777
|
postcssPlugin({
|
|
102779
102778
|
css,
|
|
102780
102779
|
inject: options.injectStyle,
|
|
@@ -102783,6 +102782,9 @@ var require_dist6 = __commonJS({
|
|
|
102783
102782
|
sveltePlugin({ css }),
|
|
102784
102783
|
...options.esbuildPlugins || []
|
|
102785
102784
|
];
|
|
102785
|
+
if (options.skipNativeModulesPlugin !== true) {
|
|
102786
|
+
esbuildPlugins.push(nativeNodeModulesPlugin());
|
|
102787
|
+
}
|
|
102786
102788
|
const banner = typeof options.banner === "function" ? options.banner({ format: format2 }) : options.banner;
|
|
102787
102789
|
const footer = typeof options.footer === "function" ? options.footer({ format: format2 }) : options.footer;
|
|
102788
102790
|
try {
|
|
@@ -107863,7 +107865,7 @@ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(">")}
|
|
|
107863
107865
|
return (message) => {
|
|
107864
107866
|
console.warn(
|
|
107865
107867
|
`
|
|
107866
|
-
${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("
|
|
107868
|
+
${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(
|
|
107867
107869
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
107868
107870
|
)(message)}
|
|
107869
107871
|
`
|
|
@@ -107874,7 +107876,7 @@ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">
|
|
|
107874
107876
|
return (message) => {
|
|
107875
107877
|
console.info(
|
|
107876
107878
|
`
|
|
107877
|
-
${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("
|
|
107879
|
+
${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")(
|
|
107878
107880
|
message
|
|
107879
107881
|
)}
|
|
107880
107882
|
`
|
|
@@ -107896,7 +107898,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
107896
107898
|
return (message) => {
|
|
107897
107899
|
console.debug(
|
|
107898
107900
|
`
|
|
107899
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
107901
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! Debug ")} ${chalk.hex(
|
|
107900
107902
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
107901
107903
|
)(message)}
|
|
107902
107904
|
`
|
|
@@ -107906,7 +107908,7 @@ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">
|
|
|
107906
107908
|
return (message) => {
|
|
107907
107909
|
console.log(
|
|
107908
107910
|
`
|
|
107909
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
107911
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! System ")} ${chalk.hex(
|
|
107910
107912
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
107911
107913
|
)(message)}
|
|
107912
107914
|
`
|
|
@@ -116138,7 +116140,8 @@ function defaultConfig({
|
|
|
116138
116140
|
apiReport = true,
|
|
116139
116141
|
docModel = true,
|
|
116140
116142
|
tsdocMetadata = true,
|
|
116141
|
-
metafile =
|
|
116143
|
+
metafile = true,
|
|
116144
|
+
skipNativeModulesPlugin = false,
|
|
116142
116145
|
define: define2,
|
|
116143
116146
|
env,
|
|
116144
116147
|
plugins,
|
|
@@ -116186,6 +116189,7 @@ function defaultConfig({
|
|
|
116186
116189
|
tsdocMetadata,
|
|
116187
116190
|
sourcemap: debug,
|
|
116188
116191
|
clean: false,
|
|
116192
|
+
skipNativeModulesPlugin,
|
|
116189
116193
|
tsconfigDecoratorMetadata: true,
|
|
116190
116194
|
plugins,
|
|
116191
116195
|
getTransform,
|
|
@@ -116706,7 +116710,8 @@ var applyDefaultOptions = (options) => {
|
|
|
116706
116710
|
options.docModel ??= true;
|
|
116707
116711
|
options.tsdocMetadata ??= true;
|
|
116708
116712
|
options.emitOnAll ??= false;
|
|
116709
|
-
options.metafile ??=
|
|
116713
|
+
options.metafile ??= true;
|
|
116714
|
+
options.skipNativeModulesPlugin ??= false;
|
|
116710
116715
|
options.define ??= {};
|
|
116711
116716
|
options.env ??= {};
|
|
116712
116717
|
options.getConfig ??= { dist: defaultConfig };
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"metafile": {
|
|
75
75
|
"type": "boolean",
|
|
76
76
|
"description": "Should a meta file be created for the build package",
|
|
77
|
-
"default":
|
|
77
|
+
"default": true
|
|
78
78
|
},
|
|
79
79
|
"emitOnAll": {
|
|
80
80
|
"type": "boolean",
|
|
@@ -99,7 +99,10 @@
|
|
|
99
99
|
"format": {
|
|
100
100
|
"type": "array",
|
|
101
101
|
"description": "The output format for the generated JavaScript files. There are currently three possible values that can be configured: iife, cjs, and esm.",
|
|
102
|
-
"default": [
|
|
102
|
+
"default": [
|
|
103
|
+
"cjs",
|
|
104
|
+
"esm"
|
|
105
|
+
],
|
|
103
106
|
"items": {
|
|
104
107
|
"type": "string"
|
|
105
108
|
}
|
|
@@ -112,7 +115,12 @@
|
|
|
112
115
|
"platform": {
|
|
113
116
|
"type": "string",
|
|
114
117
|
"description": "Platform target for outputs.",
|
|
115
|
-
"enum": [
|
|
118
|
+
"enum": [
|
|
119
|
+
"browser",
|
|
120
|
+
"neutral",
|
|
121
|
+
"node",
|
|
122
|
+
"worker"
|
|
123
|
+
],
|
|
116
124
|
"default": "neutral"
|
|
117
125
|
},
|
|
118
126
|
"banner": {
|
|
@@ -130,6 +138,11 @@
|
|
|
130
138
|
"description": "Should write extra log outputs with details from the executor.",
|
|
131
139
|
"default": false
|
|
132
140
|
},
|
|
141
|
+
"skipNativeModulesPlugin": {
|
|
142
|
+
"type": "boolean",
|
|
143
|
+
"description": "Should we skip adding the Native Node Modules ESBuild plugin.",
|
|
144
|
+
"default": false
|
|
145
|
+
},
|
|
133
146
|
"shims": {
|
|
134
147
|
"type": "boolean",
|
|
135
148
|
"description": "Should the build process add shims for node.js modules that are not available in the browser?"
|
|
@@ -174,7 +187,11 @@
|
|
|
174
187
|
}
|
|
175
188
|
}
|
|
176
189
|
},
|
|
177
|
-
"required": [
|
|
190
|
+
"required": [
|
|
191
|
+
"tsConfig",
|
|
192
|
+
"platform",
|
|
193
|
+
"banner"
|
|
194
|
+
],
|
|
178
195
|
"definitions": {
|
|
179
196
|
"assetPattern": {
|
|
180
197
|
"oneOf": [
|
|
@@ -202,7 +219,11 @@
|
|
|
202
219
|
}
|
|
203
220
|
},
|
|
204
221
|
"additionalProperties": false,
|
|
205
|
-
"required": [
|
|
222
|
+
"required": [
|
|
223
|
+
"glob",
|
|
224
|
+
"input",
|
|
225
|
+
"output"
|
|
226
|
+
]
|
|
206
227
|
},
|
|
207
228
|
{
|
|
208
229
|
"type": "string"
|
|
@@ -210,4 +231,4 @@
|
|
|
210
231
|
]
|
|
211
232
|
}
|
|
212
233
|
}
|
|
213
|
-
}
|
|
234
|
+
}
|
|
@@ -44991,9 +44991,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
44991
44991
|
}
|
|
44992
44992
|
});
|
|
44993
44993
|
|
|
44994
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
44994
|
+
// 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
|
|
44995
44995
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
44996
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
44996
|
+
"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) {
|
|
44997
44997
|
"use strict";
|
|
44998
44998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44999
44999
|
var version = "8.0.0";
|
|
@@ -46640,9 +46640,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
46640
46640
|
}
|
|
46641
46641
|
});
|
|
46642
46642
|
|
|
46643
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46643
|
+
// 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
|
|
46644
46644
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
46645
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46645
|
+
"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) {
|
|
46646
46646
|
"use strict";
|
|
46647
46647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46648
46648
|
function _interopRequireDefault(obj) {
|
|
@@ -46920,9 +46920,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
46920
46920
|
}
|
|
46921
46921
|
});
|
|
46922
46922
|
|
|
46923
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46923
|
+
// 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
|
|
46924
46924
|
var require_chunk_UIX4URMV = __commonJS({
|
|
46925
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46925
|
+
"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) {
|
|
46926
46926
|
"use strict";
|
|
46927
46927
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46928
46928
|
function _interopRequireWildcard(obj) {
|
|
@@ -47856,9 +47856,9 @@ var require_dist3 = __commonJS({
|
|
|
47856
47856
|
}
|
|
47857
47857
|
});
|
|
47858
47858
|
|
|
47859
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47859
|
+
// 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
|
|
47860
47860
|
var require_chunk_7G76EW2R = __commonJS({
|
|
47861
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47861
|
+
"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) {
|
|
47862
47862
|
"use strict";
|
|
47863
47863
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47864
47864
|
function _interopRequireDefault(obj) {
|
|
@@ -101058,9 +101058,9 @@ var require_chokidar = __commonJS({
|
|
|
101058
101058
|
}
|
|
101059
101059
|
});
|
|
101060
101060
|
|
|
101061
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
101061
|
+
// 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
|
|
101062
101062
|
var require_dist6 = __commonJS({
|
|
101063
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
101063
|
+
"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) {
|
|
101064
101064
|
"use strict";
|
|
101065
101065
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101066
101066
|
function _interopRequireDefault(obj) {
|
|
@@ -102774,7 +102774,6 @@ var require_dist6 = __commonJS({
|
|
|
102774
102774
|
tsconfigResolvePaths: options.tsconfigResolvePaths
|
|
102775
102775
|
}),
|
|
102776
102776
|
options.tsconfigDecoratorMetadata && swcPlugin({ logger: logger3 }),
|
|
102777
|
-
nativeNodeModulesPlugin(),
|
|
102778
102777
|
postcssPlugin({
|
|
102779
102778
|
css,
|
|
102780
102779
|
inject: options.injectStyle,
|
|
@@ -102783,6 +102782,9 @@ var require_dist6 = __commonJS({
|
|
|
102783
102782
|
sveltePlugin({ css }),
|
|
102784
102783
|
...options.esbuildPlugins || []
|
|
102785
102784
|
];
|
|
102785
|
+
if (options.skipNativeModulesPlugin !== true) {
|
|
102786
|
+
esbuildPlugins.push(nativeNodeModulesPlugin());
|
|
102787
|
+
}
|
|
102786
102788
|
const banner = typeof options.banner === "function" ? options.banner({ format: format2 }) : options.banner;
|
|
102787
102789
|
const footer = typeof options.footer === "function" ? options.footer({ format: format2 }) : options.footer;
|
|
102788
102790
|
try {
|
|
@@ -107854,7 +107856,7 @@ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(">")}
|
|
|
107854
107856
|
return (message) => {
|
|
107855
107857
|
console.warn(
|
|
107856
107858
|
`
|
|
107857
|
-
${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("
|
|
107859
|
+
${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(
|
|
107858
107860
|
config?.colors?.warning ? config.colors.warning : "#fcc419"
|
|
107859
107861
|
)(message)}
|
|
107860
107862
|
`
|
|
@@ -107865,7 +107867,7 @@ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">
|
|
|
107865
107867
|
return (message) => {
|
|
107866
107868
|
console.info(
|
|
107867
107869
|
`
|
|
107868
|
-
${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("
|
|
107870
|
+
${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")(
|
|
107869
107871
|
message
|
|
107870
107872
|
)}
|
|
107871
107873
|
`
|
|
@@ -107887,7 +107889,7 @@ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">
|
|
|
107887
107889
|
return (message) => {
|
|
107888
107890
|
console.debug(
|
|
107889
107891
|
`
|
|
107890
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
107892
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! Debug ")} ${chalk.hex(
|
|
107891
107893
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
107892
107894
|
)(message)}
|
|
107893
107895
|
`
|
|
@@ -107897,7 +107899,7 @@ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">
|
|
|
107897
107899
|
return (message) => {
|
|
107898
107900
|
console.log(
|
|
107899
107901
|
`
|
|
107900
|
-
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("
|
|
107902
|
+
${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" ! System ")} ${chalk.hex(
|
|
107901
107903
|
config?.colors?.primary ? config.colors.primary : "#1fb2a6"
|
|
107902
107904
|
)(message)}
|
|
107903
107905
|
`
|
|
@@ -116169,7 +116171,8 @@ function defaultConfig({
|
|
|
116169
116171
|
apiReport = true,
|
|
116170
116172
|
docModel = true,
|
|
116171
116173
|
tsdocMetadata = true,
|
|
116172
|
-
metafile =
|
|
116174
|
+
metafile = true,
|
|
116175
|
+
skipNativeModulesPlugin = false,
|
|
116173
116176
|
define: define2,
|
|
116174
116177
|
env,
|
|
116175
116178
|
plugins,
|
|
@@ -116217,6 +116220,7 @@ function defaultConfig({
|
|
|
116217
116220
|
tsdocMetadata,
|
|
116218
116221
|
sourcemap: debug,
|
|
116219
116222
|
clean: false,
|
|
116223
|
+
skipNativeModulesPlugin,
|
|
116220
116224
|
tsconfigDecoratorMetadata: true,
|
|
116221
116225
|
plugins,
|
|
116222
116226
|
getTransform,
|
|
@@ -116737,7 +116741,8 @@ var applyDefaultOptions = (options) => {
|
|
|
116737
116741
|
options.docModel ??= true;
|
|
116738
116742
|
options.tsdocMetadata ??= true;
|
|
116739
116743
|
options.emitOnAll ??= false;
|
|
116740
|
-
options.metafile ??=
|
|
116744
|
+
options.metafile ??= true;
|
|
116745
|
+
options.skipNativeModulesPlugin ??= false;
|
|
116741
116746
|
options.define ??= {};
|
|
116742
116747
|
options.env ??= {};
|
|
116743
116748
|
options.getConfig ??= { dist: defaultConfig };
|
|
@@ -116780,7 +116785,8 @@ var modernBrowserConfig = ({
|
|
|
116780
116785
|
banner = {},
|
|
116781
116786
|
platform = "browser",
|
|
116782
116787
|
verbose = false,
|
|
116783
|
-
metafile =
|
|
116788
|
+
metafile = true,
|
|
116789
|
+
skipNativeModulesPlugin = false,
|
|
116784
116790
|
define: define2,
|
|
116785
116791
|
env,
|
|
116786
116792
|
plugins,
|
|
@@ -116829,6 +116835,7 @@ var modernBrowserConfig = ({
|
|
|
116829
116835
|
tsdocMetadata: false,
|
|
116830
116836
|
sourcemap: debug,
|
|
116831
116837
|
clean: false,
|
|
116838
|
+
skipNativeModulesPlugin,
|
|
116832
116839
|
tsconfigDecoratorMetadata: true,
|
|
116833
116840
|
plugins,
|
|
116834
116841
|
outExtension,
|
|
@@ -116862,7 +116869,8 @@ var legacyBrowserConfig = ({
|
|
|
116862
116869
|
apiReport = true,
|
|
116863
116870
|
docModel = true,
|
|
116864
116871
|
tsdocMetadata = true,
|
|
116865
|
-
metafile =
|
|
116872
|
+
metafile = true,
|
|
116873
|
+
skipNativeModulesPlugin = false,
|
|
116866
116874
|
define: define2,
|
|
116867
116875
|
env,
|
|
116868
116876
|
plugins,
|
|
@@ -116911,6 +116919,7 @@ var legacyBrowserConfig = ({
|
|
|
116911
116919
|
tsdocMetadata,
|
|
116912
116920
|
sourcemap: debug,
|
|
116913
116921
|
clean: false,
|
|
116922
|
+
skipNativeModulesPlugin,
|
|
116914
116923
|
tsconfigDecoratorMetadata: true,
|
|
116915
116924
|
plugins,
|
|
116916
116925
|
outExtension,
|