361 Commits

Author SHA1 Message Date
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Emily Xiong
b8584a6f18
feat(react): add react fast refresh to webpack (#5612) 2021-05-18 15:47:18 -04:00
Colum Ferry
fa01e90156
Revert "feat(angular): add support for a target Builder (#4903)" (#5684)
* Revert "feat(angular): add support for a target Builder (#4903)"

This reverts commit a78fe65d81600e2f1b522722b6ce6374b8c652d3.

* chore(angular): disable failing test
2021-05-18 14:14:43 +01:00
Younes Jaaidi
2c811aba73 feat(testing): add testingType option to cypress executor
Cf. https://docs.cypress.io/guides/guides/module-api#Options

Closes #5622
2021-05-17 20:59:17 -04:00
Noriyuki Shinpuku
cdb4cdc196
fix(react): fix application template for strict mode (#5552) 2021-05-14 12:00:13 -04:00
Miroslav Jonaš
8249519fea
fix(core): add description to commands schema help (#5634) 2021-05-12 20:56:58 -04:00
Zachary DeRose
6fdf9d62f9
fix(repo): fixing issue with some options missing from docs (#5641) 2021-05-12 17:50:09 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Jordan Hall
a78fe65d81
feat(angular): add support for a target Builder (#4903)
Ability to support incremental builds when using target builders

ISSUES CLOSED: #4896
2021-05-11 14:32:56 +01:00
Emily Xiong
efd706ff5f
feat(gatsby): add style-jsx support for gatsby (#5300)
add style-jsx option for gatsby
add plugin to add _JSXStyle to global
2021-05-03 13:19:32 -04:00
vsavkin
c47b49cea1 chore(repo): update to nx 12-rc1. 2021-05-03 10:58:06 -04:00
Noriyuki Shinpuku
6cb1dc65d0
feat(react): add strict option to react application generator (#5248) 2021-05-02 22:01:43 -04:00
Juri Strumpflohner
111a7cfeaf
docs(core): change tsconfig.json to tsconfig.base.json in core concepts docs (#5514) 2021-04-30 20:42:11 -04:00
Christopher Dieringer
92a92c4117
feat(testing): support test timeout argv flag (#5520)
Co-authored-by: c0d01a5 <christopher.dieringer@walmartlabs.com>
2021-04-30 19:10:13 -04:00
Katerina Skroumpelou
6b7b6815c1
feat(storybook): update Angular Storybook to use new Storybook v6 syntax (#5398) 2021-04-29 11:02:04 +02:00
Leosvel Pérez Espinosa
bc3ee3e13e
feat(core): add --buildable support to workspace lib (#5449) 2021-04-27 13:58:51 +01:00
Vivek
4a5345363b
docs(misc): update READMEs to have alt on <img> tags (#5306) 2021-04-22 13:36:00 +00:00
Rares Matei
bd21728255
feat(storybook): infer Cypress project name from app source (#5404) 2021-04-22 15:16:49 +02:00
Juri Strumpflohner
106ff9f64b
docs(core): make install step during migrate more evident (#5397)
ISSUES CLOSED: #5318
2021-04-20 09:58:08 -04:00
Tasos Bekos
5ad1a61a7a feat(web): support multiple rollupConfig plugins 2021-04-16 08:36:10 -04:00
John Ockenden
71b2f16bc9
docs(angular): docs(angular): specify generator collection when migrating from karma to jest (#5291)
Unless the user set their default collection to be `@nrwl/jest`, the example commands given in the
documentation won't work
Change the documentation to explicitly specify the collection. This should
make a copy/pasted command work

ISSUES CLOSED: #5286
2021-04-13 15:42:18 -04:00
James Henry
bff5d431c9
feat(core): add --ignoreExistingTsLintConfig option to lint conversion generators (#5127)
* feat(core): add --discardExistingLintConfig option to lint conversion generators

* fixup! feat(core): add --discardExistingLintConfig option to lint conversion generators

* chore(core): address PR feedback

* fix(linter): properly store defualts for converting tslint to eslint

* fix(linter): fix tests for set defaults

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-12 15:40:48 -04:00
Rares Matei
6c4155dac6
feat(storybook): configure Cypress directory (#5314) 2021-04-12 14:06:51 +02:00
Tasos Bekos
59eca00728 feat(node): support webpackConfig as array 2021-04-06 18:31:38 +03:00
Leosvel Pérez Espinosa
ad5628557c fix(angular): prevent running ngcc with incremental builds 2021-04-05 13:25:31 -04:00
vsavkin
1a918d7e6b feat(misc): add a convenince command to connect to nx cloud 2021-04-04 20:14:57 -04:00
Michael Mazzone
b676e158ba docs(angular): mention in the docs that @nrwl/angular:webpack-browser requires nx 10.4 or later
mention in the docs that @nrwl/angular:webpack-browser requires nx 10.4 or later

ISSUES CLOSED: #5074
2021-04-04 12:53:05 -04:00
vsavkin
b78584325e Revert "fix(angular): prevent running ngcc with incremental builds (#5107)"
This reverts commit 6ad7c6037cc389ac64a540ac7a96c69d25e6adad.
2021-04-03 21:19:01 -04:00
Isaac Mann
de1401965a
docs(nxdev): rewrite getting started section (#5139)
* docs(nxdev): rewrite getting started section

* docs(nxdev): revisions

* docs(nxdev): update features section

* docs(nxdev): updates

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-04-01 15:12:52 -04:00
Leosvel Pérez Espinosa
6ad7c6037c
fix(angular): prevent running ngcc with incremental builds (#5107) 2021-04-01 18:33:45 +02:00
Tasos Bekos
711709059e feat(node): add CLI wrapper option for publishable libraries 2021-04-01 16:40:59 +03:00
Manfred Steyer
9d2290fea9 feat(angular): add buildTarget to webpack-browser builder
Before, the webpack-browser builder always directly scheduled @angular-devkit/build-angular:browser. Now, one can configure an
optional buildTarget that is scheduled instead. If this option is not used, the former behavior -- directly scheduling
@angular-devkit/build-angular:browser -- takes place.
2021-03-31 21:11:47 -04:00
Tasos Bekos
01e536c6eb fix(repo): documentation generation correclty handles deprecated 2021-03-31 21:03:10 -04:00
Tasos Bekos
f807a04e77
feat(node): support --simpleModuleName on library generation (#5153)
Closes #3822
2021-03-31 18:50:22 -04:00
Tasos Bekos
cf7639fcbc
feat(node): support deleteOutputPath for package builder (#5154) 2021-03-31 18:46:50 -04:00
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
Leosvel Pérez Espinosa
3cac30caf9
fix(core): normalize run-commands and run-script cwd handling (#5119) 2021-03-26 11:28:42 -04:00
Artem Berezin
dedd2e49d6
fix(storybook): rename storybook dev server ssl param to https (#5096)
`ssl` don't work, because `https` is expected by storybook's dev-server

https://github.com/storybookjs/storybook/blob/next/lib/core-server/src/dev-server.ts#L40

Co-authored-by: juristr <juri.strumpflohner@gmail.com>
2021-03-26 11:22:52 +01:00
Leosvel Pérez Espinosa
4b669f2d52 docs(angular): update AngularJS migration to Nx guide
ISSUES CLOSED: #4695
2021-03-24 20:08:59 -04:00
Jack Hsu
3587492bb8
fix(nextjs): improve documentation for "nextConfig" option and provide better error messages (#5098) 2021-03-24 10:29:47 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators (#4943)
* feat(linter): convert-tslint-to-eslint generators

* fix(core): remove generators in collection for ng and nest

* fix(core): update tao to support mixed generators and schematics

* fix(core): update tao to support mixed generators and schematics

* fix(core): address some PR feedback

* fix(core): fix snapshots after syncing up with master

* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets

* fix(linter): unit tests

* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Jack Hsu
f6c4958e80
feat(web): added runtimeChunk option (#5043)
Co-authored-by: Tycho Bokdam <tycho@palmtreecoding.com>
2021-03-16 14:47:51 +00:00
Noriyuki Shinpuku
6dbdaee9f6
feat(react): add strict option to react library generator (#5006) 2021-03-16 10:31:14 -04:00
Vivek More
af27f975a4 docs(misc): improve grammar and fix typos 2021-03-15 10:27:35 -04:00
Zachary Williams
564a86e096 feat(core): add option to skip serve step for cypress builder
The builder currently supports skipping the serve step by passing an empty value
for
devServerTarget. This is not intuitive and makes configuring this via the command line messy.
This
flag has the same behavior as passing an empty devServerTarget but is more user-friendly.
This
option can be useful for CI purposes where applications are previously built and want to use
the
same configuration for e2e testing but the serve step is unnecessary.

ISSUES CLOSED: #3744
2021-03-12 09:07:10 -05:00
vsavkin
77d1cc3a02 fix(misc): fix treeview code samples 2021-03-11 20:36:18 -05:00
vsavkin
7457b16811 cleanup(misc): misc docs update and small cleanups 2021-03-11 15:45:54 -05:00
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps (#4944)
* fix(nextjs): update babel setup to better support next apps

* fix(testing): remove babel-jest.config.json used in jest.config.js

- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00:00