1422 Commits

Author SHA1 Message Date
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
Leosvel Pérez Espinosa
c4967fa462 cleanup(core): copy from cache only when needed 2021-04-19 16:14:19 -04:00
vsavkin
f89cf4a14b feat(core): cache task failures 2021-04-14 14:49:46 -04:00
Jason Jean
2319dc36dc Revert "cleanup(core): copy from cache only when needed"
This reverts commit 4dac0a21228977379e5d794343390181e8e84759.
2021-04-14 13:20:31 -04:00
Juri
0f08149021 fix(devkit): devkitTreeFromAngularDevkitTree exists function should also work on dirs
ISSUES CLOSED: #5318
2021-04-14 08:35:22 -04:00
Kirils L
159bc9986b
fix(nextjs): remove isServer flag from web babel preset (#5322) 2021-04-12 15:50:46 -04:00
Jack Hsu
8ad94fa434
chore(nextjs): unskip e2e tests (#5282) 2021-04-08 13:23:12 -04:00
Jason Jean
a608748388
feat(core): add plugins for project-graph analysis wip (#5255) 2021-04-07 16:21:52 -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
vsavkin
b5efa6bfee feat(core): hash only relevant parts of global config files 2021-04-06 20:20:47 -04:00
Leosvel Pérez Espinosa
4dac0a2122 cleanup(core): copy from cache only when needed 2021-04-06 12:18:10 -04:00
Leosvel Pérez Espinosa
ad5628557c fix(angular): prevent running ngcc with incremental builds 2021-04-05 13:25:31 -04:00
Tasos Bekos
aaa049fb4f chore(repo): fix e2e for npm@7 2021-04-03 21:43:21 -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
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
Tasos Bekos
cf7639fcbc
feat(node): support deleteOutputPath for package builder (#5154) 2021-03-31 18:46:50 -04:00
Juri Strumpflohner
ec2ebca40a
fix(storybook): linting react storybook files with eslint (#5146)
ISSUES CLOSED: #3867
2021-03-29 14:24:27 +03:00
Jack Hsu
ed94c4e1ec
docs(core): add nextjs app for new nx.dev website (#5133)
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00
Tasos Bekos
e3aaf65c88
fix(node): early assets copy to "respect" updates on package.json (#5114)
If `package.json` is "accidentally" copied with assets, it overwrites the existing updated `package.json` resulting in loss of entry points and buildable dependencies. This commit makes sure that any update to `package.json` happens after asset copying.
2021-03-26 11:33:14 -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
Tasos Bekos
82799042db
fix(node): fix unreachable code on library generation (#5080) 2021-03-22 11:18:42 -04:00
Tasos Bekos
5eab44bdbe
chore(repo): free space during angular e2e tests (#5035) 2021-03-17 15:04:41 -04:00
Sebastián Cruz
6e8349f6ed
Fix error when importing .js libraries into nextjs app (#4996)
ISSUES CLOSED: #4904
2021-03-17 19:46:38 +02:00
kirjai
9d863a7073 fix(nextjs): include peer dependencies in built package.json 2021-03-15 10:29:33 -04:00
Jason Jean
d4629be208
feat(node): migrate @nrwl/node builders to devkit (#5012) 2021-03-12 23:06:32 +00:00
Gustavo Perdomo
17dd93362c chore(core): update @types/node version to 14.14.33 2021-03-12 09:15:39 -05:00
Kirils Ladovs
df54518f33
fix(nextjs): remove tsconfig.app.json (#4970) 2021-03-09 17:39:17 -05:00
Tasos Bekos
fca2bfe64a cleanup(repo): free space during e2e & enable Windows 2021-03-08 20:21:18 +02:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Tasos Bekos
2932738c66 fix(core): run-commands doesn't camelcase option parameters 2021-03-06 13:07:57 +02:00
Jonathan Cammisuli
bba26b08bd
feat(express): add express preset to create-nx-workspace (#4909) 2021-03-05 11:40:40 -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
fd18b5edec
feat(react): migrate next builders to devkit (#4861) 2021-02-23 11:39:20 -05:00
Matt Hodgson
5ee28743bc
fix(angular): honor buildableProjectDepsInPackageJsonType in angula… (#4760)
Fixes the angular:package builder to honor the `buildableProjectDepsInPackageJsonType` setting. It was previously ignored.
2021-02-19 20:52:20 +01:00
Tasos Bekos
3de68dc529 chore(repo): fix npm@7 publish for e2e 2021-02-18 11:01:27 -05:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Lucas Vieira
4133c05bd3
fix(linter): do not print lint results to stdout when "outputPath" is set (#4755) 2021-02-12 13:16:55 +00:00
Tasos Bekos
6f32f22e29 chore(repo): free space on CI when runnig e2e 2021-02-11 10:42:29 -05:00