From f82774a4b4dbc20ccaa5c7bf876cb53a47b15a0f Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Tue, 25 Jun 2024 13:20:02 +0300 Subject: [PATCH] chore: use `plugin:@taiga-ui/experience/entry-points` (#7895) --- package.json | 26 +++---------------- .../tests/demo/get-demo-paths.ts | 2 +- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index a9a5fec2f42b..575d09d5336a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@taiga-ui/components", "version": "4.0.0-rc.1", + "private": true, "description": "Taiga UI by TBank is a set of components, services, directives and other tools to build high quality UI using modern Angular framework", "keywords": [ "angular", @@ -77,34 +78,13 @@ "eslintConfig": { "extends": [ "plugin:@taiga-ui/experience/all", - "plugin:@taiga-ui/experience/taiga-naming" + "plugin:@taiga-ui/experience/taiga-naming", + "plugin:@taiga-ui/experience/entry-points" ], "rules": { "@angular-eslint/component-class-suffix": "off", "jest/prefer-importing-jest-globals": "off" }, - "overrides": [ - { - "files": [ - "projects/**/*.ts" - ], - "excludedFiles": [ - "**/*.spec.ts", - "**/*.cy.ts", - "projects/demo/**/*.ts" - ], - "parser": "@typescript-eslint/parser", - "rules": { - "@taiga-ui/experience/no-deep-imports": "off", - "@taiga-ui/experience/prefer-deep-imports": [ - "error", - { - "importFilter": "/^@taiga-ui\\u002F(addon-charts|addon-commerce|addon-doc|addon-mobile|addon-table|cdk|core|experimental|i18n|icons|kit|layout|legacy|styles|testing)$/" - } - ] - } - } - ], "root": true }, "stylelint": { diff --git a/projects/demo-playwright/tests/demo/get-demo-paths.ts b/projects/demo-playwright/tests/demo/get-demo-paths.ts index f91ed9133272..7a83e2398d51 100644 --- a/projects/demo-playwright/tests/demo/get-demo-paths.ts +++ b/projects/demo-playwright/tests/demo/get-demo-paths.ts @@ -1,5 +1,5 @@ import {DemoRoute} from '@demo/routes'; -import type {TuiDocRoutePage, TuiDocRoutePages} from '@taiga-ui/addon-doc/types'; +import type {TuiDocRoutePage, TuiDocRoutePages} from '@taiga-ui/addon-doc'; function flatPages(pages: TuiDocRoutePages): readonly TuiDocRoutePage[] { return pages.reduce(