50 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
e0b3e73d7a
feat(angular): add plugin for inferring nodes from angular.json files (#27804)
<!-- 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 -->

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

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
<!-- Fixes NXC-887 -->

Fixes #

---------

Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2024-09-17 11:00:15 -04:00
Emily Xiong
6141f44203
feat(core): add keepExistingVersions to all packages (#21169) 2024-01-17 14:22:58 -05:00
Leosvel Pérez Espinosa
047dc22aed
cleanup(misc): clean up init generators (#21088) 2024-01-16 15:29:44 +01:00
Leosvel Pérez Espinosa
9bc654d495
cleanup(angular): remove ngUniversalVersion constant from latest versions (#20110) 2023-11-08 09:10:38 +00:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Miroslav Jonaš
cfa9a91038
fix(angular): dont add .angular/cache to prettier again if existing (#19183) 2023-09-15 17:14:13 +03:00
Caleb Ukle
1dcb80d447
feat(angular): add playwright to e2eTestRunner option (#18163) 2023-08-02 11:59:00 -04:00
Leosvel Pérez Espinosa
f45aa076da
feat(angular): support angular v16 (#15592) 2023-05-03 11:02:07 -04:00
Jason Jean
da158bc47e
feat(angular): replace usages of @nrwl with @nx (#16377)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-04-19 10:59:58 -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
6221cdae45
cleanup(angular): remove devkit schematics from ensured package (#15902) 2023-03-29 16:55:46 +01:00
Colum Ferry
defa3505d7
cleanup(angular): remove dep on schematics angular (#15878) 2023-03-29 15:26:36 +01:00
Leosvel Pérez Espinosa
26c864ae6f
fix(angular): add angular cache dir to .prettierignore (#15923) 2023-03-28 11:40:32 +01:00
Colum Ferry
6100064db9
cleanup(angular): add versions util (#15829) 2023-03-22 18:39:08 +00:00
Colum Ferry
ec1d8e1bf9
cleanup(angular): remove v14 folder for init (#15816) 2023-03-22 14:36:22 +00:00
Colum Ferry
7812f41994
feat(angular): remove protractor (#15627) 2023-03-16 12:38:04 -04:00
Colum Ferry
2ab66dd410
cleanup(angular): remove karma generation support (#15419) 2023-03-09 11:28:31 +00:00
Colum Ferry
8744698a01
feat(devkit): move runTasksInSerial to devkit (#15467) 2023-03-06 13:55:44 -05:00
Jason Jean
fa6e8ea987
fix(js): refactor ensurePackage (#15074) 2023-02-22 18:47:40 -05:00
Jack Hsu
71fd015f3d
fix(js): do not generate tsconfig.base.json when creating standalone projects (#15099)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-17 20:43:03 -05:00
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
Emily Xiong
032efc2cfb
fix(angular): ensure peer deps are installed when initializing the plugin (#14906)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-02-14 11:07:51 -05:00
Leosvel Pérez Espinosa
b688412617
fix(angular): prevent init generator to bump versions and consider installed core packages versions (#14890)
Fixes https://github.com/nrwl/nx/issues/14324
2023-02-09 14:26:40 +00: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
Leosvel Pérez Espinosa
6579879218
feat(angular): add backwards compat support for package and ng-packagr-lite executors (#14264) 2023-01-11 11:39:27 +01:00
Colum Ferry
5970246b51
feat(angular): add backwards compat support for library (#14249) 2023-01-10 16:20:26 +00:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Colum Ferry
1d4900d029
feat(angular): add backwards compat support for karma (#13582) 2022-12-02 14:43:22 +01:00
Colum Ferry
0db1b483aa
feat(angular): add backwards compat support to init generator (#13548) 2022-12-01 16:57:02 +00:00
Colum Ferry
80a623ed4a
fix(angular): do not use ngcc for new workspaces and projects #12386 (#12504) 2022-10-11 10:29:01 +01:00
Leosvel Pérez Espinosa
712e6dda88
cleanup(angular): move all inline version numbers to versions.ts (#11258) 2022-07-22 17:02:13 +01:00
Leosvel Pérez Espinosa
46ad8c3d63
feat(angular): support angular v14.1.0 (#11155) 2022-07-22 16:01:24 +01:00
Leosvel Pérez Espinosa
01f7376169
cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 (#10560) 2022-06-02 13:29:11 -04:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Stian Morsund
eb4243bc87
feat(angular): add flag for skipping the postinstall script in relevant generators (#10208) 2022-05-09 12:48:41 +01:00
Leosvel Pérez Espinosa
88a7ad7654
cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular (#9244)
* cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular

* cleanup(angular): support merged packages (cli, tao, nx)

* cleanup(angular): update make-angular-cli-faster to support packages consolidation
2022-03-18 17:18:10 -04:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson (#8806) 2022-02-01 16:32:47 -05:00
Leosvel Pérez Espinosa
2b00c99db1
feat(angular): add support for configuring tailwind in existing and new apps and buildable/publishable libs (#8043) 2021-12-16 17:25:32 +00:00
Leosvel Pérez Espinosa
153e038c9b
fix(angular): install @angular/cli if not installed (#7910) 2021-11-26 17:09:09 +00:00
Leosvel Pérez Espinosa
adafc971a8
fix(angular): add .angular to gitignore only when it hasn't already been added (#7686) 2021-11-10 12:13:40 +00:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05: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
6fbf7ffa16
feat(misc): remove ts-node, tslib, and dotenv from empty workspace package.json (#6763) 2021-08-18 17:36:11 -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
466826c364
fix(angular): lock version of angular-devkit to ~12.1.0 (#6620) 2021-08-05 12:13:15 -04:00
Craigory V Coppola
f9751786c6
feat(testing): support for Jest 27 (#5873)
- Sets default testEnvironment to web
- Updates node generators to specify testEnvironment: node
- Provides migrations to update existing jest.config.js files
- Bump angular-preset-jest to latest

ISSUES CLOSED: #5771
2021-06-11 13:25:57 -05:00
Leosvel Pérez Espinosa
55b37ceeeb
cleanup(angular): migrate karma generator to nx devkit (#5821) 2021-05-28 11:21:16 +01:00
Colum Ferry
488804163e
cleanup(angular): refactor init generator to use Nx Devkit (#5735)
Refactor `init` generator to use Nx Devkit
2021-05-21 11:33:59 +00:00