@storm-software/workspace-tools 1.30.6 → 1.30.8
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/index.js +7 -3
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +7 -4
- package/src/executors/tsup/get-config.js +5 -1
- package/src/executors/tsup-browser/executor.js +7 -4
- package/src/executors/tsup-neutral/executor.js +7 -4
- package/src/executors/tsup-node/executor.js +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.30.7](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.6...workspace-tools-v1.30.7) (2023-12-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Resolved issue with promise on configuration object ([1f2046f](https://github.com/storm-software/storm-ops/commit/1f2046f4ad6bedbc314535b424cf1b5511f31269))
|
|
7
|
+
|
|
8
|
+
## [1.30.6](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.5...workspace-tools-v1.30.6) (2023-12-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added debugging logs ([6801075](https://github.com/storm-software/storm-ops/commit/68010759c1cf8ec21c676886318ee04d3da60533))
|
|
14
|
+
|
|
1
15
|
## [1.30.5](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.30.4...workspace-tools-v1.30.5) (2023-12-14)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -117447,10 +117447,14 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
|
|
|
117447
117447
|
const entry = globSync(entryPoints, {
|
|
117448
117448
|
withFileTypes: true
|
|
117449
117449
|
}).reduce((ret, filePath) => {
|
|
117450
|
+
let formattedPath = workspaceRoot.replaceAll("\\", "/");
|
|
117451
|
+
if (formattedPath.toUpperCase().startsWith("C:")) {
|
|
117452
|
+
formattedPath = formattedPath.substring(2);
|
|
117453
|
+
}
|
|
117450
117454
|
let propertyKey = (0, import_devkit.joinPathFragments)(
|
|
117451
117455
|
filePath.path,
|
|
117452
117456
|
removeExtension(filePath.name)
|
|
117453
|
-
).replaceAll("\\", "/").replaceAll(
|
|
117457
|
+
).replaceAll("\\", "/").replaceAll(formattedPath, "").replaceAll(sourceRoot, "").replaceAll(projectRoot, "");
|
|
117454
117458
|
if (propertyKey) {
|
|
117455
117459
|
while (propertyKey.startsWith("/")) {
|
|
117456
117460
|
propertyKey = propertyKey.substring(1);
|
|
@@ -117585,14 +117589,14 @@ ${Object.keys(options).map(
|
|
|
117585
117589
|
}, []);
|
|
117586
117590
|
const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
|
|
117587
117591
|
const internalDependencies = [];
|
|
117588
|
-
const projectConfigs = getProjectConfigurations();
|
|
117592
|
+
const projectConfigs = await Promise.resolve(getProjectConfigurations());
|
|
117589
117593
|
console.log("Project Configs:");
|
|
117590
117594
|
console.log(projectConfigs);
|
|
117591
117595
|
if (implicitDependencies && implicitDependencies.length > 0) {
|
|
117592
117596
|
options.external = implicitDependencies.reduce(
|
|
117593
117597
|
(ret, key) => {
|
|
117594
117598
|
console.log(`\u26A1 Adding implicit dependency: ${key}`);
|
|
117595
|
-
const projectConfig =
|
|
117599
|
+
const projectConfig = projectConfigs[key];
|
|
117596
117600
|
if (projectConfig?.targets?.build) {
|
|
117597
117601
|
const packageJson = (0, import_devkit2.readJsonFile)(
|
|
117598
117602
|
projectConfig.targets?.build.options.project
|