50 Commits

Author SHA1 Message Date
Xie Jay
3fca35ceb1
fix(web): remove default baseHref in dev-server (#7302) 2021-10-15 21:38:16 -04:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Jack Hsu
086f67d4bd
chore(web): remove build options deprecated since Nx 11 (#7330) 2021-10-13 05:48:31 +00:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref (#6994)
close #5079
2021-10-04 14:50:26 -04:00
Victor Savkin
a5ba9bc0c3 docs(core): add better docs for run-script 2021-09-16 20:30:00 -04:00
Jack Hsu
cddb1edd56
feat(react): add format option for buildable libs (#6753)
- Clean up @nrwl/web:package executor
- Combine react package e2e tests to speed up test time
2021-08-18 23:08:30 -04:00
Craigory V Coppola
a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability (#6451)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00
Leosvel Pérez Espinosa
4433e21e24
docs(misc): highlight executors and generators required options (#6231) 2021-07-06 14:29:57 -04:00
Jack Hsu
4b859493ea
feat(web): add migration generator for webpack 5 (#6232) 2021-07-06 12:21:20 -04:00
Jonathan Romano
7fc5d6fd8f
fix(web): add setParserOptionsProject option to web:application (#6239)
This option is available in most other generators, but was missing for @nrwl/web:application
2021-07-05 15:50:16 -04:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Jack Hsu
12ee3bce97
feat(web): add generateIndexHtml option to web build executor (#5843) 2021-05-31 14:33:01 +00:00
Emily Xiong
b8584a6f18
feat(react): add react fast refresh to webpack (#5612) 2021-05-18 15:47:18 -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
Tasos Bekos
5ad1a61a7a feat(web): support multiple rollupConfig plugins 2021-04-16 08:36:10 -04:00
Tasos Bekos
01e536c6eb fix(repo): documentation generation correclty handles deprecated 2021-03-31 21:03:10 -04:00
Tasos Bekos
14b1df2173
cleanup(misc): deprecate showCircularDependencies option (#5135) 2021-03-26 15:12:21 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -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
Tasos Bekos
f95f855cf7 fix(web): handle delete-output-path option
Closes #4015
2021-01-07 14:41:21 -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
victor savkin
0a955a420c cleanup(docs): use words generator and executor in api docs 2020-11-24 11:57:52 -05:00
Victor Savkin
7d3627ab27 feat(web): add parallel, maxParallel, with-deps to file-serve target 2020-11-18 21:11:59 -05:00
Victor Savkin
4511ec65fb feat(web): add file-server builder 2020-11-17 19:31:08 -05: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
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins (#3636)
ISSUES CLOSED: #3041
2020-09-08 13:59:36 -04:00
Tasos Bekos
3461a86c6d
fix(web): support baseHref on serve (#3639)
ISSUES CLOSED: #3553
2020-09-04 14:54:29 -04:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -04:00
Daniel Ji
25432a6395
fix(react): exposed the crossOrigin option for web builder options (#2830)
ISSUES CLOSED: 2419

Co-authored-by: danielji <daniel.ji@innovid.com>
2020-05-29 11:04:08 -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
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
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
Benjamin Cabanes
935f121f9d
feat(docs): show entity type and entity container's type (#2878) 2020-04-21 17:48:42 -04:00
Victor Savkin
6e9fb0efa0 docs(core): clean up generated docs 2020-03-30 13:08:41 -04:00
Victor Savkin
2c42431130 feat(core): rewrite path mappings when buildings apps 2020-03-19 21:41:03 -04:00
czaplej#26
884b887d3e
feat(react): nx serve --maxWorkers --memoryLimit should work 2020-02-25 17:24:08 -05:00
Jack Hsu
a433035eca
chore(react): update web/react dependencies and clean up npm warnings (#2547) 2020-02-25 11:03:58 -05:00
Jason Jean
ed0f0f8487
feat(react): rename bundle builder to package (#2411) 2020-02-03 09:04:29 -05:00
Josip Bojčić
4060930240 feat(react): add an option to set memory limit for type checking service process (#2305) 2020-01-14 10:18:28 -05:00
Alan Elias
3b92d11f57 docs(web): updated devserver documentation 2019-11-03 16:55:12 -05:00
Alan Elias
f3b673e618 feat(web): enable devserver allowed hosts option (#1969)
* feat(web): enable devserver allowed hosts option
2019-10-21 21:49:36 -04:00
Jack Hsu
930cf40a4a
fix(nx): add outputPath in schema.json for web and node build builders. (#1959)
Related: #1945
2019-10-17 12:46:34 -04:00
Jack Hsu
a524b2e947 feat(react): add publishable library support
Issue #1521
2019-10-02 16:26:20 -04:00
Jack Hsu
811c50b92c feat(web): use babel-loader instead of ts-loader for web build builder
- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds

BEFORE (without ESM):

Benchmark #1: nx build demo --prod
  Time (mean ± σ):     13.834 s ±  1.731 s    [User: 11.817 s, System: 1.352 s]
  Range (min … max):   11.947 s … 16.015 s    10 runs

AFTER (with ESM):

Benchmark #1: nx build demo --prod
  Time (mean ± σ):     18.711 s ±  1.310 s    [User: 12.172 s, System: 1.394 s]
  Range (min … max):   17.232 s … 20.770 s    10 runs
2019-09-05 15:34:01 -04:00
Victor Savkin
64063f72df docs(nx): update api docs to contain examples 2019-08-21 11:56:21 -04:00
Victor Savkin
9a8f637899 docs(nx): generate different flavours of nx docs 2019-08-17 13:25:22 -04:00