6158 Commits

Author SHA1 Message Date
Benjamin Cabanes
c7ec631060
docs(nxdev): remove nx-devkit generated redirect rules & fix url (#10318) 2022-05-16 14:34:53 +00:00
Chau Tran
17c40229a7
fix(js): format .lib.swcrc file with nx format (#10254) 2022-05-16 10:19:49 -04:00
Leosvel Pérez Espinosa
7c2f9452fa docs(core): remove invalid cli commands 2022-05-16 10:06:12 -04:00
Victor Savkin
7240846b7b
Release 14.1.6 2022-05-16 09:46:53 -04:00
Leosvel Pérez Espinosa
43d5e621b7
fix(angular): add types to tsconfig.editor.json correctly (#10316) 2022-05-16 13:09:24 +01:00
Miroslav Jonaš
1b8a050a66
docs(nxdev): fix outdated gitlab docs (#10315) 2022-05-16 06:21:13 -04:00
Miroslav Jonaš
86df361082
docs(nxdev): fix image version for gitlab (#10311) 2022-05-16 09:17:42 +00:00
James Henry
a41476926b
chore(repo): remove unintentionally committed file (#10309) 2022-05-16 09:06:54 +00:00
Oliver Schlegel
b1cc187c20
feat(angular): expose builder functions (#10252) 2022-05-16 09:41:53 +01:00
Victor Savkin
e6f73a8073 fix(misc): misc fixes 2022-05-15 10:48:16 -04:00
Benjamin Cabanes
c0d159140d
docs(nxdev): update nx-plugin redirect rule (#10288) 2022-05-13 20:16:11 +00:00
Benjamin Cabanes
46b0501b3a
docs(nxdev): add nx conf lite youtube links (#10283) 2022-05-13 14:46:34 -04:00
Jelilat Anofiu
38809f177d
docs(nxdev): fix typo on react nx tutorial (#10279)
Fixes #10278
2022-05-13 11:05:39 -04:00
Juri Strumpflohner
c6c7b64d36
docs(nxdev): add Lerna button on homepage that links to the guide (#10281) 2022-05-13 11:01:36 -04:00
Juri
ee1b625307 docs(core): update migration guides for Lerna and other monorepos 2022-05-13 09:17:19 -04:00
Benjamin Cabanes
f35f6d550d
docs(nxdev): fix typo on devkit reference (#10277) 2022-05-13 03:00:04 +00:00
Chau Tran
692418d2b7
fix(js): move swc/helpers to dependencies instead of devDependencies (#10275)
ISSUES CLOSED: #10270
2022-05-12 19:24:40 +00:00
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