1219 Commits

Author SHA1 Message Date
Juri Strumpflohner
1241068fd4
fix(storybook): find Angular components in destructured arrays (#7494)
ISSUES CLOSED: 7117
2021-10-29 20:26:10 +03:00
Leosvel Pérez Espinosa
8311a172d7
feat(angular): add secondary entry point generator for publishable libraries (#7501) 2021-10-26 11:12:53 +01:00
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly (#7508) 2021-10-25 12:01:53 -04:00
Leosvel Pérez Espinosa
5853d83fb1
cleanup(angular): remove deprecated utilities related to the angular devkit (#7386)
BREAKING CHANGE:
All the utilities located at `@nrwl/angular/src/utils/ast-utils` were removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilities `runSchematic` and `runExternalSchematic` located in `@nrwl/angular/src/utils/testing` were removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed.
2021-10-18 12:57:56 -05:00
Leosvel Pérez Espinosa
86613f6e66
cleanup(angular): remove deprecated options from the ngrx generator (#7404)
BREAKING CHANGE:
The deprecated options `onlyAddFiles` and `onlyEmptyRoot` from the `ngrx` generator were removed,
`skipImport` and `minimal` should be used instead.
2021-10-18 13:44:37 -04:00
Leosvel Pérez Espinosa
e29e801d5d
fix(angular): fix building publishable libraries with secondary entry points when enableIvy is set to false (#7405) 2021-10-18 15:30:24 +01:00
Miroslav Jonaš
d9fd42eec8
chore(linter): update eslint to latest v7 version (#7400) 2021-10-18 15:20:51 +02:00
Colum Ferry
b0b9c8fc2e
feat(angular): allow port to be added to non-mfe app (#7403) 2021-10-18 14:04:38 +01:00
Leosvel Pérez Espinosa
e057892272
fix(angular): add required postcss dependencies when creating a buildable lib (#7402) 2021-10-18 05:44:01 -04:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
Colum Ferry
65b65bf4c5
docs(angular): provide reason for imported remote entry module (#7377) 2021-10-15 11:38:44 +01:00
Leosvel Pérez Espinosa
8973d6ba69
chore(angular): add postcss deps needed by tailwind support in publishable libraries (#7359) 2021-10-15 04:34:02 -06:00
Brandon
28f28af487
feat(angular): update NgRx to 12.5.0 (#7370) 2021-10-14 23:21:28 +00:00
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json (#6642)
* feat(core): consolidate settings between workspace.json + nx.json

workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.

* chore(core): fix angular unit tests w/ new config

* chore(core): fix failing tests

* chore(core): fix formatting

* chore(core): fix more tests

* chore(core): normalize-nx-json feedback

* chore(core): Fix more unit tests

* chore(core): fix remaining tests in workspace

* chore(linter): fix remaining linter tests

* chore(core): fix remaining spec + build issues

* chore(core): formatting fixes

* feat(core): migration script to move config options to new locations

* chore(core): fix e2e tests

* chore(core): run format

* chore(react-native): fix failing tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): move properties to new location during format step

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): initial pass on ngcli-adapter for property consolidation

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(misc): fix tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* docs(core): update docs with changes

* chore(misc): fix tests

* chore(core): code review changes

updateWorkspaceJson -> updateWorkspace, no longer uses updater function

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix bug in ngcli impl

* fix(core): fix bug in ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* fix(core): fix ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix workspace e2e

* chore(core): fix nx-plugin e2e

* fix(core): move defaultProject to nx.json

* chore(core): fix broken workspace test

* chore(core): formatting

* chore(core): fix workspace format

* chore(core): add nxJson to ExecutorContext

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): remove all references ot `NxProjectConfiguration` from our code

* chore(core): Review Changes

* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Colum Ferry
20481d92e4
fix(angular): support tsconfig.json at root of workspace (#7333)
* fix(angular): support tsconfig.json at root of workspace

* fix(angular): typo in error

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2021-10-13 13:18:18 +01:00
Leosvel Pérez Espinosa
0a41a34013
fix(angular): handle components array as static member of the module when generating stories (#7321) 2021-10-13 09:59:57 +01:00
Leosvel Pérez Espinosa
a00f8e0e5b
feat(angular): add tailwind support when building publishable libraries (#7285) 2021-10-12 12:32:43 +01:00
Colum Ferry
654cfbf147
fix(angular): incremental builds with mfes #6923 (#7260) 2021-10-06 15:37:22 +01:00
Colum Ferry
2f2ede5ca5
cleanup(angular): add unit and e2e tests for extra reassurance (#6626)
* cleanup(angular): add unit and e2e tests for extra reassurance

After tests didn't fail but issues were introduced, add some extra tests to help catch breaking
changes

* chore(angular): increase timeout for e2e tests

* fix(angular): mfe not installing webpack correctly

Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2021-10-06 14:15:39 +01:00
Minijus L
259ac84c63
fix(angular): update jest-preset-angular to 10.0.1 (#7139) 2021-10-01 16:47:52 -04:00
Alex Herbig
8addb45fd0
fix(angular): stop modifying tags that match app name (#7137)
ISSUES CLOSED: #7097
2021-10-01 14:57:26 -04:00
Jonathan Romano
f8f09b91df
fix(linter): add setParserOptionsProject option to generators missing it (#7103) 2021-09-24 21:02:52 -04:00
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
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
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
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
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
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