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

feta(build): update to Angular 8. Use Angular CLI instead of ngm for building. Ensure compatibility with Ivy on application side. #1107

Merged
merged 10 commits into from Oct 23, 2019

Conversation

earshinov
Copy link
Contributor

@earshinov earshinov commented Aug 27, 2019

#1092

Some commands (copied from 7a34226):

npm run build - to build the library. Output is in dist/ng2-file-upload/.
npm run test - to run tests. Coverage report is in coverage/ as before.
npm run demo.serve - to build demo application and serve it through browsersync
npm run start - to run demo application using ng serve. Requires the library to be built and linked first.

Aux changes:
- Added package-lock.json to lock dependency versions
- Removed unused @angular/http from dependencies
Some commands:

npm run build      - to build the library.  Output is in dist/ng2-file-upload/.
npm run test       - to run tests.  Coverage report is in coverage/ as before.
npm run demo.serve - to build demo application and serve it through browsersync
npm run start      - to run demo application using `ng serve`.  Requires the library to be built and linked first.
…he application side)

Without this configuration, the following error occurs:

```
error TS-996002: Appears in the NgModule.imports of ...Module, but could not be resolved to an NgModule class
```

Configuruation taken from https://github.com/froala/angular-froala-wysiwyg/pull/329/files#diff-bb630a56aac9aa4924037d7db039769d
@marjan-georgiev
Copy link

Would appreciate this being reviewed and merged. As it is right now, the project is not compatible with Ivy and will stop working in angular 9.

@Domainv Domainv changed the title Update to Angular 8. Use Angular CLI instead of ngm for building. Ensure compatibility with Ivy on application side. feta(build): update to Angular 8. Use Angular CLI instead of ngm for building. Ensure compatibility with Ivy on application side. Oct 23, 2019
@Domainv Domainv merged commit d63c8ce into valor-software:development Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants