4886 Commits

Author SHA1 Message Date
Noriyuki Shinpuku
f0ea52e980
feat(js): update complier options for strict mode (#8188) 2021-12-15 20:41:53 -05:00
Miroslav Jonaš
c8de730580
chore(storybook): disable flaky e2e tests (#8193) 2021-12-15 20:58:29 +00:00
Jack Hsu
c6014adef3
fix(core): exclude nxWorkspaceRoot from args when calling custom preset (#8189) 2021-12-15 19:08:23 +00:00
Chau Tran
726877d103
feat(js): add SWC support (#7956)
* feat(js): add SWC support

chore(js): remove comment

fix(js): clean up typecheck after merge

fix(js): add tests to swc

* fix(js): adjust typecheck

* feat(js): add skipTypeCheck to library generator

* fix(js): use Promise.all()

* fix(js): pass in correct tsconfig path

* cleanup(js): remove comment code

* fix(js): use logger from devkit instead of console log

* fix(js): remove unintended exit log

* feat(js): add convert-to-swc generator to convert lib w/ tsc to swc

* fix(js): reexport print diagnostics
2021-12-15 12:23:50 -05:00
Victor Savkin
2867c596f6 chore(repo): add perf numbers to the turbo guide 2021-12-15 12:10:18 -05:00
Craigory Coppola
2b04794a89
fix(core): default project name should be inferred by cwd on windows (#8172) 2021-12-15 10:51:08 -05:00
Victor Savkin
385512a6e7 fix(core): use absolute paths when resolving package.json 2021-12-15 09:31:50 -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
Colum Ferry
08172bc3c8
feat(angular): upgrade to angular 13.1 (#8182) 2021-12-15 13:04:09 +00:00
Colum Ferry
a75f1bd763
fix(angular): set public host for both projects (#8184) 2021-12-15 10:39:31 +00:00
Colum Ferry
373c7281e0
docs(angular): fix mfe doc examples (#8168) 2021-12-15 09:28:38 +00:00
Benjamin Cabanes
8a7d2de814
docs(nxdev): update documentation content (#8178) 2021-12-14 23:03:42 -05:00
Noriyuki Shinpuku
e77c498f2d
feat(angular): update complier options for strict mode (#8126) 2021-12-14 22:32:45 -05:00
Noriyuki Shinpuku
e4f7e2e40b
feat(react): update complier options for strict mode (#8127) 2021-12-14 22:31:40 -05:00
Benjamin Cabanes
acffd2e689
docs(nxdev): new og media images (#8176) 2021-12-15 02:54:56 +00:00
Benjamin Cabanes
cafc8cee56
docs(nxdev): update documentation content (#8175) 2021-12-14 21:40:03 -05:00
Jack Hsu
6090b24c36
fix(core): properly set workspace root when using custom preset (#8173) 2021-12-15 01:41:35 +00:00
Kirils L
232eaafc21
fix(nextjs): incorrectly named nested page component files (#8170) 2021-12-14 16:00:44 -05:00
pan93412
dfb6986b93
docs(core): extend the description of generator schema options (#7927)
* docs(core): describe every properties available in schema.json

The current Generator documentation is not completed. Thus,
I managed to describe every undocumented part of generator currently.

This document is referenced from a lot of current `schema.json`
and code of it. Thanks a lot! :D

- Overview
- Description
- Examples

* docs(misc): add the instruction when out of memory

Added a new section: "When occurred `JavaScript heap out of memory`"

Also fixed some lint issues indicated by `markdownlint`.

* fix(misc): grammars

Co-authored-by: isaacplmann <isaacplmann@users.noreply.github.com>

* docs(core): more complete Generator

- correct grammars errors
- complete most the WIP part
- remove `items` since I didn't find any example of it

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
Co-Authored-By: Jonathan Cammisuli <Cammisuli@users.noreply.github.com>

* docs(core): correct the format

Co-authored-by: isaacplmann <isaacplmann@users.noreply.github.com>
Co-authored-by: Jonathan Cammisuli <Cammisuli@users.noreply.github.com>
2021-12-14 10:33:51 -05:00
Nicholas Cunningham
18b3d61a1d
feat(core): Add support for versioning in the preset package name (#8146) 2021-12-14 10:07:57 -05:00
Benjamin Cabanes
e111ed2842
docs(nxdev): update documentation content (#8164) 2021-12-14 15:07:32 +00:00
Juri
b81395c11d docs(core): adjust header ordering in the Nx and Turborepo guide 2021-12-14 15:53:54 +01:00
Juri
ce1d6869dc docs(core): nx and Turborepo guide improvements 2021-12-14 08:48:48 -05:00
Shlomi Levi
4bb109e175
feat(angular): add scam generator for pipes and directives (#8144)
ISSUES CLOSED: #8122
2021-12-14 11:28:47 +00:00
Colum Ferry
bc8dda6c44
fix(angular): scam component default type as lowercase (#8160) 2021-12-14 11:09:16 +00:00
Craigory Coppola
a23284e9ce
fix(core): misc. ng cli compat layer fixes (#8141)
* fix(core): misc. ng cli compat layer fixes

* chore(core): unit test fixes
2021-12-13 18:48:11 -05:00
Jack Hsu
1f44bbeed9
fix(core): properly pass args to custom preset (#8154) 2021-12-13 22:26:41 +00:00
Victor Savkin
77f7a5036f chore(repo): update the turbo guide 2021-12-13 15:23:17 -05:00
Victor Savkin
02a79bc80b chore(misc): add a comparison guide 2021-12-13 14:08:37 -05:00
Leosvel Pérez Espinosa
364136f3f6
fix(angular): handle scam components when generating storybook stories (#8139) 2021-12-13 16:19:08 +00:00
Colum Ferry
5339e99d84
feat(angular): enable minimization for MFEs (#8135)
* feat(angular): enable minimization for MFEs

* fix(angular): test snapshots
2021-12-13 15:58:16 +00:00
Noriyuki Shinpuku
7ca6b29276
feat(testing): update cypress to 9.x (#8011)
ISSUES CLOSED: #7954
2021-12-13 08:22:33 -06:00
Leosvel Pérez Espinosa
4343f56da6
fix(angular): remove unnecessary extension from scam component import (#8136) 2021-12-13 12:53:21 +00:00
Benjamin Cabanes
10c8e343ef
docs(nxdev): remove workshop event banner (#8131) 2021-12-12 15:34:09 -07:00
Jack Hsu
d6307181ab
fix(core): allow tsConfig without compilerOptions to work (#8119) 2021-12-10 21:56:17 +00:00
Benjamin Cabanes
590577010d
docs(nxdev): delete unused media-query helper (#8118) 2021-12-10 21:28:30 +00:00
Craigory Coppola
b44f240785
fix(core): project inference should work if name not specified by package.json (#8116) 2021-12-10 21:16:27 +00:00
Benjamin Cabanes
3430f63200
docs(nxdev): ui common delete feature-list component (#8117) 2021-12-10 21:14:09 +00:00
Jack Hsu
f8c394af46
feat(web): add swc compiler option for webpack executor (#8114) 2021-12-10 16:09:20 -05:00
Nicholas Cunningham
3bedfd8039
feat(core): preset now supports external generators when creating a workspace. (#8084)
When you run create-nx-workspace --preset you can now pass in an npm package name.
This package will contain a generator named preset which is run after the workspace has been generated.
2021-12-10 15:44:20 -05:00
Kirils L
68e5328de7
fix(nextjs): make flat option configurable for page generator (#8113) 2021-12-10 20:18:46 +00:00
Benjamin Cabanes
ea0d65b019
docs(nxdev): better api generator templates (#8109) 2021-12-10 12:18:46 -05:00
Leosvel Pérez Espinosa
3fa53857d7
fix(angular): fix setParserOptionsProject being ignored when generating apps (#8105) 2021-12-10 16:00:43 +00:00
Benjamin Cabanes
f35acdf4b9
docs(nxdev): documentation sync command (#8106) 2021-12-10 15:05:47 +00:00
Kyle Cannon
46cd008028
fix(core): add default export for tasksRunnerV2 (#8088)
Fixes #8085
2021-12-10 10:04:06 -05:00
Leosvel Pérez Espinosa
0ce96a47f1
fix(core): forward args to target dependencies with the same executor as the target that is being run (#8104) 2021-12-10 10:01:06 -05:00
Jay Bell
e2626adb68
feat(angular): allow for passing in parser options flag to lib generation (#8082) 2021-12-10 14:33:46 +00:00
Colum Ferry
5f537183b2
fix(angular): use path property correctly when generating scams #8083 (#8100) 2021-12-10 12:46:54 +00:00
Miroslav Jonaš
30e080bcd3
docs(linter): fix wrong rule format in tags guide (#8101) 2021-12-10 13:35:54 +01:00
Miroslav Jonaš
9b28135236
docs(misc): add missing scopes to CONTRIBUTING.md (#8102) 2021-12-10 12:31:13 +01:00