From 9216efd3314a295e5b25ae48676af71b1eba5470 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Wed, 20 Mar 2024 14:40:44 +0300 Subject: [PATCH] chore(deps): update taiga-ui (#7015) Co-authored-by: taiga-family-bot --- jest.config.ts | 5 +- package-lock.json | 333 +++++++++--------- package.json | 8 +- .../tests/schematic-ng-add-standalone.spec.ts | 3 +- .../ng-add/tests/schematic-ng-add.spec.ts | 3 +- .../tests/schematic-migrate-icons.spec.ts | 3 +- .../tests/schematic-migrate-icons.spec.ts | 3 +- .../tests/schematic-migrate-editor.spec.ts | 3 +- .../tests/schematic-migrate-textarea.spec.ts | 3 +- .../tests/schematic-migrate-templates.spec.ts | 3 +- projects/cdk/schematics/ng-update/v3/index.ts | 3 +- .../ng-update/v3/steps/migrate-date-time.ts | 3 +- .../v3/tests/schematic-date-time.spec.ts | 3 +- .../v3/tests/schematic-migrate-hints.spec.ts | 3 +- .../schematic-migrate-polymorpheus.spec.ts | 3 +- .../tests/schematic-migrate-progress.spec.ts | 3 +- .../tests/schematic-migrate-sliders.spec.ts | 3 +- .../v3/tests/schematic-migrate-tds.spec.ts | 3 +- .../schematic-migrate-textfields.spec.ts | 3 +- .../v3/tests/schematic-miscellaneous.spec.ts | 3 +- .../v3/tests/schematic-rename-types.spec.ts | 3 +- .../v3/tests/schematic-replace-consts.spec.ts | 3 +- .../schematic-replace-deep-imports.spec.ts | 3 +- ...matic-replace-deprecated-functions.spec.ts | 3 +- .../v3/tests/schematic-replace-enums.spec.ts | 3 +- .../tests/schematic-replace-functions.spec.ts | 3 +- .../v3/tests/schematic-replace-html.spec.ts | 3 +- ...hematic-replace-proprietary-consts.spec.ts | 3 +- .../tests/schematic-replace-services.spec.ts | 3 +- .../v3/tests/schematic-replace-styles.spec.ts | 3 +- .../v3/tests/schematic-textfield-icon.spec.ts | 3 +- .../v3/tests/schematic-warnings.spec.ts | 3 +- projects/cdk/schematics/ng-update/v4/index.ts | 3 +- .../v4/tests/migrate-destroy-service/utils.ts | 3 +- .../v4/tests/schematic-migrate-avatar.spec.ts | 3 +- .../v4/tests/schematic-migrate-badge.spec.ts | 3 +- .../schematic-migrate-badged-content.spec.ts | 3 +- .../tests/schematic-migrate-checkbox.spec.ts | 3 +- .../schematic-migrate-expandable.spec.ts | 3 +- .../schematic-migrate-hosted-dropdown.spec.ts | 3 +- .../schematic-migrate-input-count.spec.ts | 3 +- .../tests/schematic-migrate-labeled.spec.ts | 3 +- .../schematic-migrate-legacy-mask.spec.ts | 3 +- .../v4/tests/schematic-migrate-money.spec.ts | 3 +- .../schematic-migrate-prevent-default.spec.ts | 3 +- .../v4/tests/schematic-migrate-radio.spec.ts | 3 +- ...hematic-migrate-restore-tui-mapper.spec.ts | 3 +- ...ematic-migrate-restore-tui-matcher.spec.ts | 3 +- .../schematic-migrate-thumbnail-card.spec.ts | 3 +- .../v4/tests/schematic-migrate-toggle.spec.ts | 3 +- .../schematic-textfield-controller.spec.ts | 3 +- projects/cdk/schematics/utils/progress.ts | 2 +- .../templates/get-component-templates.ts | 3 +- .../tests/kit/input-files/input-files.spec.ts | 3 +- .../block-details/block-details.template.html | 4 +- .../block-details/examples/1/index.html | 2 +- .../block-details/examples/2/index.html | 4 +- .../directives/comment/comment.template.html | 4 +- .../directives/skeleton/examples/1/index.html | 8 +- .../skeleton/skeleton.template.html | 6 +- projects/demo/webpack.config.ts | 2 +- .../icons/scripts/post-prettier-format.ts | 3 +- .../scripts/prepare-all-to-compile-file.ts | 2 +- .../icons/scripts/prepare-feather-icons.ts | 4 +- projects/icons/scripts/process-icons.ts | 4 +- projects/testing/setup-jest/index.ts | 2 +- scripts/check-dist.ts | 4 +- .../combine-playwright-failed-screenshots.ts | 3 +- scripts/compile-icons.ts | 5 +- scripts/generate-used-icons.ts | 4 +- scripts/postbump.ts | 2 +- scripts/publish-canary.ts | 2 +- scripts/publish.ts | 2 +- scripts/shared/argv.utils.ts | 2 +- scripts/shared/check-changelog-before-push.ts | 2 +- scripts/shared/execute.ts | 4 +- scripts/shared/grep-by-pattern.ts | 4 +- scripts/shared/overwrite-version.ts | 2 +- scripts/shared/sync-versions.ts | 3 +- 79 files changed, 315 insertions(+), 267 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 26f5a577f420..cf9c9722fd6b 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,4 +1,5 @@ -import {resolve} from 'path'; +import {resolve} from 'node:path'; + import type {JestConfigWithTsJest} from 'ts-jest'; import {pathsToModuleNameMapper} from 'ts-jest'; @@ -7,7 +8,7 @@ process.env.FORCE_COLOR = 'true'; process.env.TS_JEST_DISABLE_VER_CHECKER = 'true'; const {compilerOptions} = require(resolve(__dirname, 'tsconfig.json')); -const maxParallel = require('os').cpus().length / 2; +const maxParallel = require('node:os').cpus().length / 2; const config: JestConfigWithTsJest = { rootDir: __dirname, diff --git a/package-lock.json b/package-lock.json index cb69db533486..20e3a26fc53c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,11 +30,11 @@ "@nx/workspace": "18.0.8", "@schematics/angular": "16.2.12", "@taiga-ui/browserslist-config": "0.6.0", - "@taiga-ui/commitlint-config": "0.7.1", - "@taiga-ui/cspell-config": "0.36.0", - "@taiga-ui/eslint-plugin-experience": "0.65.0", + "@taiga-ui/commitlint-config": "0.7.4", + "@taiga-ui/cspell-config": "0.36.3", + "@taiga-ui/eslint-plugin-experience": "0.67.2", "@taiga-ui/prettier-config": "0.10.0", - "@taiga-ui/stylelint-config": "0.20.0", + "@taiga-ui/stylelint-config": "0.20.1", "@taiga-ui/tsconfig": "0.17.0", "@types/glob": "8.1.0", "@types/node": "20.11.27", @@ -1886,9 +1886,9 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.23.10", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.23.10.tgz", - "integrity": "sha512-3wSYDPZVnhseRnxRJH6ZVTNknBz76AEnyC+AYYhasjP3Yy23qz0ERR7Fcd2SHmYuSFJ2kY9gaaDd3vyqU09eSw==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.24.1.tgz", + "integrity": "sha512-d5guuzMlPeDfZIbpQ8+g1NaCNuAGBBGNECh0HVqz1sjOeVLh2CEaifuOysCH18URW6R7pqXINvf5PaR/dC6jLQ==", "dev": true, "peer": true, "dependencies": { @@ -3816,16 +3816,16 @@ } }, "node_modules/@commitlint/cli": { - "version": "19.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.2.0.tgz", - "integrity": "sha512-8XnQDMyQR+1/ldbmIyhonvnDS2enEw48Wompo/967fsEvy9Vj5/JbDutzmSBKxANWDVeEbR9QQm0yHpw6ArrFw==", + "version": "19.2.1", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.2.1.tgz", + "integrity": "sha512-cbkYUJsLqRomccNxvoJTyv5yn0bSy05BBizVyIcLACkRbVUqYorC351Diw/XFSWC/GtpwiwT2eOvQgFZa374bg==", "dev": true, "peer": true, "dependencies": { "@commitlint/format": "^19.0.3", "@commitlint/lint": "^19.1.0", "@commitlint/load": "^19.2.0", - "@commitlint/read": "^19.2.0", + "@commitlint/read": "^19.2.1", "@commitlint/types": "^19.0.3", "execa": "^8.0.1", "yargs": "^17.0.0" @@ -4047,9 +4047,9 @@ } }, "node_modules/@commitlint/read": { - "version": "19.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.2.0.tgz", - "integrity": "sha512-HlGeEd/jyp2a5Fb9mvtsaDm5hFCmj80dJYjLQkpG3DzWneWBc37YU3kM8Za1D1HUazZaTkdsWq73M3XDE4CvCA==", + "version": "19.2.1", + "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.2.1.tgz", + "integrity": "sha512-qETc4+PL0EUv7Q36lJbPG+NJiBOGg7SSC7B5BsPWOmei+Dyif80ErfWQ0qXoW9oCh7GTpTNRoaVhiI8RbhuaNw==", "dev": true, "peer": true, "dependencies": { @@ -5358,29 +5358,6 @@ "@hapi/hoek": "^9.0.0" } }, - "node_modules/@html-eslint/eslint-plugin": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@html-eslint/eslint-plugin/-/eslint-plugin-0.23.1.tgz", - "integrity": "sha512-2AU58FZSPPHjNJzuv08GfgU/nfrVgNI4Uj9y6KOaU5egzAf1DO5x6HeZwvS0MPBAduqoC0i1RqHNSQrzCcmB7A==", - "dev": true, - "peer": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@html-eslint/parser": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@html-eslint/parser/-/parser-0.23.0.tgz", - "integrity": "sha512-mZTxkgN8WzoLtIo0U8BKlm3y/D9pGlXuALqEaliDPah6wGo+LkTUOfxQklmuAP2N66e5ORCjdAo4PpakEcCUUg==", - "dev": true, - "peer": true, - "dependencies": { - "es-html-parser": "^0.0.9" - }, - "engines": { - "node": ">=8.10.0" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", @@ -7617,6 +7594,17 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/@nx/js/node_modules/babel-plugin-macros": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", + "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.7.2", + "cosmiconfig": "^6.0.0", + "resolve": "^1.12.0" + } + }, "node_modules/@nx/js/node_modules/babel-plugin-polyfill-corejs3": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.9.0.tgz", @@ -7664,6 +7652,22 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "node_modules/@nx/js/node_modules/cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "dev": true, + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@nx/js/node_modules/fast-glob": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", @@ -7821,6 +7825,15 @@ } } }, + "node_modules/@nx/js/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, "node_modules/@nx/linter": { "version": "18.0.8", "resolved": "https://registry.npmjs.org/@nx/linter/-/linter-18.0.8.tgz", @@ -9153,13 +9166,13 @@ "link": true }, "node_modules/@taiga-ui/commitlint-config": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.7.1.tgz", - "integrity": "sha512-amU14F7/aY/qu0JdVcHkzzxsRwL8/qCK6KWSyi34oJ46yFTiROv61OBYu48w4X2qc0fmON8KZj3bH4oqNbmtAg==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.7.4.tgz", + "integrity": "sha512-R0rsbByAayNXUg/CARx8aSuERBvpCjGq+NJk8MIXdgXLikpPfvDX6wPfjE3i9/0pu1O0im6m9lWbx6JcLTbhGw==", "dev": true, "peerDependencies": { - "@commitlint/cli": "^19.0.3", - "@commitlint/config-conventional": "^19.0.3" + "@commitlint/cli": "^19.2.1", + "@commitlint/config-conventional": "^19.1.0" } }, "node_modules/@taiga-ui/core": { @@ -9167,16 +9180,16 @@ "link": true }, "node_modules/@taiga-ui/cspell-config": { - "version": "0.36.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.36.0.tgz", - "integrity": "sha512-HAT3OFN89a4dXqc3UowICYf2pOhBrnAO9PAR2om620OR/Pp9r6nNbWy8yKjsLfedX8gPNhop1Y8FI7DfVIFvoA==", + "version": "0.36.3", + "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.36.3.tgz", + "integrity": "sha512-LeybuaUta1VL/VLlNqZzdTCmf1YWvinmhUtNNVHhRQ835PE/7pafq6ef6Fnu8peK+T5u5REsDx9HB8/PSarzDA==", "dev": true, "peerDependencies": { "@cspell/dict-ar": "^1.1.0", "@cspell/dict-lorem-ipsum": "^4.0.0", - "@cspell/dict-ru_ru": "^2.2.0", + "@cspell/dict-ru_ru": "^2.2.1", "@cspell/dict-scientific-terms-us": "^3.0.1", - "cspell": "^8.5.0" + "cspell": "^8.6.0" } }, "node_modules/@taiga-ui/demo": { @@ -9192,23 +9205,22 @@ "link": true }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.65.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.65.0.tgz", - "integrity": "sha512-UW+k8AzRT4gFYgI6pdZR2EZ2K3ZgFWHDUQHVv6d362/ghAZSS0l5E7vYs797Ozy4cN+Lz+b+uqAF3TYE0+yHlQ==", + "version": "0.67.2", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.67.2.tgz", + "integrity": "sha512-5MHyXSqCSTcyt/r7N3eiIh1MmqipFQxtRRSZtmRWQH43aV00451hXfOzMpgLDuaAOFB1ZslU0XEF/px7/WiX8g==", "dev": true, "peerDependencies": { - "@angular-eslint/eslint-plugin": "^17.2.1", - "@angular-eslint/eslint-plugin-template": "^17.2.1", - "@angular-eslint/template-parser": "^17.2.1", - "@babel/eslint-parser": "^7.23.10", + "@angular-eslint/eslint-plugin": "^17.3.0", + "@angular-eslint/eslint-plugin-template": "^17.3.0", + "@angular-eslint/template-parser": "^17.3.0", + "@babel/eslint-parser": "^7.24.1", "@babel/eslint-plugin": "^7.23.5", - "@html-eslint/eslint-plugin": "^0.23.1", - "@html-eslint/parser": "^0.23.0", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@typescript-eslint/types": "^6.21.0", "@typescript-eslint/typescript-estree": "^6.21.0", "@typescript-eslint/utils": "^6.21.0", + "babel-plugin-macros": "^3.1.0", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^9.1.0", @@ -9218,20 +9230,20 @@ "eslint-plugin-decorator-position": "^5.0.2", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-file-progress": "^1.3.0", - "eslint-plugin-functional": "^6.0.1", - "eslint-plugin-html": "^7.1.0", + "eslint-plugin-functional": "^6.1.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^27.9.0", - "eslint-plugin-perfectionist": "^2.5.0", - "eslint-plugin-playwright": "^0.22.2", + "eslint-plugin-node-import": "^1.0.4", + "eslint-plugin-perfectionist": "^2.7.0", + "eslint-plugin-playwright": "^1.5.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-rxjs": "^5.0.3", - "eslint-plugin-rxjs-angular": "^2.0.1", "eslint-plugin-simple-import-sort": "^12.0.0", "eslint-plugin-sonar": "^0.13.2", "eslint-plugin-sonarjs": "^0.24.0", - "eslint-plugin-unicorn": "^51.0.1" + "eslint-plugin-unicorn": "^51.0.1", + "js-yaml": "^4.1.0" } }, "node_modules/@taiga-ui/experimental": { @@ -9268,12 +9280,12 @@ } }, "node_modules/@taiga-ui/stylelint-config": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.20.0.tgz", - "integrity": "sha512-H4ln2fWWiV/w0Sm/XMVeGwQCZXYEK9oOp6Fz0gdr47mdaEhawIIXxgRDbovXWvtxd83SoMrpY1AX91KhZIZwiw==", + "version": "0.20.1", + "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.20.1.tgz", + "integrity": "sha512-GDAh2tlaHO1niTpItVK4ZctroFLqDOAjuF9oC8dcaOqy9Y/53Xgak2PIRK+NOMIXjCPoGohanXHu+0gRN90J4g==", "dev": true, "peerDependencies": { - "postcss": "^8.4.35", + "postcss": "^8.4.37", "postcss-less": "^6.0.0", "stylelint": "^16.2.1", "stylelint-config-standard": "^36.0.0", @@ -11757,30 +11769,36 @@ } }, "node_modules/babel-plugin-macros": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", - "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", + "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", "dev": true, + "peer": true, "dependencies": { - "@babel/runtime": "^7.7.2", - "cosmiconfig": "^6.0.0", - "resolve": "^1.12.0" + "@babel/runtime": "^7.12.5", + "cosmiconfig": "^7.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" } }, "node_modules/babel-plugin-macros/node_modules/cosmiconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", - "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", "dev": true, + "peer": true, "dependencies": { "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", + "import-fresh": "^3.2.1", "parse-json": "^5.0.0", "path-type": "^4.0.0", - "yaml": "^1.7.2" + "yaml": "^1.10.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/babel-plugin-macros/node_modules/yaml": { @@ -11788,6 +11806,7 @@ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", "dev": true, + "peer": true, "engines": { "node": ">= 6" } @@ -17101,13 +17120,6 @@ "node": ">= 0.4" } }, - "node_modules/es-html-parser": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/es-html-parser/-/es-html-parser-0.0.9.tgz", - "integrity": "sha512-oniQMi+466VFsDzcdron9Ry/sqUJpDJg1bbDn0jFJKDdxXhwIOYDr4DgBnO5/yPLGj2xv+n5yy4L1Q0vAC5TYQ==", - "dev": true, - "peer": true - }, "node_modules/es-iterator-helpers": { "version": "1.0.18", "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.18.tgz", @@ -17821,16 +17833,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint-plugin-html": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-7.1.0.tgz", - "integrity": "sha512-fNLRraV/e6j8e3XYOC9xgND4j+U7b1Rq+OygMlLcMg+wI/IpVbF+ubQa3R78EjKB9njT6TQOlcK5rFKBVVtdfg==", - "dev": true, - "peer": true, - "dependencies": { - "htmlparser2": "^8.0.1" - } - }, "node_modules/eslint-plugin-import": { "version": "2.29.1", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", @@ -18209,6 +18211,19 @@ "dev": true, "peer": true }, + "node_modules/eslint-plugin-node-import": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-node-import/-/eslint-plugin-node-import-1.0.4.tgz", + "integrity": "sha512-nn6EkM7+vJCDCXZiM0FDpYSekbhlk5LNoHJm9DlVSucGrsT9WoK+qOxIEm+SwoFBeH73cMHMavioDaHsu22b0Q==", + "dev": true, + "peer": true, + "engines": { + "node": "^14.18.0 || ^16.0.0 || >= 18.0.0" + }, + "peerDependencies": { + "eslint": ">=7" + } + }, "node_modules/eslint-plugin-perfectionist": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-2.7.0.tgz", @@ -18243,16 +18258,22 @@ } }, "node_modules/eslint-plugin-playwright": { - "version": "0.22.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-playwright/-/eslint-plugin-playwright-0.22.2.tgz", - "integrity": "sha512-LtOB9myIX1O7HHqg9vtvBLjvXq1MXKuXIcD1nS+qZiMUJV6s9HBdilURAr9pIFc9kEelbVF54hOJ8pMxHvJP7g==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-playwright/-/eslint-plugin-playwright-1.5.2.tgz", + "integrity": "sha512-TMzLrLGQMccngU8GogtzIc9u5RzXGnfsQEUjLfEfshINuVR2fS4SHfDtU7xYP90Vwm5vflHECf610KTdGvO53w==", "dev": true, "peer": true, + "workspaces": [ + "examples" + ], "dependencies": { "globals": "^13.23.0" }, + "engines": { + "node": ">=16.6.0" + }, "peerDependencies": { - "eslint": ">=7", + "eslint": ">=8.40.0", "eslint-plugin-jest": ">=25" }, "peerDependenciesMeta": { @@ -18467,24 +18488,6 @@ "typescript": ">=4.0.0" } }, - "node_modules/eslint-plugin-rxjs-angular": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-rxjs-angular/-/eslint-plugin-rxjs-angular-2.0.1.tgz", - "integrity": "sha512-HJ/JHhjDJKyFUmM8o7rS91WNkNv7W7Z/okR5X3hqG7tKVMLOJi4T63Aa74ECuCdowmdfW75p2RrW4R8WeoZIKQ==", - "dev": true, - "peer": true, - "dependencies": { - "@typescript-eslint/experimental-utils": "^5.0.0", - "common-tags": "^1.8.0", - "eslint-etc": "^5.0.0", - "requireindex": "~1.2.0", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "eslint": "^8.0.0", - "typescript": ">=4.0.0" - } - }, "node_modules/eslint-plugin-simple-import-sort": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.0.0.tgz", @@ -22745,23 +22748,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-circus/node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, "node_modules/jest-circus/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -22796,24 +22782,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/jest-circus/node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest-circus/node_modules/dedent": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", @@ -22849,17 +22817,6 @@ "node": ">=8" } }, - "node_modules/jest-circus/node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/jest-cli": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", @@ -28934,9 +28891,9 @@ } }, "node_modules/postcss": { - "version": "8.4.36", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.36.tgz", - "integrity": "sha512-/n7eumA6ZjFHAsbX30yhHup/IMkOmlmvtEi7P+6RMYf+bGJSUHc3geH4a0NSZxAz/RJfiS9tooCTs9LAVYUZKw==", + "version": "8.4.37", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.37.tgz", + "integrity": "sha512-7iB/v/r7Woof0glKLH8b1SPHrsX7uhdO+Geb41QpF/+mWZHU3uxxSlN+UXGVit1PawOYDToO+AbZzhBzWRDwbQ==", "funding": [ { "type": "opencollective", @@ -28954,7 +28911,7 @@ "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", - "source-map-js": "^1.1.0" + "source-map-js": "^1.2.0" }, "engines": { "node": "^10 || ^12 || >=14" @@ -31969,9 +31926,9 @@ } }, "node_modules/source-map-js": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.1.0.tgz", - "integrity": "sha512-9vC2SfsJzlej6MAaMPLu8HiBSHGdRAJ9hVFYN1ibZoNkeanmDmLUcIrj6G9DGL7XMJ54AKg/G75akXl1/izTOw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", "engines": { "node": ">=0.10.0" } @@ -36708,6 +36665,17 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "projects/demo-cypress/node_modules/babel-plugin-macros": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", + "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.7.2", + "cosmiconfig": "^6.0.0", + "resolve": "^1.12.0" + } + }, "projects/demo-cypress/node_modules/babel-plugin-polyfill-corejs3": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.9.0.tgz", @@ -36755,6 +36723,22 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "projects/demo-cypress/node_modules/cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "dev": true, + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + }, + "engines": { + "node": ">=8" + } + }, "projects/demo-cypress/node_modules/fast-glob": { "version": "3.2.7", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", @@ -37029,6 +37013,15 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "projects/demo-cypress/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, "projects/demo-playwright": { "name": "@taiga-ui/demo-playwright", "devDependencies": { diff --git a/package.json b/package.json index f486a72ccfee..bf07e58a2d91 100644 --- a/package.json +++ b/package.json @@ -114,11 +114,11 @@ "@nx/workspace": "18.0.8", "@schematics/angular": "16.2.12", "@taiga-ui/browserslist-config": "0.6.0", - "@taiga-ui/commitlint-config": "0.7.1", - "@taiga-ui/cspell-config": "0.36.0", - "@taiga-ui/eslint-plugin-experience": "0.65.0", + "@taiga-ui/commitlint-config": "0.7.4", + "@taiga-ui/cspell-config": "0.36.3", + "@taiga-ui/eslint-plugin-experience": "0.67.2", "@taiga-ui/prettier-config": "0.10.0", - "@taiga-ui/stylelint-config": "0.20.0", + "@taiga-ui/stylelint-config": "0.20.1", "@taiga-ui/tsconfig": "0.17.0", "@types/glob": "8.1.0", "@types/node": "20.11.27", diff --git a/projects/cdk/schematics/ng-add/tests/schematic-ng-add-standalone.spec.ts b/projects/cdk/schematics/ng-add/tests/schematic-ng-add-standalone.spec.ts index 8d4daf0d3d38..ca95b669669c 100644 --- a/projects/cdk/schematics/ng-add/tests/schematic-ng-add-standalone.spec.ts +++ b/projects/cdk/schematics/ng-add/tests/schematic-ng-add-standalone.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import { @@ -7,7 +9,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../utils/create-angular-json'; import { diff --git a/projects/cdk/schematics/ng-add/tests/schematic-ng-add.spec.ts b/projects/cdk/schematics/ng-add/tests/schematic-ng-add.spec.ts index 7fe234141cfd..8fee97b47ad3 100644 --- a/projects/cdk/schematics/ng-add/tests/schematic-ng-add.spec.ts +++ b/projects/cdk/schematics/ng-add/tests/schematic-ng-add.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import { @@ -7,7 +9,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../utils/create-angular-json'; import { diff --git a/projects/cdk/schematics/ng-update/v3-30/tests/schematic-migrate-icons.spec.ts b/projects/cdk/schematics/ng-update/v3-30/tests/schematic-migrate-icons.spec.ts index 0cc5247e2909..e4f1ee72f397 100644 --- a/projects/cdk/schematics/ng-update/v3-30/tests/schematic-migrate-icons.spec.ts +++ b/projects/cdk/schematics/ng-update/v3-30/tests/schematic-migrate-icons.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3-35/tests/schematic-migrate-icons.spec.ts b/projects/cdk/schematics/ng-update/v3-35/tests/schematic-migrate-icons.spec.ts index 64784e5ec023..316ea80dfe7e 100644 --- a/projects/cdk/schematics/ng-update/v3-35/tests/schematic-migrate-icons.spec.ts +++ b/projects/cdk/schematics/ng-update/v3-35/tests/schematic-migrate-icons.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3-36/tests/schematic-migrate-editor.spec.ts b/projects/cdk/schematics/ng-update/v3-36/tests/schematic-migrate-editor.spec.ts index e98421ef5ddc..93a4c3d31626 100644 --- a/projects/cdk/schematics/ng-update/v3-36/tests/schematic-migrate-editor.spec.ts +++ b/projects/cdk/schematics/ng-update/v3-36/tests/schematic-migrate-editor.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3-40/tests/schematic-migrate-textarea.spec.ts b/projects/cdk/schematics/ng-update/v3-40/tests/schematic-migrate-textarea.spec.ts index c5dca704e18e..4f85b34280e0 100644 --- a/projects/cdk/schematics/ng-update/v3-40/tests/schematic-migrate-textarea.spec.ts +++ b/projects/cdk/schematics/ng-update/v3-40/tests/schematic-migrate-textarea.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3-5/tests/schematic-migrate-templates.spec.ts b/projects/cdk/schematics/ng-update/v3-5/tests/schematic-migrate-templates.spec.ts index d2a3d325f905..a0cf5c0e0d2c 100644 --- a/projects/cdk/schematics/ng-update/v3-5/tests/schematic-migrate-templates.spec.ts +++ b/projects/cdk/schematics/ng-update/v3-5/tests/schematic-migrate-templates.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/index.ts b/projects/cdk/schematics/ng-update/v3/index.ts index bb76e22c9c2b..698a58a600ca 100644 --- a/projects/cdk/schematics/ng-update/v3/index.ts +++ b/projects/cdk/schematics/ng-update/v3/index.ts @@ -1,7 +1,8 @@ +import {performance} from 'node:perf_hooks'; + import type {Rule, SchematicContext, Tree} from '@angular-devkit/schematics'; import {chain} from '@angular-devkit/schematics'; import {getPackageJsonDependency, saveActiveProject} from 'ng-morph'; -import {performance} from 'perf_hooks'; import { TAIGA_GLOBAL_NEW_STYLE, diff --git a/projects/cdk/schematics/ng-update/v3/steps/migrate-date-time.ts b/projects/cdk/schematics/ng-update/v3/steps/migrate-date-time.ts index a54971e5ebf0..277dc10cb78e 100644 --- a/projects/cdk/schematics/ng-update/v3/steps/migrate-date-time.ts +++ b/projects/cdk/schematics/ng-update/v3/steps/migrate-date-time.ts @@ -1,6 +1,7 @@ +import {performance} from 'node:perf_hooks'; + import type {CallExpression, Identifier} from 'ng-morph'; import {Node, SyntaxKind} from 'ng-morph'; -import {performance} from 'perf_hooks'; import type {TuiSchema} from '../../../ng-add/schema'; import { diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-date-time.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-date-time.spec.ts index 603434f7bb59..ad7de0e845c7 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-date-time.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-date-time.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-hints.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-hints.spec.ts index bf90f18f6632..78ba71ba574a 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-hints.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-hints.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-polymorpheus.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-polymorpheus.spec.ts index 471ec26dea39..ef94a7c926b7 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-polymorpheus.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-polymorpheus.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-progress.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-progress.spec.ts index 635d4a69c8c0..04579407818b 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-progress.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-progress.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; import {DEPRECATED_PROGRESS_PIPES_REG} from '../steps/migrate-progress'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-sliders.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-sliders.spec.ts index 1677c23d4b33..028d7a02a032 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-sliders.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-sliders.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-tds.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-tds.spec.ts index 4e05c5634de3..345e8d502733 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-tds.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-tds.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {TAIGA_VERSION} from '../../../ng-add/constants/versions'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-textfields.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-textfields.spec.ts index 585816433d74..9a00495654c4 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-textfields.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-migrate-textfields.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-miscellaneous.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-miscellaneous.spec.ts index 90292dad7cb3..00389777b01f 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-miscellaneous.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-miscellaneous.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-rename-types.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-rename-types.spec.ts index 6653dc392503..e43a7e8e2601 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-rename-types.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-rename-types.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-consts.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-consts.spec.ts index a60227d31327..5fe0b9c811b3 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-consts.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-consts.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deep-imports.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deep-imports.spec.ts index fe5c73eb12ee..cc63319a8fb5 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deep-imports.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deep-imports.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; import {TUI_WARNING_NORMALIZE} from '../steps/replace-styles'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deprecated-functions.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deprecated-functions.spec.ts index b0dbc64eeec0..3b14ebcf4726 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deprecated-functions.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-deprecated-functions.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-enums.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-enums.spec.ts index 45b491eed820..9104f67fcc80 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-enums.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-enums.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-functions.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-functions.spec.ts index e381cb7a10ce..e7f5b2da5dae 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-functions.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-functions.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {CHAR_NO_BREAK_SPACE} from '../../../../constants'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-html.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-html.spec.ts index 1b865f0f03c4..4de10e90ef8f 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-html.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-html.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJsonWithAssets} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-proprietary-consts.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-proprietary-consts.spec.ts index 364006ac6be3..77d1b03d3321 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-proprietary-consts.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-proprietary-consts.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-services.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-services.spec.ts index eeafb9f872af..ce865386bd5c 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-services.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-services.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-styles.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-styles.spec.ts index f4bfe402d8d5..4868aa2ca883 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-styles.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-replace-styles.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; import {TUI_WARNING_NORMALIZE, TUI_WARNING_WRAPPER_MIXINS} from '../steps/replace-styles'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-textfield-icon.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-textfield-icon.spec.ts index 6f692f27ac26..0a40197f08c5 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-textfield-icon.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-textfield-icon.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v3/tests/schematic-warnings.spec.ts b/projects/cdk/schematics/ng-update/v3/tests/schematic-warnings.spec.ts index c7ac5fde1f71..31d47b866b07 100644 --- a/projects/cdk/schematics/ng-update/v3/tests/schematic-warnings.spec.ts +++ b/projects/cdk/schematics/ng-update/v3/tests/schematic-warnings.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import type {LogEntry} from '@angular-devkit/core/src/logger/logger'; import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; @@ -9,7 +11,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import type {Subscription} from 'rxjs'; import {createAngularJsonWithAssets} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/index.ts b/projects/cdk/schematics/ng-update/v4/index.ts index 9f0f7901e191..e351f814fd1b 100644 --- a/projects/cdk/schematics/ng-update/v4/index.ts +++ b/projects/cdk/schematics/ng-update/v4/index.ts @@ -1,7 +1,8 @@ +import {performance} from 'node:perf_hooks'; + import type {Rule, SchematicContext, Tree} from '@angular-devkit/schematics'; import {chain} from '@angular-devkit/schematics'; import {saveActiveProject} from 'ng-morph'; -import {performance} from 'perf_hooks'; import {TAIGA_VERSION} from '../../ng-add/constants/versions'; import type {TuiSchema} from '../../ng-add/schema'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/migrate-destroy-service/utils.ts b/projects/cdk/schematics/ng-update/v4/tests/migrate-destroy-service/utils.ts index 52f2df1d5971..7e6a43665a92 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/migrate-destroy-service/utils.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/migrate-destroy-service/utils.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import { @@ -6,7 +8,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import type {TuiSchema} from '../../../../ng-add/schema'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-avatar.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-avatar.spec.ts index 586a9f5725c5..ae16cb8efaac 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-avatar.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-avatar.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badge.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badge.spec.ts index 8b47f9e8bf46..4c23a2f5f918 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badge.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badge.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badged-content.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badged-content.spec.ts index c0d641bab825..55f37e4073ad 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badged-content.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-badged-content.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-checkbox.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-checkbox.spec.ts index d036ad6eea3e..1c822bf3faaf 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-checkbox.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-checkbox.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-expandable.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-expandable.spec.ts index b1f555288afe..d6b77bf9c1b4 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-expandable.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-expandable.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-hosted-dropdown.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-hosted-dropdown.spec.ts index 6ac89490beed..dc5fa9b67ae3 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-hosted-dropdown.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-hosted-dropdown.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; const collectionPath = join(__dirname, '../../../migration.json'); diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-input-count.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-input-count.spec.ts index 2568f558657f..66d2505b758a 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-input-count.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-input-count.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-labeled.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-labeled.spec.ts index e4d3b0cf1f79..45a201c2a10c 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-labeled.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-labeled.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; const collectionPath = join(__dirname, '../../../migration.json'); diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-legacy-mask.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-legacy-mask.spec.ts index f0349507e46e..c4cb86e769d2 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-legacy-mask.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-legacy-mask.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; const collectionPath = join(__dirname, '../../../migration.json'); diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-money.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-money.spec.ts index b73611c71d0d..9cc0e9e477c2 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-money.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-money.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-prevent-default.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-prevent-default.spec.ts index c13710f4ccb2..8cc502a306bf 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-prevent-default.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-prevent-default.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-radio.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-radio.spec.ts index cb8ec40aff39..720912809d6c 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-radio.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-radio.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-mapper.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-mapper.spec.ts index cbf7b46789ce..6b65c9aab70c 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-mapper.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-mapper.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-matcher.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-matcher.spec.ts index 45e40c237a6e..1a0fb1f501b0 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-matcher.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-restore-tui-matcher.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-thumbnail-card.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-thumbnail-card.spec.ts index 159f112e8396..e40db4b9e7b4 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-thumbnail-card.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-thumbnail-card.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-toggle.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-toggle.spec.ts index ea29e98c7a84..9a138e42c0e7 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-toggle.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-migrate-toggle.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/ng-update/v4/tests/schematic-textfield-controller.spec.ts b/projects/cdk/schematics/ng-update/v4/tests/schematic-textfield-controller.spec.ts index b1ca98a27329..1a9be20d6ef5 100644 --- a/projects/cdk/schematics/ng-update/v4/tests/schematic-textfield-controller.spec.ts +++ b/projects/cdk/schematics/ng-update/v4/tests/schematic-textfield-controller.spec.ts @@ -1,3 +1,5 @@ +import {join} from 'node:path'; + import {HostTree} from '@angular-devkit/schematics'; import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/schematics/testing'; import type {TuiSchema} from '@taiga-ui/cdk/schematics/ng-add/schema'; @@ -8,7 +10,6 @@ import { saveActiveProject, setActiveProject, } from 'ng-morph'; -import {join} from 'path'; import {createAngularJson} from '../../../utils/create-angular-json'; diff --git a/projects/cdk/schematics/utils/progress.ts b/projects/cdk/schematics/utils/progress.ts index de4550398ae4..aa6ddabee641 100644 --- a/projects/cdk/schematics/utils/progress.ts +++ b/projects/cdk/schematics/utils/progress.ts @@ -1,5 +1,5 @@ /// -import {clearLine, cursorTo} from 'readline'; +import {clearLine, cursorTo} from 'node:readline'; import {SMALL_TAB_SYMBOL, SUCCESS_SYMBOL} from './colored-log'; import {tuiIsCI} from './is-ci'; diff --git a/projects/cdk/schematics/utils/templates/get-component-templates.ts b/projects/cdk/schematics/utils/templates/get-component-templates.ts index 610f4e36023a..be17b23e5555 100644 --- a/projects/cdk/schematics/utils/templates/get-component-templates.ts +++ b/projects/cdk/schematics/utils/templates/get-component-templates.ts @@ -1,3 +1,5 @@ +import * as path from 'node:path'; + import type { ClassDeclaration, Decorator, @@ -8,7 +10,6 @@ import type { StructureType, } from 'ng-morph'; import {getClasses} from 'ng-morph'; -import * as path from 'path'; import type {TemplateResource} from '../../ng-update/interfaces/template-resource'; diff --git a/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts b/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts index 3d49c4db27b0..4039e1ae5c87 100644 --- a/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts +++ b/projects/demo-playwright/tests/kit/input-files/input-files.spec.ts @@ -1,7 +1,8 @@ +import {join} from 'node:path'; + import {TuiDocumentationApiPagePO, tuiGoto} from '@demo-playwright/utils'; import type {Locator} from '@playwright/test'; import {expect, test} from '@playwright/test'; -import {join} from 'path'; test.describe('InputFiles', () => { let example: Locator; diff --git a/projects/demo/src/modules/components/block-details/block-details.template.html b/projects/demo/src/modules/components/block-details/block-details.template.html index 82e2f08e6520..31d855045ea4 100644 --- a/projects/demo/src/modules/components/block-details/block-details.template.html +++ b/projects/demo/src/modules/components/block-details/block-details.template.html @@ -11,7 +11,7 @@ heading="Full" [content]="1 | tuiExample: 'html,ts'" > - + - + diff --git a/projects/demo/src/modules/components/block-details/examples/1/index.html b/projects/demo/src/modules/components/block-details/examples/1/index.html index e08e5aa85e60..41b6e47028f1 100644 --- a/projects/demo/src/modules/components/block-details/examples/1/index.html +++ b/projects/demo/src/modules/components/block-details/examples/1/index.html @@ -2,7 +2,7 @@ + />

John W
money transfers
diff --git a/projects/demo/src/modules/components/block-details/examples/2/index.html b/projects/demo/src/modules/components/block-details/examples/2/index.html index 5d68a93fd66c..3cbdbafb5c1c 100644 --- a/projects/demo/src/modules/components/block-details/examples/2/index.html +++ b/projects/demo/src/modules/components/block-details/examples/2/index.html @@ -2,7 +2,7 @@ + />

Auchan
grocery • MMC 5350
@@ -23,7 +23,7 @@

+ />

Uber
taxi • MMC 5550
diff --git a/projects/demo/src/modules/directives/comment/comment.template.html b/projects/demo/src/modules/directives/comment/comment.template.html index 2dc2fbe4bf19..4e7ddcb7c83d 100644 --- a/projects/demo/src/modules/directives/comment/comment.template.html +++ b/projects/demo/src/modules/directives/comment/comment.template.html @@ -9,7 +9,7 @@ heading="Basic" [content]="1 | tuiExample: 'html,ts'" > - + - + diff --git a/projects/demo/src/modules/directives/skeleton/examples/1/index.html b/projects/demo/src/modules/directives/skeleton/examples/1/index.html index 2e2e59623288..ce9a058ca772 100644 --- a/projects/demo/src/modules/directives/skeleton/examples/1/index.html +++ b/projects/demo/src/modules/directives/skeleton/examples/1/index.html @@ -10,20 +10,20 @@ + /> + /> + /> + />

- + number to generate this many random sized words, while your actual text is loading - + @@ -35,6 +35,6 @@ + /> diff --git a/projects/demo/webpack.config.ts b/projects/demo/webpack.config.ts index df0ad59a81d1..d2eb48ce0398 100644 --- a/projects/demo/webpack.config.ts +++ b/projects/demo/webpack.config.ts @@ -47,7 +47,7 @@ const DO_NOT_MUTATE_RAW_FILE_CONTENTS = ['*.ts', '*.less', '*.html']; * * instead of: */ -const crypto = require('crypto'); +const crypto = require('node:crypto'); const fallbackCreateHash = crypto.createHash; diff --git a/projects/icons/scripts/post-prettier-format.ts b/projects/icons/scripts/post-prettier-format.ts index 75522441c88e..14d0eeabad7f 100644 --- a/projects/icons/scripts/post-prettier-format.ts +++ b/projects/icons/scripts/post-prettier-format.ts @@ -1,4 +1,5 @@ -import {readFileSync, writeFileSync} from 'fs'; +import {readFileSync, writeFileSync} from 'node:fs'; + import type {Options as PrettierOptions} from 'prettier'; import prettier from 'prettier'; diff --git a/projects/icons/scripts/prepare-all-to-compile-file.ts b/projects/icons/scripts/prepare-all-to-compile-file.ts index bd4284fffc96..a52d251a2e48 100644 --- a/projects/icons/scripts/prepare-all-to-compile-file.ts +++ b/projects/icons/scripts/prepare-all-to-compile-file.ts @@ -1,4 +1,4 @@ -import {readdirSync, writeFileSync} from 'fs'; +import {readdirSync, writeFileSync} from 'node:fs'; export function tuiPrepareAllToCompileFile(iconsSrc: string, entryPointTs: string): void { const icons: string[] = readdirSync(iconsSrc).filter(file => file.endsWith('.svg')); diff --git a/projects/icons/scripts/prepare-feather-icons.ts b/projects/icons/scripts/prepare-feather-icons.ts index d596896194ce..32d0afd527c4 100644 --- a/projects/icons/scripts/prepare-feather-icons.ts +++ b/projects/icons/scripts/prepare-feather-icons.ts @@ -1,5 +1,5 @@ -const path = require('path'); -const fs = require('fs'); +const path = require('node:path'); +const fs = require('node:fs'); const NO_FILL = ['check.svg']; diff --git a/projects/icons/scripts/process-icons.ts b/projects/icons/scripts/process-icons.ts index 6f40045732d6..9ab2cef397a6 100644 --- a/projects/icons/scripts/process-icons.ts +++ b/projects/icons/scripts/process-icons.ts @@ -1,5 +1,5 @@ -import fs from 'fs'; -import {parse} from 'path'; +import fs from 'node:fs'; +import {parse} from 'node:path'; const START = ' -const {TextEncoder: TextEncoderMock, TextDecoder: TextDecoderMock} = require('util'); +const {TextEncoder: TextEncoderMock, TextDecoder: TextDecoderMock} = require('node:util'); global.TextEncoder = TextEncoderMock; global.TextDecoder = TextDecoderMock; diff --git a/scripts/check-dist.ts b/scripts/check-dist.ts index f06e1d3a78af..6d4a4dbf2b00 100644 --- a/scripts/check-dist.ts +++ b/scripts/check-dist.ts @@ -1,5 +1,5 @@ -import * as path from 'path'; -import * as process from 'process'; +import * as path from 'node:path'; +import * as process from 'node:process'; import {getValueByFlag, hasFlag} from './shared/argv.utils'; import {checkImportWithSrc} from './shared/check-import-with-src'; diff --git a/scripts/combine-playwright-failed-screenshots.ts b/scripts/combine-playwright-failed-screenshots.ts index da904913595f..c6e0bbcadc46 100644 --- a/scripts/combine-playwright-failed-screenshots.ts +++ b/scripts/combine-playwright-failed-screenshots.ts @@ -4,8 +4,9 @@ * (not friendly for our external contributors). * https://github.com/Automattic/node-canvas/issues/1511 */ +import {readdirSync, writeFileSync} from 'node:fs'; + import {createCanvas, loadImage, version} from 'canvas'; -import {readdirSync, writeFileSync} from 'fs'; const FAILED_SCREENSHOTS_PATH = 'projects/demo-playwright/tests-results'; const DIFF_IMAGE_POSTFIX = '-diff.png'; diff --git a/scripts/compile-icons.ts b/scripts/compile-icons.ts index 9751c676bdfc..6b78752c9a42 100644 --- a/scripts/compile-icons.ts +++ b/scripts/compile-icons.ts @@ -1,5 +1,6 @@ -import {readdirSync, unlinkSync} from 'fs'; -import * as path from 'path'; +import {readdirSync, unlinkSync} from 'node:fs'; +import * as path from 'node:path'; + import type {Config} from 'prettier'; import { diff --git a/scripts/generate-used-icons.ts b/scripts/generate-used-icons.ts index 3199e519ecb4..31e8afff7111 100644 --- a/scripts/generate-used-icons.ts +++ b/scripts/generate-used-icons.ts @@ -1,5 +1,5 @@ -import {readdirSync, readFileSync, statSync, writeFileSync} from 'fs'; -import {basename, join} from 'path'; +import {readdirSync, readFileSync, statSync, writeFileSync} from 'node:fs'; +import {basename, join} from 'node:path'; (function main(): void { generateProjectsUsedIcons(); diff --git a/scripts/postbump.ts b/scripts/postbump.ts index 8961e78bbddf..a9c34a7e433c 100644 --- a/scripts/postbump.ts +++ b/scripts/postbump.ts @@ -1,4 +1,4 @@ -import {resolve} from 'path'; +import {resolve} from 'node:path'; import {version} from '../package.json'; import {execute} from './shared/execute'; diff --git a/scripts/publish-canary.ts b/scripts/publish-canary.ts index baa7efba5fb5..4a3330457d04 100644 --- a/scripts/publish-canary.ts +++ b/scripts/publish-canary.ts @@ -1,4 +1,4 @@ -import {resolve} from 'path'; +import {resolve} from 'node:path'; import {version} from '../package.json'; import {infoLog} from '../projects/cdk/schematics/utils/colored-log'; diff --git a/scripts/publish.ts b/scripts/publish.ts index 5ebb02d02bf2..646ccb0f7998 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -1,4 +1,4 @@ -import {resolve} from 'path'; +import {resolve} from 'node:path'; import { errorLog, diff --git a/scripts/shared/argv.utils.ts b/scripts/shared/argv.utils.ts index 9c8fecc4710c..55205a78d0f3 100644 --- a/scripts/shared/argv.utils.ts +++ b/scripts/shared/argv.utils.ts @@ -1,4 +1,4 @@ -import process from 'process'; +import process from 'node:process'; import {processLog} from '../../projects/cdk/schematics/utils/colored-log'; diff --git a/scripts/shared/check-changelog-before-push.ts b/scripts/shared/check-changelog-before-push.ts index aa3413fb4eaa..b332fe8b748e 100644 --- a/scripts/shared/check-changelog-before-push.ts +++ b/scripts/shared/check-changelog-before-push.ts @@ -1,4 +1,4 @@ -import {createInterface} from 'readline'; +import {createInterface} from 'node:readline'; export async function checkChangelogBeforePush(): Promise { const readline = createInterface({ diff --git a/scripts/shared/execute.ts b/scripts/shared/execute.ts index b56b38d47ac7..cb414c8a1189 100644 --- a/scripts/shared/execute.ts +++ b/scripts/shared/execute.ts @@ -1,5 +1,5 @@ -import type {CommonExecOptions} from 'child_process'; -import {execSync} from 'child_process'; +import type {CommonExecOptions} from 'node:child_process'; +import {execSync} from 'node:child_process'; import {infoLog} from '../../projects/cdk/schematics/utils/colored-log'; diff --git a/scripts/shared/grep-by-pattern.ts b/scripts/shared/grep-by-pattern.ts index f56d02e578cc..106f7e9c96f2 100644 --- a/scripts/shared/grep-by-pattern.ts +++ b/scripts/shared/grep-by-pattern.ts @@ -1,5 +1,5 @@ -import * as child_process from 'child_process'; -import * as util from 'util'; +import * as child_process from 'node:child_process'; +import * as util from 'node:util'; interface Options { excludePattern?: string; diff --git a/scripts/shared/overwrite-version.ts b/scripts/shared/overwrite-version.ts index f45fa880b37b..f84b855b8092 100644 --- a/scripts/shared/overwrite-version.ts +++ b/scripts/shared/overwrite-version.ts @@ -1,4 +1,4 @@ -import {writeFileSync} from 'fs'; +import {writeFileSync} from 'node:fs'; export function overwriteVersion(file: string, version: string): void { writeFileSync(file, `export const TUI_VERSION = '${version}';\n`, { diff --git a/scripts/shared/sync-versions.ts b/scripts/shared/sync-versions.ts index 775354565a82..63b575b6efe1 100644 --- a/scripts/shared/sync-versions.ts +++ b/scripts/shared/sync-versions.ts @@ -1,4 +1,5 @@ -import {readFileSync, writeFileSync} from 'fs'; +import {readFileSync, writeFileSync} from 'node:fs'; + import {glob} from 'glob'; import {processLog, successLog} from '../../projects/cdk/schematics/utils/colored-log';