456 Commits

Author SHA1 Message Date
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
James Henry
9d2a304b11 chore(core): updates to daemon outputs, socket location and help 2021-10-12 20:02:00 -04:00
Craigory Coppola
8435bdfb6f
feat(core): shift from 'master' to 'main' as default branch and base (#7111)
* chore(core): fix some broken tests

* docs(core): update docs to represent master -> main

* chore(core): review changes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>

* chore(core): add migration script for backwards-compat w/ main default.

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-10-08 16:48:02 -04:00
Benjamin Cabanes
dc0a5f85dc
docs(nxdev): internal paths to docs (#7292) 2021-10-08 18:38:48 +00:00
Benjamin Cabanes
5ae45b63dd
docs(core): add categories typed comment for nxdevk (#7286) 2021-10-08 12:09:53 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref (#6994)
close #5079
2021-10-04 14:50:26 -04:00
Philip Fulcher
1d8a8878dc
feat(misc): add --open option for dep-graph command (#7209) 2021-10-04 11:45:00 -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
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
Victor Savkin
402969a948 docs(react): fix broken images 2021-09-15 14:11:21 -04: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
Benjamin Cabanes
3fc074cf75
docs(nxdev): fix code format bash (#6962) 2021-09-08 15:02:37 -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
Juri Strumpflohner
0a6434dbf6
docs(nextjs): adjust script for affected deployments to Vercel (#6894) 2021-08-30 12:35:37 -04: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
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
James Henry
3351ef80bc
chore(core): opt-in daemon for ProjectGraph creation, refactor hasher (#6572) 2021-08-12 08:56:01 -04:00
Kirils L
e0028d30f6
feat(nextjs): turn off svgr by default for new apps (#6634) 2021-08-06 13:28:15 -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
Brandon
fbbb8389e8
docs(core): update deep dive on computation caching (#6622) 2021-08-06 08:46:00 -05: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
Jack Hsu
eb942b143c
docs(nextjs): updated Next.js link from React intro page (#6510) 2021-07-26 11:01:45 -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
Kirils L
37bb3cc28c
docs(nextjs): add vercel deployment affected section (#6495) 2021-07-23 14:15:46 -04: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
Kirils L
1655f4b6dd
docs(nextjs): separate vercel deployment guide (#6482) 2021-07-22 20:35:22 -04:00