612 Commits

Author SHA1 Message Date
Miroslav Jonaš
4f92e608b4
chore(repo): prepare CI and E2E for better tracking of errors (#6001) 2021-06-14 17:41:05 +02:00
Miroslav Jonaš
a9945e2946
chore(testing): fix broken nx-plugin e2e test (#6002) 2021-06-14 16:47:06 +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
Craigory V Coppola
f9751786c6
feat(testing): support for Jest 27 (#5873)
- Sets default testEnvironment to web
- Updates node generators to specify testEnvironment: node
- Provides migrations to update existing jest.config.js files
- Bump angular-preset-jest to latest

ISSUES CLOSED: #5771
2021-06-11 13:25:57 -05:00
kirjai
8801930553 feat(nextjs): support webpack 5 2021-06-11 16:45:14 +01:00
Miroslav Jonaš
6ca30d86be
fix(repo): fix flaky cross-os new line check (#5938) 2021-06-09 16:32:27 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Miroslav Jonaš
d023eafeb9
fix(testing): fix buffer issue on e2e test (#5916) 2021-06-07 18:48:57 +02:00
Miroslav Jonaš
0de272579e
fix(testing): fix failing workspace e2e tests (#5846) 2021-06-07 16:23:32 +02:00
Phillip Barta
251b417a8a
feat(nx-plugin): migrate generators to @nrwl/devkit (#5744)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2021-06-04 16:08:53 -04:00
Miroslav Jonaš
223f45508b
fix(testing): fix disabled angular storybook test (#5884) 2021-06-04 11:11:25 +02:00
kirjai
f723613929 feat(nextjs): add buildLibsFromSource option 2021-06-02 17:40:28 +01:00
Jack Hsu
12ee3bce97
feat(web): add generateIndexHtml option to web build executor (#5843) 2021-05-31 14:33:01 +00:00
Miroslav Jonaš
6abe7399f1
fix(testing): fix flaky contains check (#5839) 2021-05-31 15:26:28 +02:00
Miroslav Jonaš
76a3092891
fix(testing): enable and fix several disabled unit and e2e tests (#5711) 2021-05-28 14:35:04 +02:00
Miroslav Jonaš
9e47d968b9
feat(repo): fix failing yarn and pnpm (#5782) 2021-05-26 09:53:33 +02: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
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
Noriyuki Shinpuku
a037dcb351
cleanup(react): remove import react from component generator (#5686) 2021-05-19 11:40:24 -04:00
Juri Strumpflohner
75cbd54818
feat(nextjs): allow custom server to be written in TypeScript (#5510)
ISSUES CLOSED: #1933
2021-05-18 09:50:01 -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
Miroslav Jonaš
45a4ddf67b
chore(testing): fix gatsby e2e CI setup (#5637)
* fix(testing): remove duplicate gatsby e2e target

* fix(core): add missing gatsby e2e to matrix

* chore(repo): fix gh matrix command

* chore(repo): remove affected flag from gh matrix

* chore(repo): use run-many for e2e matrix
2021-05-17 11:27:59 +02: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
Kirils L
da27b2bd6c
fix(nextjs): NODE_ENV defaults to production for builds (#5574) 2021-05-07 12:55:16 -04:00
Craigory V Coppola
c0d79baad5
fix(nx-plugin): plugins should not include spec files (#5566)
Glob pattern for assets previously picked up spec files.
#5563
2021-05-07 11:55:40 -04:00
Kirils L
d251a4f49f
feat(nextjs): update to 10.2.0 (#5503) 2021-05-06 00:05:40 +03:00
Jason Jean
6503c4fa03
feat(node): migrate @nrwl/express to use devkit (#5558) 2021-05-04 18:48:45 -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
Kirils L
217f581472
fix(nextjs): allow node modules css import in libs (#5479) 2021-05-04 09:53:41 +00: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
d4e659c660 feat(repo): explicitly kill processes holding onto ports 2021-05-03 11:59:28 -04:00
Jason Jean
89dec9afcd fix(core): cleanup output of task results 2021-04-30 20:35:46 -04:00
Leosvel Pérez Espinosa
7c3f0f76cc
cleanup(node): refactor package executor to reuse TypeScript utilities (#5494) 2021-04-30 09:35:27 +01:00
Emily Xiong
84e387b238
feat(gatsby): add preset gatsby (#5485) 2021-04-29 17:53:20 -04:00
vsavkin
d767261fea fix(nextjs): default to build target for incremental serve
feat(core): support exclude with run-many
2021-04-29 15:57:26 -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
Leosvel Pérez Espinosa
b388c1ed81
cleanup(core): copy from cache only when needed (#5464) 2021-04-27 12:02:06 +01: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
Juri Strumpflohner
443daabcac
cleanup(storybook): e2e that actually serves storybook (#5454) 2021-04-26 11:10:55 -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
Ravi Rajpurohit
bc9eaedb41
feat(repo): replace tslint with eslint in recommended extensions (#5280)
* feat(repo): feat(repo): replace tslint with eslint in recommended extensions

* feat(linter): recommand eslint extension when creating a project with eslint
2021-04-22 10:34:39 -04:00
Jason Jean
030f5ebeac fix(core): report based on projects and tasks 2021-04-22 10:16:22 -04:00
vsavkin
05f2f94543 Revert "cleanup(core): copy from cache only when needed"
This reverts commit c4967fa462d79e05f1c0eb536e02f5fe5e1abd88.
2021-04-21 15:09:19 -04:00
Jack Hsu
a7d8e2a735
feat(nextjs): add incremental build support to Next.js apps (#5360) 2021-04-20 12:01:27 -04:00