You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating a typescript project to use aegir with typescript declaration files being generated on build time, typescript projects like https://github.com/ChainSafe/js-libp2p-gossipsub fail to build.
> libp2p-gossipsub@0.8.0 prebuild /Users/vsantos/work/gh/libp2p/gossipsub-js
> tsc
> libp2p-gossipsub@0.8.0 build /Users/vsantos/work/gh/libp2p/gossipsub-js
> aegir build
error TS18003: No inputs were found in config file '/Users/vsantos/work/gh/libp2p/gossipsub-js/tsconfig-types.aegir.json'. Specified 'include' paths were '["src","package.json"]' and 'exclude' paths were '["./src"]'.
This project has its own tsconfig file that seems to cause conflicts with aegir.
They should just do npx aegir build --no-types since they build .d.ts in another way.
Also the TS cmds work nicer with custom configs in the latest versions.
Please re-open if you think more discussion is needed.
When updating a typescript project to use
aegir
with typescript declaration files being generated on build time, typescript projects like https://github.com/ChainSafe/js-libp2p-gossipsub fail to build.This project has its own tsconfig file that seems to cause conflicts with aegir.
There are two possibilities here that I can see:
The text was updated successfully, but these errors were encountered: