Skip to content

Commit

Permalink
fix(workspace-tools): Fixed issue with invalid chars in entry name
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanpj committed Nov 25, 2023
1 parent c784945 commit 5d849dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/workspace-tools/src/executors/tsup/get-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export function getConfig(
join(filePath.path, removeExtension(filePath.name))
.replaceAll("/", "-")
.replaceAll("\\", "-")
.replaceAll(":", "")
] = join(filePath.path, filePath.name);

return ret;
Expand Down
6 changes: 3 additions & 3 deletions patches/tsup@8.0.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ index 36191e8e511f9cc413d70403ac86c989890f8d65..c88e541262ba18e25573b1879e447ac9
interface NormalizedExperimentalDtsConfig {
entry: {
diff --git a/dist/index.js b/dist/index.js
index 2c8ba016932710c259e84a7a070271eb4f73da5b..e0b172b33c9741b6777352c589a940cce9bdceb5 100644
index 2c8ba016932710c259e84a7a070271eb4f73da5b..e547945d6a991a7309d0ba1f719629b664f6d76d 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1603,6 +1603,36 @@ var generateExternal = async (external) => {
Expand Down Expand Up @@ -210,11 +210,11 @@ index 2c8ba016932710c259e84a7a070271eb4f73da5b..e0b172b33c9741b6777352c589a940cc
- }
+ },
+ files: [
+ ...rawTsconfig.data.files,
+ ...(rawTsconfig.data.files ?? {}),
+ `${options.projectRoot}/**/*`
+ ],
+ include: [
+ ...rawTsconfig.data.include,
+ ...(rawTsconfig.data.files ?? {}),
+ `${options.projectRoot}/**/*`
+ ],
},
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5d849dd

Please sign in to comment.