552 Commits

Author SHA1 Message Date
Phillip Barta
48bf60c17d
cleanup(repo): removed unused dependecies from @nrwl/web migration in #2004 (#5344) 2021-04-15 00:14:27 -04:00
Kirils L
159bc9986b
fix(nextjs): remove isServer flag from web babel preset (#5322) 2021-04-12 15:50:46 -04:00
Phillip Barta
0e99ffca2f
cleanup(repo): replaced deprecated opn package with open (#5236) 2021-04-12 15:42:22 -04:00
Juri Strumpflohner
c580bbec2e
fix(web): emit event to which upstream executors can listen to (e.g. Cypress) (#5273) 2021-04-08 08:50:00 -04:00
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -04:00
Jack Hsu
a647e19303
feat(react): use "@babel/plugin-transform-runtime" so babel helpers can be reused (#5257) 2021-04-07 06:08:12 +00:00
Jason Jean
bfb194843f
feat(core): remove readFile argument from createProjectGraph (#5206)
* feat(core): deprecate creating a project graph from a host

* feat(core): remove readFile argument from createProjectGraph
2021-04-06 13:44:09 -04:00
Jack Hsu
c84bbb3c93
feat(react): add support for new jsx transform (#5131) 2021-04-01 13:46:12 +00:00
Jason Jean
03d16676ac
fix(misc): pass in specific copy of webpack (#5190) 2021-03-31 18:07:55 -04:00
Kirils L
7ccee19000
fix(web): support isServer flag in babel (#5158) 2021-03-31 13:51:23 -04:00
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
Tasos Bekos
ead6dd8864
chore(repo): run e2e outside project directory on CI (#5037) 2021-03-26 11:19:31 -04:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Leosvel Pérez Espinosa
36f3a662c3 fix(web): fix dev-server executor output causing ng cli schema validation to fail 2021-03-23 12:53:56 -04:00
Juri Strumpflohner
2ac10d9952
fix(storybook): changes in Storybook server options path in v6.2 (#5072)
ISSUES CLOSED: #4747
2021-03-22 14:28:17 +02:00
Jack Hsu
31404cb969
fix(react): add migrations to fix babel setup for workspaces using react, next.js, and gatsby (#5041) 2021-03-17 19:25:32 +00: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
Jason Jean
e44217999b
fix(react): temporarily remove babel migration (#4997) 2021-03-10 17:38:56 -05:00
Jack Hsu
65552919e0
chore(nextjs): fix babel migration for nextjs (#4984) 2021-03-10 15:06:43 +00: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
cesine
16c33c1bbc
chore(react): Update autoprefixer to latest (#4972)
* update autoprefixer to latest

https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md

* chore(react): update autoprefixer
2021-03-09 12:28:12 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00
Noriyuki Shinpuku
041340b06a
feat(web): improve support for decorators (#4826)
* chore(repo): add babel-plugin-transform-typescript-metadata

* feat(web): improve support for decorators

* fix(web): fix the order of babel-plugin-transform-typescript-metadata
2021-03-01 15:20:03 -05:00
Jason Jean
18c8b2b30d
fix(core): change running tasks in parallel to running in serial (#4785) 2021-02-12 21:39:55 +00:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Jonathan Cammisuli
d9aef75bd5
chore(react): move react schematics to generators (#4745)
* chore(react): move react schematics to generators

* chore(react): update lib generators

* chore(react): update redux generators

* chore(react): move react story book generators

* chore(react): add old implementation for update babel in next

* chore(react): rename tsconfig json template files to include __tmpl__

* chore(react): update deps

* chore(react): fix component template file

* chore(react): remove angular-devkit deps

* chore(react): remove angular-devkit deps
2021-02-10 21:30:55 -05:00
Jason Jean
a5cb929a35
feat(web): set defaults on first application and cleanup generated app (#4722) 2021-02-08 10:24:39 -05:00
Jcomper
f4e6502871
fix(web): pass opt.sslKey parameter to -K option of http-server (#4703)
ISSUES CLOSED: #4701

Co-authored-by: Yuriy Rogach <yuriy.rogach@webforum.com>
2021-02-04 17:53:12 -05:00
Jason Jean
f880bd295d
feat(react): remove references to angular devkit from @nrwl/web (#4705) 2021-02-04 16:56:44 -05:00
Jason Jean
7372920bef
feat(react): migrate @nrwl/web:package to devkit (#4697) 2021-02-04 10:32:28 -05:00
Jason Jean
34781a11c2
feat(react): migrate @nrwl/web:dev-server to devkit (#4682) 2021-02-03 16:33:51 -05:00
James Henry
132eb71218
feat(web): upgrade to postcss v8 (#4277)
* feat(web): upgrade to postcss v8

* fix(web): update usage of updated postcss plugin

* fix(web): account for change in postcss-loader behaviour with additional loader
2021-02-03 08:26:27 -05:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit (#4666) 2021-02-02 18:56:35 -05:00
Jason Jean
6bd0c2deac
feat(react): migrate @nrwl/web:build to devkit (#4646) 2021-02-01 17:06:41 +00:00
Tasos Bekos
6bf245edb7 fix(react): change css modules class naming convention
Similar to 7e4949a20f/packages/react-dev-utils/getCSSModuleLocalIdent.js
2021-01-29 20:26:00 -05:00
Tasos Bekos
1f534317d0 fix(nextjs): support shared assets
Closes #4552
2021-01-27 15:07:52 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Victor Savkin
c40ce8a539 feat(testing): update cypress use nx devkit 2021-01-18 21:46:17 -05:00
Levent Arman Özak
41f10b5a05
fix(web): convert scripts and styles to extra entry points (#4471)
ISSUES CLOSED: #3730
2021-01-14 20:41:04 -05:00
Victor Savkin
599923bc68 fix(misc): remov peer deps to make npm 7 install work
Closes #4436
2021-01-07 20:27:11 -05:00
Tasos Bekos
f95f855cf7 fix(web): handle delete-output-path option
Closes #4015
2021-01-07 14:41:21 -05:00
Jack Hsu
4193d451b0 fix(react): provide option overriding for babel plugins 2021-01-06 15:39:41 -05:00
Tasos Bekos
e25159d915 fix(react): correctly resolve babel-plugin-transform-async-to-promises
Closes #4352
2020-12-21 11:24:41 -05:00
Juri
541785b515 fix(web): check whether deps have been built when using incremental build 2020-12-04 14:11:07 -05:00
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
Tasos Bekos
038cef1ec9
fix(react): fix Less & Stylus (#4195) 2020-12-04 11:03:48 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00