Closed janivo closed 3 years ago
The issue is probably that the dist/
folder inside the angular package was ignored. Due to a pipeline error I published the packages manually with the following command: npm publish --access=public
. During the publishing process, the npm publish
command looks for any .npmignore' files to exclude files from building that are listed there. If this file does not exist, the
.gitignore' file is taken (source: npmc docs). In this case the folder dist/
is listed there, which is why the folder dist
was excluded from the build.
The solution is to create an additional .npmignore file without the dist/
folder being listed there. The error did not occur in earlier versions due to other publishing mechanisms we have used.
It looks like it's working now
Yes, I released Version 1.0.1 so the dist files are correct now. But it still requires to release each package by hand. I want to find a way that automates the release process with a script.
I described the problem in https://github.com/inovex/elements/issues/110 and will close this issue for now
Describe the bug
Cannot find
InoElementsModule
in@inovex.de/elements-angular/
. Before the release of version 1.0.0, it was possible to import the Elements Module withimport { InoElementsModule } from '@inovex.de/elements-angular';
. With the current version, you have to import it with@inovex.de/elements-angular/src/ino-elements.module
which leads to other typescript errors.To Reproduce
Steps to reproduce the behavior:
@inovex.de/elements-angluar
with version being 1.0.0@inovex...
to@inovex.de...
.ng serve
Expected behavior
Should compile without any problems.
Your Environment
| Software | Version | | -------- | ------- | | @inovex.de/elements | 1.0.0 |