536 Commits

Author SHA1 Message Date
Chau Tran
512237caf7
feat(core): add nx.json, workspace.json, and project.json JSON schemas (#10228)
* feat(core): add nx.json, workspace.json, and project.json JSON schemas

ISSUES CLOSED: #8574, #2299

* fix(core): add ajv to test generated config files based on JSON schema

* fix(core): only add $schema to project.json if it is standalone and in create mode

* feat(core): add migration to add json schema to config files for 14.2.0

* fix(core): adjust schemas

* chore(core): adjust tests across repo to adhere to JSON schema if generated

* fix(core): construct the json schema object instead of using a boolean flag

* chore(core): add ajv tests for workspacejson and nxjson

* chore(core): remove unnecessary standalone check
2022-05-10 15:05:26 -05:00
Phillip Barta
0cc7042beb
chore(repo): updated dependency fs-extra to ^10.1.0 (#9985) 2022-05-06 17:56:19 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jack Hsu
14b3419c19
fix(nextjs): update custom server setup so hostname and port are always provided (#10103) 2022-05-04 14:31:05 +00:00
Jack Hsu
e07ef9f216
fix(nextjs): fix support for custom distDir (#10106) 2022-05-02 20:50:44 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Caleb Ukle
88971468db
fix(testing): pass --js flag to jest generators (#9965) 2022-04-22 22:43:59 -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
Jack Hsu
e7447685cc
fix(react): update migration to work without targets (#9901) 2022-04-20 18:25:57 +00:00
Jason Jean
cb7fb22bca
feat(core): remove @types/node from default workspace (#9853)
Signed-off-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-20 12:43:23 -04:00
Jack Hsu
2b421117bf
feat(react): add default development configuration for React and Next.js apps (#9892) 2022-04-20 04:27:19 +00:00
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors (#9800) 2022-04-12 14:05:55 -04:00
Jack Hsu
b02beb551b
feat(react): update to react 18 (#9613) 2022-03-30 17:48:37 +00:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Benjamin Cabanes
f6126663eb
docs(core): add description to nextjs package (#9534) 2022-03-25 20:19:53 +00:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Benjamin Cabanes
1723e8e6b3
docs(nxdev): remove unused versions & flavors feature (#9462) 2022-03-22 17:44:35 +00:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Victor Savkin
4e9375f5f4 chore(repo): update the version of nx 2022-03-11 10:40:40 -05:00
Jason Jean
94687e993c
chore(repo): ensure license file exists for all published packages (#9274) 2022-03-10 18:33:06 -05:00
Louis DeScioli
5cebe9ccdd
fix(nextjs): use posix path format for generated config.distdir (#8990)
ISSUES CLOSED: #8989
2022-03-10 14:51:15 +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
Miroslav Jonaš
06ff832ea9
chore(react): fix version on eslint-plugin-react (#9121) 2022-02-25 17:25:06 +01:00
HIKARU KOBORI
f8c614d45b
feat(nextjs): bump up Next.js v12.1.0 (#9020)
* feat(nextjs): feat(nextjs): bump up nextjs v12.1.0

bump up next.js and eslint-config-next to v12.1.0
ISSUES CLOSED: #9018

Co-authored-by: kobori.hikaru <kobori.hikaru@a-hikkoshi.co.jp>
Co-authored-by: kirjai <9858620+kirjai@users.noreply.github.com>
2022-02-18 21:01:03 +00:00
Jack Hsu
1e647b9c83
feat(next): call init when generating next.js lib (#8926) 2022-02-10 21:37:29 +00:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson (#8806) 2022-02-01 16:32:47 -05:00
Phillip Barta
be91d1f99a
fix(core): stop inlining tsconfig-paths-webpack-plugin and use version with fix (#8357) 2022-01-27 08:59:46 -05:00
Victor Savkin
298ceba5b3
chore(repo): readme fixes 2022-01-24 09:39:31 -05:00
Isaac Mann
07ebdb36a3
feat(core): add nx graph as alias of nx dep-graph (#8539)
* feat(core): add nx graph as alias of nx dep-graph

* docs(core): add note about old dep-graph syntax

* cleanup(core): formatting

* feat(core): formatting

* feat(core): formatting

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-01-21 11:15:23 -05:00
Jack Hsu
f231cfc01b
feat(repo): move gatsby plugin to nx-labs repo (#8617) 2022-01-20 12:00:51 -05:00
Victor Savkin
9e75918154
feat(core): speed up file map creation (#8597) 2022-01-19 15:30:21 -05:00
Noriyuki Shinpuku
fe2e6ee589
cleanup(nextjs): remove unnecessary type in next-env.d.ts (#8301) 2022-01-14 15:10:07 +00:00
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files (#8341) 2022-01-07 14:10:24 -05:00
Noriyuki Shinpuku
054d4eb775
fix(nextjs): fix .babelrc for libraries (#8075) 2022-01-06 19:03:11 +00:00
Zach Gover
ec2944c6c8
chore(nextjs): removed deprecated target (#8237) 2022-01-04 16:14:58 +00:00
Jack Hsu
027bb9d9ad
feat(react): SVGR and http-server version updates for security fixes (#8334) 2021-12-30 04:55:55 +00:00
Jack Hsu
195b8f3262
chore(nextjs): remove assertion that dependencies have been built (#8325) 2021-12-29 13:04:10 -05:00
Kirils L
4b0a1322b9
docs(nextjs): page generator examples no longer shows component examples (#8262) 2021-12-21 16:16:07 -05:00
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace (#7773) 2021-12-21 21:06:31 +00:00
Kirils L
27f120db39
fix(nextjs): disable 13-1-1 migration (#8209)
* fix(nextjs): 13-1-1 migration - dont delete babelrc if storybook is configured

* fix(nextjs): disable 13-1-1 swc migration
2021-12-17 21:12:43 +00:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -05:00
Jack Hsu
6d6f29439d
feat(testing): add --compiler=tsc|swc|babel option for jest project generator (#8177) 2021-12-15 14:27:53 +00:00
Kirils L
232eaafc21
fix(nextjs): incorrectly named nested page component files (#8170) 2021-12-14 16:00:44 -05:00
Kirils L
68e5328de7
fix(nextjs): make flat option configurable for page generator (#8113) 2021-12-10 20:18:46 +00:00
Noriyuki Shinpuku
fe96a33173
feat(nextjs): bump Next.js version to 12.0.7 (#7788) 2021-12-08 20:06:02 +00:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter (#7912) 2021-12-03 11:05:09 -05:00
Jack Hsu
157c6e0fb0
feat(web): rename @nrwl/web:build to @nrwl/web:webpack (#7952) 2021-11-30 14:22:34 -05:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00