38 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
752d418f78
feat(angular): support angular cli v20.0.0-rc.3 (#30715)
Add support for the Angular CLI **20.0.0-rc.3** version.
2025-05-26 10:00:47 -04:00
Leosvel Pérez Espinosa
3eb9f6a822
feat(angular): remove deprecated functionalities for v21 (#30769)
Remove the deprecated functionalities scheduled to be removed in Nx v21.

BREAKING CHANGE: Remove the deprecated data persistence operators
previously exported in `@nx/angular` and the deprecated testing utils
previously exported in `@nx/angular/testing`.
2025-04-17 09:12:32 -04:00
Leosvel Pérez Espinosa
3ec539065d
feat(angular): add support for angular v19 (#28847)
## Third-party deps support for Angular v19

- [x] `jest-preset-angular`
  - [x] PRs:
    - [x] https://github.com/thymikee/jest-preset-angular/pull/2835
  - [x] Released:
- [x] RC:
https://github.com/thymikee/jest-preset-angular/releases/tag/v14.4.0-rc.0
- [x] Stable:
https://github.com/thymikee/jest-preset-angular/releases/tag/v14.4.0
- [x] Angular ESLint
  - [x] PRs:
    - [x] https://github.com/angular-eslint/angular-eslint/pull/2109
  - [x] Released:
- [x]
https://github.com/angular-eslint/angular-eslint/releases/tag/v19.0.0
- [x] Storybook
  - [x] PRs:
    - [x] https://github.com/storybookjs/storybook/pull/29659
    - [x] https://github.com/storybookjs/storybook/pull/29677
  - [x] Released:
    - [x] https://github.com/storybookjs/storybook/pull/29679
- [ ] NgRx
  - [x] PRs:
    - [x] https://github.com/ngrx/platform/pull/4602
  - [ ] Released:
- [x] Beta:
https://github.com/ngrx/platform/blob/main/CHANGELOG.md#1900-beta0-2024-11-20
    - [ ] Stable:
- [ ] Analog
  - [x] PRs:
    - [x] https://github.com/analogjs/analog/pull/1447
    - [x] https://github.com/analogjs/analog/pull/1451
  - [ ] Released:
- [x] Beta:
https://github.com/analogjs/analog/releases/tag/v1.10.0-beta.6
    - [ ] Stable:

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

Angular v19 is not supported.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Angular v19 should be supported.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
 
Fixes #29028
2024-12-02 11:43:24 -05:00
Pavlo Grosse
15b7e9f079
feat(angular): add helper function to devkit to add viewProviders to a component (#26526)
## Current Behavior

Angular Nx utils have `addProviderToComponent` function to add a
provider to an Angular component, but are missing a function to add
viewProviders.

## Expected Behavior

There should be a function like `addProviderToComponent` to add view
providers to a component.

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2024-06-17 10:51:49 +02:00
Leosvel Pérez Espinosa
626605ef97
chore(angular): skip formatting generated code when not needed in unit tests (#20819) 2023-12-18 11:05:44 -05:00
Leosvel Pérez Espinosa
25d6ec3a92
feat(angular): support angular v17 (#19689) 2023-11-07 15:45:42 -05:00
Leosvel Pérez Espinosa
b9eba9d72d
cleanup(angular): switch tests to use project name and root as-provided format by default (#18792) 2023-08-25 09:45:09 +01:00
Miroslav Jonaš
ab9019df1b
feat(linter): deprecate tslint (#18464) 2023-08-10 09:39:23 -04:00
Leosvel Pérez Espinosa
f45aa076da
feat(angular): support angular v16 (#15592) 2023-05-03 11:02:07 -04:00
Miroslav Jonaš
2dd59c3b57
feat(core): extract js related code from affected and hasher (#16244) 2023-04-18 10:42:05 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Colum Ferry
e71d0156b1
feat(angular): export some utils as public api #15669 (#16056) 2023-04-04 09:16:57 +01:00
Colum Ferry
98001cc489
cleanup(core): move ast utils to js (#15540) 2023-03-08 18:30:29 -05:00
Colum Ferry
c82ba4e9d4
feat(js): add getSourceNodes to nrwl/js package (#15497) 2023-03-08 18:27:07 -05:00
Jason Jean
3d4f590c07
fix(core): do not add typescript in new empty repos (#15163)
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2023-02-27 12:08:36 -05:00
Colum Ferry
88199e5653
fix(angular): ngrx should attach to parent routes correctly (#15221) 2023-02-24 15:26:03 +00:00
Jason Jean
fa6e8ea987
fix(js): refactor ensurePackage (#15074) 2023-02-22 18:47:40 -05:00
Colum Ferry
0f95773560
fix(angular): add routes correctly (#15171) 2023-02-22 15:17:11 +00:00
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
4javier
6422d3da9d
fix(angular): remove import of missing environment file (#14640)
Co-authored-by: 4javier <4javier4@gmail.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-01-27 16:46:10 +00:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Colum Ferry
b076f0380a
fix(angular): ngrx attaching to route and non-standalone apis for 14 (#14489)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-01-20 12:50:06 +00:00
Colum Ferry
5fba936254
feat(angular): add standalone support to NgRx generator (#14141) 2023-01-05 12:46:54 +00:00
Colum Ferry
d9efb98ebb
feat(angular): add ast util to add a provider to bootstrapApplication (#14136) 2023-01-04 11:34:18 -05:00
Colum Ferry
4de2a9d5d3
feat(angular): add ast util to add a provider to a route (#14133) 2023-01-04 13:21:30 +00:00
Colum Ferry
762c9ee50d
feat(angular): add isStandalone util to check for standalone decorators (#14129) 2023-01-04 11:04:53 +00:00
Colum Ferry
64d7ceb447
feat(angular): add ast utils for standalone decorators (#14108) 2023-01-03 15:05:41 +00:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Miroslav Jonaš
ab6f62a9b5
feat(core): move runtime-lint-utils to eslint plugin (#13222) 2022-11-18 12:24:53 +01:00
Colum Ferry
d34dff1825
fix(angular): support routes as route array type for ast parsing #12707 (#12829) 2022-10-26 10:46:57 +01:00
Colum Ferry
6d9ec39c75
feat(angular): create routes file pattern (#11930)
add host remote correctly

library routes

fix tests
2022-09-28 15:54:53 +01:00
Colum Ferry
1a5a09b790
chore(angular): add standalone router helper (#11632) 2022-08-18 14:12:06 +01:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter (#7912) 2021-12-03 11:05:09 -05: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
Leosvel Pérez Espinosa
122f7eca72
cleanup(angular): migrate downgrade-module and upgrade-module generators to nx devkit (#6083) 2021-06-22 10:20:02 +01:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Colum Ferry
3e8ff083f2
cleanup(angular): refactor library generator to use nx devkit (#5935)
* cleanup(angular): refactor library generator to use nx devkit

Refactor Library Generator to use Nx Devkit
2021-06-14 11:05:32 +01:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit (#5927) 2021-06-09 10:35:09 +01:00