57 Commits

Author SHA1 Message Date
Jason Jean
8f705e31e2
fix(misc): adjust deprecation messages to v20 (#23223)
<!-- 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` -->

## Breaking Changes:


BREAKING CHANGE: `nx print-affected` was deprecated in 16.4.0 and has
been removed.
BREAKING CHANGE: `nx affected:graph` was deprecated in 16.4.0 and has
been removed.
BREAKING CHANGE: The `criticalPath` and `affectedProjects` properties of
the JSON created by `nx graph --file graph.json` was deprecated in
16.2.0 and has been removed.

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

Some deprecation messages still reference v19.

`nx print-affected` was deprecated in 16.4.0 to be removed in Nx 19 but
was not removed.
`nx affected:graph` was deprecated in 16.4.0 to be removed in Nx 19 but
was not removed.

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

Deprecation messages reference v20 now.

`nx print-affected` is removed.
`nx affected:graph` is removed.

There are redirects to a `deprecated` page describing those commands for
Nx users using Nx <19

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

Fixes #
2024-05-08 21:54:41 -04:00
Leosvel Pérez Espinosa
cfa0815385
fix(angular): stop using npmScope as a prefix for component and directive selectors (#21828) 2024-02-21 16:20:12 +01:00
Craigory Coppola
deb0f1a492
chore(repo): bump deprecation messages to v19 (#21430) 2024-01-30 16:29:05 -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
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
2883fa3a6f
feat(angular): update component generator to use a single string styles or styleUrl property (#20146) 2023-11-13 15:22:37 +01:00
Leosvel Pérez Espinosa
25d6ec3a92
feat(angular): support angular v17 (#19689) 2023-11-07 15:45:42 -05:00
Leosvel Pérez Espinosa
2076abfca4
fix(angular): fix usage of internal generators and prevent usage of deprecated project option (#19697) 2023-10-18 18:26:21 -04:00
Colum Ferry
80fde79374
feat(misc): remove deprecated Angular CLI usage of schematics and builders (#19557) 2023-10-13 17:14:16 +01:00
Leosvel Pérez Espinosa
c0027de971
feat(angular): support generating artifacts using options as provided (#19527) 2023-10-11 23:22:31 -04:00
Leosvel Pérez Espinosa
312351b03c
fix(angular): throw an error when generating a component and the specified module can't be found (#19324) 2023-09-25 16:09:18 -04:00
Colum Ferry
577f820158
fix(angular): style=none should not create file #18785 (#18836) 2023-08-25 11:54:57 +01:00
Colum Ferry
860d82a640
fix(angular): find module from options should support full path #17547 (#17550) 2023-06-12 15:22:35 +01:00
Leosvel Pérez Espinosa
caefe8f509
cleanup(angular): rearrange validation helper function (#16906) 2023-05-10 12:55:51 +01:00
Colum Ferry
b526e1d600
fix(angular): update component module error message to suggest standalone (#16754) 2023-05-04 11:10:53 +01:00
Colum Ferry
c2e88ad6a7
fix(angular): throw error when no parent module found (#16728) 2023-05-03 16:39:54 +01:00
Colum Ferry
48b356d9c1
fix(angular): throw error when generating component with multiple candidate modules (#16332) 2023-04-19 09:46:13 +01:00
Colum Ferry
0ce1f37943
fix(angular): add component import path correctly to NgModule when flat=false (#16364) 2023-04-19 09:45:36 +01:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Leosvel Pérez Espinosa
a0fb3c705e
cleanup(angular): consolidate name and path normalization for component, directive and pipe generators (#16108) 2023-04-05 09:50:46 +01:00
Leosvel Pérez Espinosa
29f5326b80
cleanup(angular): update component generator to be more consistent with similar generators (#16078) 2023-04-04 09:12:57 +00:00
Leosvel Pérez Espinosa
75f6b98ea8
fix(angular): allow skiping formatFiles in component generator when called from another generator (#15953) 2023-03-29 11:17:52 +01:00
Jason Jean
4a55ee9a33
fix(js): run prettier with default options when theres no prettierrc (#15888) 2023-03-27 18:00:24 -04:00
Colum Ferry
44478fb57e
cleanup(angular): add warning to schematic usage of generators (#15815) 2023-03-22 11:34:44 +00:00
Colum Ferry
4dbe6a5d5b
cleanup(angular): replace wrapAngularDevkitSchematics for component (#15791) 2023-03-22 10:22:19 +00:00
Leosvel Pérez Espinosa
8f2830c939
cleanup(angular): remove unused index from schema options using default source projectName (#15672) 2023-03-15 09:22:30 +00:00
Leosvel Pérez Espinosa
ca8d24b3d4
fix(angular): set projectName as the default source for relevant generators (#15664) 2023-03-14 16:38:35 +00:00
Colum Ferry
481899ce9f
feat(angular): add directive generator (#15630) 2023-03-14 15:31:49 +00:00
Leosvel Pérez Espinosa
46b3767303
fix(angular): misc fixes in some generator schemas (#15602) 2023-03-10 16:19:55 +00:00
Jason Jean
fa6e8ea987
fix(js): refactor ensurePackage (#15074) 2023-02-22 18:47:40 -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
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
a22bd54f3f
feat(angular): add priority flags to generators (#14299) 2023-01-16 12:19:33 +00:00
Colum Ferry
46b10c2e20
fix(angular): correctly error component when standalone is used in Angular < 14.1.0 (#14337) 2023-01-13 12:57:19 +00:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Leosvel Pérez Espinosa
712d65b451
cleanup(angular): remove v14 specific code for generators that did not change (#13950) 2022-12-21 16:34:37 +01:00
Leosvel Pérez Espinosa
4e54b1a545
fix(angular): handle not provided path when generating a component without the project option (#13877) 2022-12-19 09:49:56 -05:00
Colum Ferry
0187000b4d
feat(angular): add backwards support to component (#13583) 2022-12-02 14:45:23 +01:00
Jason Jean
f39d73cce6
chore(angular): fix angular tests (#13483) 2022-11-29 22:23:30 +00:00
Jason Jean
6d35fd4d85
chore(core): reconcile functions to find project of a path (#13364) 2022-11-24 11:02:32 -05:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Colum Ferry
b084dddff0
feat(angular): support for Angular 15 (#12112) 2022-11-17 09:31:45 -05:00
Colum Ferry
9460d648ef
docs(angular): add component examples (#12485) 2022-10-10 10:30:18 +01:00
Colum Ferry
e5d9f9ff59
feat(angular): support inferring project from cwd in terminal for generating components (#11980) 2022-09-13 10:37:16 +01:00
Colum Ferry
614b2d2af8
fix(angular): use x-dropdown for nx console project hint (#11706) 2022-08-26 10:04: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
Leosvel Pérez Espinosa
748fb82bd5
fix(angular): allow generating scam pipe and exporting them from secondary entrypoints (#10977) 2022-07-01 15:42:48 +01:00
Leosvel Pérez Espinosa
b0205d7a86
fix(angular): allow generating scam and exporting them from secondary entrypoints (#10888) 2022-06-27 10:12:14 +00:00
Leosvel Pérez Espinosa
98014dd660
feat(angular): support exporting standalone component in library's entry point file (#10544) 2022-06-01 17:00:26 +01:00