6116 Commits

Author SHA1 Message Date
Jo Hanna Pearce
675000d7a6 feat(core): add lint target to tao and fix lint errors 2020-07-09 22:16:35 -04:00
Jonathan Cammisuli
f9d6acebc5
fix(core): run package.json migration for angular v10 (#3289) 2020-07-08 20:19:55 -04:00
Devin Shoemaker
3145bb9a2a
chore(nx-plugin): fix linting errors and standardize structure (#3282)
With the introduction of Nrwl building Nx with Nx, a lot of linting errors were created. This change fixes all of the schematic and builder linting errors in the nx-plugin package, and also updates the file structure to match more recent changes to the code base.
2020-07-07 18:22:29 -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
Devin Shoemaker
9b418b05cf
fix(nx-plugin): don't add duplicate migrations.json asset entries (#3280) 2020-07-07 10:24:03 -04:00
Kyle Bastien
8714305283
fix(core): fix runNxNewCommand so plugin e2e tests will work. (#3267)
Fixes runNxNewCommand so plugin e2e tests will work by passing --preset=empty to new proj.

ISSUES CLOSED: #3253

Co-authored-by: root <root@Kyle.localdomain>
2020-07-03 11:12:09 -04:00
Victor Savkin
d9536703f3 fix(core): alias conversion should not exclude unknown props for builders 2020-07-01 23:29:02 -04:00
Victor Savkin
74c73b5398 fix(core): provide a way to override nx root path to fix unit tests
patch
2020-07-01 23:29:02 -04:00
Victor Savkin
1b48b1224f fix(core): tmp workaround to unblock gatsby plugin 2020-07-01 23:29:02 -04:00
Adam L Barrett
add3c6a02a
fix(node): use addDepsToPackageJson in @nrwl/express init schematics (#3229)
this will trigger an install if nessecary which will solve the problem
where @types/express were not
being installed when generating
an express application

ISSUES CLOSED: #3103
2020-06-26 10:37:23 -04:00
Jason Jean
dcd6061604
fix(core): print args warning when base is not passed (#3237) 2020-06-25 21:57:49 -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
czaplej#26
0c5c81b0be
feat(react): add sass-loader to webpack (#2853)
`sass-loader` allow export scss variables

Closes #2829
2020-06-24 14:03:36 -04:00
Jack Hsu
c47480bbc8
chore(react): update library versions and update RTK generated code (#3226) 2020-06-24 14:02:01 -04:00
Devin Shoemaker
2193859525
chore(react): unify grammar in schema.json files (#3227) 2020-06-24 13:55:50 -04:00
Benedikt D Valdez
4e6ce45517
fix(linter): eslint version should match >= 6.1.0 (#3002)
Closes #3001
2020-06-23 20:37:36 -04:00
Jack Hsu
1b34bd791c
fix(react): add styled-jsx type definitions for React libs (#3221) 2020-06-23 09:15:10 -04:00
Bram Borggreve
95c2b1b54f
feat(nest): update NestJS version to 7.0.0 (#2921)
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-06-23 14:37:15 +02:00
Jack Hsu
40f9180eba
feat(react): add styled-jsx support for apps, libs, and components (#3204) 2020-06-22 20:41:57 -04:00
Mark Goho
c8a433c4c5
fix(docs): fix typos in decorate cli explanation (#3216) 2020-06-22 14:30:24 -05:00
Jo Hanna Pearce
24abc1f98a fix(core): fix check deps .gitignore shortcut in rm schematic 2020-06-22 12:38:52 +01:00
Jo Hanna Pearce
06a7080132 feat(core): implicitDependency tests for mv & rm schematics 2020-06-22 12:38:52 +01:00
Hanna Walter
a4fa80a351 fix(core): remove matching implicitDependency when removing a project 2020-06-22 12:38:52 +01:00
Hanna Walter
37894f689f fix(core): rename implicitDependencies during move
ISSUES CLOSED: #2906
2020-06-22 12:38:52 +01:00
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests (#3207) 2020-06-20 03:01:03 -04:00
Victor Savkin
06f1ac6a89
fix(core): remove tmp hack for running e2e tests (#3206) 2020-06-20 01:10:44 -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
Adam L Barrett
3cc2521914
fix(core): fix task-orchastrator to convert boolean flags properly (#3198)
the task-orchastrator was converting boolean command line flags to a string value `true` instead of
preserving the boolean flag, this commit checks for a boolean value and adds a flag accordingly

ISSUES CLOSED: #3197
2020-06-19 16:20:08 -04:00
Victor Savkin
7cbf4ffd88 feat(core): add oss preset to create-nx-workspace 2020-06-19 13:01:57 -04:00
Victor Savkin
cb710cb0f6 fix(core): builder aliases are ignored when using nx cli 2020-06-18 22:30:02 -04:00
Juan Carlos Valerio Arrieta
a638d86490 fix(core): read tsconfig file using readJsonInTree 2020-06-18 09:50:21 -04:00
Juan Carlos Valerio
c1b494c22e fix(generate): improve error handling
Deliver better errors than `Unexpected token } in JSON at position X`
Fix issue #1047

https://github.com/nrwl/nx/issues/1047
2020-06-17 23:23:59 -04:00
Victor Savkin
23abfff579 fix(core): restore lost coerceTypes 2020-06-17 23:06:43 -04:00
Victor Savkin
73bcba6ac5 fix(core): only set FORCE_COLOR=true when using pipe to capture output 2020-06-16 10:10:29 -04:00
Victor Savkin
96a7f69d33 feat(core): add second way of capturing output 2020-06-15 16:55:35 -04:00
Victor Savkin
1e593a2b07 fix(misc): minor format changes in readmes 2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Jason Jean
7301930d3d
fix(core): consider overrides for output path (#3172) 2020-06-13 12:59:13 -04:00
Noriyuki Shinpuku
6314e24450
fix(react): fix .browserslistrc template file name (#3167)
ISSUES CLOSED: #3166
2020-06-13 00:10:58 -04:00
Jason Jean
fc61fcb2ab
fix(linter): fix dependencies from projects on themselves when another circular dependency exists (#3163) 2020-06-12 10:07:56 -04:00
Jason Jean
0d9b8bb0db
fix(testing): do not add cypress-eslint-plugin if eslint not used (#3162) 2020-06-11 21:42:28 -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
Adam L Barrett
d17d437078
feat(react): add jsx-no-useless-fragment warning to lint rules (#3159)
ISSUES CLOSED: #2432
2020-06-11 14:43:22 -04:00
Victor Savkin
0cd4cdf4f0 fix(misc): fix run-command schematic to not error when no architect section 2020-06-11 14:27:33 -04:00
Victor Savkin
71690c0d38 fix(core): update decorate script to implement a more reliable way of "symlinking' on windows 2020-06-11 14:27:33 -04:00
Victor Savkin
842e458cc1 fix(core): decorate cli postinstall script doen not work on windows 2020-06-11 14:27:33 -04:00
Jonathan Cammisuli
807fd6faa1
fix(testing): use readWorkspace for getting the workspace file (#3160) 2020-06-11 14:02:21 -04:00
Jason Jean
e923ae621c fix(angular): fix angular cli decoration for windows 2020-06-11 10:23:56 -04:00
Victor Savkin
13280b5282 fix(angular): always append ngcc postinstall script 2020-06-10 16:34:35 -04:00
Victor Savkin
41e4714dd0 feat(core): decorate angular cli when creating workspaces powered by Angular CLI 2020-06-10 13:30:43 -04:00