392 Commits

Author SHA1 Message Date
Artur Androsovych
2db6f89d04
feat(angular): allow exporting function and promise within the custom Webpack config (#7129) 2021-09-24 18:19:14 -04:00
Leosvel Pérez Espinosa
9f1fe34b8b
fix(angular): update ng-package.json dest property when moving a library (#7132) 2021-09-24 17:58:03 +01:00
Artur Androsovych
8d0b421545
feat(angular): allow exporting function and promise within the custom Webpack config (#7029) 2021-09-24 11:10:32 -04:00
Leosvel Pérez Espinosa
d52aed9fde
fix(angular): remove extra comma when generating application with --inlineTemplate (#7126) 2021-09-24 15:24:18 +01:00
Miroslav Jonaš
7c4643a914
chore(linter): upgrade typescript-eslint to latest version (#7060) 2021-09-21 14:07:09 +02:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Bjorn S
34848b8612
fix(angular): adds missing @angular/cdk to migrations
If @angular/material is used and updated, without updating the underlaying @angular/cdk (and is used); the application might have trouble starting and result in weird errors that are hard to debug.

Example error:
```
./node_modules/@angular/material/fesm2015/autocomplete.js:536:32-47 - Error: export '_getEventTarget' (imported as '_getEventTarget') was not found in '@angular/cdk/platform' (possible exports: Platform, PlatformModule, _getFocusedElementPierceShadowDom, _getShadowRoot, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior)
```

Fixed after updating the @angular/cdk to the same version as @angular/material.
2021-09-15 11:48:47 -04:00
Ali Yusuf
93f9569deb feat(angular): add support to sass style to the generator 2021-09-15 09:58:49 -04:00
Colum Ferry
aa81561b06
fix(angular): importPath migration to fix broken paths (#6902)
Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed

ISSUES CLOSED: #6648
2021-09-01 12:58:32 -04:00
srleecode
69005cc097
fix (angular): allows importing from @nrwl/angular:init (#6883)
* fix (angular): allows importing from @nrwl/angular:init

fix (angular): allows importing from @nrwl/angular:init

Closes #6790

* chore(angular): fixed formatting error

chore(angular): fixed formatting error
2021-08-31 16:47:25 -04:00
Jason Jean
1b6c0ee7fa
feat(misc): add x-type to app and lib generators (#6874) 2021-08-27 19:28:01 -04:00
Chau Tran
62f2fb621f
fix(angular): move upgrade 12.2 to 12.9.0 migrations (#6857)
* fix(angular): move upgrade 12.2 to 12.9.0 migrations

* fix(angular): move typescript version to 12.9

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-26 13:39:28 -04:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04:00
Chau Tran
5ff55ced15
feat(angular): upgrade to ~12.2.0 (#6836)
* feat(angular): upgrade to ~12.2.0

* fix(angular): adjust nrwl/angular packageJson to pass depCheck

* fix(angular): add @angular/platform-server to migrations

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-25 15:51:22 -04:00
Brandon
c1c7a42444
feat(angular): update NgRx to 12.4.0 (#6828) 2021-08-24 11:26:12 -04:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Colum Ferry
592c47ab6f
Revert "fix(angular): mfe not installing webpack correctly (#6789)" (#6793)
This reverts commit ee47b1769068551bcaf03f2ac6086091d4ec6dc3.
2021-08-20 15:29:20 +00:00
Colum Ferry
ee47b17690
fix(angular): mfe not installing webpack correctly (#6789) 2021-08-20 15:47:45 +01:00
Juri
a3b22aae50 fix(angular): don't error when project configuration has no targets 2021-08-19 18:10:10 +02:00
Jason Jean
6fbf7ffa16
feat(misc): remove ts-node, tslib, and dotenv from empty workspace package.json (#6763) 2021-08-18 17:36:11 -04:00
Colum Ferry
149a357c6e
fix(angular): prevent default importPath for publishable libs (#6755) 2021-08-17 16:59:49 +00:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor (#6706) 2021-08-16 16:23:17 -04:00
srleecode
27dd4cf7ff
feat(generators): Export @nrwl/angular:init (#6721)
feat(generators): Export @nrwl/angular:init

Exports @nrwl/angular:init so that it can be used by other generators

Closes #6713
2021-08-16 14:07:31 +01:00
Leosvel Pérez Espinosa
e31075362a
fix(angular): init cypress correctly if needed when creating an app (#6652) 2021-08-09 12:06:48 +01:00
Jason Jean
c13c02d27e
fix(angular): fix angular projects not being standalone when all other projects are standalone (#6641) 2021-08-06 20:48:35 -04:00
Nrwl CI Machine
bc4ec52f53 cleanup(misc): avoid importing rxjs in the core path 2021-08-06 16:29:16 -04:00
Juri
b5b5f250d0 feat(react): add Nx React Storybook preset 2021-08-06 18:11:47 +02:00
Jason Jean
466826c364
fix(angular): lock version of angular-devkit to ~12.1.0 (#6620) 2021-08-05 12:13:15 -04:00
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher (#6550) 2021-08-04 09:45:07 -04:00
Colum Ferry
db489d3418
fix(angular): webpack-server needs to work when there is no defaultConfiguration set (#6588) 2021-08-03 16:18:59 -04:00
James Henry
4e8aa4ba68
chore(core): refactor executors to always read from cached project graph (#6446) 2021-07-29 15:50:29 -04:00
Miroslav Jonaš
117ee9308a
cleanup(core): use isNpmProject and cleanup project graph utils (#6522)
* cleanup(core): use isNpmProject and cleanup project graph utils

* chore(core): mark utils/buildable-libs-utils as deprecated
2021-07-29 11:17:31 -04:00
Jason Jean
d68d2ad965
fix(angular): add eslint to protractor apps (#6524) 2021-07-27 20:36:29 +00:00
Leosvel Pérez Espinosa
c6fee867aa
fix(misc): handle moving to a subfolder which results in the same project name and normalize import path (#6507) 2021-07-26 14:56:30 +01:00
Miroslav Jonaš
a9afb97307
docs(core): fix broken links and add missing latest prefix (#6471) 2021-07-23 08:16:54 -04:00
Craigory V Coppola
729d83997f
fix(angular): generated ngrx facade tests should pass (#6458) 2021-07-21 23:27:57 +00:00
Colum Ferry
3e6a3158be
feat(angular): add an serve-mfe target to host app (#6444) 2021-07-21 21:58:56 +00:00
Jason Jean
0326be4dae
fix(angular): change version of angular migrations so they run during beta (#6454) 2021-07-21 17:58:00 +00:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Colum Ferry
f5587dc984
fix(angular): broken buildable libs importPath calculation (#6429)
Buildable libs with Angular Lib generator were broken due to additional `/` in the `importPath`.
2021-07-21 09:29:21 +01:00
James Henry
f76a33f5bb
chore(core): add readCachedProjectGraph and deprecate previous utility (#6385)
* chore(core): add readCachedProjectGraph and deprecate previous utility

* chore(core): whitespace

* chore(core): explicitly use type ProjectGraphCache

* chore(core): fix typo
2021-07-20 11:44:48 -04:00
Jason Jean
9c3c296d89
fix(angular): fix generating apps with protractor (#6422) 2021-07-20 11:02:31 -04:00
Colum Ferry
227eed9172
feat(angular): generate entry module for remote mfes (#6403) 2021-07-20 12:00:00 +01:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Colum Ferry
bea5ed458d
feat(angular): upgrade angular to ~12.1.0 (#6390) 2021-07-16 18:44:16 +00:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Leosvel Pérez Espinosa
f26eb1cffc
fix(angular): update jasmine-marbles to support jest-circus test runner (#6383) 2021-07-15 13:48:15 -04:00
Colum Ferry
4697ce1356
feat(angular): use webpack-server executor for mfe apps (#6373)
Use webpack-server for MFE angular apps as it will merge the webpack configs.
2021-07-15 15:23:06 +01:00