Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts files in published library #2

Open
ghost opened this issue Apr 8, 2018 · 0 comments
Open

ts files in published library #2

ghost opened this issue Apr 8, 2018 · 0 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Apr 8, 2018

Hi,

It seems the published npm package contains the TypeScript files as well. This causes the following Angular CLI compiler errors:

...\node_modules\ng2-content-tools\src\directive.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
...\node_modules\ng2-content-tools\src\service.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).

Could you please publish the package without these files?

Thanks!
Djairho

@SmallhillCZ SmallhillCZ self-assigned this Apr 8, 2018
@SmallhillCZ SmallhillCZ added the bug label Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant