5591 Commits

Author SHA1 Message Date
Benjamin Cabanes
10040388e3
docs(nxdev): update packages documentation (#10273) 2022-05-12 18:31:10 +00:00
Jonathan Wagner
c35b13dd26
fix(react): migrations should not crash when adding development configuration (#10261) 2022-05-12 14:30:33 -04:00
Benjamin Cabanes
d46e49cd61
docs(nxdev): generate menu api (#10272) 2022-05-12 18:12:04 +00:00
AgentEnder
a2d9d5664e fix(angular): when generating --preset angular and --cli nx use angular readme at root 2022-05-12 11:18:05 -04:00
Benjamin Cabanes
e2150e6e67
docs(nxdev): change header plugins link to community (#10267) 2022-05-12 15:00:03 +00:00
Benjamin Cabanes
17a11b6a83
docs(nxdev): update nx plugin doc links (#10266) 2022-05-12 10:56:41 -04:00
Jason Jean
5251bd73ac Release 14.1.5 2022-05-11 17:46:19 -04:00
Jason Jean
81ebd7f286
chore(core): fix test for package.json root removal (#10253) 2022-05-11 21:33:46 +00:00
Jason Jean
9cdcf1720a
fix(core): only migrate projects with project.json (#10251) 2022-05-11 16:57:33 -04:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* fix(testing): jest.preset.ts => jest.preset.js

* fix(testing): update to export default

* fix(testing): migration for moving to export default

* fix(testing): add eslint ignore comments for jest config properties

fixes: #10021

* fix(testing): update tsconfig.spec.json for next apps with project parserOptions

fixes: #9982

* fix(testing): prevent renaming root jest preset

fixes: #9973

* fix(testing): update snapshots for export default

* fix(testing): bump migration version to run

* fix(testing): make sure default jest tests pass for various projects

* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00
Jason Jean
4dbd6559cf
fix(linter): fix default lint file (#10250) 2022-05-11 16:45:21 +00:00
James Henry
ef050d914f
chore(repo): reenable react-native e2e tests (#10248) 2022-05-11 16:00:38 +00:00
Jay Bell
93c7ea5f31
cleanup(js): use import instead of require in jest config (#10239)
if we are going to use typescript we might as well use typescript and use import instead of require
for build in modules that support it
2022-05-11 11:18:32 -04:00
Nicoss54
5c995a797f
docs(nxdev): update run-script documentation (#10195) 2022-05-11 11:08:12 -04:00
Alois
e5bde2fe46
fix(linter): Generator creating .eslintrc.json at the root path even when .eslintrc.js already exist (#10080)
* feat(devkit): feat(devkit): don't replace begining undescore when creating file

Underscore is a character usually used for sorting purposes and is absolutely legit. There is no
reason to replace it.

ISSUES CLOSED: #8875

* fix(linter): generator creating .eslintrc.json at the root path even when .eslintrc.js
2022-05-11 11:07:10 -04:00
Patrick McDonald
1aed5acfaa
docs(nxdev): fix sentence (#10196)
I *think* this is what you were trying to say.
2022-05-11 11:06:04 -04:00
Benjamin Cabanes
8f7af1cdd5
docs(nxdev): support older generic paths (#10247) 2022-05-11 15:02:09 +00:00
James Henry
d9f753b425
chore(repo): fix typo in checksum in circleci config (#10245) 2022-05-11 14:28:35 +00:00
Leosvel Pérez Espinosa
61dd6b681f
docs(angular): improve docs about incremental builds with angular (#10246) 2022-05-11 15:05:18 +01:00
NejcZdovc
60382f6370 docs(misc): Fixes typo for browserslistrc
Resolves #10230
2022-05-10 16:32:25 -04:00
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
Jack Hsu
fecbb81120
fix(react): set mode correctly when serve --prod is used (#10235)
Fixes #10199
2022-05-10 09:56:42 -04:00
Katerina Skroumpelou
e674be7dcb
fix(storybook): optional chain some options (#10232) 2022-05-10 10:58:10 +00:00
Nick Mazuk
00ee173544
docs(nx-plugin): add :plugin to local plugin generator target (#10226) 2022-05-09 23:25:59 -04:00
Craigory Coppola
6025ce57ae
fix(core): migrate should not fail under certain circumstances (#10225)
Closes #10144
2022-05-10 00:06:20 +00:00
James Garbutt
99252cccfa
fix(react): aliases should be an array in schematics (#10198) 2022-05-09 23:58:51 +00:00
Ilya Zyablitsev
fdd7479465
fix(core): migrate should not fail if dependencies section doesn't exist (#10202) 2022-05-09 17:16:22 -04:00
Jack Hsu
23f6d5492c
fix(react): SWC compiled code should include react jsx runtime (#10220)
Fixes #8869
2022-05-09 12:32:08 -04:00
Jack Hsu
6e10769e04
docs(core): add information about tree-shaking to module federation guide (#10217) 2022-05-09 14:52:16 +00:00
Leosvel Pérez Espinosa
25035927d6
fix(angular): handle packages with no exported package.json when collecting secondary entry points for mf builds (#10216) 2022-05-09 15:43:54 +01:00
Colum Ferry
e7074617be
fix(angular): module federation generation should match react (#10214) 2022-05-09 15:31:57 +01:00
Leosvel Pérez Espinosa
425adf1d00
feat(react): add support for passing additional shared dependencies in the module federation config (#10169) 2022-05-09 09:00:31 -04:00
Stian Morsund
eb4243bc87
feat(angular): add flag for skipping the postinstall script in relevant generators (#10208) 2022-05-09 12:48:41 +01:00
Colum Ferry
b51327111f
fix(angular): eagerly load default packages (#10207) 2022-05-09 11:28:00 +01:00
Colum Ferry
38345dae3a
fix(angular): remote failing to serve should fail host serve (#10181) 2022-05-09 09:36:36 +01:00
Madison Bullard
cce5bfebc0
docs(misc): fix grammar in git history doc (#10079) 2022-05-06 18:10:32 -04:00
Jon Hammerskov
0ec1a628dc
fix(core): if git hash-object reports fewer hashes than requested - log one of the missing files (#10134)
When executing parallel targets using e.g. run-commands missing entries in .gitignore
may lead to
temp files being passed to "git hash-object"
which when git executes have been deleted
resulting in
mismatch between number of files requested and hashes returned.
git reports the error and this PR
will make sure that report is passed
in the error thrown.
This will make problem resolution a lot
faster.

ISSUES CLOSED: #9946
2022-05-06 18:06:52 -04:00
Phillip Barta
0cc7042beb
chore(repo): updated dependency fs-extra to ^10.1.0 (#9985) 2022-05-06 17:56:19 -04:00
Miroslav Jonaš
e5fd269511
fix(core): list only changed files on format:write log (#10155) 2022-05-06 17:10:18 -04:00
Benjamin Cabanes
8cb07be771
docs(nxdev): add redirect for overview urls (#10190) 2022-05-06 16:06:15 -04:00
Benjamin Cabanes
3eb2955245
docs(nxdev): show overview on package list view (#10189) 2022-05-06 15:48:44 -04:00
Daniel Grant
63006b791a
fix(js): .swcrc path option should follow existing conventions (#10127)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-05-06 13:46:13 -04:00
Jack Hsu
c4e5b7c7c0
fix(react): host server exits when one of the remotes fail (#10185) 2022-05-06 12:41:40 -04:00
Denis Frenademetz
5dc5429632
fix(testing): 14.0.0 jest migration errors when additional configurations are specified 2022-05-06 08:34:04 -05:00
Stian Morsund
d6f49ea624
fix(angular): support skipPackageJson for library generation (#10179) 2022-05-06 09:08:52 +01:00
Leosvel Pérez Espinosa
5c94d6222f
fix(angular): add missing skipImport option to the component generator (#10167) 2022-05-06 08:57:20 +01:00
Jack Hsu
7da1913812
docs(nxdev): update module federation guide (#10176) 2022-05-05 21:07:31 -04:00
Victor Savkin
ac76a7e53a
Release 14.1.4 2022-05-05 17:23:54 -04:00
Victor Savkin
53460849a2 feat(core): introduce an explicit variable for deciding on how output is printed 2022-05-05 17:22:22 -04:00
Jason Jean
c428751129 Release 14.1.3 2022-05-05 17:01:29 -04:00