2404 Commits

Author SHA1 Message Date
Tasos Bekos
341cc6bdba fix(repo): lookup for installed plugins in package.json
In addition, we refactor the plugin capabilities and installed plugin
methods to avoid references to `node_modules`.
2020-09-25 10:29:56 -04:00
Noriyuki Shinpuku
c3334d0ab0
feat(core): sort dependencies and devDependencies (#3806) 2020-09-25 10:11:46 -04:00
Tasos Bekos
9153007462 feat(repo): check package dependencies on CI 2020-09-25 09:06:02 +03:00
Jack Hsu
ea71278aba
fix(react): calculate npm project dependencies correctly (#3804) 2020-09-24 13:29:23 -04:00
Victor Savkin
7582aab6cc fix(repo): update the version of nx-cloud that set NX_BRANCH and NX_RUN_GROUP automatically 2020-09-24 13:12:25 -04:00
Ashley Hunter
c382feb4de
fix(web): adding missing @rollup/plugin-json dependency (#3783)
* fix(web): adding missing @rollup/plugin-json dependency

* fix(web): updating @rollup/plugin-json dependency range

Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>
2020-09-24 11:54:05 -04:00
Tasos Bekos
21bbd1e90a fix(core): declare cli as direct dependency
Having `cli` as dependency of `workspace` was working because of the
flattened module structure that NPM/Yarn use. On stricter package
managers like PNPM and Yarn 2 this is not the case, and any `pnpm nx` or
`yarn nx` command was failing because `@nrwl/cli` couldn't be located.

ISSUES CLOSED: #2944
2020-09-24 10:56:04 -04:00
Machiste Quintana
608510f9a7 docs(angular): Reorganize CLI docs in tutorial to match React tutorial 2020-09-24 10:51:50 -04:00
Machiste Quintana
6f7a1bc96a docs(react): Update plain nx commands to npx in angular tutorial 2020-09-24 10:51:50 -04:00
Machisté N. Quintana
4ab8ff7705 docs(angular): Update plain nx commands to npx in angular tutorial 2020-09-24 10:51:50 -04:00
Webber Wang
9efa305b62
feat(storybook): storybook config projectType application (#2382) (#3611)
* feat(storybook): storybook config projectType application

* docs(storybook): update auto-generated docs

* feat(storybook): supporting projectType application for storybook

feat(storybook): supporting projectType application for storybook

* fix(storybook): change build asset glob pattern

fix(storybook): change build asset glob pattern

Co-authored-by: Webber Wang <webber@codelabstudios.com>
2020-09-24 17:33:24 +03:00
Jason Jean
5e8c57a5ce fix(core): fix decorate angular-cli script to work for production installs 2020-09-24 10:27:20 -04:00
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
Zachary DeRose
d1f740e264
fix(docs): Updating size of youtube embeds (#3798) 2020-09-23 16:07:55 -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
Zachary DeRose
6e764888fa
feat(docs): Adding videos for React tutorials (#3791) 2020-09-23 10:27:47 -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
Zachary DeRose
c9e167b6ae
feat(docs): Adding videos for Angular tutorials (#3787) 2020-09-22 17:49:07 -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
Isaac Mann
c74b933fe9 docs(docs): fix copy paste typo 2020-09-21 12:38:28 -04:00
Isaac Mann
ea0edb7585 docs(docs): add missing schematics to map.json 2020-09-21 12:38:28 -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
Zachary DeRose
231e666467
fix(docs): Misnamed link in sidebar (#3762) 2020-09-18 09:57:01 -04:00
Jason Jean
38cf2a8f87
feat(repo): update to Nx 10.2.1 (#3757) 2020-09-17 18:27:26 -04:00
Jason Jean
3b217b78ad Release 10.2.1 2020-09-17 17:31:15 -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
Victor Savkin
fe7862b8fb cleanup(repo): remove a zip file with a list of talks 2020-09-17 10:54:34 -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
Bucky Maler
10f480afae chore(core): nx plugin submission @nx-plus/nuxt 2020-09-14 13:38:28 -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
Peter Smith
a9ba084563 docs(angular): clarify optimisticUpdate usage
the optimisticUpdate.run function expects a `void`, `Action`, or `Observable<Action>` return.
Clarity matters. So by using `mapTo` operator the example shows the return of an action

ISSUES CLOSED: #3702
2020-09-14 13:32:00 -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