@storm-software/workspace-tools 1.16.13 → 1.16.15
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 +19 -0
- package/README.md +27 -1
- package/index.js +22 -22
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +22 -22
- package/src/executors/tsup/get-config.js +22 -22
- package/src/generators/node-library/files/README.md +26 -0
package/package.json
CHANGED
|
@@ -40019,9 +40019,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
40019
40019
|
}
|
|
40020
40020
|
});
|
|
40021
40021
|
|
|
40022
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40022
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
40023
40023
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
40024
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40024
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
40025
40025
|
"use strict";
|
|
40026
40026
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40027
40027
|
var version = "8.0.0";
|
|
@@ -40481,9 +40481,9 @@ var require_resolve_from = __commonJS({
|
|
|
40481
40481
|
}
|
|
40482
40482
|
});
|
|
40483
40483
|
|
|
40484
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40484
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
40485
40485
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
40486
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40486
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
40487
40487
|
"use strict";
|
|
40488
40488
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40489
40489
|
function _interopRequireDefault(obj) {
|
|
@@ -40761,9 +40761,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
40761
40761
|
}
|
|
40762
40762
|
});
|
|
40763
40763
|
|
|
40764
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40764
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
40765
40765
|
var require_chunk_UIX4URMV = __commonJS({
|
|
40766
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40766
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
40767
40767
|
"use strict";
|
|
40768
40768
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40769
40769
|
function _interopRequireWildcard(obj) {
|
|
@@ -41697,9 +41697,9 @@ var require_dist2 = __commonJS({
|
|
|
41697
41697
|
}
|
|
41698
41698
|
});
|
|
41699
41699
|
|
|
41700
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41700
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
41701
41701
|
var require_chunk_7G76EW2R = __commonJS({
|
|
41702
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41702
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
41703
41703
|
"use strict";
|
|
41704
41704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41705
41705
|
function _interopRequireDefault(obj) {
|
|
@@ -95505,9 +95505,9 @@ var require_chokidar = __commonJS({
|
|
|
95505
95505
|
}
|
|
95506
95506
|
});
|
|
95507
95507
|
|
|
95508
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
95508
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/index.js
|
|
95509
95509
|
var require_dist5 = __commonJS({
|
|
95510
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
95510
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97879,9 +97879,12 @@ var require_dist5 = __commonJS({
|
|
|
97879
97879
|
"docs",
|
|
97880
97880
|
"api-reports",
|
|
97881
97881
|
options.projectRoot
|
|
97882
|
-
);
|
|
97882
|
+
).replaceAll("\\", "/");
|
|
97883
97883
|
let configObject = {
|
|
97884
|
-
mainEntryPointFilePath:
|
|
97884
|
+
mainEntryPointFilePath: _path2.default.join(
|
|
97885
|
+
"<projectFolder>",
|
|
97886
|
+
inputFilePath_path2.replace(options.workspaceRoot, "")
|
|
97887
|
+
).replaceAll("\\", "/"),
|
|
97885
97888
|
apiReport: {
|
|
97886
97889
|
enabled: options.apiReport !== false,
|
|
97887
97890
|
reportFileName: "api-report.md",
|
|
@@ -97890,14 +97893,14 @@ var require_dist5 = __commonJS({
|
|
|
97890
97893
|
"<projectFolder>",
|
|
97891
97894
|
"tmp",
|
|
97892
97895
|
"api-reports"
|
|
97893
|
-
)
|
|
97896
|
+
).replaceAll("\\", "/")
|
|
97894
97897
|
},
|
|
97895
97898
|
docModel: {
|
|
97896
97899
|
enabled: options.docModel !== false,
|
|
97897
97900
|
apiJsonFilePath: _path2.default.join(
|
|
97898
97901
|
apiReferenceProjectDir,
|
|
97899
97902
|
"documents-model.api.json"
|
|
97900
|
-
)
|
|
97903
|
+
).replaceAll("\\", "/")
|
|
97901
97904
|
},
|
|
97902
97905
|
dtsRollup: {
|
|
97903
97906
|
enabled: true,
|
|
@@ -97905,17 +97908,17 @@ var require_dist5 = __commonJS({
|
|
|
97905
97908
|
"<projectFolder>",
|
|
97906
97909
|
options.outDir,
|
|
97907
97910
|
`index${dtsExtension}`
|
|
97908
|
-
),
|
|
97911
|
+
).replaceAll("\\", "/"),
|
|
97909
97912
|
betaTrimmedFilePath: _path2.default.join(
|
|
97910
97913
|
"<projectFolder>",
|
|
97911
97914
|
options.outDir,
|
|
97912
97915
|
"index-beta.d.ts"
|
|
97913
|
-
),
|
|
97916
|
+
).replaceAll("\\", "/"),
|
|
97914
97917
|
publicTrimmedFilePath: _path2.default.join(
|
|
97915
97918
|
"<projectFolder>",
|
|
97916
97919
|
options.outDir,
|
|
97917
97920
|
"index-public.d.ts"
|
|
97918
|
-
)
|
|
97921
|
+
).replaceAll("\\", "/")
|
|
97919
97922
|
},
|
|
97920
97923
|
tsdocMetadata: {
|
|
97921
97924
|
enabled: options.tsdocMetadata !== false,
|
|
@@ -97924,7 +97927,7 @@ var require_dist5 = __commonJS({
|
|
|
97924
97927
|
"dist",
|
|
97925
97928
|
options.projectRoot,
|
|
97926
97929
|
"tsdoc-metadata.api.json"
|
|
97927
|
-
)
|
|
97930
|
+
).replaceAll("\\", "/")
|
|
97928
97931
|
},
|
|
97929
97932
|
compiler: {
|
|
97930
97933
|
tsconfigFilePath
|
|
@@ -97998,10 +98001,7 @@ var require_dist5 = __commonJS({
|
|
|
97998
98001
|
);
|
|
97999
98002
|
rollupDtsFile(
|
|
98000
98003
|
options,
|
|
98001
|
-
|
|
98002
|
-
"<projectFolder>",
|
|
98003
|
-
dtsInputFilePath.replace(options.workspaceRoot, "")
|
|
98004
|
-
),
|
|
98004
|
+
dtsInputFilePath,
|
|
98005
98005
|
dtsExtension,
|
|
98006
98006
|
options.tsconfig || "tsconfig.json"
|
|
98007
98007
|
);
|
|
@@ -240,9 +240,9 @@ var require_brace_expansion = __commonJS({
|
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
|
|
243
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
243
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
244
244
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
245
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
245
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
246
246
|
"use strict";
|
|
247
247
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
248
248
|
var version = "8.0.0";
|
|
@@ -6549,9 +6549,9 @@ var require_resolve_from = __commonJS({
|
|
|
6549
6549
|
}
|
|
6550
6550
|
});
|
|
6551
6551
|
|
|
6552
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6552
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
6553
6553
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
6554
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6554
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
6555
6555
|
"use strict";
|
|
6556
6556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6557
6557
|
function _interopRequireDefault(obj) {
|
|
@@ -6829,9 +6829,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6829
6829
|
}
|
|
6830
6830
|
});
|
|
6831
6831
|
|
|
6832
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6832
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
6833
6833
|
var require_chunk_UIX4URMV = __commonJS({
|
|
6834
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6834
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
6835
6835
|
"use strict";
|
|
6836
6836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6837
6837
|
function _interopRequireWildcard(obj) {
|
|
@@ -7765,9 +7765,9 @@ var require_dist2 = __commonJS({
|
|
|
7765
7765
|
}
|
|
7766
7766
|
});
|
|
7767
7767
|
|
|
7768
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
7768
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
7769
7769
|
var require_chunk_7G76EW2R = __commonJS({
|
|
7770
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
7770
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
7771
7771
|
"use strict";
|
|
7772
7772
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7773
7773
|
function _interopRequireDefault(obj) {
|
|
@@ -61573,9 +61573,9 @@ var require_chokidar = __commonJS({
|
|
|
61573
61573
|
}
|
|
61574
61574
|
});
|
|
61575
61575
|
|
|
61576
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
61576
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/index.js
|
|
61577
61577
|
var require_dist5 = __commonJS({
|
|
61578
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
61578
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fma7yih2zcnzdexs3sxg2vdm6y_@microsoft+api-extractor@7.38.3_@swc+core@1._2fwsowl4mc47dawwvgswktrf2q/node_modules/tsup/dist/index.js"(exports) {
|
|
61579
61579
|
"use strict";
|
|
61580
61580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61581
61581
|
function _interopRequireDefault(obj) {
|
|
@@ -63947,9 +63947,12 @@ var require_dist5 = __commonJS({
|
|
|
63947
63947
|
"docs",
|
|
63948
63948
|
"api-reports",
|
|
63949
63949
|
options.projectRoot
|
|
63950
|
-
);
|
|
63950
|
+
).replaceAll("\\", "/");
|
|
63951
63951
|
let configObject = {
|
|
63952
|
-
mainEntryPointFilePath:
|
|
63952
|
+
mainEntryPointFilePath: _path2.default.join(
|
|
63953
|
+
"<projectFolder>",
|
|
63954
|
+
inputFilePath_path2.replace(options.workspaceRoot, "")
|
|
63955
|
+
).replaceAll("\\", "/"),
|
|
63953
63956
|
apiReport: {
|
|
63954
63957
|
enabled: options.apiReport !== false,
|
|
63955
63958
|
reportFileName: "api-report.md",
|
|
@@ -63958,14 +63961,14 @@ var require_dist5 = __commonJS({
|
|
|
63958
63961
|
"<projectFolder>",
|
|
63959
63962
|
"tmp",
|
|
63960
63963
|
"api-reports"
|
|
63961
|
-
)
|
|
63964
|
+
).replaceAll("\\", "/")
|
|
63962
63965
|
},
|
|
63963
63966
|
docModel: {
|
|
63964
63967
|
enabled: options.docModel !== false,
|
|
63965
63968
|
apiJsonFilePath: _path2.default.join(
|
|
63966
63969
|
apiReferenceProjectDir,
|
|
63967
63970
|
"documents-model.api.json"
|
|
63968
|
-
)
|
|
63971
|
+
).replaceAll("\\", "/")
|
|
63969
63972
|
},
|
|
63970
63973
|
dtsRollup: {
|
|
63971
63974
|
enabled: true,
|
|
@@ -63973,17 +63976,17 @@ var require_dist5 = __commonJS({
|
|
|
63973
63976
|
"<projectFolder>",
|
|
63974
63977
|
options.outDir,
|
|
63975
63978
|
`index${dtsExtension}`
|
|
63976
|
-
),
|
|
63979
|
+
).replaceAll("\\", "/"),
|
|
63977
63980
|
betaTrimmedFilePath: _path2.default.join(
|
|
63978
63981
|
"<projectFolder>",
|
|
63979
63982
|
options.outDir,
|
|
63980
63983
|
"index-beta.d.ts"
|
|
63981
|
-
),
|
|
63984
|
+
).replaceAll("\\", "/"),
|
|
63982
63985
|
publicTrimmedFilePath: _path2.default.join(
|
|
63983
63986
|
"<projectFolder>",
|
|
63984
63987
|
options.outDir,
|
|
63985
63988
|
"index-public.d.ts"
|
|
63986
|
-
)
|
|
63989
|
+
).replaceAll("\\", "/")
|
|
63987
63990
|
},
|
|
63988
63991
|
tsdocMetadata: {
|
|
63989
63992
|
enabled: options.tsdocMetadata !== false,
|
|
@@ -63992,7 +63995,7 @@ var require_dist5 = __commonJS({
|
|
|
63992
63995
|
"dist",
|
|
63993
63996
|
options.projectRoot,
|
|
63994
63997
|
"tsdoc-metadata.api.json"
|
|
63995
|
-
)
|
|
63998
|
+
).replaceAll("\\", "/")
|
|
63996
63999
|
},
|
|
63997
64000
|
compiler: {
|
|
63998
64001
|
tsconfigFilePath
|
|
@@ -64066,10 +64069,7 @@ var require_dist5 = __commonJS({
|
|
|
64066
64069
|
);
|
|
64067
64070
|
rollupDtsFile(
|
|
64068
64071
|
options,
|
|
64069
|
-
|
|
64070
|
-
"<projectFolder>",
|
|
64071
|
-
dtsInputFilePath.replace(options.workspaceRoot, "")
|
|
64072
|
-
),
|
|
64072
|
+
dtsInputFilePath,
|
|
64073
64073
|
dtsExtension,
|
|
64074
64074
|
options.tsconfig || "tsconfig.json"
|
|
64075
64075
|
);
|
|
@@ -8,6 +8,32 @@
|
|
|
8
8
|
<!-- START doctoc -->
|
|
9
9
|
<!-- END doctoc -->
|
|
10
10
|
|
|
11
|
+
## Installing
|
|
12
|
+
|
|
13
|
+
Using [pnpm](http://pnpm.io):
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm add -D @<%= namespace %>/<%= name %>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>Using npm</summary>
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install -D @<%= namespace %>/<%= name %>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
</details>
|
|
27
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Using yarn</summary>
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn add -D @<%= namespace %>/<%= name %>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
</details>
|
|
36
|
+
|
|
11
37
|
## Reduced Package Size
|
|
12
38
|
|
|
13
39
|
This project uses [tsup](https://tsup.egoist.dev/) to package the source code due to its ability to remove unused code and ship smaller javascript files thanks to code splitting. This helps to greatly reduce the size of the package and to make it easier to use in other projects.
|