@storm-software/workspace-tools 1.15.2 → 1.16.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 +14 -0
- package/README.md +13 -1
- package/index.js +27 -39
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +27 -39
- package/src/executors/tsup/get-config.js +27 -39
- package/src/executors/tsup/schema.json +122 -124
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.15.3](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.15.2...workspace-tools-v1.15.3) (2023-11-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Update paths passed to api-extractor in tsup patch ([f3b6ce9](https://github.com/storm-software/storm-ops/commit/f3b6ce91e71ccc104895b4bcc0edf50a52e2b8ba))
|
|
7
|
+
|
|
8
|
+
## [1.15.2](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.15.1...workspace-tools-v1.15.2) (2023-11-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Update the slashes used in package path in tsup patch ([55470d5](https://github.com/storm-software/storm-ops/commit/55470d54de7dc73b07430e153a6c89719da44667))
|
|
14
|
+
|
|
1
15
|
## [1.15.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.15.0...workspace-tools-v1.15.1) (2023-11-29)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
15
15
|
|
|
16
16
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
17
|
|
|
18
|
-
[](https://prettier.io/)
|
|
19
19
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
20
|
|
|
21
21
|
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ - This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
|
@@ -35,6 +35,18 @@ A package containing tools for managing a Storm workspace. It includes various [
|
|
|
35
35
|
|
|
36
36
|
This library was generated with [Nx](https://nx.dev).
|
|
37
37
|
|
|
38
|
+
## Executors
|
|
39
|
+
|
|
40
|
+
The following executors are available in this package to invoke common tasks for the workspace's projects:
|
|
41
|
+
|
|
42
|
+
<!-- EXECUTORS -->
|
|
43
|
+
|
|
44
|
+
## Generators
|
|
45
|
+
|
|
46
|
+
The following generators are available with this package to assist in workspace management:
|
|
47
|
+
|
|
48
|
+
<!-- GENERATORS -->
|
|
49
|
+
|
|
38
50
|
## Building
|
|
39
51
|
|
|
40
52
|
Run `nx build workspace-tools` to build the library.
|
package/index.js
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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/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=nygxtewmelpqvs6bmpobio73ru_@microsoft+api-extractor@7.38.3_@swc+core@1._qikbl2tzs42funnjom5kiniywy/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97875,76 +97875,64 @@ var require_dist5 = __commonJS({
|
|
|
97875
97875
|
}
|
|
97876
97876
|
!options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
|
|
97877
97877
|
const relativeProjectFolder = _path2.default.relative(
|
|
97878
|
-
_path2.default.join(
|
|
97879
|
-
options.workspaceRoot,
|
|
97880
|
-
projectFolder
|
|
97881
|
-
),
|
|
97878
|
+
_path2.default.join(options.workspaceRoot, projectFolder.replaceAll("/", "\\")),
|
|
97882
97879
|
options.workspaceRoot
|
|
97883
97880
|
);
|
|
97884
97881
|
const apiReferenceProjectDir = _path2.default.join(
|
|
97885
|
-
"<projectFolder>",
|
|
97886
97882
|
relativeProjectFolder,
|
|
97887
97883
|
"docs",
|
|
97888
97884
|
"api-reports",
|
|
97889
97885
|
options.projectRoot
|
|
97890
|
-
);
|
|
97886
|
+
).replaceAll("\\", "/");
|
|
97891
97887
|
let configObject = {
|
|
97892
|
-
mainEntryPointFilePath: _path2.default.join(
|
|
97893
|
-
"<projectFolder>",
|
|
97888
|
+
mainEntryPointFilePath: `<projectFolder>/${_path2.default.join(
|
|
97894
97889
|
relativeProjectFolder,
|
|
97895
97890
|
inputFilePath.replace(options.workspaceRoot, "")
|
|
97896
|
-
),
|
|
97891
|
+
).replaceAll("\\", "/")}`,
|
|
97897
97892
|
apiReport: {
|
|
97898
97893
|
enabled: options.apiReport !== false,
|
|
97899
97894
|
reportFileName: "api-report.md",
|
|
97900
|
-
reportFolder: apiReferenceProjectDir
|
|
97901
|
-
reportTempFolder: _path2.default.join(
|
|
97902
|
-
"<projectFolder>",
|
|
97895
|
+
reportFolder: `<projectFolder>/${apiReferenceProjectDir}`,
|
|
97896
|
+
reportTempFolder: `<projectFolder>/${_path2.default.join(
|
|
97903
97897
|
relativeProjectFolder,
|
|
97904
97898
|
"tmp",
|
|
97905
97899
|
"api-reports"
|
|
97906
|
-
)
|
|
97900
|
+
).replaceAll("\\", "/")}`
|
|
97907
97901
|
},
|
|
97908
97902
|
docModel: {
|
|
97909
97903
|
enabled: options.docModel !== false,
|
|
97910
|
-
apiJsonFilePath: _path2.default.join(
|
|
97904
|
+
apiJsonFilePath: `<projectFolder>/${_path2.default.join(
|
|
97911
97905
|
apiReferenceProjectDir,
|
|
97912
97906
|
relativeProjectFolder,
|
|
97913
97907
|
"documents-model.api.json"
|
|
97914
|
-
)
|
|
97908
|
+
).replaceAll("\\", "/")}`
|
|
97915
97909
|
},
|
|
97916
97910
|
dtsRollup: {
|
|
97917
97911
|
enabled: true,
|
|
97918
|
-
untrimmedFilePath: _path2.default.join(
|
|
97919
|
-
"<projectFolder>",
|
|
97912
|
+
untrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97920
97913
|
relativeProjectFolder,
|
|
97921
97914
|
options.outDir,
|
|
97922
97915
|
`index${dtsExtension}`
|
|
97923
|
-
),
|
|
97924
|
-
betaTrimmedFilePath: _path2.default.join(
|
|
97925
|
-
"<projectFolder>",
|
|
97916
|
+
).replaceAll("\\", "/")}`,
|
|
97917
|
+
betaTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97926
97918
|
relativeProjectFolder,
|
|
97927
97919
|
options.outDir,
|
|
97928
97920
|
"index-beta.d.ts"
|
|
97929
|
-
),
|
|
97930
|
-
publicTrimmedFilePath: _path2.default.join(
|
|
97931
|
-
"<projectFolder>",
|
|
97921
|
+
).replaceAll("\\", "/")}`,
|
|
97922
|
+
publicTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97932
97923
|
relativeProjectFolder,
|
|
97933
97924
|
options.outDir,
|
|
97934
97925
|
"index-public.d.ts"
|
|
97935
|
-
)
|
|
97926
|
+
).replaceAll("\\", "/")}`
|
|
97936
97927
|
},
|
|
97937
97928
|
tsdocMetadata: {
|
|
97938
97929
|
enabled: options.tsdocMetadata !== false,
|
|
97939
|
-
tsdocMetadataFilePath:
|
|
97940
|
-
"<projectFolder>",
|
|
97941
|
-
"tsdoc-metadata.api.json"
|
|
97942
|
-
)
|
|
97930
|
+
tsdocMetadataFilePath: "<projectFolder>/tsdoc-metadata.api.json"
|
|
97943
97931
|
},
|
|
97944
97932
|
compiler: {
|
|
97945
97933
|
tsconfigFilePath
|
|
97946
97934
|
},
|
|
97947
|
-
projectFolder
|
|
97935
|
+
projectFolder: `./${projectFolder}`
|
|
97948
97936
|
};
|
|
97949
97937
|
const prepareOptions = {
|
|
97950
97938
|
configObject,
|