524 Commits

Author SHA1 Message Date
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
Katerina Skroumpelou
541af1129f
fix(vite): configuration generator fixes (#19628) 2023-10-16 19:20:42 +03:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -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
Jason Jean
1ffeca9eb7
feat(devkit): remove backwards compatibility for Nx 15 (#19572) 2023-10-12 17:16:10 -04:00
Jack Hsu
76a7506074
feat(js): remove options to update package.json dependencies and peerDependencies (#19543) 2023-10-12 12:06:45 -04:00
Jason Jean
5740a73cd8
feat(core): add the outputs of a task onto the task (#19561)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2023-10-11 23:21:14 -04:00
Craigory Coppola
bdbfd351bc
feat(core): update default cache directory to .nx/cache (#19536) 2023-10-11 16:31:00 -04:00
Jason Jean
47e9fc8ed6
feat(misc): remove migrations for v14 and under (#19552) 2023-10-11 10:46:17 -04:00
Miroslav Jonaš
8bf6a97a29
fix(linter): fix linter standalone patterns in Js and Next (#19508) 2023-10-10 21:24:11 +02:00
Craigory Coppola
df8be31cb7
chore(js): add additional log for verdaccio cleanup (#19332) 2023-10-06 08:46:15 -04:00
Jack Hsu
c2fdf02b76
feat(js): add @swc-node/register and @swc/core to JS projects by default (#19453)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2023-10-05 15:38:14 +03:00
Emily Xiong
9755b50205
feat(js): upgrade @swc-node/register to 1.6.7 (#19429) 2023-10-03 14:41:27 -04:00
Jason Jean
5cc87bfdc2
fix(misc): properly add extra dependencies to packages (#19334) 2023-09-26 00:09:29 -04:00
James Henry
295ec47f5d
fix(core): do not attempt to publish private npm packages (#19299) 2023-09-22 15:03:42 -04:00
Jack Hsu
903c4fe7c8
fix(js): update generated .swcrc file to align with @swc/core@1.3.85 (#19214)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2023-09-21 23:04:30 -04:00
Craigory Coppola
3069f3e165
chore(js): pass full context to parseTargetString (#19136) 2023-09-20 09:08:10 -04:00
James Henry
6b16230499
fix(core): support dry-run on nx release publish (#19228) 2023-09-20 08:57:13 -04:00
Craigory Coppola
f213976281
feat(core): include non-project files on fileMap and filesToProcess (#19217) 2023-09-19 21:46:01 -04:00
James Henry
9116c29c18
feat(core): initial implementation of nx release (#19110)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-09-18 15:11:44 -04:00
Craigory Coppola
de2824a450
feat(devkit): add method for tree-aware glob search (#19128) 2023-09-13 17:39:45 -04:00
Jack Hsu
fdbf000c51
feat(js): warn users when additionalEntryPoints do not match any files (#19107) 2023-09-12 11:19:26 -04:00
Craigory Coppola
ca3fd3cb65
fix(js): esbuild should not throw when a project depends on non-js dependencies (#19057) 2023-09-07 21:45:09 +00:00
Isaac Mann
c2c664a055
docs(core): add directory flag to all project generators (#18977) 2023-09-07 09:36:25 -04:00
Miroslav Jonaš
aa223621f7
fix(linter): ensure config manipulations are run only if config is supported (#19035) 2023-09-07 13:17:22 +02:00
Adam Wootton
9ba98f4b25
fix(js): workspace lib devDependencies should not be added to package.json (#17802) 2023-09-06 15:13:11 -04:00
Craigory Coppola
353d8d089d
cleanup(core): move js lockfile parsing to v2 plugin (#18779) 2023-08-30 14:26:41 -04:00
Jack Hsu
74c812e2e8
chore(js): update js plugin unit tests to use "as-provided" option when generating apps/libs (#18894) 2023-08-29 20:17:06 +00:00
Jack Hsu
90ca436d81
feat(linter): add option to ignore files based on pattern (#18863) 2023-08-28 16:27:14 -04:00
Jack Hsu
226dfaf7a4
feat(js): carry-over known build options (main, tsConfig, etc.) when running setup-build generator (#18742) 2023-08-28 10:36:18 -04:00
Isaac Mann
d70a6ceb36 docs(core): clarify waitUntilTargets 2023-08-28 12:39:31 +02:00
Jonathan Cammisuli
bbae14b9a7
fix(core): do not use joinPathFragments for generating files (#18753) 2023-08-23 12:23:03 -04:00
Miroslav Jonaš
e34219ab96
feat(linter): add flat config support to generators (#18534) 2023-08-23 01:36:58 +02:00
Thenglong Heng
078cf9a1ca
fix(js): fix swc opens swc.js instead of compiling on windows (#18723) 2023-08-21 18:33:43 +03:00
Leosvel Pérez Espinosa
195c5bfb2f
fix(misc): fix import path to project name and root helper (#18711) 2023-08-18 17:10:56 -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
Leosvel Pérez Espinosa
61d73fc907
fix(js): expose schematic using the generator function with a default for the project name and root format (#18681) 2023-08-17 14:55:56 -04:00
Miroslav Jonaš
b152f20125
fix(js): fix swc compilation output path handling (#18588)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-08-11 17:30: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
Leosvel Pérez Espinosa
c785871b5c
docs(js): call out @nx/js:tsc batch executor being available from Nx 16.6.0 (#18467) 2023-08-11 12:46:47 +01: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
Jack Hsu
d63d3573c4
feat(js): add generateExportsField and additionalEntryPoints options to update exports field when building with tsc/swc (#18319) 2023-08-01 09:23:48 -06:00
Jason Jean
989f7f8f92
chore(repo): update nx to 16.6.0-beta.8 (#18356) 2023-07-29 10:39:53 -04:00
Miroslav Jonaš
63521d7e13
fix(js): ensure compile swc uses current package manager (#18321) 2023-07-28 21:43:40 +02:00
Leosvel Pérez Espinosa
bd71ce35a4
fix(js): fix misc issues in tsc batch executor (#18363) 2023-07-28 14:44:35 +01:00
Jack Hsu
661efa913d
feat(bundling): generate matching d.ts files for rollup (#18342) 2023-07-28 09:04:26 +02:00
Jack Hsu
4c2f98ebf9
fix(js): generate correct standalone setup (#18355) 2023-07-27 19:18:39 -04:00
Jack Hsu
810b584c33
fix(js): generate ts standalone project with better import path (#18197) 2023-07-25 16:35:29 -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