358 Commits

Author SHA1 Message Date
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
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
n0p
f51e005a8c Update generate.md
Added web component app option.
Should 'next' application added also ?

I am a bit confused by Angular application option. It is the same as new Node application ?
2020-05-21 23:45:23 -04:00
Zdravko Tatarski
14c79e01ed
docs(angular): fix wrong function in data persistence example (#3042) 2020-05-21 11:05:14 -05:00
Isaac Mann
0e3e17b1af
docs(docs): mention remove schematic in grouping libraries (#3017)
* docs(docs): mention remove schematic in grouping libraries

* docs(docs): make command shorter

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-15 16:18:06 -04:00
Isaac Mann
ba86bbd51b
docs(core): add docs about .nxignore (#3013)
* docs(core): add docs about .nxignore

* docs(docs): change backticks to quotes

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-15 16:17:39 -04:00
Jason Jean
b42f0a81bf
fix(testing): add coverage as alias of code-coverage (#3010) 2020-05-15 10:02:49 -04:00
Victor Savkin
68b5d598f3 docs(misc): update readme and docs to point to new videos 2020-05-14 12:43:00 -04:00
Isaac Mann
2c7bcbdd74
docs(core): structure docs on creating libraries (#2948)
* docs(core): structure docs on creating libraries

* docs(docs): update structure docs

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-08 15:49:30 -04:00
Isaac Mann
680541b89f
Global config files docs (#2974)
* docs(misc): add docs on global config files

* docs(docs): move configuration under workspace

Co-authored-by: Victor Savkin <mail@vsavkin.com>
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-08 15:32:08 -04:00
Isaac Mann
0710040e88
docs(docs): clarify what does nx add to ng cli transition (#2976)
* docs(docs): clarify what does nx add to ng cli transition

* docs(docs): change back to ing verbs

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-08 15:31:49 -04:00
Philip Fulcher
f10807e81c
docs(angular): adding screenshot to migration doc (#2971) 2020-05-08 14:31:39 -04:00
Ross Knudsen
41572b3afb
feat(testing): added --showConfig CLI option to Jest package (#2968) 2020-05-08 13:39:07 -04:00
Benedikt Starzengruber
ac6f52a5a5
feat(testing): add --detectOpenHandles to Jest CLI Options (#2969) 2020-05-08 13:26:36 -04:00
Philip Fulcher
120c5c5073
docs(docs): add general and AngularJS migration docs (#2930)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2020-05-04 09:41:29 -04:00
Jack Hsu
8e6ad2ffab
feat(react): add assets option for package builder to copy files to output path (#2933) 2020-05-01 09:16:49 -04:00
Juri Strumpflohner
4341328dd4
fix(storybook): only install the necessary package dependencies (#2886) 2020-04-30 10:07:36 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00