1347 Commits

Author SHA1 Message Date
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
Tasos Bekos
0d6b8691bc chore(repo): add dependencies for e2e tests 2021-02-02 12:25:00 -05:00
Tasos Bekos
3d24d56312 chore(repo): fix e2e-cli for Windows 2021-02-01 13:35:34 -05:00
Victor Savkin
bcdd0a7261 cleanup(core): remove unused npm deps 2021-02-01 10:46:18 -05:00
Jason Jean
e99a65d8ad
fix(core): generate schematics map for workspace-generators (#4643) 2021-01-29 15:43:07 -05:00
Victor Savkin
669f21513b fix(core): add missing deps to support running old migrations 2021-01-29 10:31:52 -05:00
Victor Savkin
429fb22260 feat(core): default to running npm scripts when no targets are defined 2021-01-28 18:52:16 -05:00
Jason Jean
b36c4b5cc1
fix(linter): add @nrwl/linter as a devDependency and error on improper enum schema (#4634) 2021-01-28 16:30:10 -05:00
Jason Jean
ec758b4276
feat(linter): remove tslint from empty workspace and fix tslint support (#4622) 2021-01-27 18:38:07 -05:00
Tasos Bekos
1f534317d0 fix(nextjs): support shared assets
Closes #4552
2021-01-27 15:07:52 -05:00
Tasos Bekos
bf599d14cd fix(core): handle multiple & hyphen command arguments through --args
Closes #2846
2021-01-27 15:03:17 -05:00
Jason Jean
1eda4dca18
fix(repo): fix tests (#4617) 2021-01-27 12:12:22 -05:00
Jack Hsu
51973b88e2 chore(gatsby): move gatsby plugin to main repo 2021-01-26 12:17:28 -05:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00
Jason Jean
2ee7629fe9
fix(angular): fix anguar lib build (#4578)
* fix(angular): fix anguar lib build

* fix(repo): fix e2e tests
2021-01-22 12:26:33 -05:00
Jason Jean
aeec4bd4d9
feat(core): migrate move to devkit (#4558) 2021-01-19 16:45:44 -05:00
Tasos Bekos
060c451ac4 cleanup(repo): fix e2e tests for Yarn 2021-01-18 15:25:07 -05:00
Tasos Bekos
166dc7d03b feat(repo): PRs use PNPM & add scheduled matrix for e2e tests 2021-01-17 09:35:21 -05:00
Victor Savkin
1961bc97fb feat(core): support executors returning async iterators 2021-01-17 09:34:13 -05:00
Tasos Bekos
96625c77fb fix(repo): fix dependenies/discrepancies causing e2e tests with PNPM to fail 2021-01-16 17:54:54 +02:00
Tasos Bekos
c92f4ba96b feat(repo): support dynamic package manager for e2e tests 2021-01-16 17:54:54 +02:00
Tasos Bekos
659eb12047 cleanup(repo): return project scope for e2e tests 2021-01-16 17:54:54 +02: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
1167e65bf8 feat(core): improve ergonomics of the migrate command 2021-01-12 11:58:29 -05:00
Jason Jean
82f801b0db
fix(core): run-commands should fail when a command in serial fails (#4477) 2021-01-11 12:19:41 -05:00
Tasos Bekos
e5b0c5c0f6 cleanup(repo): make e2e tests package manager agnostic 2021-01-08 10:57:28 -05:00