71 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
25d6ec3a92
feat(angular): support angular v17 (#19689) 2023-11-07 15:45:42 -05:00
Leosvel Pérez Espinosa
81e8d12ed1
fix(misc): do not normalize project name and root when using as-provided format (#19651) 2023-10-17 17:53:48 -04:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Miroslav Jonaš
bcb5965ec5
fix(angular): keep dependency-checks enabled for buildable libraries (#19047) 2023-09-07 15:14:45 +02:00
Colum Ferry
889f315f2c
fix(angular): buildable libs should lint correctly #18802 (#18837) 2023-08-25 15:46:14 +01: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
Caleb Ukle
1dcb80d447
feat(angular): add playwright to e2eTestRunner option (#18163) 2023-08-02 11:59:00 -04:00
Colum Ferry
9eaa240b4d
feat(angular): add --bundler flag for applications (#17919) 2023-07-03 16:22:37 +01:00
Leosvel Pérez Espinosa
f45aa076da
feat(angular): support angular v16 (#15592) 2023-05-03 11:02:07 -04:00
Jason Jean
739b4c2924
feat(linter): rename @nx/eslint-plugin-nx to @nx/eslint-plugin (#16420) 2023-04-20 13:25:56 -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
5a0a4e8d26
feat(repo): replace usages of @nrwl/ with @nx/ in tooling packages (#16351) 2023-04-18 12:15:33 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Caleb Ukle
85b3315b34
chore(misc): update snapshots to latest format (#16276) 2023-04-14 11:29:06 -04:00
Leosvel Pérez Espinosa
fa8ede1b4b
cleanup(angular): add unit tests coverage for generating a minimal application (#15693) 2023-03-20 16:00:37 +00:00
Leosvel Pérez Espinosa
e9b5181696
cleanup(angular): remove tsconfig.spec.json handling from application generator (#15731) 2023-03-20 10:56:23 -04:00
Leosvel Pérez Espinosa
a91513d961
fix(angular): do not set angularCompilerOptions in e2e tsconfig when generating an app (#15729) 2023-03-20 09:43:27 +00:00
Colum Ferry
d1d69e230c
cleanup(angular): replace usage of wrapAngularDevkitSchematics for application (#15698)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2023-03-17 08:34:15 +00:00
Leosvel Pérez Espinosa
3670f20fdb
cleanup(angular): fix unit tests setup so peer deps are not installed with ensurePackage (#15560) 2023-03-09 15:18:04 +00:00
Colum Ferry
2ab66dd410
cleanup(angular): remove karma generation support (#15419) 2023-03-09 11:28:31 +00:00
Colum Ferry
1e6a4f8e65
feat(angular): prompt users for standalone components in application (#14987) 2023-02-17 20:44:10 +00:00
Colum Ferry
066c3b1e71
fix(angular): unit test runner none should skip tests (#14916) 2023-02-10 16:15:33 +00:00
Dirko Odendaal
ee909cf7a5
feat(misc): conditionally allow starter template inclusion (#14268)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-01-27 15:07:07 +00:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Colum Ferry
3041b0a227
fix(angular): correctly error application when standalone is used in Angular < 14.1.0 (#14338) 2023-01-13 20:04:47 +01:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Victor Savkin
82fbb98e7d feat(misc): dont generate defaultProject for non standalone workspaces 2022-12-21 09:15:26 -05:00
Jason Jean
61d7d74378 fix(misc): fix tsconfig file includes 2022-12-05 10:39:03 -05:00
Victor Savkin
91c19f5c0a
feat(misc): do not generate tsconfig.base.json for simple standalone … (#13605) 2022-12-05 10:07:01 -05:00
Miroslav Jonaš
22e70d614e
fix(angular): fix root-project support for Angular (#13534) 2022-12-01 15:14:08 +01:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Leosvel Pérez Espinosa
70e43cdc77 feat(angular): add a preset to generate a workspace with a single app at the root 2022-11-21 11:17:03 -05:00
Colum Ferry
b084dddff0
feat(angular): support for Angular 15 (#12112) 2022-11-17 09:31:45 -05:00
Colum Ferry
6125dc011b
fix(angular): broken test (#12286) 2022-09-28 16:35:30 +01:00
Colum Ferry
56957cc292
cleanup(angular): remove deprecated schema options from app generator (#9821) 2022-09-28 15:55:24 +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
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00:00
Ashley Hunter
730d3235b4
feat(angular): add types to the generated tailwind configuration (#12018) 2022-09-15 14:34:46 +01:00
Colum Ferry
af93cfd597
feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Caleb Ukle
bd4e6ac323
fix(testing): exclude jest.config.ts in angular project tsconfigs (#11468) 2022-08-05 12:15:56 -05:00
Leosvel Pérez Espinosa
ba592f8a99
fix(angular): do not set a module federation remote project as the default project (#11127) 2022-07-13 14:19:06 +01:00
Caleb Ukle
8154191eb1
feat(testing): Cypress 10 and component testing support (#9201)
* feat(testing): add generator to aid in the migration to cypress 10

cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects

* feat(testing): cypress component tests for react/next

initial work for cypress component tests for react and next

* feat(testing): add support for v10 e2e cypress projects

create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests

* feat(testing): add utils for modifying cypress v10 config

provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration

* fix(testing): fix tests affected by the cypress v10 changes

update tests to assert the correct files/folders/file contents due to the cypress changes in v10

* cleanup(testing): move cypress component testing plugins into the respective packages

move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs

* cleanup(testing): bump cypress version

bump to latest cypress v10 release

* docs(testing): update docs for cypress 10

update cypress docs to include info about component testing and migration to cypress v10

* fix(repo): revert cypress version bump

keep v9 of cypress installed for nx repo until v10 release

* fix(testing): update cypress gen tsconfig and infer targets with converter

* fix(testing): make sure tests use the cypress v10 (for the intermediate)

* fix(testing): update target name after feedback

* fix(testing): support multiple target w/custom configs for cypress v10 migration

* fix(testing): refactor cy component tests into seperate verticals

* feat(testing): create storybook cypress preset

* fix(testing): clean up cy v10 migration

* fix(testing): don't branch for cypress executor testingType

* fix(testing): move cy comp test generator to next

* fix(testing): bump cypress deps

* fix(testing): clean up cy component testing generators

* fix(testing): update cy component testing docs

* fix(testign): dep check. runtime plugin pulls from @nrwl/react

* fix(testing): move e2e into verticals

* fix(testing): address PR feedback

* fix(testing): clean up unit tests

* feat(angular): support migrating angular cli workspaces using cypress v10

* chore(testing): update e2e tests

* fix(testing): address pr feedback

* chore(testing): remove cypress component testing for next.js

* fix(testing): address pr feedback

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-07-08 14:34:00 -05:00
Colum Ferry
37072bc5d6
feat(angular): replace mfe references with mf (#10957) 2022-07-01 13:48:38 +00:00
Leosvel Pérez Espinosa
ca92b7aa0b
fix(angular): set default project if not set when creating an application (#10789) 2022-06-17 11:58:01 +01:00
Leosvel Pérez Espinosa
0e21fa0368
fix(angular): normalize project name and don't default to npmScope as prefix when it's not a valid html selector (#10116) 2022-05-03 16:16:30 +01:00
Jason Jean
9f87d4c346
fix(angular): remove src from lintFilePatterns (#9940) 2022-04-21 18:54:22 -04:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Leosvel Pérez Espinosa
081ff42955
fix(angular): handle newProjectRoot correctly when generating apps and libs (#9255) 2022-03-10 13:09:04 +00:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00