@storm-software/workspace-tools 1.16.14 → 1.16.16
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 +27 -1
- package/index.js +17 -17
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +17 -17
- package/src/executors/tsup/get-config.js +17 -17
- package/src/generators/node-library/files/README.md +26 -0
- package/src/generators/preset/files/.github/.whitesource +14 -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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97881,7 +97881,10 @@ var require_dist5 = __commonJS({
|
|
|
97881
97881
|
options.projectRoot
|
|
97882
97882
|
).replaceAll("\\", "/");
|
|
97883
97883
|
let configObject = {
|
|
97884
|
-
mainEntryPointFilePath:
|
|
97884
|
+
mainEntryPointFilePath: _path2.default.join(
|
|
97885
|
+
"<projectFolder>",
|
|
97886
|
+
inputFilePath.replace(options.workspaceRoot, "")
|
|
97887
|
+
).replaceAll("\\", "/"),
|
|
97885
97888
|
apiReport: {
|
|
97886
97889
|
enabled: options.apiReport !== false,
|
|
97887
97890
|
reportFileName: "api-report.md",
|
|
@@ -97939,7 +97942,7 @@ var require_dist5 = __commonJS({
|
|
|
97939
97942
|
"dist",
|
|
97940
97943
|
options.projectRoot,
|
|
97941
97944
|
"package.json"
|
|
97942
|
-
)
|
|
97945
|
+
)
|
|
97943
97946
|
};
|
|
97944
97947
|
!options.silent && logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
|
|
97945
97948
|
!options.silent && logger2.info(
|
|
@@ -97989,7 +97992,7 @@ var require_dist5 = __commonJS({
|
|
|
97989
97992
|
declarationDir,
|
|
97990
97993
|
outDir.replace(pkgPath, ""),
|
|
97991
97994
|
"_tsup-dts-aggregation" + dtsExtension
|
|
97992
|
-
)
|
|
97995
|
+
);
|
|
97993
97996
|
dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
|
|
97994
97997
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
97995
97998
|
void 0,
|
|
@@ -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
|
-
).replaceAll("\\", "/"),
|
|
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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/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=sf2y4czugcedglo65hsn2hua7m_@microsoft+api-extractor@7.38.3_@swc+core@1._tru67y5ffnlkuu6qpksdqs7yre/node_modules/tsup/dist/index.js"(exports) {
|
|
61579
61579
|
"use strict";
|
|
61580
61580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
61581
61581
|
function _interopRequireDefault(obj) {
|
|
@@ -63949,7 +63949,10 @@ var require_dist5 = __commonJS({
|
|
|
63949
63949
|
options.projectRoot
|
|
63950
63950
|
).replaceAll("\\", "/");
|
|
63951
63951
|
let configObject = {
|
|
63952
|
-
mainEntryPointFilePath:
|
|
63952
|
+
mainEntryPointFilePath: _path2.default.join(
|
|
63953
|
+
"<projectFolder>",
|
|
63954
|
+
inputFilePath.replace(options.workspaceRoot, "")
|
|
63955
|
+
).replaceAll("\\", "/"),
|
|
63953
63956
|
apiReport: {
|
|
63954
63957
|
enabled: options.apiReport !== false,
|
|
63955
63958
|
reportFileName: "api-report.md",
|
|
@@ -64007,7 +64010,7 @@ var require_dist5 = __commonJS({
|
|
|
64007
64010
|
"dist",
|
|
64008
64011
|
options.projectRoot,
|
|
64009
64012
|
"package.json"
|
|
64010
|
-
)
|
|
64013
|
+
)
|
|
64011
64014
|
};
|
|
64012
64015
|
!options.silent && logger2.info("dts", `\u26A1 Current Directory: ${__dirname}`);
|
|
64013
64016
|
!options.silent && logger2.info(
|
|
@@ -64057,7 +64060,7 @@ var require_dist5 = __commonJS({
|
|
|
64057
64060
|
declarationDir,
|
|
64058
64061
|
outDir.replace(pkgPath, ""),
|
|
64059
64062
|
"_tsup-dts-aggregation" + dtsExtension
|
|
64060
|
-
)
|
|
64063
|
+
);
|
|
64061
64064
|
dtsInputFilePath = dtsInputFilePath.replace(/\.d\.mts$/, ".dmts.d.ts").replace(/\.d\.cts$/, ".dcts.d.ts");
|
|
64062
64065
|
_chunkGQ77QZBOjs.writeFileSync.call(
|
|
64063
64066
|
void 0,
|
|
@@ -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
|
-
).replaceAll("\\", "/"),
|
|
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.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scanSettings": {
|
|
3
|
+
"baseBranches": []
|
|
4
|
+
},
|
|
5
|
+
"checkRunSettings": {
|
|
6
|
+
"vulnerableCheckRunConclusionLevel": "failure",
|
|
7
|
+
"displayMode": "diff",
|
|
8
|
+
"useMendCheckNames": true
|
|
9
|
+
},
|
|
10
|
+
"issueSettings": {
|
|
11
|
+
"minSeverityLevel": "LOW",
|
|
12
|
+
"issueType": "DEPENDENCY"
|
|
13
|
+
}
|
|
14
|
+
}
|