337 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
c0027de971
feat(angular): support generating artifacts using options as provided (#19527) 2023-10-11 23:22:31 -04:00
Craigory Coppola
b8e1500190
fix(devkit): pass filepath to ejs for include statements (#19517) 2023-10-11 11:56:55 -04:00
Jason Jean
5cc87bfdc2
fix(misc): properly add extra dependencies to packages (#19334) 2023-09-26 00:09:29 -04:00
Leosvel Pérez Espinosa
c18c0b2eba
feat(misc): prepend cwd to directory in project generators when using as-provided format (#19227)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2023-09-22 08:28:03 -04:00
Jason Jean
53a327715b
feat(repo): remove projectNameAndRoot nx.json option (#19218) 2023-09-21 08:15:38 -04:00
Leosvel Pérez Espinosa
a020f1d933
feat(misc): do not prompt for project name and root format when they produce the same result (#19221) 2023-09-20 09:07:47 -04:00
Craigory Coppola
de2824a450
feat(devkit): add method for tree-aware glob search (#19128) 2023-09-13 17:39:45 -04:00
Craigory Coppola
ae154e777e
cleanup(devkit): improve error messaging when project doesnt exist for readTargetOptions (#19108) 2023-09-12 23:07:20 -04:00
Craigory Coppola
228393724c
feat(devkit): update parseTargetString to allow referencing targets on the current project (#19109) 2023-09-11 16:58:03 -04:00
Colum Ferry
dd5ea7a244
feat(webpack): move module federation utils to webpack (#18996) 2023-09-08 10:22:09 -04:00
Jason Jean
850cdb3d20
fix(core): do not prompt, only warn when projectNameAndRootLayout is … (#19037) 2023-09-07 09:08:08 -05:00
Leosvel Pérez Espinosa
ace8f8cf97
fix(misc): calculate cwd relative path correctly for generators and executors (#18933) 2023-09-06 14:17:35 -04:00
Jason Jean
bd1b0b70fd
feat(misc): introduce a way to set the project name/root format for all generators (#18971) 2023-09-01 16:58:14 -04:00
Jason Jean
02c5aeb255
fix(devkit): show example in deprecation message (#18823) 2023-08-24 21:08:58 +00:00
Leosvel Pérez Espinosa
e8aebe1fe1
cleanup(devkit): update project name and root helper options type (#18758) 2023-08-22 09:33:45 -04:00
Jason Jean
b309d8386c
feat(devkit): warn users the project name and root will not be derived (#18718) 2023-08-21 14:38:20 -04:00
Michał Mrozek
2638bb0db2
fix(devkit): await prettier format for v3 compatibility (#18664) 2023-08-20 22:10:56 +04:00
Miroslav Jonaš
adb39c464d
fix(core): ensure preinstall is only run once on repo (#18671) 2023-08-18 17:30:33 -04:00
Leosvel Pérez Espinosa
eb9caa1ade
feat(react): use helper to determine project name and root directory in project generators (#18615) 2023-08-18 13:12:23 -04:00
Craigory Coppola
e2ff519db2
feat(misc): save directory and name format to nx json defaults (#18683) 2023-08-17 17:48:42 -04:00
Craigory Coppola
2ff1364579
fix(devkit): convert-nx-executor should read projectNodes (#18684) 2023-08-17 18:14:14 +00:00
Leosvel Pérez Espinosa
47f8b7a8be
feat(angular): use helper to determine project name and root directory in project generators (#18607) 2023-08-17 16:27:47 +01:00
Jason Jean
2034cddf04
chore(devkit): move all internal nx imports to requireNx (#18639) 2023-08-16 17:40:42 -04:00
Emily Xiong
40d66ec715
chore(core): remove readProjectsConfigurations from workspaces (#18329)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-08-15 14:48:40 -04:00
Leosvel Pérez Espinosa
ccd6e04d3f
feat(devkit): improve project name and root format prompt (#18591) 2023-08-11 16:25:21 -04:00
Leosvel Pérez Espinosa
ce7fc740ae
cleanup(misc): rename projectDirectory to projectRoot in helper return value (#18586) 2023-08-11 16:43:07 +01:00
Craigory Coppola
a7cf272d1f
feat(core): add api for v2 of project project graph plugins (#18032)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-08-10 14:58:29 -04:00
Leosvel Pérez Espinosa
730260320d
feat(js): provide a new way of generating project name and root directory for libraries (#18420) 2023-08-10 13:30:46 -04:00
Jason Jean
d03969bf90
chore(repo): update nx to 16.7.0-beta.1 (#18471) 2023-08-08 17:58:26 -04:00
Emily Xiong
6b43833d2c
chore(core): move relativeCwd out of workspaces (#18229) 2023-08-03 13:36:28 -04:00
Emily Xiong
2f59796ac0
chore(core): move calculateDefaultProjectName out of workspaces (#18225) 2023-07-25 11:27:54 -04:00
Emily Xiong
2e6592c533
fix(devkit): use Workspace in devkit for backwards compatibility (#18246) 2023-07-21 16:54:30 -04:00
Emily Xiong
717a8dd027
chore(core): move readNxJson out of Workspaces (#18127) 2023-07-21 10:07:34 -04:00
Jack Hsu
28df2057fd
chore(repo): replace dep check script with new lint rule (#18060) 2023-07-19 17:07:52 -04:00
Miroslav Jonaš
2c1d4bac96
fix(core): run ensurePackage with node_modules for yarn berry (#18144) 2023-07-19 10:50:32 -04:00
Miroslav Jonaš
10fc4dd4d8
fix(core): ensure proper yarn version detection even for nested projects (#18052) 2023-07-17 10:35:18 -04:00
Emily Xiong
1c6a359130
chore(core): copy isNxExecutor out of Workspaces class (#17996) 2023-07-14 01:55:42 -04:00
Miroslav Jonaš
d0c37727c5
fix(core): ensure yarn runs install with correct version (#17997) 2023-07-07 09:19:04 -04:00
Jason Jean
d729fcff16
fix(misc): update semver dependency (#17759) 2023-06-23 14:58:37 -04:00
Leosvel Pérez Espinosa
1fcba1a43a
feat(angular): support angular v16.1 (#17155) 2023-06-22 14:45:31 +01:00
Craigory Coppola
471616b04d
feat(core): add matching support to inputs projects (#17255) 2023-05-26 18:32:53 -04:00
Craigory Coppola
6d586dd78f
fix(devkit): return null for ESM dependencies instead of throwing error in ensurePackage (#17195) 2023-05-24 15:45:44 -04:00
Colum Ferry
a29afe98b2
chore(core): add tests for ng cli adapter methods (#16940) 2023-05-24 11:32:39 -04:00
Leosvel Pérez Espinosa
8f6fcf23e5
feat(core): expose the task graph in the executor context (#17111) 2023-05-24 08:50:41 +01:00
Emily Xiong
b0b531a870
fix(react-native): fix android keystore not generated correctly (#17074) 2023-05-19 14:40:45 -04:00
Victor Savkin
0848031dd9 feat(core): move task hashing into daemon 2023-05-17 11:37:57 -04:00
Craigory Coppola
cac64d7a8b
chore(repo): setup internal testing utils structure (#17043) 2023-05-16 11:34:10 -04:00
Katerina Skroumpelou
98665953a6
fix(devkit): uppercase constant name correct transformation (#17046) 2023-05-16 09:30:55 -04:00
Jason Jean
6b928bc250
feat(js): refactor usages of npmScope (#16947) 2023-05-15 16:06:24 -04:00
Miroslav Jonaš
846320a6b9
chore(repo): enable enforce-module-boundaries on nx repo (#16864) 2023-05-10 11:35:33 -04:00