@storm-software/workspace-tools 1.37.1 → 1.38.1
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 +14 -0
- package/README.md +41 -10
- package/index.js +20 -105
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +2 -1
- package/src/executors/tsup/executor.js +13 -22
- package/src/executors/tsup/schema.d.ts +1 -0
- package/src/executors/tsup/schema.json +5 -0
- package/src/executors/tsup-browser/executor.js +17 -24
- package/src/executors/tsup-neutral/executor.js +19 -105
- package/src/executors/tsup-node/executor.js +14 -22
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -47870,6 +47870,7 @@ function defaultConfig({
|
|
|
47870
47870
|
apiReport = true,
|
|
47871
47871
|
docModel = true,
|
|
47872
47872
|
tsdocMetadata = true,
|
|
47873
|
+
metafile = false,
|
|
47873
47874
|
define,
|
|
47874
47875
|
env,
|
|
47875
47876
|
plugins,
|
|
@@ -47899,7 +47900,7 @@ function defaultConfig({
|
|
|
47899
47900
|
workspaceRoot,
|
|
47900
47901
|
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
|
|
47901
47902
|
silent: !verbose,
|
|
47902
|
-
metafile
|
|
47903
|
+
metafile,
|
|
47903
47904
|
shims,
|
|
47904
47905
|
external,
|
|
47905
47906
|
platform,
|
|
@@ -39892,9 +39892,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
39892
39892
|
}
|
|
39893
39893
|
});
|
|
39894
39894
|
|
|
39895
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
39895
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
39896
39896
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
39897
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
39897
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
39898
39898
|
"use strict";
|
|
39899
39899
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39900
39900
|
var version = "8.0.0";
|
|
@@ -41541,9 +41541,9 @@ var require_resolve_from = __commonJS({
|
|
|
41541
41541
|
}
|
|
41542
41542
|
});
|
|
41543
41543
|
|
|
41544
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41544
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
41545
41545
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
41546
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41546
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
41547
41547
|
"use strict";
|
|
41548
41548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41549
41549
|
function _interopRequireDefault(obj) {
|
|
@@ -41821,9 +41821,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
41821
41821
|
}
|
|
41822
41822
|
});
|
|
41823
41823
|
|
|
41824
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41824
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
41825
41825
|
var require_chunk_UIX4URMV = __commonJS({
|
|
41826
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41826
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
41827
41827
|
"use strict";
|
|
41828
41828
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41829
41829
|
function _interopRequireWildcard(obj) {
|
|
@@ -42757,9 +42757,9 @@ var require_dist2 = __commonJS({
|
|
|
42757
42757
|
}
|
|
42758
42758
|
});
|
|
42759
42759
|
|
|
42760
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
42760
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
42761
42761
|
var require_chunk_7G76EW2R = __commonJS({
|
|
42762
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
42762
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
42763
42763
|
"use strict";
|
|
42764
42764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42765
42765
|
function _interopRequireDefault(obj) {
|
|
@@ -96565,9 +96565,9 @@ var require_chokidar = __commonJS({
|
|
|
96565
96565
|
}
|
|
96566
96566
|
});
|
|
96567
96567
|
|
|
96568
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
96568
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
|
|
96569
96569
|
var require_dist5 = __commonJS({
|
|
96570
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
96570
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
|
|
96571
96571
|
"use strict";
|
|
96572
96572
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
96573
96573
|
function _interopRequireDefault(obj) {
|
|
@@ -98968,16 +98968,6 @@ var require_dist5 = __commonJS({
|
|
|
98968
98968
|
"<projectFolder>",
|
|
98969
98969
|
options.outDir,
|
|
98970
98970
|
`index${dtsExtension}`
|
|
98971
|
-
).replaceAll("\\", "/"),
|
|
98972
|
-
betaTrimmedFilePath: _path2.default.join(
|
|
98973
|
-
"<projectFolder>",
|
|
98974
|
-
options.outDir,
|
|
98975
|
-
"index-beta.d.ts"
|
|
98976
|
-
).replaceAll("\\", "/"),
|
|
98977
|
-
publicTrimmedFilePath: _path2.default.join(
|
|
98978
|
-
"<projectFolder>",
|
|
98979
|
-
options.outDir,
|
|
98980
|
-
"index-public.d.ts"
|
|
98981
98971
|
).replaceAll("\\", "/")
|
|
98982
98972
|
},
|
|
98983
98973
|
tsdocMetadata: {
|
|
@@ -116262,6 +116252,7 @@ function defaultConfig({
|
|
|
116262
116252
|
apiReport = true,
|
|
116263
116253
|
docModel = true,
|
|
116264
116254
|
tsdocMetadata = true,
|
|
116255
|
+
metafile = false,
|
|
116265
116256
|
define: define2,
|
|
116266
116257
|
env,
|
|
116267
116258
|
plugins,
|
|
@@ -116291,7 +116282,7 @@ function defaultConfig({
|
|
|
116291
116282
|
workspaceRoot,
|
|
116292
116283
|
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
|
|
116293
116284
|
silent: !verbose,
|
|
116294
|
-
metafile
|
|
116285
|
+
metafile,
|
|
116295
116286
|
shims,
|
|
116296
116287
|
external,
|
|
116297
116288
|
platform,
|
|
@@ -116584,7 +116575,6 @@ ${externalDependencies.map((dep) => {
|
|
|
116584
116575
|
packageJson.dependencies[packageName] = "latest";
|
|
116585
116576
|
}
|
|
116586
116577
|
});
|
|
116587
|
-
console.log(JSON.stringify(options.getConfig));
|
|
116588
116578
|
const distPaths = !options?.getConfig || _isFunction(options.getConfig) ? ["dist/"] : Object.keys(options.getConfig).map((key) => `${key}/`);
|
|
116589
116579
|
packageJson.type = "module";
|
|
116590
116580
|
if (distPaths.length > 0) {
|
|
@@ -116856,6 +116846,7 @@ var applyDefaultOptions = (options) => {
|
|
|
116856
116846
|
options.docModel ??= true;
|
|
116857
116847
|
options.tsdocMetadata ??= true;
|
|
116858
116848
|
options.emitOnAll ??= false;
|
|
116849
|
+
options.metafile ??= false;
|
|
116859
116850
|
options.define ??= {};
|
|
116860
116851
|
options.env ??= {};
|
|
116861
116852
|
options.verbose ??= !!process.env.CI;
|
|
@@ -71,6 +71,11 @@
|
|
|
71
71
|
"description": "Should the source files be added to the distribution folder in an `src` directory.",
|
|
72
72
|
"default": false
|
|
73
73
|
},
|
|
74
|
+
"metafile": {
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "Should a meta file be created for the build package",
|
|
77
|
+
"default": false
|
|
78
|
+
},
|
|
74
79
|
"emitOnAll": {
|
|
75
80
|
"type": "boolean",
|
|
76
81
|
"description": "Should each file contained in the package be emitted individually.",
|
|
@@ -46335,9 +46335,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
46335
46335
|
}
|
|
46336
46336
|
});
|
|
46337
46337
|
|
|
46338
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46338
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
46339
46339
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
46340
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46340
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
46341
46341
|
"use strict";
|
|
46342
46342
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46343
46343
|
var version = "8.0.0";
|
|
@@ -47984,9 +47984,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
47984
47984
|
}
|
|
47985
47985
|
});
|
|
47986
47986
|
|
|
47987
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47987
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
47988
47988
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
47989
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47989
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
47990
47990
|
"use strict";
|
|
47991
47991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47992
47992
|
function _interopRequireDefault(obj) {
|
|
@@ -48264,9 +48264,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
48264
48264
|
}
|
|
48265
48265
|
});
|
|
48266
48266
|
|
|
48267
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48267
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
48268
48268
|
var require_chunk_UIX4URMV = __commonJS({
|
|
48269
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48269
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
48270
48270
|
"use strict";
|
|
48271
48271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48272
48272
|
function _interopRequireWildcard(obj) {
|
|
@@ -49200,9 +49200,9 @@ var require_dist3 = __commonJS({
|
|
|
49200
49200
|
}
|
|
49201
49201
|
});
|
|
49202
49202
|
|
|
49203
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
49203
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
49204
49204
|
var require_chunk_7G76EW2R = __commonJS({
|
|
49205
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
49205
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
49206
49206
|
"use strict";
|
|
49207
49207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49208
49208
|
function _interopRequireDefault(obj) {
|
|
@@ -102939,9 +102939,9 @@ var require_chokidar = __commonJS({
|
|
|
102939
102939
|
}
|
|
102940
102940
|
});
|
|
102941
102941
|
|
|
102942
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
102942
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
|
|
102943
102943
|
var require_dist6 = __commonJS({
|
|
102944
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
102944
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
|
|
102945
102945
|
"use strict";
|
|
102946
102946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102947
102947
|
function _interopRequireDefault(obj) {
|
|
@@ -105342,16 +105342,6 @@ var require_dist6 = __commonJS({
|
|
|
105342
105342
|
"<projectFolder>",
|
|
105343
105343
|
options.outDir,
|
|
105344
105344
|
`index${dtsExtension}`
|
|
105345
|
-
).replaceAll("\\", "/"),
|
|
105346
|
-
betaTrimmedFilePath: _path2.default.join(
|
|
105347
|
-
"<projectFolder>",
|
|
105348
|
-
options.outDir,
|
|
105349
|
-
"index-beta.d.ts"
|
|
105350
|
-
).replaceAll("\\", "/"),
|
|
105351
|
-
publicTrimmedFilePath: _path2.default.join(
|
|
105352
|
-
"<projectFolder>",
|
|
105353
|
-
options.outDir,
|
|
105354
|
-
"index-public.d.ts"
|
|
105355
105345
|
).replaceAll("\\", "/")
|
|
105356
105346
|
},
|
|
105357
105347
|
tsdocMetadata: {
|
|
@@ -116293,6 +116283,7 @@ function defaultConfig({
|
|
|
116293
116283
|
apiReport = true,
|
|
116294
116284
|
docModel = true,
|
|
116295
116285
|
tsdocMetadata = true,
|
|
116286
|
+
metafile = false,
|
|
116296
116287
|
define: define2,
|
|
116297
116288
|
env,
|
|
116298
116289
|
plugins,
|
|
@@ -116322,7 +116313,7 @@ function defaultConfig({
|
|
|
116322
116313
|
workspaceRoot,
|
|
116323
116314
|
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
|
|
116324
116315
|
silent: !verbose,
|
|
116325
|
-
metafile
|
|
116316
|
+
metafile,
|
|
116326
116317
|
shims,
|
|
116327
116318
|
external,
|
|
116328
116319
|
platform,
|
|
@@ -116615,7 +116606,6 @@ ${externalDependencies.map((dep) => {
|
|
|
116615
116606
|
packageJson.dependencies[packageName] = "latest";
|
|
116616
116607
|
}
|
|
116617
116608
|
});
|
|
116618
|
-
console.log(JSON.stringify(options.getConfig));
|
|
116619
116609
|
const distPaths = !options?.getConfig || _isFunction(options.getConfig) ? ["dist/"] : Object.keys(options.getConfig).map((key) => `${key}/`);
|
|
116620
116610
|
packageJson.type = "module";
|
|
116621
116611
|
if (distPaths.length > 0) {
|
|
@@ -116887,6 +116877,7 @@ var applyDefaultOptions = (options) => {
|
|
|
116887
116877
|
options.docModel ??= true;
|
|
116888
116878
|
options.tsdocMetadata ??= true;
|
|
116889
116879
|
options.emitOnAll ??= false;
|
|
116880
|
+
options.metafile ??= false;
|
|
116890
116881
|
options.define ??= {};
|
|
116891
116882
|
options.env ??= {};
|
|
116892
116883
|
options.verbose ??= !!process.env.CI;
|
|
@@ -116934,6 +116925,7 @@ function modernBrowserConfig({
|
|
|
116934
116925
|
banner = {},
|
|
116935
116926
|
platform = "browser",
|
|
116936
116927
|
verbose = false,
|
|
116928
|
+
metafile = false,
|
|
116937
116929
|
define: define2,
|
|
116938
116930
|
env,
|
|
116939
116931
|
plugins,
|
|
@@ -116964,7 +116956,7 @@ function modernBrowserConfig({
|
|
|
116964
116956
|
workspaceRoot,
|
|
116965
116957
|
outDir: outputPath,
|
|
116966
116958
|
silent: !verbose,
|
|
116967
|
-
metafile
|
|
116959
|
+
metafile,
|
|
116968
116960
|
shims,
|
|
116969
116961
|
external,
|
|
116970
116962
|
platform,
|
|
@@ -117019,6 +117011,7 @@ function legacyBrowserConfig({
|
|
|
117019
117011
|
apiReport = true,
|
|
117020
117012
|
docModel = true,
|
|
117021
117013
|
tsdocMetadata = true,
|
|
117014
|
+
metafile = false,
|
|
117022
117015
|
define: define2,
|
|
117023
117016
|
env,
|
|
117024
117017
|
plugins,
|
|
@@ -117041,7 +117034,7 @@ function legacyBrowserConfig({
|
|
|
117041
117034
|
workspaceRoot,
|
|
117042
117035
|
outDir: outputPath,
|
|
117043
117036
|
silent: !verbose,
|
|
117044
|
-
metafile
|
|
117037
|
+
metafile,
|
|
117045
117038
|
shims,
|
|
117046
117039
|
external,
|
|
117047
117040
|
platform,
|
|
@@ -46335,9 +46335,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
46335
46335
|
}
|
|
46336
46336
|
});
|
|
46337
46337
|
|
|
46338
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46338
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
46339
46339
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
46340
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46340
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
46341
46341
|
"use strict";
|
|
46342
46342
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46343
46343
|
var version = "8.0.0";
|
|
@@ -47984,9 +47984,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
47984
47984
|
}
|
|
47985
47985
|
});
|
|
47986
47986
|
|
|
47987
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47987
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
47988
47988
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
47989
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47989
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
47990
47990
|
"use strict";
|
|
47991
47991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47992
47992
|
function _interopRequireDefault(obj) {
|
|
@@ -48264,9 +48264,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
48264
48264
|
}
|
|
48265
48265
|
});
|
|
48266
48266
|
|
|
48267
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48267
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
48268
48268
|
var require_chunk_UIX4URMV = __commonJS({
|
|
48269
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48269
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
48270
48270
|
"use strict";
|
|
48271
48271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48272
48272
|
function _interopRequireWildcard(obj) {
|
|
@@ -49200,9 +49200,9 @@ var require_dist3 = __commonJS({
|
|
|
49200
49200
|
}
|
|
49201
49201
|
});
|
|
49202
49202
|
|
|
49203
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
49203
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
49204
49204
|
var require_chunk_7G76EW2R = __commonJS({
|
|
49205
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
49205
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
49206
49206
|
"use strict";
|
|
49207
49207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49208
49208
|
function _interopRequireDefault(obj) {
|
|
@@ -102939,9 +102939,9 @@ var require_chokidar = __commonJS({
|
|
|
102939
102939
|
}
|
|
102940
102940
|
});
|
|
102941
102941
|
|
|
102942
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
102942
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
|
|
102943
102943
|
var require_dist6 = __commonJS({
|
|
102944
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
102944
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
|
|
102945
102945
|
"use strict";
|
|
102946
102946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102947
102947
|
function _interopRequireDefault(obj) {
|
|
@@ -105342,16 +105342,6 @@ var require_dist6 = __commonJS({
|
|
|
105342
105342
|
"<projectFolder>",
|
|
105343
105343
|
options.outDir,
|
|
105344
105344
|
`index${dtsExtension}`
|
|
105345
|
-
).replaceAll("\\", "/"),
|
|
105346
|
-
betaTrimmedFilePath: _path2.default.join(
|
|
105347
|
-
"<projectFolder>",
|
|
105348
|
-
options.outDir,
|
|
105349
|
-
"index-beta.d.ts"
|
|
105350
|
-
).replaceAll("\\", "/"),
|
|
105351
|
-
publicTrimmedFilePath: _path2.default.join(
|
|
105352
|
-
"<projectFolder>",
|
|
105353
|
-
options.outDir,
|
|
105354
|
-
"index-public.d.ts"
|
|
105355
105345
|
).replaceAll("\\", "/")
|
|
105356
105346
|
},
|
|
105357
105347
|
tsdocMetadata: {
|
|
@@ -116293,6 +116283,7 @@ function defaultConfig({
|
|
|
116293
116283
|
apiReport = true,
|
|
116294
116284
|
docModel = true,
|
|
116295
116285
|
tsdocMetadata = true,
|
|
116286
|
+
metafile = false,
|
|
116296
116287
|
define: define2,
|
|
116297
116288
|
env,
|
|
116298
116289
|
plugins,
|
|
@@ -116322,7 +116313,7 @@ function defaultConfig({
|
|
|
116322
116313
|
workspaceRoot,
|
|
116323
116314
|
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
|
|
116324
116315
|
silent: !verbose,
|
|
116325
|
-
metafile
|
|
116316
|
+
metafile,
|
|
116326
116317
|
shims,
|
|
116327
116318
|
external,
|
|
116328
116319
|
platform,
|
|
@@ -116615,7 +116606,6 @@ ${externalDependencies.map((dep) => {
|
|
|
116615
116606
|
packageJson.dependencies[packageName] = "latest";
|
|
116616
116607
|
}
|
|
116617
116608
|
});
|
|
116618
|
-
console.log(JSON.stringify(options.getConfig));
|
|
116619
116609
|
const distPaths = !options?.getConfig || _isFunction(options.getConfig) ? ["dist/"] : Object.keys(options.getConfig).map((key) => `${key}/`);
|
|
116620
116610
|
packageJson.type = "module";
|
|
116621
116611
|
if (distPaths.length > 0) {
|
|
@@ -116887,6 +116877,7 @@ var applyDefaultOptions = (options) => {
|
|
|
116887
116877
|
options.docModel ??= true;
|
|
116888
116878
|
options.tsdocMetadata ??= true;
|
|
116889
116879
|
options.emitOnAll ??= false;
|
|
116880
|
+
options.metafile ??= false;
|
|
116890
116881
|
options.define ??= {};
|
|
116891
116882
|
options.env ??= {};
|
|
116892
116883
|
options.verbose ??= !!process.env.CI;
|
|
@@ -116920,7 +116911,7 @@ var _isFunction = (value) => {
|
|
|
116920
116911
|
|
|
116921
116912
|
// packages/workspace-tools/src/executors/tsup-neutral/get-config.ts
|
|
116922
116913
|
var import_devkit3 = __toESM(require_devkit());
|
|
116923
|
-
function
|
|
116914
|
+
function neutralConfig({
|
|
116924
116915
|
entry,
|
|
116925
116916
|
outDir,
|
|
116926
116917
|
projectRoot,
|
|
@@ -116934,15 +116925,16 @@ function modernNeutralConfig({
|
|
|
116934
116925
|
banner = {},
|
|
116935
116926
|
platform = "neutral",
|
|
116936
116927
|
verbose = false,
|
|
116928
|
+
metafile = false,
|
|
116937
116929
|
define: define2,
|
|
116938
116930
|
env,
|
|
116939
116931
|
plugins,
|
|
116940
116932
|
generatePackageJson,
|
|
116941
116933
|
dtsTsConfig
|
|
116942
116934
|
}) {
|
|
116943
|
-
let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist"
|
|
116935
|
+
let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist");
|
|
116944
116936
|
const options = {
|
|
116945
|
-
name: "
|
|
116937
|
+
name: "neutral",
|
|
116946
116938
|
entry,
|
|
116947
116939
|
format: ["cjs", "esm", "iife"],
|
|
116948
116940
|
target: ["esnext"],
|
|
@@ -116956,7 +116948,7 @@ function modernNeutralConfig({
|
|
|
116956
116948
|
workspaceRoot,
|
|
116957
116949
|
outDir: outputPath,
|
|
116958
116950
|
silent: !verbose,
|
|
116959
|
-
metafile
|
|
116951
|
+
metafile,
|
|
116960
116952
|
shims,
|
|
116961
116953
|
external,
|
|
116962
116954
|
platform,
|
|
@@ -116994,83 +116986,6 @@ function modernNeutralConfig({
|
|
|
116994
116986
|
}
|
|
116995
116987
|
return options;
|
|
116996
116988
|
}
|
|
116997
|
-
function legacyNeutralConfig({
|
|
116998
|
-
entry,
|
|
116999
|
-
outDir,
|
|
117000
|
-
projectRoot,
|
|
117001
|
-
workspaceRoot,
|
|
117002
|
-
tsconfig = "tsconfig.json",
|
|
117003
|
-
splitting,
|
|
117004
|
-
treeshake,
|
|
117005
|
-
apiReport = true,
|
|
117006
|
-
docModel = true,
|
|
117007
|
-
tsdocMetadata = true,
|
|
117008
|
-
debug = false,
|
|
117009
|
-
external,
|
|
117010
|
-
banner = {},
|
|
117011
|
-
platform = "neutral",
|
|
117012
|
-
verbose = false,
|
|
117013
|
-
shims = true,
|
|
117014
|
-
define: define2,
|
|
117015
|
-
env,
|
|
117016
|
-
plugins,
|
|
117017
|
-
generatePackageJson,
|
|
117018
|
-
dtsTsConfig
|
|
117019
|
-
}) {
|
|
117020
|
-
let outputPath = (0, import_devkit3.joinPathFragments)(outDir, "dist", "legacy");
|
|
117021
|
-
const options = {
|
|
117022
|
-
name: "legacy",
|
|
117023
|
-
entry,
|
|
117024
|
-
format: ["cjs", "esm", "iife"],
|
|
117025
|
-
target: ["es2022"],
|
|
117026
|
-
tsconfig,
|
|
117027
|
-
splitting,
|
|
117028
|
-
generatePackageJson,
|
|
117029
|
-
treeshake: treeshake ? {
|
|
117030
|
-
preset: "recommended"
|
|
117031
|
-
} : false,
|
|
117032
|
-
projectRoot,
|
|
117033
|
-
workspaceRoot,
|
|
117034
|
-
outDir: outputPath,
|
|
117035
|
-
silent: !verbose,
|
|
117036
|
-
metafile: true,
|
|
117037
|
-
shims,
|
|
117038
|
-
external,
|
|
117039
|
-
platform,
|
|
117040
|
-
banner,
|
|
117041
|
-
define: define2,
|
|
117042
|
-
env,
|
|
117043
|
-
dts: false,
|
|
117044
|
-
experimentalDts: {
|
|
117045
|
-
entry,
|
|
117046
|
-
compilerOptions: {
|
|
117047
|
-
...dtsTsConfig,
|
|
117048
|
-
options: {
|
|
117049
|
-
...dtsTsConfig.options,
|
|
117050
|
-
outDir: outputPath
|
|
117051
|
-
}
|
|
117052
|
-
}
|
|
117053
|
-
},
|
|
117054
|
-
apiReport,
|
|
117055
|
-
docModel,
|
|
117056
|
-
tsdocMetadata,
|
|
117057
|
-
sourcemap: debug,
|
|
117058
|
-
clean: false,
|
|
117059
|
-
tsconfigDecoratorMetadata: true,
|
|
117060
|
-
plugins,
|
|
117061
|
-
outExtension
|
|
117062
|
-
};
|
|
117063
|
-
if (!debug) {
|
|
117064
|
-
options.minify = "terser";
|
|
117065
|
-
options.terserOptions = {
|
|
117066
|
-
compress: true,
|
|
117067
|
-
ecma: 2020,
|
|
117068
|
-
keep_classnames: true,
|
|
117069
|
-
keep_fnames: true
|
|
117070
|
-
};
|
|
117071
|
-
}
|
|
117072
|
-
return options;
|
|
117073
|
-
}
|
|
117074
116989
|
|
|
117075
116990
|
// packages/workspace-tools/src/executors/tsup-neutral/executor.ts
|
|
117076
116991
|
var tsupNeutralBuildExecutorFn = (options, context, config) => {
|
|
@@ -117078,8 +116993,7 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
|
|
|
117078
116993
|
{
|
|
117079
116994
|
...options,
|
|
117080
116995
|
getConfig: {
|
|
117081
|
-
"dist
|
|
117082
|
-
"dist/legacy": legacyNeutralConfig
|
|
116996
|
+
"dist": neutralConfig
|
|
117083
116997
|
},
|
|
117084
116998
|
platform: "neutral",
|
|
117085
116999
|
banner: getFileBanner(
|
|
@@ -46335,9 +46335,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
46335
46335
|
}
|
|
46336
46336
|
});
|
|
46337
46337
|
|
|
46338
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46338
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
46339
46339
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
46340
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
46340
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
46341
46341
|
"use strict";
|
|
46342
46342
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46343
46343
|
var version = "8.0.0";
|
|
@@ -47984,9 +47984,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
47984
47984
|
}
|
|
47985
47985
|
});
|
|
47986
47986
|
|
|
47987
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47987
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
47988
47988
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
47989
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
47989
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
47990
47990
|
"use strict";
|
|
47991
47991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47992
47992
|
function _interopRequireDefault(obj) {
|
|
@@ -48264,9 +48264,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
48264
48264
|
}
|
|
48265
48265
|
});
|
|
48266
48266
|
|
|
48267
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48267
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
48268
48268
|
var require_chunk_UIX4URMV = __commonJS({
|
|
48269
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
48269
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
48270
48270
|
"use strict";
|
|
48271
48271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48272
48272
|
function _interopRequireWildcard(obj) {
|
|
@@ -49200,9 +49200,9 @@ var require_dist3 = __commonJS({
|
|
|
49200
49200
|
}
|
|
49201
49201
|
});
|
|
49202
49202
|
|
|
49203
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
49203
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
49204
49204
|
var require_chunk_7G76EW2R = __commonJS({
|
|
49205
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
49205
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
49206
49206
|
"use strict";
|
|
49207
49207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49208
49208
|
function _interopRequireDefault(obj) {
|
|
@@ -102939,9 +102939,9 @@ var require_chokidar = __commonJS({
|
|
|
102939
102939
|
}
|
|
102940
102940
|
});
|
|
102941
102941
|
|
|
102942
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
102942
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js
|
|
102943
102943
|
var require_dist6 = __commonJS({
|
|
102944
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
102944
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fji2wtrptyijdpodz25pba5kma_@microsoft+api-extractor@7.38.3_@swc+core@1._gccq64hy4wt26ioomik5cghq3q/node_modules/tsup/dist/index.js"(exports) {
|
|
102945
102945
|
"use strict";
|
|
102946
102946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102947
102947
|
function _interopRequireDefault(obj) {
|
|
@@ -105342,16 +105342,6 @@ var require_dist6 = __commonJS({
|
|
|
105342
105342
|
"<projectFolder>",
|
|
105343
105343
|
options.outDir,
|
|
105344
105344
|
`index${dtsExtension}`
|
|
105345
|
-
).replaceAll("\\", "/"),
|
|
105346
|
-
betaTrimmedFilePath: _path2.default.join(
|
|
105347
|
-
"<projectFolder>",
|
|
105348
|
-
options.outDir,
|
|
105349
|
-
"index-beta.d.ts"
|
|
105350
|
-
).replaceAll("\\", "/"),
|
|
105351
|
-
publicTrimmedFilePath: _path2.default.join(
|
|
105352
|
-
"<projectFolder>",
|
|
105353
|
-
options.outDir,
|
|
105354
|
-
"index-public.d.ts"
|
|
105355
105345
|
).replaceAll("\\", "/")
|
|
105356
105346
|
},
|
|
105357
105347
|
tsdocMetadata: {
|
|
@@ -116293,6 +116283,7 @@ function defaultConfig({
|
|
|
116293
116283
|
apiReport = true,
|
|
116294
116284
|
docModel = true,
|
|
116295
116285
|
tsdocMetadata = true,
|
|
116286
|
+
metafile = false,
|
|
116296
116287
|
define: define2,
|
|
116297
116288
|
env,
|
|
116298
116289
|
plugins,
|
|
@@ -116322,7 +116313,7 @@ function defaultConfig({
|
|
|
116322
116313
|
workspaceRoot,
|
|
116323
116314
|
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist"),
|
|
116324
116315
|
silent: !verbose,
|
|
116325
|
-
metafile
|
|
116316
|
+
metafile,
|
|
116326
116317
|
shims,
|
|
116327
116318
|
external,
|
|
116328
116319
|
platform,
|
|
@@ -116615,7 +116606,6 @@ ${externalDependencies.map((dep) => {
|
|
|
116615
116606
|
packageJson.dependencies[packageName] = "latest";
|
|
116616
116607
|
}
|
|
116617
116608
|
});
|
|
116618
|
-
console.log(JSON.stringify(options.getConfig));
|
|
116619
116609
|
const distPaths = !options?.getConfig || _isFunction(options.getConfig) ? ["dist/"] : Object.keys(options.getConfig).map((key) => `${key}/`);
|
|
116620
116610
|
packageJson.type = "module";
|
|
116621
116611
|
if (distPaths.length > 0) {
|
|
@@ -116887,6 +116877,7 @@ var applyDefaultOptions = (options) => {
|
|
|
116887
116877
|
options.docModel ??= true;
|
|
116888
116878
|
options.tsdocMetadata ??= true;
|
|
116889
116879
|
options.emitOnAll ??= false;
|
|
116880
|
+
options.metafile ??= false;
|
|
116890
116881
|
options.define ??= {};
|
|
116891
116882
|
options.env ??= {};
|
|
116892
116883
|
options.verbose ??= !!process.env.CI;
|
|
@@ -116937,6 +116928,7 @@ function nodeConfig({
|
|
|
116937
116928
|
apiReport = true,
|
|
116938
116929
|
docModel = true,
|
|
116939
116930
|
tsdocMetadata = true,
|
|
116931
|
+
metafile = false,
|
|
116940
116932
|
define: define2,
|
|
116941
116933
|
env,
|
|
116942
116934
|
plugins,
|