@storm-software/workspace-tools 1.15.2 → 1.15.3
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 +31 -39
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +31 -39
- package/src/executors/tsup/get-config.js +31 -39
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.15.2](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.15.1...workspace-tools-v1.15.2) (2023-11-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Update the slashes used in package path in tsup patch ([55470d5](https://github.com/storm-software/storm-ops/commit/55470d54de7dc73b07430e153a6c89719da44667))
|
|
7
|
+
|
|
1
8
|
## [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
9
|
|
|
3
10
|
|
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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/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=4guwzbnaqd3bwmyjosiuhj5g5q_@microsoft+api-extractor@7.38.3_@swc+core@1._vrr4ftrqdgefidi24lgf7nlltu/node_modules/tsup/dist/index.js"(exports) {
|
|
95511
95511
|
"use strict";
|
|
95512
95512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95513
95513
|
function _interopRequireDefault(obj) {
|
|
@@ -97874,77 +97874,69 @@ var require_dist5 = __commonJS({
|
|
|
97874
97874
|
projectFolder = projectFolder.slice(0, -1);
|
|
97875
97875
|
}
|
|
97876
97876
|
!options.silent && logger2.info("dts", `\u26A1 Preparing to run API Extractor (DTS generate): ${projectFolder}`);
|
|
97877
|
-
const relativeProjectFolder = _path2.default.
|
|
97878
|
-
_path2.default.
|
|
97879
|
-
options.workspaceRoot,
|
|
97880
|
-
|
|
97877
|
+
const relativeProjectFolder = _path2.default.join(
|
|
97878
|
+
_path2.default.relative(
|
|
97879
|
+
_path2.default.join(options.workspaceRoot, projectFolder),
|
|
97880
|
+
options.workspaceRoot
|
|
97881
97881
|
),
|
|
97882
|
-
|
|
97882
|
+
".."
|
|
97883
97883
|
);
|
|
97884
97884
|
const apiReferenceProjectDir = _path2.default.join(
|
|
97885
|
-
"<projectFolder>",
|
|
97886
97885
|
relativeProjectFolder,
|
|
97887
97886
|
"docs",
|
|
97888
97887
|
"api-reports",
|
|
97889
97888
|
options.projectRoot
|
|
97890
|
-
);
|
|
97889
|
+
).replaceAll("\\", "/");
|
|
97891
97890
|
let configObject = {
|
|
97892
|
-
mainEntryPointFilePath: _path2.default.join(
|
|
97893
|
-
"<projectFolder>",
|
|
97891
|
+
mainEntryPointFilePath: `<projectFolder>/${_path2.default.join(
|
|
97894
97892
|
relativeProjectFolder,
|
|
97895
97893
|
inputFilePath.replace(options.workspaceRoot, "")
|
|
97896
|
-
),
|
|
97894
|
+
).replaceAll("\\", "/")}`,
|
|
97897
97895
|
apiReport: {
|
|
97898
97896
|
enabled: options.apiReport !== false,
|
|
97899
97897
|
reportFileName: "api-report.md",
|
|
97900
|
-
reportFolder: apiReferenceProjectDir
|
|
97901
|
-
reportTempFolder: _path2.default.join(
|
|
97898
|
+
reportFolder: `<projectFolder>/${apiReferenceProjectDir}`,
|
|
97899
|
+
reportTempFolder: `<projectFolder>/${_path2.default.join(
|
|
97902
97900
|
"<projectFolder>",
|
|
97903
97901
|
relativeProjectFolder,
|
|
97904
97902
|
"tmp",
|
|
97905
97903
|
"api-reports"
|
|
97906
|
-
)
|
|
97904
|
+
).replaceAll("\\", "/")}`
|
|
97907
97905
|
},
|
|
97908
97906
|
docModel: {
|
|
97909
97907
|
enabled: options.docModel !== false,
|
|
97910
|
-
apiJsonFilePath: _path2.default.join(
|
|
97908
|
+
apiJsonFilePath: `<projectFolder>/${_path2.default.join(
|
|
97911
97909
|
apiReferenceProjectDir,
|
|
97912
97910
|
relativeProjectFolder,
|
|
97913
97911
|
"documents-model.api.json"
|
|
97914
|
-
)
|
|
97912
|
+
).replaceAll("\\", "/")}`
|
|
97915
97913
|
},
|
|
97916
97914
|
dtsRollup: {
|
|
97917
97915
|
enabled: true,
|
|
97918
|
-
untrimmedFilePath: _path2.default.join(
|
|
97919
|
-
"<projectFolder>",
|
|
97916
|
+
untrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97920
97917
|
relativeProjectFolder,
|
|
97921
97918
|
options.outDir,
|
|
97922
97919
|
`index${dtsExtension}`
|
|
97923
|
-
),
|
|
97924
|
-
betaTrimmedFilePath: _path2.default.join(
|
|
97925
|
-
"<projectFolder>",
|
|
97920
|
+
).replaceAll("\\", "/")}`,
|
|
97921
|
+
betaTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97926
97922
|
relativeProjectFolder,
|
|
97927
97923
|
options.outDir,
|
|
97928
97924
|
"index-beta.d.ts"
|
|
97929
|
-
),
|
|
97930
|
-
publicTrimmedFilePath: _path2.default.join(
|
|
97931
|
-
"<projectFolder>",
|
|
97925
|
+
).replaceAll("\\", "/")}`,
|
|
97926
|
+
publicTrimmedFilePath: `<projectFolder>/${_path2.default.join(
|
|
97932
97927
|
relativeProjectFolder,
|
|
97933
97928
|
options.outDir,
|
|
97934
97929
|
"index-public.d.ts"
|
|
97935
|
-
)
|
|
97930
|
+
).replaceAll("\\", "/")}`
|
|
97936
97931
|
},
|
|
97937
97932
|
tsdocMetadata: {
|
|
97938
97933
|
enabled: options.tsdocMetadata !== false,
|
|
97939
|
-
tsdocMetadataFilePath:
|
|
97940
|
-
"<projectFolder>",
|
|
97941
|
-
"tsdoc-metadata.api.json"
|
|
97942
|
-
)
|
|
97934
|
+
tsdocMetadataFilePath: "<projectFolder>/tsdoc-metadata.api.json"
|
|
97943
97935
|
},
|
|
97944
97936
|
compiler: {
|
|
97945
97937
|
tsconfigFilePath
|
|
97946
97938
|
},
|
|
97947
|
-
projectFolder
|
|
97939
|
+
projectFolder: `./${projectFolder}`
|
|
97948
97940
|
};
|
|
97949
97941
|
const prepareOptions = {
|
|
97950
97942
|
configObject,
|