2277 Commits

Author SHA1 Message Date
Jonathan Cammisuli
028e54eadf
feat(node): add nest schematics with project option (#3304) 2020-08-17 08:54:34 -04:00
Zachary DeRose
8a9565de01
docs(docs): workspace builder (#3526) 2020-08-14 13:43:48 -07:00
Jessica Campbell
8a0a2a15f3 Update 08-create-libs.md
Update doc to add missing "ui" in path
2020-08-14 15:08:52 -04:00
Mehrad Rafigh
8a7cb350a8 feat(testing): pass ignoreTestFiles to cypress builder
ISSUES CLOSED: #3439
2020-08-13 14:15:28 -04:00
Ashley Hunter
10911e25c2
feat(angular): add an option to add strict type checking (#3465)
* feat(angular): add an option to add strict type checking

Adding support for strict type checking to Angular application and library generate schematics.

E.g.

`nx generate application myapp --strict`
`nx generate lib mylib --strict`

Closes #3383.

Performs the following configuration changes:

- Enables strict mode in TypeScript, as well as other strictness flags recommended by the TypeScript team. Specifically, forceConsistentCasingInFileNames, noImplicitReturns, noFallthroughCasesInSwitch.

- Turns on strict Angular compiler flags strictTemplates and strictInjectionParameters

These match the flags used in the standard CLI strict mode.

* cleanup(misc): updating import path

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>
2020-08-12 18:15:59 -05:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Sharif Jubayer Arefin
5fd392fd40 docs(docs): Add missing class todo in todos.component.html 2020-08-05 23:07:03 -04:00
Hugh Loughrey
94c230bc4d docs(docs): update documentation on e2e watch mode
ISSUES CLOSED: 2963
2020-08-05 22:49:55 -04:00
Isaac Mann
6196c380e5
docs(docs): fix react configuration ToC formatting (#3444)
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-07-31 10:36:43 -04:00
Isaac Mann
50a4453129 docs(docs): update react configuration docs too 2020-07-29 17:09:48 -04:00
Isaac Mann
fdec75a495 docs(docs): document tasksRunnerOptions 2020-07-29 17:09:48 -04:00
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -04:00
Benjamin Cabanes
93140c5ff4
docs(react): reactjs storybook shematics list (#3425) 2020-07-28 10:05:58 -04:00
Ramiro Rivera
de36724e36
docs(testing): fix jest builder documentation regarding coverageDirectory key (#3421)
ISSUES CLOSED: #3420
2020-07-28 09:53:18 -04:00
Isaac Mann
29c0b809c9
docs(core): expand description of outputPath for run-commands builder and schematic (#3398) 2020-07-24 16:13:06 -05:00
Bucky Maler
61761959be
feat(storybook): add docs mode option to dev server builder (#2882)
closes #3147
2020-07-24 22:21:14 +02:00
Isaac Mann
5f2f46405f
docs(docs): workspace layout documentation (#3400)
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-07-24 21:10:31 +02:00
Isaac Mann
19f5bdce1c
docs(react): cra migration guide (#3344)
* docs(react): cra migration guide

* docs(react): add to maps.json

* docs(docs): use run-commands schematic

* docs(react): cra migration guide

* docs(react): add to maps.json

* docs(docs): docs/react/migration/migration-cra.md

Co-authored-by: Jack Hsu <jack.hsu@gmail.com>

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2020-07-24 13:21:15 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) (#2840)
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
katerina
940acafb37 fix(docs): removed unused boolean import from storybook-plugin docs
ISSUES CLOSED: #2682
2020-07-21 21:17:49 -04:00
Uday Vunnam
c71d4e8170 fix(docs): fix broken link in react tutorial
next.js link is broken in react tutorial. fixed it to point to correct link
2020-07-21 21:17:07 -04:00
Jack Hsu
f110ccfe8e
feat(core): add cwd and outputPath options for run-commands schematic (#3333) 2020-07-14 14:19:35 -04:00
Adam L Barrett
69dc8da9cc
docs(docs): docs(docs): add a guide to the docs for configuring browser support in applications (#3320) 2020-07-13 12:28:18 -04:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* feat(testing): add util to update jest configs.

* feat(testing): place configurations in jest config file rather than just the builder

* feat(testing): create migration and unit tests

* feat(testing): fix jest template

* feat(testing): fix jest template to correct unit tests

* feat(testing): include globals.ts-jest for all non babel configs

* feat(testing): include globals.ts-jest for node e2e

* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder

* feat(testing): clean up jest config functions and fix errors with some migrations

* feat(testing): add new line to package.json

* feat(testing): update object check to actually check for undefined

* chore(testing): loop through all project targets as well as targets

* chore(testing): update migration to be 10.0.0-beta.2
2020-07-13 10:45:04 -04:00
Philip Fulcher
4968b6e6e3
feat(core): add filtering arguments to dep-graph CLI (#3171)
BREAKING CHANGE:
Dependency graph will now default to having no projects selected if run without filtering arguments
2020-07-10 19:31:32 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 (#3056)
* feat(core): switch over to devkit 10-rc.0

* feat(core): implement solution tsconfigs wip

* feat(angular): add angular migrations

* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Brandon
24b87d115b
feat(core): adds configurable base branch and HEAD in nx.json (#3217)
* feat(core): adds configurable base branch in nx.json

new field in nx.json - defaultBranch

ISSUES CLOSED: #1791

* feat(core): split affected into config options for base and head in nx.json

Co-authored-by: agriggs <alex.griggs@gmail.com>
2020-06-25 10:24:37 -04:00
Devin Shoemaker
2193859525
chore(react): unify grammar in schema.json files (#3227) 2020-06-24 13:55:50 -04:00
Jack Hsu
40f9180eba
feat(react): add styled-jsx support for apps, libs, and components (#3204) 2020-06-22 20:41:57 -04:00
Andy Pickler
8f402287a3
docs(docs): fix typo in Data Persistence guide (#3177) 2020-06-22 14:31:52 -05:00
Adam L Barrett
7b27ba4daa
fix(testing): allow jest --bail flag type to be either boolean or number (#3181) 2020-06-19 16:20:24 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Isaac Mann
e82642ddc3
docs(docs): add examples section (#3165)
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-06-12 22:09:48 -04:00
Adam L Barrett
2700cb7596
feat(react): make React schematics use babel-jest by default (#3154)
* feat(react): make React schematics use babel-jest by default

The babelJest option was removed from the React application
and library schematics and set to true by default

ISSUES CLOSED: 2365

* feat(react): remove babelJest option test
2020-06-11 16:26:23 -04:00
Gui Seek
e377bbe5da docs(angular): fixed link to page nx and cli
When introducing the tool to a friend, I clicked on the link "learn more about nx cli and angular
cli", which resulted in a blank page;  there was `%60` in the URL. After decodeURI, I thought it
would have the "grave accent" (used in template string) that should not be there. So, I removed it.
2020-06-10 21:59:53 -04:00
Jonathan Cammisuli
68ea2de29d
feat(nx-plugin): use package and e2e folder instead of libs and apps in create-nx-plugin command (#3120)
* feat(nx-plugin): use package and e2e folder instead of libs and apps in create-nx-plugin command

* feat(nx-plugin): remove console log
2020-06-05 21:51:53 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Rares Matei
6384bde734
feat(core): load root .env in all nx processes (#3081)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>

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

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2020-06-05 14:49:10 -04:00
Jo Hanna Pearce
319f7d0f26 feat(angular): add addModuleSpec flag to library schematic + refactor 2020-06-03 16:46:42 -04:00
Jack Hsu
43460cc7b7 feat(linter): add quiet option for eslint 2020-06-03 16:44:59 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -04:00
Victor Savkin
2c96d7a137
feat(misc): improve the ux of the run-commands builder (#3092) 2020-06-02 10:25:44 -04:00
Daniel Ji
25432a6395
fix(react): exposed the crossOrigin option for web builder options (#2830)
ISSUES CLOSED: 2419

Co-authored-by: danielji <daniel.ji@innovid.com>
2020-05-29 11:04:08 -04:00
Isaac Mann
ea58a6f2aa
Console documentation (#3086)
* docs(docs): add documentation for nx console

* docs(docs): tweak youtube embed settings

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-29 09:40:23 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
7679df22f5 Revert "feat(react): refactored babel support so options are more easily customized (#3058)"
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized (#3058) 2020-05-26 09:16:36 -04:00
arrenv
1926024ab1
docs(react): clarify serving todos and api in separate terminals in tutorial (#3050)
Added "in separate terminals" on line 76
2020-05-25 17:57:43 -04:00
arrenv
6ead041f9d
docs(docs): add explanation for serving multiple projects (#2753)
* Update 06-proxy.md

* Update docs/angular/tutorial/06-proxy.md
2020-05-25 17:53:53 -04:00
Benedikt D Valdez
dbda2b8904
feat(core): generate static website with dep-graph --file=foldername.html (#3049)
* feat(core): generate static website with dep-graph --file=dep-graph.html

ISSUES CLOSED: #3048, #2005

* fix(core): only allow .json and .html extensions in dep-graph file arg

# Conflicts:
#	packages/workspace/src/command-line/dep-graph.ts
2020-05-25 13:46:14 -04:00