Christopher Dieringer
adc34f82e3
feat(core): add user-friendly error on invalid input
...
Prevent cryptic error of `TypeError: Cannot read property 'map' of undefined`, which doesn't guide the user towards success
2020-09-24 10:25:45 -04:00
Jonathan Cammisuli
be92108355
fix(nx-plugin): remove root dir in tsconfig from newly generated plugins
2020-09-23 10:57:27 -04: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
Juri Strumpflohner
b19d29319a
fix(storybook): migration of tsconfig when now tsconfig.lib.json is present ( #3786 )
2020-09-22 18:58:56 -04:00
atomaszewski
e50b2c2de4
fix(node): update all webpack-dev-server versions
2020-09-21 12:38:54 -04:00
atomaszewski
a3a4818332
fix(node): update yarn vulnerability in webpack-dev-server
2020-09-21 12:38:54 -04:00
Jason Jean
6d9ff59cd4
fix(core): fix possible memory leak warning from task orchestrator
2020-09-21 12:38:09 -04:00
Tasos Bekos
6c7b3060b2
cleanup(core): avoid referencing node_modules
2020-09-21 12:37:15 -04:00
Jason Jean
ae17586084
fix(angular): fix ng add for angular cli 10.1 ( #3771 )
2020-09-19 14:29:26 -04:00
Jason Jean
c2a1946fe6
fix(core): enable intelligent tsconfig changes in tsconfig.base.json ( #3768 )
2020-09-19 12:23:54 -04:00
Jason Jean
66038891ec
fix(core): improve performance of analyzing npm dependencies ( #3755 )
2020-09-18 21:23:56 -04:00
Jason Jean
14987f955c
fix(core): update version of yargs-parser ( #3754 )
2020-09-17 13:26:14 -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
Jason Jean
ed797617af
fix(core): allow-tsconfig.json for project graph
2020-09-17 12:38:26 -04:00
Juri
d34c3e6b82
fix(storybook): tsconfig extends mapping
2020-09-17 11:20:20 -04:00
Tasos Bekos
2bac63e0ee
cleanup(core): avoid referencing node_modules on plugin creation
2020-09-17 11:16:01 -04:00
Tasos Bekos
c510cdd3d3
fix(misc): upgrade version of yargs-parser ( #3751 )
...
ISSUES CLOSED : #3105
2020-09-17 10:31:10 -04:00
Tasos Bekos
07ba927ed7
cleanup(core): avoid referencing node_modules on workspace creation
2020-09-15 21:53:29 -04:00
Mehrad Rafigh
d07ab51b4d
feat(angular): update jest-preset-angular library to v8.3.1
2020-09-15 11:17:03 -04:00
Juri Strumpflohner
929f2f4b9d
fix(angular): properly generate storybook stories across barrel files ( #3662 )
...
Previously stories haven't been generated properly when
barrel files had been used to import
components in
Angular modules
ISSUES CLOSED: 2813
2020-09-15 14:25:11 +03: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
Tasos Bekos
71c8e9c493
cleanup(repo): avoid referencing node_modules
2020-09-14 13:14:11 -04:00
Tasos Bekos
b11a50f9a0
cleanup(repo): add packages to dependency lists in package.json
...
This commit also adds a dependency check tool.
2020-09-14 13:07:45 -04:00
Victor Savkin
3e3b4be7e0
fix(node): remove the edge from the node package to angular
2020-09-14 12:56:21 -04:00
Tasos Bekos
ebe49c7917
fix(core): correctly alias format:write to format
2020-09-14 11:13:02 -04:00
Adam L Barrett
e021f74142
fix(nextjs): add project deps to package.json when bulding nextjs apps ( #3594 )
...
ISSUES CLOSED : #3062
2020-09-11 08:45:10 -04:00
Tasos Bekos
655ef4a91f
fix(web): package builder correctly copies assets on Windows
...
On Windows, the paths were using backslashes and this was causing `globby` inside `rollup-plugin-copy` to not match any pattern, and thus ignoring all assets during the build. This commit ensures that all paths passed to `rollup-plugin-copy` use only forward slashes.
ISSUES CLOSED : #3328
2020-09-11 13:53:59 +03:00
Victor Savkin
a615da995d
feat(core): add a prompt when using --scan without nx-cloud
2020-09-10 16:32:46 -04:00
Victor Savkin
cb15498d83
fix(core): git hasher should handle unstaged files with spaces
2020-09-10 14:38:13 -04:00
Jason Jean
e9393805c1
feat(core): optimize project locator perf
2020-09-10 14:23:36 -04:00
Victor Savkin
7df4ee1551
fix(core): remove an invalid link
2020-09-10 11:32:41 -04:00
Peter B Smith
78576e7c89
fix(angular): replace addAll with setAll in ngrx schematic ( #3699 )
...
Closes #3698
2020-09-09 13:59:46 -05:00
Devin Shoemaker
34a66f332a
feat(core): add nx-cloud to list of default packages to be migrated
...
`nx-cloud` is currently not migrated with the nx migrate latest command. Including this in the list of default packages will result in more expected behavior with less maintenance for the end-user.
2020-09-09 14:02:14 -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
Jack Hsu
e4485d4223
fix(react): fix babel preset for web to support undefined caller ( #3694 )
2020-09-09 09:16:14 -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
Katerina Skroumpelou
e10aa455ea
feat(node): added rootDir flag when generating node/lib ( #3659 )
2020-09-08 11:36:24 -04:00
Juri Strumpflohner
18c675a7b1
fix(storybook): pass on generateCypressSpecs from React storybook schematic ( #3687 )
2020-09-08 16:03:11 +03:00
Tasos Bekos
afa4588b0e
fix(repo): fix e2e react tests ( #3678 )
2020-09-07 10:20:31 -04: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
Victor Savkin
326bff6f1a
fix(core): update the version of yargs to fix npm audit
2020-09-04 10:15:07 -04:00
Victor Savkin
2c1d99e066
fix(angular): use @schematics/angular when setting style defaults
2020-09-03 20:49:53 -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
Victor Savkin
28fbd5c576
fix(core): set status code to 2 when sigint
2020-09-03 10:44:15 -04:00