484 Commits

Author SHA1 Message Date
Juri
fa67518892 fix(web): set buildLibsFromSource to true by default
Incremental build is for large monorepos and should be enabled manually
2020-12-04 14:10:46 -05:00
Adam L Barrett
c062c6e657
fix(nextjs): copy the next.config.js file to the dist when building (#4179)
This is nessecary for the next server to respect config options
2020-12-04 11:04:32 -05:00
victor savkin
58889470fd feat(devkit): add updateProjectConfiguration and readProjectConfiguration helpers 2020-12-03 10:54:58 -05:00
victor savkin
8afc5c5bce feat(core): make older builders support new config formats 2020-12-01 15:46:00 -05:00
Tasos Bekos
6c1335ac83 feat(core): interpolated outputs & cache coverage folder 2020-12-01 13:49:43 -05:00
Jonathan Cammisuli
2ec6848dd3 feat(node): add generatePackageJson option to build executor 2020-11-30 19:59:45 -05:00
Juri
c699f8d5c4 fix(react): dependency resolution for buildable libraries
Fixes #3994
2020-11-30 19:28:47 -05:00
Katerina Skroumpelou
0d38b8b560
fix(react): corrected style schematics for css modules (#4067) 2020-11-30 16:44:47 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
victor savkin
48bcaf099d feat(core): update the migrate command to support @nrwl/devkit generators 2020-11-26 21:38:56 -05:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Jonathan Cammisuli
15213119b7
feat(nx-plugin): use @nrwl/devkit 2020-11-25 14:34:03 -05:00
Tasos Bekos
7383af3fb3 fix(core): store packageManager preference in angular.json 2020-11-25 14:31:20 -05:00
James Henry
bd92a12c33
feat(angular): eslint config including template linting (#3988)
* feat(angular): eslint config including template linting

* feat(angular): migration add-template-support-and-presets

* feat(angular): add support for component and directive prefix in lint config

* fix(angular): tests

* fix(angular): e2e tests

* fix(angular): update to latest and make updates

* fix(angular): update to latest and make updates

* fix(angular): lockfile

* fix(angular): update to latest and make updates

* fix(angular): bump angular-eslint

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-11-25 13:55:22 -05:00
Victor Savkin
afdef2069c feat(core): always use nx cli to invoke generators and execute tasks 2020-11-20 09:57:32 -05:00
Victor Savkin
06e13dae2f cleanup(core): use the use generator instead of schematic 2020-11-19 20:07:13 -05:00
Jack Hsu
b73636a419
chore(react): fix e2e test that checks for vendor sourcemap (#4109)
- No longer check "sourceMappingURL" in content, but check existence of 'vendor.js.map' in dist
2020-11-18 17:37:05 +02:00
Victor Savkin
4511ec65fb feat(web): add file-server builder 2020-11-17 19:31:08 -05:00
Victor Savkin
a3550ce57b feat(core): simplify generation api not to use a higher-order function 2020-11-17 19:31:08 -05:00
Victor Savkin
4a17b7339f feat(core): use the new schematics api for workspace schematics 2020-11-17 19:31:08 -05:00
Victor Savkin
428edb0c32 feat(core): implement basic support for schematics 2020-11-17 19:31:08 -05:00
Victor Savkin
68a4a7eb8c feat(core): add nx devkit builders 2020-11-17 19:31:08 -05:00
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