478 Commits

Author SHA1 Message Date
Elderov Ali
3e3ec2e981
docs(angular): fix embedded link in talk section (#7037) 2021-09-25 11:09:38 -04:00
Jonathan Romano
f8f09b91df
fix(linter): add setParserOptionsProject option to generators missing it (#7103) 2021-09-24 21:02:52 -04:00
Benjamin Cabanes
1377728f41
docs(nxdev): better path interpolation (#7112) 2021-09-23 14:07:15 -04:00
Tyler Morrison
17d8647818
feat(testing): remediate headless option for Cypress 8.x (#6882)
* feat(testing): warn Cypress 8.x users about deprecation
* feat(testing): add `headed` option to executor
* chore(testing): refactor `CypressExecutorOptions` to match schema
* docs(testing):  update based on schema

CLOSES: #6811

Co-authored-by: Tyler Morrison <tyler.morrison@ally.com>
2021-09-20 09:42:16 +02:00
Victor Savkin
3e8427f783 docs(misc): clarify a few things regarding incremental builds 2021-09-18 21:13:53 -04:00
Victor Savkin
dca092874b feat(core): add examples and links to nx.dev when using --help 2021-09-17 10:02:44 -04:00
Victor Savkin
a5ba9bc0c3 docs(core): add better docs for run-script 2021-09-16 20:30:00 -04:00
Stephen Wade
c71d286ef5
docs(angular): Fix code snippets incorrectly marked as bash (#7033)
* docs(angular): Fix code snippets incorrectly marked as `bash`

* docs(angular): slight fixes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-09-16 16:51:51 -06:00
Jay Bell
470f86d0ab
feat(nest): feat(nest): add standalone config flag to nest library generator 2021-09-15 12:10:58 -04:00
Ali Yusuf
93f9569deb feat(angular): add support to sass style to the generator 2021-09-15 09:58:49 -04:00
James Henry
bafabb3a11
feat(linter): add support for workspace rules (#6859)
* feat(linter): add support for workspace rules

* chore(linter): move deps to correct package

* feat(linter): workspace-lint-rules as project with test target

* chore(linter): tiny clean up

* fix(linter): update generators.json after refactor

* chore(linter): implement e2e test and PR feedback

* docs(linter): update generator docs

* docs(linter): update generator docs

* docs(linter): update generator docs
2021-09-01 12:49:11 -04:00
Tony
d0e217666a
docs(angular): update setup for micro frontend (#6863) 2021-08-26 20:48:29 +00:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
Leosvel Pérez Espinosa
a30d9e11f8
docs(core): improve cli docs (#6669) 2021-08-24 16:05:02 +00:00
Colum Ferry
9b3f920a3b
docs(angular): add mfe guide (#6829)
* docs(angular): add mfe guide

Add guide "How to setup a Micro Frontend with Angular and Nx" to docs

* docs(angular): fix some issues with mfe guide

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-08-24 11:23:20 -04:00
Jason Jean
fa3dcabe8a
docs(core): add cli overview page and a section documenting how to keep configuration in sync (#6832)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2021-08-24 02:13:25 +00:00
Jason Jean
da7bbc908e
docs(core): rewrite the CLI guide (#6801) 2021-08-23 22:08:41 -04:00
AlmarAubel
e2637760ca
feat(storybook): add vue3 support for storybook executer (#6604)
`This PR adds support for 'vue3' so it can be used to run storybook in a NX workspace

Closes #6603
2021-08-23 10:16:16 +03:00
Jason Jean
bfa06ce8b0
feat(misc): add generator for simple npm-package (#6784) 2021-08-20 14:10:00 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Lars von Qualen
6b37e4b2f1
feat(node): builder should support multiple entry files (#5741)
Adds a new option to the node build executor in order to enable multiple entry files.
2021-08-20 15:49:56 +00:00
Jack Hsu
28ebfae4ea
feat(react): add a hook generator (e.g. useThing) (#6773)
1- Implement a hook generator which provides the skeleton for a new hook, including a test which
uses @testing-library/react-hooks
2- add --pascalCaseDirs to the component generator, so you can
have 'SomeComponent/SomeComponent.tsx' instead of 'some-component/SomeComponent.tsx'

Co-authored-by: Sam Clement <samclement@msn.com>
2021-08-19 13:19:35 -04:00
Jack Hsu
cddb1edd56
feat(react): add format option for buildable libs (#6753)
- Clean up @nrwl/web:package executor
- Combine react package e2e tests to speed up test time
2021-08-18 23:08:30 -04:00
Sumit Parakh
295b8d737c
fix(core): fix --directory alias conflict (#6596)
ISSUES CLOSED: #6571
2021-08-18 18:02:12 -04:00
Chau Tran
8297386d80
feat(node): add TS plugins support for build executor (#6677)
* feat(node): add TS plugins support for build executor

ISSUES CLOSED: #2147

* docs(node): add tsPlugins to node build executor schema

* chore(node): reformat schema json

* chore(repo): update yarn.lock

* cleanup(node): adjust tsPlugins test for node build executor

* cleanup(node): remove packageJson check for tsPlugins test

* cleanup(node): increase timeout for tsPlugins e2e test

* cleanup(node): use type import for typescript types instead of importing typescript

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2021-08-18 17:48:18 -04:00
Gustavo Bini
572e24e466
feat(react): add --changedSince flag to jest runner (#6729) 2021-08-16 16:24:36 -04:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor (#6706) 2021-08-16 16:23:17 -04:00
Jason Jean
5f2129ff77
docs(angular): clarify title of setting up nx in an angular cli project (#6717) 2021-08-13 08:28:30 -07:00
James Henry
3351ef80bc
chore(core): opt-in daemon for ProjectGraph creation, refactor hasher (#6572) 2021-08-12 08:56:01 -04:00
Juri
4156434389 docs(storybook): improve Storybook docs and add info about Nrwl React Storybook preset 2021-08-06 18:11:47 +02:00
Kirils L
32c41b285a
fix(nextjs): update build and serve schemas (#6553) 2021-08-06 11:26:41 -04:00
jaybell
74034b272f feat(core): add an option to selectively hash tsconfig 2021-08-05 16:17:17 -04:00
Juri Strumpflohner
a6a2b87f6c
docs(storybook): re-arrange content for a more concise Storybook overview guide (#6555)
* docs(storybook): re-arrange content for a more concise Storybook overview guide

* docs(storybook): re-arrange content to have a more concise Storybook guide
2021-08-02 11:48:15 +03:00
Juri Strumpflohner
dc38003751
fix(node): change default debug port to 9229 to allow for easy debugging (#6536) 2021-07-30 10:32:57 -07:00
Edouard Bozon
5a9303784c
feat(devkit): make nx.json optional (#6398)
* feat(devkit): make nx.json optional (#5678)

Allow project configuration functions to work without nx.json configuration file, this is particulary handy for regular Angular CLI projects.

* docs(devkit): make `NxJsonConfiguration` partial

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-07-29 17:02:07 -04:00
Jason Jean
89a4ac29b2
cleanup(devkit): rename all variable names of host to tree (#6541) 2021-07-29 15:46:41 -04:00
Leosvel Pérez Espinosa
7d6837ce41
fix(misc): fix moving projects with standalone configuration (#6521) 2021-07-29 14:15:02 -04:00
Leosvel Pérez Espinosa
c6fee867aa
fix(misc): handle moving to a subfolder which results in the same project name and normalize import path (#6507) 2021-07-26 14:56:30 +01:00
Leosvel Pérez Espinosa
873e2970ae
fix(misc): allow run-commands to accept readyWhen for a single command (#6496) 2021-07-23 18:30:20 +01:00
Katerina Skroumpelou
0bacdf3181
feat(storybook): allow users to init storybook with more frameworks (#6491)
ISSUES CLOSED: #5985
2021-07-23 15:32:12 +02:00
Miroslav Jonaš
a9afb97307
docs(core): fix broken links and add missing latest prefix (#6471) 2021-07-23 08:16:54 -04:00
Leosvel Pérez Espinosa
0af1780b81
fix(core): improve run-commands dx for ready-when (#6448) 2021-07-22 09:17:22 +01:00
Craigory V Coppola
a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability (#6451)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Miroslav Jonaš
8c3276f3a0
docs(core): fix outdated references to ng in react and angular (#6426)
* docs(core): fix outdated references to ng in react and angular

* Update docs/angular/examples/react-and-angular.md

Co-authored-by: Brandon <robertsbt@gmail.com>

Co-authored-by: Brandon <robertsbt@gmail.com>
2021-07-20 14:25:31 +02:00
Colum Ferry
227eed9172
feat(angular): generate entry module for remote mfes (#6403) 2021-07-20 12:00:00 +01:00
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Colum Ferry
ec414e5840
feat(angular): add executor to allow custom webpack config with serve (#6359)
Add a builder to allow the user to pass a custom webpack config with serve. It should fetch the
custom webpack config from the build target.
2021-07-15 11:09:59 +01:00