612 Commits

Author SHA1 Message Date
Martin Hochel
842455bbd7
feat: add --js and --pascalCaseFiles flags to core,node,express schematics (#3683) 2020-11-17 12:29:20 -05:00
Juri
1fcea9718b feat(angular): browser builder with incremental build support 2020-11-12 20:49:38 -05:00
Tasos Bekos
8676c1a68b fix(core): default to NPM package manager
* Simplify the determination & detection of the desired package manager.
* Add the `package-manager` option on plugin creation.
* Nx Cloud installation uses the appropriate package manager.
2020-11-11 10:02:47 -05:00
Jack Hsu
a297db6324
fix(nextjs): add Next.js config enhancer for supporting css moduels in workspace libs (#4047) 2020-11-09 11:52:03 -05:00
Jack Hsu
ea04f62eb3
chore(nextjs): update nextjs to 10.0.0 (#4012) 2020-11-02 15:00:09 -05:00
Victor Savkin
5e9a7d76ac cleanup(repo): remove bazel package 2020-11-02 09:28:14 -05:00
Juri Strumpflohner
0892fa2b32
feat(angular): improve incremental build speed (#3854) 2020-10-30 10:23:34 -04:00
Tasos Bekos
34d156d46e feat(core): support packageManager argument 2020-10-30 09:25:23 +02:00
Sebastiandg7
8fffe6d385 fix(nx-plugin): cover dash named plugins in e2e tests
replace the property name version with the plain version of the plugin name in the plugins e2e
tests
in order to coincide with the generated schematic name
ISSUES CLOSED: #3933

ISSUES CLOSED: #3933
2020-10-28 21:08:30 -04:00
Tasos Bekos
6fb23f497f fix(core): handle spaces in workspace path
Closes #3919
2020-10-28 21:04:47 -04:00
James Henry
4f5fb0f8fc
feat(linter): use overrides in root eslint config (#3949)
* feat(linter): use overrides in root eslint config

* feat(linter): update-root-eslint-config-to-use-overrides migration
2020-10-23 16:14:09 -04:00
Philip Fulcher
cf7d779b2b
feat(core): add dep-graph-client app (#3695) 2020-10-16 19:00:27 -04:00
Jack Hsu
c84ad4020f
fix(react): support vendor sourcemap option for web build (#3902) 2020-10-09 19:35:27 -06:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
James Henry
da6f987631
fix(linter): add root .eslintrc.json to implicit deps (#3852)
* fix(linter): add root .eslintrc.json to implicit deps

* fix(linter): unit tests
2020-10-02 09:41:49 -04:00
James Henry
e339ece224
feat(linter): add explicit file extension to config files (#3847)
* feat(linter): add explicit file extension to config files

* feat(linter): update references to .eslintrc for new projects

* fix(linter): fix quotes in global eslint config
2020-10-01 18:59:45 -04:00
Victor Savkin
c25628a4f6
feat(misc): add linter flag to create-nx-workspace (#3826)
* feat(misc): add linter flag to create-nx-workspace

* fix(core): prompt linter when preset is angular or angular-nest

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-30 12:11:37 -04:00
Brian
3f436fc6d0
feat(core): add flag to set dependant libs in either peerDependencies or dependencies (#3078)
* feat(core): add flag to set dependant libs in either peerDependencies or dependencies

* fix(core): mark new property as optional

* feat(core): add migration for new option

* Update migrations.json

Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2020-09-30 10:36:35 -04:00
Jonathan Cammisuli
ac1a0e20d7
feat(core): update recommended extensions for new workspaces (#3823)
* feat(core): update recommended extensions for new workspaces

* feat(core): fix vscode extensions not being generated, add migrations for workspace and jest to add extensions

* feat(core): add e2e to check .vscode/extensions.jon

* chore(core): fix logic for handling angular builders

* chore(core): fix e2e

* chore(core): revert change for angular-console to be default for everyone
2020-09-29 22:25:57 -04:00
James Henry
e22f9370f5
feat(linter): new eslint builder (#3834)
* feat(linter): new eslint builder

* chore(linter): move migration to linter, add implementation

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-29 20:52:10 -04:00
Jason Jean
91ca9ddf66
fix(repo): optimize workspace aux commands test (#3830) 2020-09-29 18:53:11 -04:00
Katerina Skroumpelou
5da9e668fd
feat(storybook): add support for Storybook v6
Co-authored-by: Katerina Skroumpelou <katerina@fileas.local>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-09-28 15:57:10 +02:00
James Henry
122afe7731
fix(repo): tests and e2e, enable linting for workspace to set baseline (#3790)
* chore(repo): enable linting for workspace to set baseline

* fix(repo): broken tests from master branch

* fix(repo): broken e2e tests from master branch
2020-09-23 10:00:20 -04:00
Jonathan Cammisuli
e6e2dc67aa
feat(testing): add projects into jest config (#3766)
* feat(testing): add projects into jest config

* chore(testing): update unit tests and fix presets with spreading a default

* chore(testing): fix node e2e

* chore(testing): review comment changes
2020-09-23 02:20:10 -04:00
Jonathan Cammisuli
87ded432ed
fix(node): set noEmitOnError to always true, and show diagnostic messages from ts (#3697) 2020-09-17 13:08:22 -04:00
Katerina Skroumpelou
44069bf0c8
Fix web builder (#3661)
* feat(react): wip: initial e2e test by jack and web package builder fix

Updated some commnets about versions of Storybook, extra config files, and how to treat these

* fix(web): preserve the target set in tsconfig.lib.json

ISSUES CLOSED: #3601

* fix(react): preserve the target set in tsconfig.lib.json

ISSUES CLOSED: #3601

* fix(react): preserve the target set in tsconfig.lib.json

ISSUES CLOSED: #3601
2020-09-14 15:43:56 -04:00
Ashwin Gokhale
434cb21366
feat(web): added rollup json plugin to web package builder (#3666)
* feat(web): added rollup json plugin to web package builder

* fix(testing): increased timeout for nx-plugin e2e plugin test
2020-09-14 15:43:27 -04:00
Kyle Bastien
b548f1a759 feat(core): adds ability for outputs to be files and not just folders
Makes the cache put code slightly more flexible, which allows for specified outputs to be not
just
folder but also files. This allows for greater flexibility of control when it comes to which
files
you want Nx to cache, so you could exclude sub folders of your dist. This is useful so that
Nx
doesn't spend time copying sometimes complex folder structures to cache (i.e. node_modules in
the
case of using npm link).
2020-09-14 14:15:25 -04:00
Jo Hanna Pearce
001b6ee8cc fix(misc): updates the mv schematic to cope with libs created with --importPath
ISSUES CLOSED: #3476
2020-09-14 13:36:46 -04:00
Jack Hsu
d5481e58b2
fix(react): support default envName behavior for babel (e.g. set through BABEL_ENV or NODE_ENV) (#3693) 2020-09-09 10:47:09 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins (#3636)
ISSUES CLOSED: #3041
2020-09-08 13:59:36 -04:00
Tasos Bekos
8abc06d3af fix(testing): handle coverageRepoters for Jest through CLI 2020-09-03 11:07:06 -04:00
Adam L Barrett
5fa38f89f6 cleanup(react): add e2e test for IE support and differential loading 2020-09-03 10:47:46 -04: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
8938256f55 fix(core): don't alter trailing newlines from package.json during migration
ISSUES CLOSED: #3628
2020-09-01 13:08:30 -04:00
Martin Hochel
7c07cb86f7 fixup! fixup! fixup! feat(core): compile only schematics realted source when using workspace-schematics 2020-09-01 11:59:32 -04:00
Martin Hochel
488c373ed1 fixup! fixup! feat(core): compile only schematics realted source when using workspace-schematics 2020-09-01 11:59:32 -04:00
Martin Hochel
2068d8d934 fixup! feat(core): compile only schematics realted source when using workspace-schematics 2020-09-01 11:59:32 -04:00
Tasos Bekos
8c4904240e fix(web): don't run type checking for legacy build
ISSUES CLOSED: #3349
2020-09-01 11:49:53 -04:00
Jonathan Cammisuli
10d3d0de3b feat(core): add nest preset 2020-09-01 11:46:46 -04:00
Tasos Bekos
875e48400d feat(misc): run-commands supports plain args when invloked through Angular CLI 2020-08-31 12:04:55 -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
Tasos Bekos
7fcf136cad
fix(web): clean output bewtween library builds (#3547)
* fix(web): clean output bewtween library builds

* fix(web): avoid deleting files before differential loading build
2020-08-19 22:14:00 -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
Jonathan Cammisuli
3f6aae5d55
fix(node): do not include rootDir in tsconfig.lib.json (#3545)
* fix(node): use typescript directly to emit files rather than calling tsc

* chore(node): add migration to remove root dir from projects using @nrwl/node:package

* chore(node): fix unit tests

* chore(node): update package spec and e2es
2020-08-18 18:29:10 -04:00
Tasos Bekos
c8cb3ceeae
fix(web): clean output bewtween builds (#3544)
ISSUES CLOSED: #3466
2020-08-17 12:45:34 -04:00
Devin Shoemaker
bf3661e896 fix(core): tests 2020-08-15 11:56:14 +01:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Muhammad Muhajir
920328ca71
fix(storybook): properly resolve TS paths in storybook webpack config
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-08-01 11:41:42 +02:00
Jack Hsu
b1d6c392a9
fix(react): add styled-jsx to babel jest setup to avoid warnings (#3242) 2020-07-31 02:02:05 -04:00