56 Commits

Author SHA1 Message Date
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Jack Hsu
70f1a6b781
feat(web): add support for Node ESM when used to package SSR-ready library (#10349) 2022-05-18 01:11:18 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Miroslav Jonas
8a88b989fa chore(repo): increase timeout for jest e2e tests 2022-05-17 13:45:03 -04:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* fix(testing): jest.preset.ts => jest.preset.js

* fix(testing): update to export default

* fix(testing): migration for moving to export default

* fix(testing): add eslint ignore comments for jest config properties

fixes: #10021

* fix(testing): update tsconfig.spec.json for next apps with project parserOptions

fixes: #9982

* fix(testing): prevent renaming root jest preset

fixes: #9973

* fix(testing): update snapshots for export default

* fix(testing): bump migration version to run

* fix(testing): make sure default jest tests pass for various projects

* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00
Jack Hsu
23f6d5492c
fix(react): SWC compiled code should include react jsx runtime (#10220)
Fixes #8869
2022-05-09 12:32:08 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace (#7773) 2021-12-21 21:06:31 +00:00
Jack Hsu
f8c394af46
feat(web): add swc compiler option for webpack executor (#8114) 2021-12-10 16:09:20 -05:00
Kirils L
015f1b78f4
feat(web): support swc compiler (#7997) 2021-12-09 21:16:35 +00:00
Miroslav Jonaš
bd5f04835f
chore(repo): extend e2e project cleanup to stop the daemon as well (#8037) 2021-12-08 00:01:03 +01:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Miroslav Jonaš
1a3a8cff1f
chore(repo): remove deprecated headless flag from e2e tests (#7428) 2021-10-19 17:25:53 -04:00
Jack Hsu
9c1ae3a1b0
chore(web): clean up webpack setup (#7411) 2021-10-19 09:07:33 -06: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
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
Miroslav Jonaš
3a6c7363bc
chore(repo): switch on multiple main jobs on circleci (#6735)
* chore(repo): test osx runnner on circleci

* chore(repo): add pnpm to all the platforms

* chore(repo): comment out temporarily osx job

* chore(repo): add dummy MACOS test

* chore(repo): add workflow id

* chore(repo): switch on android

* chore(repo): remove os mains temporarily

* chore(repo): turn off all non-linux agents

* chore(repo): switch on macos run

* chore(repo): switch on android run

* chore(repo): set nx run group dynamically

* chore(repo): cleanup before merge
2021-09-21 16:57:49 +02:00
Miroslav Jonaš
549b735057
chore(repo): improve e2e test stability (#6658)
* chore(repo): rest mac failing tests

* chore(repo): update mac to bigsur

* chore(repo): revert mac to catalina

* chore(react): fix flaky react report test

* chore(web): check if content exists serving file server

* chore(core): fix flaky arguments test

* chore(repo): increase duration of web file serve test

* chore(repo): fix tests

* chore(repo): fix cleanup console logs

* chore(repo): test latest changes

* chore(repo): fix typo

* chore(repo): remove content check from file-server

* chore(repo): check workspace

* chore(repo): check workspace

* chore(repo): turn on all the tests
2021-08-09 12:48:48 -07:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Jack Hsu
801dad4da9
fix(web): fix stylePreprocessorOptions option (#6265) 2021-07-07 13:29:51 -04:00
Jack Hsu
4b859493ea
feat(web): add migration generator for webpack 5 (#6232) 2021-07-06 12:21:20 -04:00
Jack Hsu
369da3ee78
feat(web): add support for webpack 5 (#5892) 2021-06-29 08:41:01 -04:00
Miroslav Jonaš
f77bc78cba
chore(repo): run all cypress e2e tests headless and w/o watch (#6125) 2021-06-25 12:59:51 +02:00
Miroslav Jonaš
28c03a71b1
chore(repo): increase timeout for file server serve test (#6122) 2021-06-25 10:42:43 +02:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Miroslav Jonaš
4b7902b74e
chore(repo): hide cypress e2e tests behind NX_E2E_CI_NIGHTLY flag (#6079) 2021-06-21 11:18:07 +02:00
Miroslav Jonaš
b3c36dc067
chore(repo): enable windows nightly tests (#5889) 2021-06-18 21:16:50 +02:00
Miroslav Jonaš
f832cc99e2
chore(repo): fix PR rebase issue (#5999) 2021-06-14 14:20:41 +02:00
Miroslav Jonaš
bb8d73fb3e
feat(repo): remove obsolete kill commands and check if ports closed (#5939) 2021-06-14 12:48:33 +02:00
Miroslav Jonaš
5f4fc4b69d
chore(testing): cleanup web e2e tests (#5996) 2021-06-14 12:08:41 +02:00
Jack Hsu
12ee3bce97
feat(web): add generateIndexHtml option to web build executor (#5843) 2021-05-31 14:33:01 +00:00
Zachary DeRose
9878619706
feat(web): environment variables interpolated to index.html (#5521)
* feat(web): environment variables interpolated to index.html

* feat(web): Support for %PUBLIC_URL% as option in index.html

* chore(web): adding test case for NX_ option not present

* fix(web): supporting deployUrl - not publicUrl

* fix(web): e2e test added for index.html interpolation

* fix(web): rm unused publicUrl instance

* fix(web): rm more unused publicUrl instances

* fix(web): fixing e2e test

* fix(web): fixing e2e test

* fix(web): fixing e2e test expected formatting

* fix(web): fixing whitespace issue in tests

* fix(web): using regex in interpolation
2021-05-19 11:46:07 -07:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Naoyoshi Aikawa
c9e79ab84e
feat(core): support .env.local (#5491)
* feat(core): support .env.local

* fix(core): fix e2e tests for env variables

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-04 16:30:03 -04:00
vsavkin
d4e659c660 feat(repo): explicitly kill processes holding onto ports 2021-05-03 11:59:28 -04:00
vsavkin
85ceb3c790 fix(core): propagate sigterm and other signals correctly 2021-04-26 20:50:30 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
vsavkin
aef1b1783c feat(repo): switch to using dependsOn for the relationship between build and build-base 2021-04-23 10:11:31 -04: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
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
Tasos Bekos
f95f855cf7 fix(web): handle delete-output-path option
Closes #4015
2021-01-07 14:41:21 -05:00
Victor Savkin
8224a1029e feat(core): switch default config to v2 2020-12-06 13:29:40 -05:00
Victor Savkin
4511ec65fb feat(web): add file-server builder 2020-11-17 19:31:08 -05:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
Tasos Bekos
8c4904240e fix(web): don't run type checking for legacy build
ISSUES CLOSED: #3349
2020-09-01 11:49:53 -04:00
Tasos Bekos
7fcf136cad
fix(web): clean output bewtween library builds (#3547)
* fix(web): clean output bewtween library builds

* fix(web): avoid deleting files before differential loading build
2020-08-19 22:14:00 -04:00