358 Commits

Author SHA1 Message Date
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
Jack Hsu
c97a8ac63b
feat(js): bump babel versions (#18220) 2023-07-20 11:04:16 -04:00
Miroslav Jonaš
f4f4eb66e2
feat(linter): add dependency-checks to buildable lib generator (#18015) 2023-07-20 10:28:20 -04:00
Jack Hsu
28df2057fd
chore(repo): replace dep check script with new lint rule (#18060) 2023-07-19 17:07:52 -04:00
Leosvel Pérez Espinosa
ca5e673a80
feat(misc): add alternative implementation to calculate buildable dependencies using the task graph (#18125) 2023-07-19 15:11:13 -04:00
Jack Hsu
b07d24ef42
feat(js): create package.json with proper defaults (#18091)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2023-07-18 08:53:18 +02:00
Jack Hsu
e2c0abc1a7
fix(js): run build in watch mode when specified for faster recompile time (#18145) 2023-07-17 14:48:32 -04:00
Leosvel Pérez Espinosa
4f9f04fb96
docs(js): add docs about @nx/js:tsc batch execution (#18071) 2023-07-14 08:41:40 +01:00
Jack Hsu
ae773d547e
fix(linter): skip verifying deps of deps by default in package.json (#18058) 2023-07-12 20:59:36 -04:00
Colum Ferry
77bb4b7429
feat(angular): add support for TS Module Federation Config #15739 (#17876) 2023-07-12 16:14:52 +01:00
Leosvel Pérez Espinosa
95a2256a34
feat(misc): deprecate executor options to generate package.json for libraries (#17923) 2023-07-11 15:28:03 +00:00
Leosvel Pérez Espinosa
8be6558700
fix(misc): fix migrations updating target options to consider target defaults (#18064) 2023-07-11 11:21:24 -04:00
Leosvel Pérez Espinosa
d10aeb49ac
fix(js): post-process skipped tasks by the ts compiler in tsc batch implementation (#17938) 2023-07-10 14:30:25 +01:00
Jack Hsu
38fa586b78
feat(testing): rename jest-project generator to "configuration" generator for consistency in naming (#18006) 2023-07-07 16:17:41 -04:00
Jack Hsu
24e45d494f
feat(bundling): rename esbuild-project, rollup-project, and webpack-project generators to "configuration" generators for consistency in naming (#18003) 2023-07-07 13:59:41 -04:00
Emily Xiong
8d5cfcc2b3
fix(js): restore registry for only localhost (#17999) 2023-07-07 13:44:25 -04:00
Nathan Walker
ccd195d60a
fix(js): remove duplicate alias (#17978) 2023-07-06 09:20:02 -04:00