425 Commits

Author SHA1 Message Date
Juri Strumpflohner
18c675a7b1
fix(storybook): pass on generateCypressSpecs from React storybook schematic (#3687) 2020-09-08 16:03:11 +03:00
Zachary Williams
556385c012
fix(misc): remove deprecated jest builder options from schematic (#3630)
ISSUES CLOSED: #3505
2020-09-05 10:44:30 -04:00
Tasos Bekos
3461a86c6d
fix(web): support baseHref on serve (#3639)
ISSUES CLOSED: #3553
2020-09-04 14:54:29 -04:00
Tasos Bekos
8abc06d3af fix(testing): handle coverageRepoters for Jest through CLI 2020-09-03 11:07:06 -04:00
German
9b490623e9
fix(core): add forwardAllArgs option to run-commands builder (#3559)
ISSUES CLOSED: #3335
2020-09-03 16:40:31 +03:00
Tasos Bekos
86784b2988
feat(misc): support projects option in format (#3588)
ISSUES CLOSED: #3303, #3090
2020-09-02 12:15:55 +03:00
Tasos Bekos
a4b37a341f feat(core): support globs for JSON paths in implicitDependencies
ISSUES CLOSED: #2483
2020-09-01 11:47:16 -04:00
Martin Hochel
c275dcdd4a fix(core): remove invalid --plain flags from affected commands
ISSUES CLOSED: 2720
2020-09-01 11:45:48 -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
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
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
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
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
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
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
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
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