Skip to content

Commit 20bdd7a

Browse files
authored
fix: add tsconfig.aegir.json to typesVersions (#756)
Otherwise resolution of the shared config fails during tsc compilation without an explicit path to the file in your `node_modules` folder which means the workflow of using gitpkg.now.sh to depend on monorepo packages in PRs is completely broken if they have a prepare step or any other use of typescript. This is one solution, another would be to copy tsconfig.aegir.json to the `dist` folder during a build, I have no opinion on which is better. Refs: microsoft/TypeScript#43245
1 parent 69add6d commit 20bdd7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
],
4040
"src/": [
4141
"dist/src/index"
42+
],
43+
"src/config/tsconfig.aegir.json": [
44+
"src/config/tsconfig.aegir.json"
4245
]
4346
}
4447
},

0 commit comments

Comments
 (0)