110 Commits

Author SHA1 Message Date
Colum Ferry
f4fa81338d
feat(angular): support version 13.2.0 (#8457)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-01-28 09:01:51 +00:00
Miroslav Jonaš
541d4e241b
fix(linter): use swc over ts-node for workspace lint rule registration (#8694) 2022-01-27 16:55:25 +01:00
Victor Savkin
4e474773bf
Revert "feat(core): show dep types in dep graph (#2760) (#8132)"
This reverts commit 31bb2f36261fdf222e9e8e962227dcd911dfee66.
2022-01-25 15:23:25 -05:00
Miroslav Jonaš
e394b7d85d
feat(linter): omit require and register if plugin folder is missing (#8689) 2022-01-25 17:10:02 +01:00
Miroslav Jonaš
8719a9a47c
feat(linter): add warning to nx rule when project graph is unavailable (#8668) 2022-01-24 16:27:05 +01:00
Noriyuki Shinpuku
6a3914ed42
fix(linter): remove @typescript-eslint/no-unused-vars override (#8147)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2022-01-24 15:57:25 +01:00
Victor Savkin
298ceba5b3
chore(repo): readme fixes 2022-01-24 09:39:31 -05:00
Victor Savkin
9e75918154
feat(core): speed up file map creation (#8597) 2022-01-19 15:30:21 -05:00
Colum Ferry
86c510b76f
fix(linter): avoid secondary entrypoints flagging as circular dependencies (#8564)
* fix(linter): avoid secondary entrypoints flagging as circular dependencies

ISSUES CLOSED: #8059

* fix(linter): create util around functionality
2022-01-19 10:37:27 +00:00
MaximSagan
31bb2f3626
feat(core): show dep types in dep graph (#2760) (#8132) 2022-01-18 10:20:09 -07:00
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files (#8341) 2022-01-07 14:10:24 -05:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -05:00
Miroslav Jonaš
581e5619e3
fix(linter): improve message when trying to import application (#8138) 2021-12-17 12:12:30 +00:00
Miroslav Jonaš
1aec1124e6
fix(linter): linter utils should respect nx.json folder configuration (#7949) 2021-11-30 16:42:11 +01:00
Miroslav Jonaš
64d388e607
feat(linter): allow banning of transitive dependencies from imports (#7906) 2021-11-30 13:34:32 +01:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Miroslav Jonaš
f23a4cf7f1
feat(linter): allow wildcards for banning external imports (#7623) 2021-11-05 15:25:05 +01:00
Miroslav Jonaš
ff3b8b6106
feat(linter): allow banning of external packages (#7378) 2021-10-18 07:23:49 -07:00
Miroslav Jonaš
d9fd42eec8
chore(linter): update eslint to latest v7 version (#7400) 2021-10-18 15:20:51 +02:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
Miroslav Jonaš
8424c69320
fix(linter): improve error message on no matching dependency restriction (#7143) 2021-09-27 12:45:20 +00:00
Miroslav Jonaš
c18a40b1f0
feat(linter): show files involved in circular dependency (#7113) 2021-09-24 09:00:15 +00:00
Miroslav Jonaš
7c4643a914
chore(linter): upgrade typescript-eslint to latest version (#7060) 2021-09-21 14:07:09 +02:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
James Henry
bafabb3a11
feat(linter): add support for workspace rules (#6859)
* feat(linter): add support for workspace rules

* chore(linter): move deps to correct package

* feat(linter): workspace-lint-rules as project with test target

* chore(linter): tiny clean up

* fix(linter): update generators.json after refactor

* chore(linter): implement e2e test and PR feedback

* docs(linter): update generator docs

* docs(linter): update generator docs

* docs(linter): update generator docs
2021-09-01 12:49:11 -04:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher (#6550) 2021-08-04 09:45:07 -04:00
James Henry
f76a33f5bb
chore(core): add readCachedProjectGraph and deprecate previous utility (#6385)
* chore(core): add readCachedProjectGraph and deprecate previous utility

* chore(core): whitespace

* chore(core): explicitly use type ProjectGraphCache

* chore(core): fix typo
2021-07-20 11:44:48 -04:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Miroslav Jonaš
8ab463e386
cleanup(core): replace deprecated usage of appRootPath (#6241)
* cleanup(core): replace deprecated usage of appRootPath

* cleanup(core): revert migration changes
2021-07-05 15:51:19 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00: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
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
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
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
Miroslav Jonaš
f28097e264
fix(linter): disable absolute paths within project (#5555)
* fix(linter): disable absolute paths within project

* fix(linter): add missing colon before the import path

* feat(linter): add flag to disable self circular check
2021-05-06 12:17:28 +01:00
Jason Jean
e2bec26b18
fix(linter): safely check if angular-eslint is the right version (#5511) 2021-04-30 11:40:56 -04:00
James Henry
1cf7a69ce2
feat(angular): update angular-eslint to v4 (#5499)
* feat(angular): update angular-eslint to v4

* fix(linter): add check to see if right version is used

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-29 22:19:50 +00: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
Zachary DeRose
780bb0300a
fix(linter): Apply enforce-module-boundaries rule to exports (#5160)
* fix(linter): Apply enfore-module-boundaries rule to exports

* fixing formatting
2021-04-22 11:58:49 -04:00
vsavkin
e377a41dec fix(linter): fix enforce-module-boundaries rule to return when no project graph is present 2021-04-10 21:17:17 -04:00