804 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
d4537f75cc
cleanup(angular): migrate component-story and component-cypress-spec generators to nx devkit (#5977) 2021-06-14 15:20:58 +01:00
Colum Ferry
3e8ff083f2
cleanup(angular): refactor library generator to use nx devkit (#5935)
* cleanup(angular): refactor library generator to use nx devkit

Refactor Library Generator to use Nx Devkit
2021-06-14 11:05:32 +01:00
Noriyuki Shinpuku
a0b2df5395
fix(core): fix remove generator for custom layout (#5921) 2021-06-11 19:06:59 -04:00
Jonathan Cammisuli
5b2e594b62
feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json (#5945)
* feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json

* fix(core): catch errors when trying to format

* chore(core): use existing sort util - rename new sort util to match (will soon be merged)

* fix(core): only sort workspace.projects if they have projects

* fix(core): remove sort from old format-files

* fix(core): noop catches rather and outputting an error message

* chore(core): revert format-files utils
2021-06-11 17:54:29 -04:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit (#5927) 2021-06-09 10:35:09 +01:00
Leosvel Pérez Espinosa
4563386d76
fix(core): add support for formatting using all extensions prettier supports (#5890) 2021-06-04 10:46:53 -04:00
vsavkin
9791fd4ca2 fix(core): displayed commands do not wrap strings into quotes correctly 2021-06-02 13:22:32 -04:00
vsavkin
27d8633ec8 fix(core): add nxignore and gitignore to the list of files affecting the hashing 2021-06-02 11:09:11 -04:00
Phillip Barta
7c34f779e3
cleanup(core): remove unneccessary dependencies and refactored prettier path resolve (#5852)
removed depenedencies app-root-path and resolve
refactored workspace/src/command-line/format.ts to
use require.resolve
2021-06-01 21:49:15 -04:00
Leosvel Pérez Espinosa
a6772c4346
fix(angular): update angular deps to use the latest minor versions (#5858) 2021-06-01 17:52:38 +01:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
puku0x
9c67c69560 fix(core): update project package.json on move 2021-05-27 13:25:52 -04:00
Juri Strumpflohner
2d2880ef94
fix(core): iteration of targets should not break if targets don't exist (#5791) 2021-05-26 20:48:48 +03:00
Fernando Montoya
b2e266ac2c Fix GitHub brand typo 2021-05-26 13:41:53 -04:00
Kirils L
bffc239e6e
fix(nextjs): add @nrwl/next as a prod dependency for new workspaces (#5662) 2021-05-21 13:50:58 +00:00
vsavkin
75cd7d9006 cleanup(core): clean up hash details 2021-05-19 14:26:02 -04:00
Miroslav Jonaš
f112b9283a
fix(linter): improve error message for circular reference (#5721)
Improves original error message by providing a hint

Closes #5625
2021-05-19 17:50:58 +00:00
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
Miroslav Jonaš
1a6fc7649d
fix(core): update project's eslintrc and readme on move (#5714)
* fix(core): update eslint project path on move

Closes #5493

* fix(core): update project readme on move

* fix(core): add update readme to move generator
2021-05-19 15:14:31 +02:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
vsavkin
f31b8cb023 docs(misc): replace memoization with caching 2021-05-18 13:43:50 -04:00
Miroslav Jonaš
ff3cc38b0c
feat(linter): optimize lint performance. resolves #5210 (#5576)
* feat(linter): optimize containsFile function

related to #5210

* feat(linter): optimize find project function

related to #5210

* feat(core): cleanup target project locator

* fix(core): fix false positive match on resolvedModule

* chore(core): mark old code for removal

* feat(linter): move npm check before expensive typescript resolution

* feat(linter): improve performance of extension removal

* feat(linter): improve I/O operations

* feat(linter): read ts config only once in project locator

* feat(linter): remove double path normalization from rule

normalization is already part of getSourceFilePath function

* feat(linter): run find source only once

* feat(linter): defer source file path calculation will after whitelist check

* feat(linter): map project graph node files to hash map

* fix(linter): map projectGraph only once per runtime

* feat(linter): introduce mapped project graph type
2021-05-18 16:41:12 +02:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Jason Jean
f111027a8e fix(misc): be more specific finding targets being used when removing projects 2021-05-17 20:59:46 -04:00
Jason Jean
b4fe292d83 fix(core): run workspace-generators within the same process 2021-05-17 20:57:07 -04:00
Michaël De Boey
370831d527 Update format.ts 2021-05-17 20:55:51 -04:00
Michaël De Boey
672e728007 feat(workspace): support formatting on .graphql, .gql, .yaml, .yml & .vue files 2021-05-17 20:55:51 -04:00
Tasos Bekos
4103c6007a fix(node): package execution doesn't exit on watch mode
Closes #5208
2021-05-17 20:54:35 -04:00
Phillip Barta
6a4bb34103 cleanup(core): removed dependency axios 2021-05-17 20:48:47 -04:00
Miroslav Jonaš
8249519fea
fix(core): add description to commands schema help (#5634) 2021-05-12 20:56:58 -04:00
Jason Jean
7352fd0c1e
feat(angular): update to angular 12 stable (#5643) 2021-05-12 19:30:23 -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
vsavkin
0bd6deaa65 fix(core): misc fixes to make the task orchestration logic work with the existing nx cloud package 2021-05-12 08:11:53 -04:00
Miroslav Jonaš
6d22f628b5
fix(linter): add missing self-circular check for tslint (#5613)
* fix(linter): add missing self-circular check for tslint

* feat(linter): add test for tslint self-circular deps
2021-05-11 16:39:12 +00:00
Victor Savkin
67e78dc051
feat(core): add support for custom hashers 2021-05-11 11:17:57 -04:00
Jason Jean
ef442dfeaf
fix(testing): convert jest migrations to nx devkit (#5586) 2021-05-07 10:44:15 -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
Phillip Barta
cf2f42d3ba cleanup(core): cleanup of the hasher 2021-05-04 16:03:54 -04:00
Phillip Barta
cc69d90ba6 cleanup(core): cleanup usage of flat 2021-05-04 16:01:11 -04:00
James Henry
8d24bb01a0 fix(core): remove unused quiet option from nx cli 2021-05-04 12:06:16 -04:00
Jason Jean
87bc1c2f83
fix(core): fix parsing for affected (#5538) 2021-05-03 12:54:39 -04:00
Jason Jean
89dec9afcd fix(core): cleanup output of task results 2021-04-30 20:35:46 -04:00
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist (#5488) 2021-04-30 19:08:59 -04:00
vsavkin
ecf83c4dae fix(core): cache diff does not handle projects with no files 2021-04-30 16:11:57 -04:00
Leosvel Pérez Espinosa
6caff37373
fix(angular): allow setting appsDir and libsDir to workspace root (#5513)
ISSUES CLOSED: #5415
2021-04-30 18:07:18 +01: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