1347 Commits

Author SHA1 Message Date
Jack Hsu
1b34bd791c
fix(react): add styled-jsx type definitions for React libs (#3221) 2020-06-23 09:15:10 -04:00
Jo Hanna Pearce
06a7080132 feat(core): implicitDependency tests for mv & rm schematics 2020-06-22 12:38:52 +01:00
Victor Savkin
7cbf4ffd88 feat(core): add oss preset to create-nx-workspace 2020-06-19 13:01:57 -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
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
Victor Savkin
c228ea6848 feat(repo): add detailed instructions on how to publish to local registry 2020-06-10 11:33:41 -04:00
Victor Savkin
d84a2bd075 fix(repo): misc fixes to stabilize e2e tests 2020-06-08 17:11:18 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Rares Matei
6384bde734
feat(core): load root .env in all nx processes (#3081)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2020-06-05 14:49:10 -04:00
Jonathan Cammisuli
3a4a3bea13
fix(core): use typescript module resolution for linting (#3075)
* fix(core): use typescript module resolution only for linting

* fix(core): fix unit tests

* fix(core): pass npm scope to target project locator for fallback

* chore(core): move comment about npmscope
2020-06-05 11:11:17 -04:00
Victor Savkin
260f73a338 feat(angular): add a script to warn when ng is used instead of nx 2020-06-04 21:05:01 -04:00
Jo Hanna Pearce
319f7d0f26 feat(angular): add addModuleSpec flag to library schematic + refactor 2020-06-03 16:46:42 -04:00
Jack Hsu
43460cc7b7 feat(linter): add quiet option for eslint 2020-06-03 16:44:59 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Brandon
6e79f255a0
fix(core): support --only-failed option with run-many command (#3054) 2020-05-29 17:26:43 -04:00
Juri Strumpflohner
e7297f58af
feat(react): copy README when building libraries (#3091) 2020-05-29 15:20:09 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
48d953e4d7 feat(angular): add preserveAngularCLILayout option to ng-add 2020-05-28 20:07:32 -04:00
Victor Savkin
7679df22f5 Revert "feat(react): refactored babel support so options are more easily customized (#3058)"
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized (#3058) 2020-05-26 09:16:36 -04:00
Jonathan Cammisuli
b9fd69b161
fix(core): split namespace for library dependencies (#3073)
* fix(core): split namespace for library dependencies

npm deps have `npm:` included in their names, and we should not check that namespace when looking into the package.json

* fix(core): review changes
2020-05-25 14:40:01 -04:00
Benedikt D Valdez
dbda2b8904
feat(core): generate static website with dep-graph --file=foldername.html (#3049)
* feat(core): generate static website with dep-graph --file=dep-graph.html

ISSUES CLOSED: #3048, #2005

* fix(core): only allow .json and .html extensions in dep-graph file arg

# Conflicts:
#	packages/workspace/src/command-line/dep-graph.ts
2020-05-25 13:46:14 -04:00
Jack Hsu
bd5ca7d909
fix(nextjs): copy public folder to dist when building Next app (#3047)
Closes #3019
2020-05-22 15:56:15 -04:00
Victor Savkin
0c4c39f69c fix(repo): cache the results of all npm installs to speed up e2e tests 2020-05-19 20:50:00 -04:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Jason Jean
ec1dfba6f6
feat(repo): add tests for create-nx-workspace (#3000) 2020-05-15 11:30:11 -04:00
Adam L Barrett
c00f996bea
fix(testing): add a guard to not accidently publish to the registry (#2978) 2020-05-09 13:36:19 -04:00
Adam L Barrett
515cc37ec6
Use local-registry for E2E tests (#2821) 2020-05-09 12:05:17 -04:00
Jonathan Cammisuli
4095d21d20
feat(core): add npm dependencies to package.json for publishable libs (#2879) 2020-05-08 13:54:00 -04:00
Michael Kriese
69faaed32d
fix(core): fix path for secondary entrypoints (#2498)
Related to #1765
2020-05-06 10:40:17 -05:00
Jack Hsu
8e6ad2ffab
feat(react): add assets option for package builder to copy files to output path (#2933) 2020-05-01 09:16:49 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Rares Matei
9b585cb3b8
feat(core): update prettier to 2.0.4 (#2885) 2020-04-28 23:10:10 -04:00
Jonathan Cammisuli
b4fc65cdf8
fix(react): do not include package.json in libs without publishable flag (#2896) 2020-04-27 10:09:56 -04:00
Jo Hanna Pearce
54d06f0fc9
feat(react): upgrade redux toolkit version and generated slice code (#2835) 2020-04-17 11:42:08 -04:00
Devin Shoemaker
b245d12d67
feat(nx-plugin): add builder schematic (#2769)
This change adds a new schematic that generates a builder for an Nx plugin.
2020-04-16 16:00:49 -04:00
Devin Shoemaker
d385030b4b
feat(nx-plugin): add "schematic" schematic (#2708)
This change adds a new schematic that generates a schematic for an Nx plugin.
2020-04-16 15:08:45 -04:00
Devin Shoemaker
e44af492dd
feat(nx-plugin): add migration schematic (#2692)
This change adds a new schematic that generates a migration for an Nx plugin. The user can specify the version for the migration, and optionally add a custom name, description, and whether or not to include package.json updates.
2020-04-16 15:00:08 -04:00
Jack Hsu
36e1d40784
feat(nextjs): support building and serving production server (#2792) 2020-04-04 14:57:08 -04:00
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04:00
Jo Hanna Pearce
9ad9b2eb34
feat(testing): add option to use babel-jest rather than ts-jest (#2722) 2020-03-30 07:15:33 -04:00
Jonathan Cammisuli
0ad6f91ff8 feat(testing): update Jest and its dependencies to v25 2020-03-29 11:31:20 -04:00
Jack Hsu
27f523493e
feat(nextjs): add support for custom next config and optimize style enhancer usages (#2727)
Related #2490
2020-03-26 21:16:09 -04:00
Jason Jean
aeb0bdcb4e feat(core): enable caching by default 2020-03-26 17:14:17 -04:00
Victor Savkin
ed85bc57c3 fix(core): run-one runner doesn't handle --help 2020-03-26 10:12:36 -04:00
Jo Hanna Pearce
5452dfa510 fix(core): move setMaxWorkers responsibility to runCLI 2020-03-25 09:06:20 -04:00
Jack Hsu
7225d29773
feat(react): add support for css modules for SASS/SCSS files (#2719)
Closes #2406
2020-03-24 22:20:09 -04:00
Jason Jean
9a8c95a1ef fix(misc): exit 1 for errors in workspace-schematics 2020-03-23 13:04:30 -04:00
Michael Lancaster
2d02777c9a feat(core): add web:build support for environment variables 2020-03-23 16:26:11 +00:00