404 Commits

Author SHA1 Message Date
Martin Hochel
c275dcdd4a fix(core): remove invalid --plain flags from affected commands
ISSUES CLOSED: 2720
2020-09-01 11:45:48 -04:00
Isaac Mann
e7c6c807b5
docs(react): fix typo (#3586)
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-08-21 15:22:20 -04:00
Jack Hsu
9f35646c65
fix(nextjs): fix Next.js schematics to support dynamic routes and remove unnecessary next plugins (as of 9.5) (#3574)
Closes #2478, #2490
2020-08-21 14:25:22 -04:00
Zachary DeRose
a409a2cf68
fix(docs): fix broken link in Computational Cache tutorial (#3582) 2020-08-21 13:22:04 -04:00
Jason Jean
d796731c97
fix(angular): generate storybook configuration with proper linter (#3580) 2020-08-21 11:55:24 -04:00
Tasos Bekos
46011bbf98
docs(docs): document glob support for implicitDependencies (#3570) 2020-08-21 10:52:09 -04:00
Jonathan Cammisuli
7407aa41a8
fix(node): add srcRootForCompilationRoot option for node package builder (#3564) 2020-08-19 17:22:44 -04:00
Tasos Bekos
9c5028e005
fix(misc): format only workspace projects with libs-and-apps (#3498)
* fix(misc): rename format option to `libs-and-apps`

* fix(misc): format only workspace projects with `apps-and-libs`

Retrieving and npm project dependecies is throwing exception when trying to read the `root` of the projects, causing a fallback to all files.
2020-08-19 11:16:54 -04:00
Victor Savkin
7476fdfa69 fix(docs): fix typo in tutorials 2020-08-18 22:59:46 -04:00
Adam L Barrett
afd99b27de
fix(misc): allow --js flag to be passed to @nrwl/web:lib schematic (#3230)
* fix(misc): allow --js flag to be passed to @nrwl/web:lib schematic

creates js files instead of ts files
s
ISSUES CLOSED: #2985

* fix(misc): add tests for --js flag in workspace
2020-08-18 22:07:33 -04:00
Mehrad Rafigh
78ed02c2cd
feat(testing): pass reporter and reporterOptions to cypress builder (#3536) 2020-08-18 09:49:57 -04:00
Jonathan Cammisuli
028e54eadf
feat(node): add nest schematics with project option (#3304) 2020-08-17 08:54:34 -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
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
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -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
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
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
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
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
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
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
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
Juri Strumpflohner
7f5f2277b0
feat(linter): adds maxWarnings to builder (#3071)
ISSUES CLOSED: #2762
2020-05-25 11:17:31 -04:00
Will S
3ecf6ea5a9
fix(testing): update maxWorkers jest builder option to support string type (#3025)
* fix(testing): update maxWorkers jest builder option to support string type

Jest supports both number and string args for the maxWorkers option, per their latest docs. This
updates the options for the jest builder to support both number and string types. Also updates the
docs accordingly.

ISSUES CLOSED: #2871

* fix(testing): fix test expectation missing property
2020-05-23 08:49:44 -04:00
Brandon
b9953b4c0b
docs(core): update generated docs for cli generate command (#3053) 2020-05-22 15:04:17 -04:00