feat(linter): update typescript-eslint to v6 (#19548)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com> Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
This commit is contained in:
parent
30a03cbd91
commit
79c9233553
@ -17,13 +17,6 @@ import {
|
|||||||
} from '@nx/e2e/utils';
|
} from '@nx/e2e/utils';
|
||||||
import * as ts from 'typescript';
|
import * as ts from 'typescript';
|
||||||
|
|
||||||
/**
|
|
||||||
* Importing this helper from @typescript-eslint/type-utils to ensure
|
|
||||||
* compatibility with TS < 4.8 due to the API change in TS4.8.
|
|
||||||
* This helper allows for support of TS <= 4.8.
|
|
||||||
*/
|
|
||||||
import { getModifiers } from '@typescript-eslint/type-utils';
|
|
||||||
|
|
||||||
describe('Linter', () => {
|
describe('Linter', () => {
|
||||||
describe('Integrated', () => {
|
describe('Integrated', () => {
|
||||||
const myapp = uniq('myapp');
|
const myapp = uniq('myapp');
|
||||||
@ -494,7 +487,7 @@ describe('Linter', () => {
|
|||||||
`libs/${mylib}/src/lib/${mylib}.ts`,
|
`libs/${mylib}/src/lib/${mylib}.ts`,
|
||||||
(content) =>
|
(content) =>
|
||||||
`import { names } from '@nx/devkit';\n\n` +
|
`import { names } from '@nx/devkit';\n\n` +
|
||||||
content.replace(/return .*;/, `return names(${mylib}).className;`)
|
content.replace(/=> .*;/, `=> names(${mylib}).className;`)
|
||||||
);
|
);
|
||||||
|
|
||||||
// output should now report missing dependency
|
// output should now report missing dependency
|
||||||
@ -847,7 +840,7 @@ function updateGeneratedRuleImplementation(
|
|||||||
) {
|
) {
|
||||||
return ts.factory.updateMethodDeclaration(
|
return ts.factory.updateMethodDeclaration(
|
||||||
node,
|
node,
|
||||||
getModifiers(node),
|
node.modifiers,
|
||||||
node.asteriskToken,
|
node.asteriskToken,
|
||||||
node.name,
|
node.name,
|
||||||
node.questionToken,
|
node.questionToken,
|
||||||
|
|||||||
@ -129,10 +129,10 @@
|
|||||||
"@types/tmp": "^0.2.0",
|
"@types/tmp": "^0.2.0",
|
||||||
"@types/yargs": "^17.0.10",
|
"@types/yargs": "^17.0.10",
|
||||||
"@types/yarnpkg__lockfile": "^1.1.5",
|
"@types/yarnpkg__lockfile": "^1.1.5",
|
||||||
"@typescript-eslint/eslint-plugin": "5.62.0",
|
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
||||||
"@typescript-eslint/parser": "5.62.0",
|
"@typescript-eslint/parser": "^6.9.1",
|
||||||
"@typescript-eslint/type-utils": "5.60.1",
|
"@typescript-eslint/type-utils": "^6.9.1",
|
||||||
"@typescript-eslint/utils": "5.62.0",
|
"@typescript-eslint/utils": "^6.9.1",
|
||||||
"@xstate/immer": "0.3.1",
|
"@xstate/immer": "0.3.1",
|
||||||
"@xstate/inspect": "0.7.0",
|
"@xstate/inspect": "0.7.0",
|
||||||
"@xstate/react": "3.0.1",
|
"@xstate/react": "3.0.1",
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@phenomnomnominal/tsquery": "~5.0.1",
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
||||||
"@typescript-eslint/type-utils": "^5.36.1",
|
"@typescript-eslint/type-utils": "^6.9.1",
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"find-cache-dir": "^3.3.2",
|
"find-cache-dir": "^3.3.2",
|
||||||
"ignore": "^5.0.4",
|
"ignore": "^5.0.4",
|
||||||
|
|||||||
@ -211,7 +211,7 @@ function findPropertyAssignment(
|
|||||||
) as PropertyAssignment;
|
) as PropertyAssignment;
|
||||||
}
|
}
|
||||||
|
|
||||||
let tsUtils: typeof import('@typescript-eslint/type-utils');
|
let tsUtils;
|
||||||
function getTsEsLintTypeUtils(): typeof import('@typescript-eslint/type-utils') {
|
function getTsEsLintTypeUtils() {
|
||||||
return tsUtils ?? require('@typescript-eslint/type-utils');
|
return tsUtils ?? require('@typescript-eslint/type-utils');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://nx.dev",
|
"homepage": "https://nx.dev",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/parser": "^5.60.1",
|
"@typescript-eslint/parser": "^6.9.1",
|
||||||
"eslint-config-prettier": "^9.0.0"
|
"eslint-config-prettier": "^9.0.0"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
@ -35,8 +35,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nx/devkit": "file:../devkit",
|
"@nx/devkit": "file:../devkit",
|
||||||
"@nx/js": "file:../js",
|
"@nx/js": "file:../js",
|
||||||
"@typescript-eslint/type-utils": "^5.60.1",
|
"@typescript-eslint/type-utils": "^6.9.1",
|
||||||
"@typescript-eslint/utils": "^5.60.1",
|
"@typescript-eslint/utils": "^6.9.1",
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"confusing-browser-globals": "^1.0.9",
|
"confusing-browser-globals": "^1.0.9",
|
||||||
"jsonc-eslint-parser": "^2.1.0",
|
"jsonc-eslint-parser": "^2.1.0",
|
||||||
|
|||||||
@ -71,15 +71,13 @@ describe('update-16-0-0-add-nx-packages', () => {
|
|||||||
|
|
||||||
expect(tree.read('ignored-file.ts').toString()).toMatchInlineSnapshot(`
|
expect(tree.read('ignored-file.ts').toString()).toMatchInlineSnapshot(`
|
||||||
"// eslint-disable-next-line @nx/enforce-module-boundaries
|
"// eslint-disable-next-line @nx/enforce-module-boundaries
|
||||||
/*
|
/*
|
||||||
* eslint-disable @nx/enforce-module-boundaries
|
* eslint-disable @nx/enforce-module-boundaries
|
||||||
*/
|
*/
|
||||||
// eslint-disable-line @nx/enforce-module-boundaries
|
// eslint-disable-line @nx/enforce-module-boundaries"
|
||||||
"
|
|
||||||
`);
|
|
||||||
expect(tree.read('plugin.ts').toString()).toMatchInlineSnapshot(`
|
|
||||||
"import * as p from '@nrwl/nx-plugin';
|
|
||||||
"
|
|
||||||
`);
|
`);
|
||||||
|
expect(tree.read('plugin.ts').toString()).toMatchInlineSnapshot(
|
||||||
|
`"import * as p from '@nrwl/nx-plugin'"`
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -4,8 +4,6 @@ import { AST } from 'jsonc-eslint-parser';
|
|||||||
import { type JSONLiteral } from 'jsonc-eslint-parser/lib/parser/ast';
|
import { type JSONLiteral } from 'jsonc-eslint-parser/lib/parser/ast';
|
||||||
import { normalizePath, workspaceRoot } from '@nx/devkit';
|
import { normalizePath, workspaceRoot } from '@nx/devkit';
|
||||||
import { findNpmDependencies } from '@nx/js/src/utils/find-npm-dependencies';
|
import { findNpmDependencies } from '@nx/js/src/utils/find-npm-dependencies';
|
||||||
|
|
||||||
import { createESLintRule } from '../utils/create-eslint-rule';
|
|
||||||
import { readProjectGraph } from '../utils/project-graph-utils';
|
import { readProjectGraph } from '../utils/project-graph-utils';
|
||||||
import { findProject, getSourceFilePath } from '../utils/runtime-lint-utils';
|
import { findProject, getSourceFilePath } from '../utils/runtime-lint-utils';
|
||||||
import {
|
import {
|
||||||
@ -13,6 +11,8 @@ import {
|
|||||||
getPackageJson,
|
getPackageJson,
|
||||||
getProductionDependencies,
|
getProductionDependencies,
|
||||||
} from '../utils/package-json-utils';
|
} from '../utils/package-json-utils';
|
||||||
|
import type { RuleModule } from '@typescript-eslint/utils/ts-eslint';
|
||||||
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
||||||
|
|
||||||
export type Options = [
|
export type Options = [
|
||||||
{
|
{
|
||||||
@ -34,13 +34,13 @@ export type MessageIds =
|
|||||||
|
|
||||||
export const RULE_NAME = 'dependency-checks';
|
export const RULE_NAME = 'dependency-checks';
|
||||||
|
|
||||||
export default createESLintRule<Options, MessageIds>({
|
export default ESLintUtils.RuleCreator(() => ``)<Options, MessageIds>({
|
||||||
name: RULE_NAME,
|
name: RULE_NAME,
|
||||||
meta: {
|
meta: {
|
||||||
type: 'suggestion',
|
type: 'suggestion',
|
||||||
docs: {
|
docs: {
|
||||||
description: `Checks dependencies in project's package.json for version mismatches`,
|
description: `Checks dependencies in project's package.json for version mismatches`,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
fixable: 'code',
|
fixable: 'code',
|
||||||
schema: [
|
schema: [
|
||||||
|
|||||||
@ -8,15 +8,16 @@ import {
|
|||||||
import { isRelativePath } from 'nx/src/utils/fileutils';
|
import { isRelativePath } from 'nx/src/utils/fileutils';
|
||||||
import {
|
import {
|
||||||
checkCircularPath,
|
checkCircularPath,
|
||||||
findFilesWithDynamicImports,
|
|
||||||
findFilesInCircularPath,
|
findFilesInCircularPath,
|
||||||
|
findFilesWithDynamicImports,
|
||||||
} from '../utils/graph-utils';
|
} from '../utils/graph-utils';
|
||||||
import {
|
import {
|
||||||
|
appIsMFERemote,
|
||||||
DepConstraint,
|
DepConstraint,
|
||||||
findConstraintsFor,
|
findConstraintsFor,
|
||||||
findDependenciesWithTags,
|
findDependenciesWithTags,
|
||||||
findProjectUsingImport,
|
|
||||||
findProject,
|
findProject,
|
||||||
|
findProjectUsingImport,
|
||||||
findTransitiveExternalDependencies,
|
findTransitiveExternalDependencies,
|
||||||
getSourceFilePath,
|
getSourceFilePath,
|
||||||
getTargetProjectBasedOnRelativeImport,
|
getTargetProjectBasedOnRelativeImport,
|
||||||
@ -27,12 +28,11 @@ import {
|
|||||||
hasNoneOfTheseTags,
|
hasNoneOfTheseTags,
|
||||||
isAbsoluteImportIntoAnotherProject,
|
isAbsoluteImportIntoAnotherProject,
|
||||||
isAngularSecondaryEntrypoint,
|
isAngularSecondaryEntrypoint,
|
||||||
|
isComboDepConstraint,
|
||||||
isDirectDependency,
|
isDirectDependency,
|
||||||
matchImportWithWildcard,
|
matchImportWithWildcard,
|
||||||
onlyLoadChildren,
|
onlyLoadChildren,
|
||||||
stringifyTags,
|
stringifyTags,
|
||||||
isComboDepConstraint,
|
|
||||||
appIsMFERemote,
|
|
||||||
} from '../utils/runtime-lint-utils';
|
} from '../utils/runtime-lint-utils';
|
||||||
import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils';
|
import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils';
|
||||||
import { basename, dirname, relative } from 'path';
|
import { basename, dirname, relative } from 'path';
|
||||||
@ -41,8 +41,9 @@ import {
|
|||||||
getBarrelEntryPointProjectNode,
|
getBarrelEntryPointProjectNode,
|
||||||
getRelativeImportPath,
|
getRelativeImportPath,
|
||||||
} from '../utils/ast-utils';
|
} from '../utils/ast-utils';
|
||||||
import { createESLintRule } from '../utils/create-eslint-rule';
|
|
||||||
import { readProjectGraph } from '../utils/project-graph-utils';
|
import { readProjectGraph } from '../utils/project-graph-utils';
|
||||||
|
import type { RuleModule } from '@typescript-eslint/utils/ts-eslint';
|
||||||
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
||||||
|
|
||||||
type Options = [
|
type Options = [
|
||||||
{
|
{
|
||||||
@ -73,13 +74,13 @@ export type MessageIds =
|
|||||||
| 'notTagsConstraintViolation';
|
| 'notTagsConstraintViolation';
|
||||||
export const RULE_NAME = 'enforce-module-boundaries';
|
export const RULE_NAME = 'enforce-module-boundaries';
|
||||||
|
|
||||||
export default createESLintRule<Options, MessageIds>({
|
export default ESLintUtils.RuleCreator(() => ``)<Options, MessageIds>({
|
||||||
name: RULE_NAME,
|
name: RULE_NAME,
|
||||||
meta: {
|
meta: {
|
||||||
type: 'suggestion',
|
type: 'suggestion',
|
||||||
docs: {
|
docs: {
|
||||||
description: `Ensure that module boundaries are respected within the monorepo`,
|
description: `Ensure that module boundaries are respected within the monorepo`,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
fixable: 'code',
|
fixable: 'code',
|
||||||
schema: [
|
schema: [
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import type { AST } from 'jsonc-eslint-parser';
|
import type { AST } from 'jsonc-eslint-parser';
|
||||||
import type { TSESLint } from '@typescript-eslint/utils';
|
import type { TSESLint } from '@typescript-eslint/utils';
|
||||||
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ProjectGraphProjectNode,
|
ProjectGraphProjectNode,
|
||||||
@ -10,11 +11,9 @@ import { findProject, getSourceFilePath } from '../utils/runtime-lint-utils';
|
|||||||
import { existsSync } from 'fs';
|
import { existsSync } from 'fs';
|
||||||
import { registerTsProject } from '@nx/js/src/internal';
|
import { registerTsProject } from '@nx/js/src/internal';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
|
import { join } from 'path';
|
||||||
import { createESLintRule } from '../utils/create-eslint-rule';
|
|
||||||
import { readProjectGraph } from '../utils/project-graph-utils';
|
import { readProjectGraph } from '../utils/project-graph-utils';
|
||||||
import { valid } from 'semver';
|
import { valid } from 'semver';
|
||||||
import { join } from 'path';
|
|
||||||
|
|
||||||
type Options = [
|
type Options = [
|
||||||
{
|
{
|
||||||
@ -49,12 +48,12 @@ export type MessageIds =
|
|||||||
|
|
||||||
export const RULE_NAME = 'nx-plugin-checks';
|
export const RULE_NAME = 'nx-plugin-checks';
|
||||||
|
|
||||||
export default createESLintRule<Options, MessageIds>({
|
export default ESLintUtils.RuleCreator(() => ``)<Options, MessageIds>({
|
||||||
name: RULE_NAME,
|
name: RULE_NAME,
|
||||||
meta: {
|
meta: {
|
||||||
docs: {
|
docs: {
|
||||||
description: 'Checks common nx-plugin configuration files for validity',
|
description: 'Checks common nx-plugin configuration files for validity',
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
schema: [
|
schema: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
||||||
|
|
||||||
export const createESLintRule = ESLintUtils.RuleCreator(() => ``);
|
|
||||||
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node16",
|
||||||
"types": ["node", "jest"]
|
"types": ["node", "jest"]
|
||||||
},
|
},
|
||||||
"include": [],
|
"include": [],
|
||||||
|
|||||||
@ -27,6 +27,11 @@
|
|||||||
"version": "17.0.0-beta.7",
|
"version": "17.0.0-beta.7",
|
||||||
"description": "update-17-0-0-rename-to-eslint",
|
"description": "update-17-0-0-rename-to-eslint",
|
||||||
"implementation": "./src/migrations/update-17-0-0-rename-to-eslint/update-17-0-0-rename-to-eslint"
|
"implementation": "./src/migrations/update-17-0-0-rename-to-eslint/update-17-0-0-rename-to-eslint"
|
||||||
|
},
|
||||||
|
"update-typescript-eslint": {
|
||||||
|
"version": "17.1.0-beta.1",
|
||||||
|
"description": "Updates for @typescript-utils/utils v6.9.1+",
|
||||||
|
"implementation": "./src/migrations/update-17-1-0/update-typescript-eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packageJsonUpdates": {
|
"packageJsonUpdates": {
|
||||||
@ -82,6 +87,20 @@
|
|||||||
"version": "^9.0.0"
|
"version": "^9.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"17.1.0": {
|
||||||
|
"version": "17.1.0-beta.1",
|
||||||
|
"packages": {
|
||||||
|
"@typescript-eslint/parser": {
|
||||||
|
"version": "^6.9.1"
|
||||||
|
},
|
||||||
|
"@typescript-eslint/eslint-plugin": {
|
||||||
|
"version": "^6.9.1"
|
||||||
|
},
|
||||||
|
"@typescript-eslint/utils": {
|
||||||
|
"version": "^6.9.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,7 +28,7 @@ export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
|||||||
type: 'problem',
|
type: 'problem',
|
||||||
docs: {
|
docs: {
|
||||||
description: \`\`,
|
description: \`\`,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
schema: [],
|
schema: [],
|
||||||
messages: {},
|
messages: {},
|
||||||
@ -84,7 +84,7 @@ export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
|||||||
type: 'problem',
|
type: 'problem',
|
||||||
docs: {
|
docs: {
|
||||||
description: \`\`,
|
description: \`\`,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
schema: [],
|
schema: [],
|
||||||
messages: {},
|
messages: {},
|
||||||
@ -140,7 +140,7 @@ export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
|||||||
type: 'problem',
|
type: 'problem',
|
||||||
docs: {
|
docs: {
|
||||||
description: \`\`,
|
description: \`\`,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
schema: [],
|
schema: [],
|
||||||
messages: {},
|
messages: {},
|
||||||
|
|||||||
@ -25,7 +25,7 @@ export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
|||||||
type: 'problem',
|
type: 'problem',
|
||||||
docs: {
|
docs: {
|
||||||
description: ``,
|
description: ``,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
schema: [],
|
schema: [],
|
||||||
messages: {},
|
messages: {},
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { NxJsonConfiguration, readJson, Tree } from '@nx/devkit';
|
import { Tree } from '@nx/devkit';
|
||||||
import { createTreeWithEmptyWorkspace } from '@nx/devkit/testing';
|
import { createTreeWithEmptyWorkspace } from '@nx/devkit/testing';
|
||||||
import { lintWorkspaceRuleGenerator } from './workspace-rule';
|
import { lintWorkspaceRuleGenerator } from './workspace-rule';
|
||||||
|
|
||||||
|
|||||||
@ -35,6 +35,7 @@ exports[`@nx/eslint:workspace-rules-project should generate the required files 2
|
|||||||
"{
|
"{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node16",
|
||||||
"module": "commonjs"
|
"module": "commonjs"
|
||||||
},
|
},
|
||||||
"files": [],
|
"files": [],
|
||||||
@ -87,9 +88,6 @@ export default {
|
|||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
coverageDirectory: '../../coverage/tools/eslint-rules',
|
coverageDirectory: '../../coverage/tools/eslint-rules',
|
||||||
moduleNameMapper: {
|
|
||||||
'@eslint/eslintrc': '@eslint/eslintrc/dist/eslintrc-universal.cjs',
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
"
|
"
|
||||||
`;
|
`;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "<%= rootTsConfigPath %>",
|
"extends": "<%= rootTsConfigPath %>",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node16",
|
||||||
"module": "commonjs"
|
"module": "commonjs"
|
||||||
},
|
},
|
||||||
"files": [],
|
"files": [],
|
||||||
|
|||||||
@ -1,12 +1,14 @@
|
|||||||
import {
|
import {
|
||||||
|
addDependenciesToPackageJson,
|
||||||
addProjectConfiguration,
|
addProjectConfiguration,
|
||||||
ensurePackage,
|
ensurePackage,
|
||||||
formatFiles,
|
formatFiles,
|
||||||
generateFiles,
|
generateFiles,
|
||||||
joinPathFragments,
|
GeneratorCallback,
|
||||||
offsetFromRoot,
|
offsetFromRoot,
|
||||||
readNxJson,
|
readNxJson,
|
||||||
readProjectConfiguration,
|
readProjectConfiguration,
|
||||||
|
runTasksInSerial,
|
||||||
Tree,
|
Tree,
|
||||||
updateJson,
|
updateJson,
|
||||||
updateNxJson,
|
updateNxJson,
|
||||||
@ -14,7 +16,7 @@ import {
|
|||||||
import { getRelativePathToRootTsConfig } from '@nx/js';
|
import { getRelativePathToRootTsConfig } from '@nx/js';
|
||||||
import { addSwcRegisterDependencies } from '@nx/js/src/utils/swc/add-swc-dependencies';
|
import { addSwcRegisterDependencies } from '@nx/js/src/utils/swc/add-swc-dependencies';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
import { nxVersion } from '../../utils/versions';
|
import { nxVersion, typescriptESLintVersion } from '../../utils/versions';
|
||||||
import { workspaceLintPluginDir } from '../../utils/workspace-lint-rules';
|
import { workspaceLintPluginDir } from '../../utils/workspace-lint-rules';
|
||||||
|
|
||||||
export const WORKSPACE_RULES_PROJECT_NAME = 'eslint-rules';
|
export const WORKSPACE_RULES_PROJECT_NAME = 'eslint-rules';
|
||||||
@ -29,9 +31,11 @@ export async function lintWorkspaceRulesProjectGenerator(
|
|||||||
tree: Tree,
|
tree: Tree,
|
||||||
options: LintWorkspaceRulesProjectGeneratorOptions = {}
|
options: LintWorkspaceRulesProjectGeneratorOptions = {}
|
||||||
) {
|
) {
|
||||||
const { addPropertyToJestConfig, configurationGenerator } = ensurePackage<
|
const { configurationGenerator } = ensurePackage<typeof import('@nx/jest')>(
|
||||||
typeof import('@nx/jest')
|
'@nx/jest',
|
||||||
>('@nx/jest', nxVersion);
|
nxVersion
|
||||||
|
);
|
||||||
|
const tasks: GeneratorCallback[] = [];
|
||||||
|
|
||||||
// Noop if the workspace rules project already exists
|
// Noop if the workspace rules project already exists
|
||||||
try {
|
try {
|
||||||
@ -68,14 +72,16 @@ export async function lintWorkspaceRulesProjectGenerator(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add jest to the project and return installation task
|
// Add jest to the project and return installation task
|
||||||
const installTask = await configurationGenerator(tree, {
|
tasks.push(
|
||||||
project: WORKSPACE_RULES_PROJECT_NAME,
|
await configurationGenerator(tree, {
|
||||||
supportTsx: false,
|
project: WORKSPACE_RULES_PROJECT_NAME,
|
||||||
skipSerializers: true,
|
supportTsx: false,
|
||||||
setupFile: 'none',
|
skipSerializers: true,
|
||||||
compiler: 'tsc',
|
setupFile: 'none',
|
||||||
skipFormat: true,
|
compiler: 'tsc',
|
||||||
});
|
skipFormat: true,
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
updateJson(
|
updateJson(
|
||||||
tree,
|
tree,
|
||||||
@ -102,21 +108,21 @@ export async function lintWorkspaceRulesProjectGenerator(
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Add swc dependencies
|
// Add swc dependencies
|
||||||
addSwcRegisterDependencies(tree);
|
tasks.push(addSwcRegisterDependencies(tree));
|
||||||
|
|
||||||
// Add extra config to the jest.config.ts file to allow ESLint 8 exports mapping to work with jest
|
tasks.push(
|
||||||
addPropertyToJestConfig(
|
addDependenciesToPackageJson(
|
||||||
tree,
|
tree,
|
||||||
joinPathFragments(WORKSPACE_PLUGIN_DIR, 'jest.config.ts'),
|
{},
|
||||||
'moduleNameMapper',
|
{
|
||||||
{
|
'@typescript-eslint/utils': typescriptESLintVersion,
|
||||||
'@eslint/eslintrc': '@eslint/eslintrc/dist/eslintrc-universal.cjs',
|
}
|
||||||
}
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!options.skipFormat) {
|
if (!options.skipFormat) {
|
||||||
await formatFiles(tree);
|
await formatFiles(tree);
|
||||||
}
|
}
|
||||||
|
|
||||||
return installTask;
|
return runTasksInSerial(...tasks);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,67 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`update-typescript-eslint migration should update the jest.config.ts 1`] = `
|
||||||
|
"/* eslint-disable */
|
||||||
|
export default {
|
||||||
|
displayName: 'eslint-rules',
|
||||||
|
preset: '../../jest.preset.js',
|
||||||
|
transform: {
|
||||||
|
'^.+\\\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
|
||||||
|
},
|
||||||
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
|
coverageDirectory: '../../coverage/tools/eslint-rules',
|
||||||
|
moduleNameMapper: {},
|
||||||
|
};
|
||||||
|
"
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`update-typescript-eslint migration should update the rules 1`] = `
|
||||||
|
"/**
|
||||||
|
* This file sets you up with structure needed for an ESLint rule.
|
||||||
|
*
|
||||||
|
* It leverages utilities from @typescript-eslint to allow TypeScript to
|
||||||
|
* provide autocompletions etc for the configuration.
|
||||||
|
*
|
||||||
|
* Your rule's custom logic will live within the create() method below
|
||||||
|
* and you can learn more about writing ESLint rules on the official guide:
|
||||||
|
*
|
||||||
|
* https://eslint.org/docs/developer-guide/working-with-rules
|
||||||
|
*
|
||||||
|
* You can also view many examples of existing rules here:
|
||||||
|
*
|
||||||
|
* https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/src/rules
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
||||||
|
|
||||||
|
// NOTE: The rule will be available in ESLint configs as "@nx/workspace/lint-rule"
|
||||||
|
export const RULE_NAME = 'lint-rule';
|
||||||
|
|
||||||
|
export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
||||||
|
name: RULE_NAME,
|
||||||
|
meta: {
|
||||||
|
type: 'problem',
|
||||||
|
docs: {
|
||||||
|
description: \`\`,
|
||||||
|
recommended: 'recommended',
|
||||||
|
},
|
||||||
|
schema: [],
|
||||||
|
messages: {},
|
||||||
|
},
|
||||||
|
defaultOptions: [],
|
||||||
|
create(context) {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
"
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`update-typescript-eslint migration should update the tsconfig.json 1`] = `
|
||||||
|
"{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs",
|
||||||
|
"moduleResolution": "node16"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"
|
||||||
|
`;
|
||||||
@ -0,0 +1,102 @@
|
|||||||
|
import { createTreeWithEmptyWorkspace } from '@nx/devkit/testing';
|
||||||
|
import { Tree, writeJson } from '@nx/devkit';
|
||||||
|
|
||||||
|
import update from './update-typescript-eslint';
|
||||||
|
|
||||||
|
describe('update-typescript-eslint migration', () => {
|
||||||
|
let tree: Tree;
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
tree = createTreeWithEmptyWorkspace();
|
||||||
|
|
||||||
|
writeJson(tree, 'tools/eslint-rules/tsconfig.json', {
|
||||||
|
compilerOptions: {
|
||||||
|
module: 'commonjs',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
tree.write(
|
||||||
|
'tools/eslint-rules/jest.config.ts',
|
||||||
|
`/* eslint-disable */
|
||||||
|
export default {
|
||||||
|
displayName: 'eslint-rules',
|
||||||
|
preset: '../../jest.preset.js',
|
||||||
|
transform: {
|
||||||
|
'^.+\\\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
|
||||||
|
},
|
||||||
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
|
coverageDirectory: '../../coverage/tools/eslint-rules',
|
||||||
|
moduleNameMapper: {
|
||||||
|
'@eslint/eslintrc': '@eslint/eslintrc/dist/eslintrc-universal.cjs',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
`
|
||||||
|
);
|
||||||
|
|
||||||
|
tree.write(
|
||||||
|
'tools/eslint-rules/rules/rule.ts',
|
||||||
|
`/**
|
||||||
|
* This file sets you up with structure needed for an ESLint rule.
|
||||||
|
*
|
||||||
|
* It leverages utilities from @typescript-eslint to allow TypeScript to
|
||||||
|
* provide autocompletions etc for the configuration.
|
||||||
|
*
|
||||||
|
* Your rule's custom logic will live within the create() method below
|
||||||
|
* and you can learn more about writing ESLint rules on the official guide:
|
||||||
|
*
|
||||||
|
* https://eslint.org/docs/developer-guide/working-with-rules
|
||||||
|
*
|
||||||
|
* You can also view many examples of existing rules here:
|
||||||
|
*
|
||||||
|
* https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/src/rules
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
||||||
|
|
||||||
|
// NOTE: The rule will be available in ESLint configs as "@nx/workspace/lint-rule"
|
||||||
|
export const RULE_NAME = 'lint-rule';
|
||||||
|
|
||||||
|
export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
||||||
|
name: RULE_NAME,
|
||||||
|
meta: {
|
||||||
|
type: 'problem',
|
||||||
|
docs: {
|
||||||
|
description: \`\`,
|
||||||
|
recommended: 'error',
|
||||||
|
},
|
||||||
|
schema: [],
|
||||||
|
messages: {},
|
||||||
|
},
|
||||||
|
defaultOptions: [],
|
||||||
|
create(context) {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
`
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should update the tsconfig.json', async () => {
|
||||||
|
await update(tree);
|
||||||
|
|
||||||
|
expect(
|
||||||
|
tree.read('tools/eslint-rules/tsconfig.json', 'utf-8')
|
||||||
|
).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should update the jest.config.ts', async () => {
|
||||||
|
await update(tree);
|
||||||
|
|
||||||
|
expect(
|
||||||
|
tree.read('tools/eslint-rules/jest.config.ts', 'utf-8')
|
||||||
|
).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should update the rules', async () => {
|
||||||
|
await update(tree);
|
||||||
|
|
||||||
|
expect(
|
||||||
|
tree.read('tools/eslint-rules/rules/rule.ts', 'utf-8')
|
||||||
|
).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
});
|
||||||
@ -0,0 +1,98 @@
|
|||||||
|
import {
|
||||||
|
applyChangesToString,
|
||||||
|
ChangeType,
|
||||||
|
ensurePackage,
|
||||||
|
formatFiles,
|
||||||
|
StringChange,
|
||||||
|
Tree,
|
||||||
|
updateJson,
|
||||||
|
visitNotIgnoredFiles,
|
||||||
|
} from '@nx/devkit';
|
||||||
|
import { nxVersion } from '../../utils/versions';
|
||||||
|
import { extname } from 'path';
|
||||||
|
import {
|
||||||
|
createSourceFile,
|
||||||
|
forEachChild,
|
||||||
|
isIdentifier,
|
||||||
|
isPropertyAssignment,
|
||||||
|
isStringLiteral,
|
||||||
|
type Node,
|
||||||
|
ScriptTarget,
|
||||||
|
} from 'typescript';
|
||||||
|
|
||||||
|
function updateJestConfig(tree: Tree) {
|
||||||
|
const jestConfigPath = 'tools/eslint-rules/jest.config.ts';
|
||||||
|
if (tree.exists(jestConfigPath)) {
|
||||||
|
const { removePropertyFromJestConfig } = ensurePackage<
|
||||||
|
typeof import('@nx/jest')
|
||||||
|
>('@nx/jest', nxVersion);
|
||||||
|
|
||||||
|
removePropertyFromJestConfig(tree, jestConfigPath, [
|
||||||
|
'moduleNameMapper',
|
||||||
|
'@eslint/eslintrc',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateTsConfig(tree: Tree) {
|
||||||
|
const tsConfigPath = 'tools/eslint-rules/tsconfig.json';
|
||||||
|
if (tree.exists(tsConfigPath)) {
|
||||||
|
updateJson(tree, tsConfigPath, (tsConfig) => {
|
||||||
|
tsConfig.compilerOptions ??= {};
|
||||||
|
tsConfig.compilerOptions.moduleResolution = 'node16';
|
||||||
|
return tsConfig;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateRecommended(tree: Tree) {
|
||||||
|
visitNotIgnoredFiles(tree, 'tools/eslint-rules', (path) => {
|
||||||
|
if (extname(path) !== '.ts') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const contents = tree.read(path, 'utf-8');
|
||||||
|
const sourceFile = createSourceFile(
|
||||||
|
path,
|
||||||
|
contents,
|
||||||
|
ScriptTarget.ESNext,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
const changes: StringChange[] = [];
|
||||||
|
|
||||||
|
const visit = (node: Node) => {
|
||||||
|
if (
|
||||||
|
isPropertyAssignment(node) &&
|
||||||
|
isIdentifier(node.name) &&
|
||||||
|
node.name.text === 'recommended' &&
|
||||||
|
isStringLiteral(node.initializer)
|
||||||
|
) {
|
||||||
|
changes.push({
|
||||||
|
type: ChangeType.Delete,
|
||||||
|
start: node.initializer.getStart(sourceFile),
|
||||||
|
length: node.initializer.getWidth(sourceFile),
|
||||||
|
});
|
||||||
|
changes.push({
|
||||||
|
type: ChangeType.Insert,
|
||||||
|
index: node.initializer.getStart(sourceFile),
|
||||||
|
text: "'recommended'",
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
forEachChild(node, visit);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
forEachChild(sourceFile, visit);
|
||||||
|
|
||||||
|
tree.write(path, applyChangesToString(contents, changes));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export default async function update(tree: Tree) {
|
||||||
|
updateJestConfig(tree);
|
||||||
|
updateTsConfig(tree);
|
||||||
|
updateRecommended(tree);
|
||||||
|
|
||||||
|
await formatFiles(tree);
|
||||||
|
}
|
||||||
@ -3,4 +3,4 @@ export const nxVersion = require('../../package.json').version;
|
|||||||
export const eslintVersion = '~8.46.0';
|
export const eslintVersion = '~8.46.0';
|
||||||
export const eslintrcVersion = '^2.1.1';
|
export const eslintrcVersion = '^2.1.1';
|
||||||
export const eslintConfigPrettierVersion = '^9.0.0';
|
export const eslintConfigPrettierVersion = '^9.0.0';
|
||||||
export const typescriptESLintVersion = '^5.60.1';
|
export const typescriptESLintVersion = '^6.9.1';
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { FastifyInstance, FastifyRequest, FastifyReply } from 'fastify';
|
import { FastifyInstance } from 'fastify';
|
||||||
import AutoLoad from '@fastify/autoload';
|
import AutoLoad from '@fastify/autoload';
|
||||||
|
|
||||||
/* eslint-disable-next-line */
|
/* eslint-disable-next-line */
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { FastifyInstance, FastifyRequest, FastifyReply } from 'fastify';
|
import { FastifyInstance } from 'fastify';
|
||||||
import fp from 'fastify-plugin';
|
import fp from 'fastify-plugin';
|
||||||
import sensible from '@fastify/sensible';
|
import sensible from '@fastify/sensible';
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { FastifyInstance, FastifyRequest, FastifyReply } from 'fastify';
|
import { FastifyInstance } from 'fastify';
|
||||||
|
|
||||||
export default async function(fastify: FastifyInstance) {
|
export default async function(fastify: FastifyInstance) {
|
||||||
fastify.get('/', async function(request: FastifyRequest, reply: FastifyReply) {
|
fastify.get('/', async function() {
|
||||||
return { message: 'Hello API' };
|
return { message: 'Hello API' };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,7 +22,7 @@ if (import.meta.vitest) {
|
|||||||
// For more information please visit the Vitest docs site here: https://vitest.dev/guide/in-source.html
|
// For more information please visit the Vitest docs site here: https://vitest.dev/guide/in-source.html
|
||||||
|
|
||||||
const { it, expect, beforeEach } = import.meta.vitest;
|
const { it, expect, beforeEach } = import.meta.vitest;
|
||||||
let render: any;
|
let render: typeof import('@testing-library/react').render;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
render = (await import('@testing-library/react')).render;
|
render = (await import('@testing-library/react')).render;
|
||||||
|
|||||||
@ -5,7 +5,7 @@ if (import.meta.vitest) {
|
|||||||
// For more information please visit the Vitest docs site here: https://vitest.dev/guide/in-source.html
|
// For more information please visit the Vitest docs site here: https://vitest.dev/guide/in-source.html
|
||||||
|
|
||||||
const { it, expect, beforeEach } = import.meta.vitest;
|
const { it, expect, beforeEach } = import.meta.vitest;
|
||||||
let render: any;
|
let render: typeof import('@testing-library/react').render;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
render = (await import('@testing-library/react')).render;
|
render = (await import('@testing-library/react')).render;
|
||||||
|
|||||||
@ -46,8 +46,8 @@ exports[`lib should add correct jest.config.ts and dependencies to package.json
|
|||||||
"@swc/core": "~1.3.85",
|
"@swc/core": "~1.3.85",
|
||||||
"@types/jest": "^29.4.0",
|
"@types/jest": "^29.4.0",
|
||||||
"@types/node": "16.11.7",
|
"@types/node": "16.11.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
||||||
"@typescript-eslint/parser": "^5.60.1",
|
"@typescript-eslint/parser": "^6.9.1",
|
||||||
"@vitejs/plugin-vue": "^4.3.1",
|
"@vitejs/plugin-vue": "^4.3.1",
|
||||||
"@vue/eslint-config-prettier": "7.1.0",
|
"@vue/eslint-config-prettier": "7.1.0",
|
||||||
"@vue/eslint-config-typescript": "^11.0.3",
|
"@vue/eslint-config-typescript": "^11.0.3",
|
||||||
@ -243,8 +243,8 @@ exports[`lib should add vue, vite and vitest to package.json 1`] = `
|
|||||||
"@nx/vue": "0.0.1",
|
"@nx/vue": "0.0.1",
|
||||||
"@swc-node/register": "~1.6.7",
|
"@swc-node/register": "~1.6.7",
|
||||||
"@swc/core": "~1.3.85",
|
"@swc/core": "~1.3.85",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
||||||
"@typescript-eslint/parser": "^5.60.1",
|
"@typescript-eslint/parser": "^6.9.1",
|
||||||
"@vitejs/plugin-vue": "^4.3.1",
|
"@vitejs/plugin-vue": "^4.3.1",
|
||||||
"@vitest/coverage-c8": "~0.32.0",
|
"@vitest/coverage-c8": "~0.32.0",
|
||||||
"@vitest/ui": "~0.32.0",
|
"@vitest/ui": "~0.32.0",
|
||||||
|
|||||||
343
pnpm-lock.yaml
generated
343
pnpm-lock.yaml
generated
@ -292,7 +292,7 @@ devDependencies:
|
|||||||
version: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(eslint@8.46.0)(nx@17.0.0-rc.2)(verdaccio@5.15.4)
|
version: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(eslint@8.46.0)(nx@17.0.0-rc.2)(verdaccio@5.15.4)
|
||||||
'@nx/eslint-plugin':
|
'@nx/eslint-plugin':
|
||||||
specifier: 17.0.0-rc.2
|
specifier: 17.0.0-rc.2
|
||||||
version: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@5.62.0)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
version: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@6.9.1)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
||||||
'@nx/jest':
|
'@nx/jest':
|
||||||
specifier: 17.0.0-rc.2
|
specifier: 17.0.0-rc.2
|
||||||
version: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(nx@17.0.0-rc.2)(ts-node@10.9.1)(typescript@5.1.3)(verdaccio@5.15.4)
|
version: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(nx@17.0.0-rc.2)(ts-node@10.9.1)(typescript@5.1.3)(verdaccio@5.15.4)
|
||||||
@ -468,17 +468,17 @@ devDependencies:
|
|||||||
specifier: ^1.1.5
|
specifier: ^1.1.5
|
||||||
version: 1.1.5
|
version: 1.1.5
|
||||||
'@typescript-eslint/eslint-plugin':
|
'@typescript-eslint/eslint-plugin':
|
||||||
specifier: 5.62.0
|
specifier: ^6.9.1
|
||||||
version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)(typescript@5.1.3)
|
version: 6.9.1(@typescript-eslint/parser@6.9.1)(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/parser':
|
'@typescript-eslint/parser':
|
||||||
specifier: 5.62.0
|
specifier: ^6.9.1
|
||||||
version: 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
version: 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/type-utils':
|
'@typescript-eslint/type-utils':
|
||||||
specifier: 5.60.1
|
specifier: ^6.9.1
|
||||||
version: 5.60.1(eslint@8.46.0)(typescript@5.1.3)
|
version: 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/utils':
|
'@typescript-eslint/utils':
|
||||||
specifier: 5.62.0
|
specifier: ^6.9.1
|
||||||
version: 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
version: 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@xstate/immer':
|
'@xstate/immer':
|
||||||
specifier: 0.3.1
|
specifier: 0.3.1
|
||||||
version: 0.3.1(immer@9.0.16)(xstate@4.34.0)
|
version: 0.3.1(immer@9.0.16)(xstate@4.34.0)
|
||||||
@ -589,7 +589,7 @@ devDependencies:
|
|||||||
version: 2.14.0(eslint@8.46.0)
|
version: 2.14.0(eslint@8.46.0)
|
||||||
eslint-plugin-import:
|
eslint-plugin-import:
|
||||||
specifier: 2.26.0
|
specifier: 2.26.0
|
||||||
version: 2.26.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.5.2)(eslint@8.46.0)
|
version: 2.26.0(@typescript-eslint/parser@6.9.1)(eslint@8.46.0)
|
||||||
eslint-plugin-jsx-a11y:
|
eslint-plugin-jsx-a11y:
|
||||||
specifier: 6.6.1
|
specifier: 6.6.1
|
||||||
version: 6.6.1(eslint@8.46.0)
|
version: 6.6.1(eslint@8.46.0)
|
||||||
@ -4447,12 +4447,7 @@ packages:
|
|||||||
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
|
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint: 8.46.0
|
eslint: 8.46.0
|
||||||
eslint-visitor-keys: 3.3.0
|
eslint-visitor-keys: 3.4.3
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@eslint-community/regexpp@4.5.0:
|
|
||||||
resolution: {integrity: sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==}
|
|
||||||
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
|
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@eslint-community/regexpp@4.6.2:
|
/@eslint-community/regexpp@4.6.2:
|
||||||
@ -5662,7 +5657,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@phenomnomnominal/tsquery': 4.1.1(typescript@5.1.3)
|
'@phenomnomnominal/tsquery': 4.1.1(typescript@5.1.3)
|
||||||
ejs: 3.1.8
|
ejs: 3.1.8
|
||||||
ignore: 5.2.0
|
ignore: 5.2.4
|
||||||
nx: 15.8.0(@swc-node/register@1.6.8)(@swc/core@1.3.86)
|
nx: 15.8.0(@swc-node/register@1.6.8)(@swc/core@1.3.86)
|
||||||
semver: 7.3.4
|
semver: 7.3.4
|
||||||
tmp: 0.2.1
|
tmp: 0.2.1
|
||||||
@ -5678,7 +5673,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@phenomnomnominal/tsquery': 4.1.1(typescript@5.1.3)
|
'@phenomnomnominal/tsquery': 4.1.1(typescript@5.1.3)
|
||||||
ejs: 3.1.8
|
ejs: 3.1.8
|
||||||
ignore: 5.2.0
|
ignore: 5.2.4
|
||||||
nx: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)
|
nx: 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)
|
||||||
semver: 7.3.4
|
semver: 7.3.4
|
||||||
tmp: 0.2.1
|
tmp: 0.2.1
|
||||||
@ -5713,10 +5708,10 @@ packages:
|
|||||||
- verdaccio
|
- verdaccio
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@nrwl/eslint-plugin-nx@17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@5.62.0)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4):
|
/@nrwl/eslint-plugin-nx@17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@6.9.1)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4):
|
||||||
resolution: {integrity: sha512-qASP7I8CEuJWe0vJP7xde6uI/1kKIWOSsSnFcjlPSbwI+LxXBSSDRoGMm2MU/f2mt0qkxZX8WSNRBpxsbNbG+A==}
|
resolution: {integrity: sha512-qASP7I8CEuJWe0vJP7xde6uI/1kKIWOSsSnFcjlPSbwI+LxXBSSDRoGMm2MU/f2mt0qkxZX8WSNRBpxsbNbG+A==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@nx/eslint-plugin': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@5.62.0)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
'@nx/eslint-plugin': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@6.9.1)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@babel/traverse'
|
- '@babel/traverse'
|
||||||
- '@swc-node/register'
|
- '@swc-node/register'
|
||||||
@ -5771,7 +5766,7 @@ packages:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
fast-glob: 3.2.7
|
fast-glob: 3.2.7
|
||||||
fs-extra: 11.1.1
|
fs-extra: 11.1.1
|
||||||
ignore: 5.2.0
|
ignore: 5.2.4
|
||||||
js-tokens: 4.0.0
|
js-tokens: 4.0.0
|
||||||
minimatch: 3.0.5
|
minimatch: 3.0.5
|
||||||
source-map-support: 0.5.19
|
source-map-support: 0.5.19
|
||||||
@ -5808,7 +5803,7 @@ packages:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
fast-glob: 3.2.7
|
fast-glob: 3.2.7
|
||||||
fs-extra: 11.1.1
|
fs-extra: 11.1.1
|
||||||
ignore: 5.2.0
|
ignore: 5.2.4
|
||||||
js-tokens: 4.0.0
|
js-tokens: 4.0.0
|
||||||
minimatch: 3.0.5
|
minimatch: 3.0.5
|
||||||
source-map-support: 0.5.19
|
source-map-support: 0.5.19
|
||||||
@ -6225,7 +6220,7 @@ packages:
|
|||||||
'@nx/workspace': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)
|
'@nx/workspace': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)
|
||||||
'@phenomnomnominal/tsquery': 5.0.1(typescript@5.1.3)
|
'@phenomnomnominal/tsquery': 5.0.1(typescript@5.1.3)
|
||||||
'@schematics/angular': 16.2.0
|
'@schematics/angular': 16.2.0
|
||||||
'@typescript-eslint/type-utils': 5.60.1(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/type-utils': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
enquirer: 2.3.6
|
enquirer: 2.3.6
|
||||||
esbuild: 0.19.5
|
esbuild: 0.19.5
|
||||||
@ -6345,7 +6340,7 @@ packages:
|
|||||||
- verdaccio
|
- verdaccio
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@nx/eslint-plugin@17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@5.62.0)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4):
|
/@nx/eslint-plugin@17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@6.9.1)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4):
|
||||||
resolution: {integrity: sha512-FJvgyzbZguURGQREGPG+3nWhZTjCKKxCPw6uVONSusWsZ3JypQ9QsY0u8I8p4eybIWNkl2/zQbMfh30mv+JZWQ==}
|
resolution: {integrity: sha512-FJvgyzbZguURGQREGPG+3nWhZTjCKKxCPw6uVONSusWsZ3JypQ9QsY0u8I8p4eybIWNkl2/zQbMfh30mv+JZWQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@typescript-eslint/parser': ^5.60.1
|
'@typescript-eslint/parser': ^5.60.1
|
||||||
@ -6354,11 +6349,11 @@ packages:
|
|||||||
eslint-config-prettier:
|
eslint-config-prettier:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@nrwl/eslint-plugin-nx': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@5.62.0)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
'@nrwl/eslint-plugin-nx': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(@typescript-eslint/parser@6.9.1)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
||||||
'@nx/devkit': 17.0.0-rc.2(nx@17.0.0-rc.2)
|
'@nx/devkit': 17.0.0-rc.2(nx@17.0.0-rc.2)
|
||||||
'@nx/js': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
'@nx/js': 17.0.0-rc.2(@swc-node/register@1.6.8)(@swc/core@1.3.86)(@types/node@18.16.9)(nx@17.0.0-rc.2)(typescript@5.1.3)(verdaccio@5.15.4)
|
||||||
'@typescript-eslint/parser': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/parser': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/type-utils': 5.60.1(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/type-utils': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/utils': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/utils': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
confusing-browser-globals: 1.0.11
|
confusing-browser-globals: 1.0.11
|
||||||
@ -10159,29 +10154,30 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
/@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.46.0)(typescript@5.1.3):
|
/@typescript-eslint/eslint-plugin@6.9.1(@typescript-eslint/parser@6.9.1)(eslint@8.46.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==}
|
resolution: {integrity: sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@typescript-eslint/parser': ^5.0.0
|
'@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
|
||||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
typescript: '*'
|
typescript: '*'
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/regexpp': 4.5.0
|
'@eslint-community/regexpp': 4.6.2
|
||||||
'@typescript-eslint/parser': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/parser': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/scope-manager': 5.62.0
|
'@typescript-eslint/scope-manager': 6.9.1
|
||||||
'@typescript-eslint/type-utils': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/type-utils': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/utils': 5.62.0(eslint@8.46.0)(typescript@5.1.3)
|
'@typescript-eslint/utils': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
debug: 4.3.4(supports-color@5.5.0)
|
debug: 4.3.4(supports-color@5.5.0)
|
||||||
eslint: 8.46.0
|
eslint: 8.46.0
|
||||||
graphemer: 1.4.0
|
graphemer: 1.4.0
|
||||||
ignore: 5.2.0
|
ignore: 5.2.4
|
||||||
natural-compare-lite: 1.4.0
|
natural-compare: 1.4.0
|
||||||
semver: 7.5.3
|
semver: 7.5.4
|
||||||
tsutils: 3.21.0(typescript@5.1.3)
|
ts-api-utils: 1.0.3(typescript@5.1.3)
|
||||||
typescript: 5.1.3
|
typescript: 5.1.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -10207,6 +10203,27 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/parser@6.9.1(eslint@8.46.0)(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/scope-manager': 6.9.1
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
'@typescript-eslint/typescript-estree': 6.9.1(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
|
debug: 4.3.4(supports-color@5.5.0)
|
||||||
|
eslint: 8.46.0
|
||||||
|
typescript: 5.1.3
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/scope-manager@5.59.2:
|
/@typescript-eslint/scope-manager@5.59.2:
|
||||||
resolution: {integrity: sha512-dB1v7ROySwQWKqQ8rEWcdbTsFjh2G0vn8KUyvTXdPoyzSL6lLGkiXEV5CvpJsEe9xIdKV+8Zqb7wif2issoOFA==}
|
resolution: {integrity: sha512-dB1v7ROySwQWKqQ8rEWcdbTsFjh2G0vn8KUyvTXdPoyzSL6lLGkiXEV5CvpJsEe9xIdKV+8Zqb7wif2issoOFA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10215,14 +10232,6 @@ packages:
|
|||||||
'@typescript-eslint/visitor-keys': 5.59.2
|
'@typescript-eslint/visitor-keys': 5.59.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/scope-manager@5.60.1:
|
|
||||||
resolution: {integrity: sha512-Dn/LnN7fEoRD+KspEOV0xDMynEmR3iSHdgNsarlXNLGGtcUok8L4N71dxUgt3YvlO8si7E+BJ5Fe3wb5yUw7DQ==}
|
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
||||||
dependencies:
|
|
||||||
'@typescript-eslint/types': 5.60.1
|
|
||||||
'@typescript-eslint/visitor-keys': 5.60.1
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@typescript-eslint/scope-manager@5.62.0:
|
/@typescript-eslint/scope-manager@5.62.0:
|
||||||
resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==}
|
resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10231,6 +10240,14 @@ packages:
|
|||||||
'@typescript-eslint/visitor-keys': 5.62.0
|
'@typescript-eslint/visitor-keys': 5.62.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/scope-manager@6.9.1:
|
||||||
|
resolution: {integrity: sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/type-utils@5.59.2(eslint@8.46.0)(typescript@5.1.3):
|
/@typescript-eslint/type-utils@5.59.2(eslint@8.46.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-b1LS2phBOsEy/T381bxkkywfQXkV1dWda/z0PhnIy3bC5+rQWQDS7fk9CSpcXBccPY27Z6vBEuaPBCKCgYezyQ==}
|
resolution: {integrity: sha512-b1LS2phBOsEy/T381bxkkywfQXkV1dWda/z0PhnIy3bC5+rQWQDS7fk9CSpcXBccPY27Z6vBEuaPBCKCgYezyQ==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10251,26 +10268,6 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/type-utils@5.60.1(eslint@8.46.0)(typescript@5.1.3):
|
|
||||||
resolution: {integrity: sha512-vN6UztYqIu05nu7JqwQGzQKUJctzs3/Hg7E2Yx8rz9J+4LgtIDFWjjl1gm3pycH0P3mHAcEUBd23LVgfrsTR8A==}
|
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
||||||
peerDependencies:
|
|
||||||
eslint: '*'
|
|
||||||
typescript: '*'
|
|
||||||
peerDependenciesMeta:
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
|
||||||
'@typescript-eslint/typescript-estree': 5.60.1(typescript@5.1.3)
|
|
||||||
'@typescript-eslint/utils': 5.60.1(eslint@8.46.0)(typescript@5.1.3)
|
|
||||||
debug: 4.3.4(supports-color@5.5.0)
|
|
||||||
eslint: 8.46.0
|
|
||||||
tsutils: 3.21.0(typescript@5.1.3)
|
|
||||||
typescript: 5.1.3
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@typescript-eslint/type-utils@5.62.0(eslint@8.46.0)(typescript@5.1.3):
|
/@typescript-eslint/type-utils@5.62.0(eslint@8.46.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
|
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10291,13 +10288,28 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/types@5.59.2:
|
/@typescript-eslint/type-utils@6.9.1(eslint@8.46.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==}
|
resolution: {integrity: sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/typescript-estree': 6.9.1(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/utils': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
|
debug: 4.3.4(supports-color@5.5.0)
|
||||||
|
eslint: 8.46.0
|
||||||
|
ts-api-utils: 1.0.3(typescript@5.1.3)
|
||||||
|
typescript: 5.1.3
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/types@5.60.1:
|
/@typescript-eslint/types@5.59.2:
|
||||||
resolution: {integrity: sha512-zDcDx5fccU8BA0IDZc71bAtYIcG9PowaOwaD8rjYbqwK7dpe/UMQl3inJ4UtUK42nOCT41jTSCwg76E62JpMcg==}
|
resolution: {integrity: sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
@ -10306,6 +10318,11 @@ packages:
|
|||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/types@6.9.1:
|
||||||
|
resolution: {integrity: sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/typescript-estree@5.59.2(typescript@5.1.3):
|
/@typescript-eslint/typescript-estree@5.59.2(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==}
|
resolution: {integrity: sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10327,27 +10344,6 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/typescript-estree@5.60.1(typescript@5.1.3):
|
|
||||||
resolution: {integrity: sha512-hkX70J9+2M2ZT6fhti5Q2FoU9zb+GeZK2SLP1WZlvUDqdMbEKhexZODD1WodNRyO8eS+4nScvT0dts8IdaBzfw==}
|
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
||||||
peerDependencies:
|
|
||||||
typescript: '*'
|
|
||||||
peerDependenciesMeta:
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
|
||||||
'@typescript-eslint/types': 5.60.1
|
|
||||||
'@typescript-eslint/visitor-keys': 5.60.1
|
|
||||||
debug: 4.3.4(supports-color@5.5.0)
|
|
||||||
globby: 11.1.0
|
|
||||||
is-glob: 4.0.3
|
|
||||||
semver: 7.5.3
|
|
||||||
tsutils: 3.21.0(typescript@5.1.3)
|
|
||||||
typescript: 5.1.3
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@typescript-eslint/typescript-estree@5.62.0(typescript@5.1.3):
|
/@typescript-eslint/typescript-estree@5.62.0(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
|
resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10369,6 +10365,27 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/typescript-estree@6.9.1(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
|
debug: 4.3.4(supports-color@5.5.0)
|
||||||
|
globby: 11.1.0
|
||||||
|
is-glob: 4.0.3
|
||||||
|
semver: 7.5.4
|
||||||
|
ts-api-utils: 1.0.3(typescript@5.1.3)
|
||||||
|
typescript: 5.1.3
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/utils@5.59.2(eslint@8.46.0)(typescript@5.1.3):
|
/@typescript-eslint/utils@5.59.2(eslint@8.46.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-kSuF6/77TZzyGPhGO4uVp+f0SBoYxCDf+lW3GKhtKru/L8k/Hd7NFQxyWUeY7Z/KGB2C6Fe3yf2vVi4V9TsCSQ==}
|
resolution: {integrity: sha512-kSuF6/77TZzyGPhGO4uVp+f0SBoYxCDf+lW3GKhtKru/L8k/Hd7NFQxyWUeY7Z/KGB2C6Fe3yf2vVi4V9TsCSQ==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10389,26 +10406,6 @@ packages:
|
|||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/utils@5.60.1(eslint@8.46.0)(typescript@5.1.3):
|
|
||||||
resolution: {integrity: sha512-tiJ7FFdFQOWssFa3gqb94Ilexyw0JVxj6vBzaSpfN/8IhoKkDuSAenUKvsSHw2A/TMpJb26izIszTXaqygkvpQ==}
|
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
||||||
peerDependencies:
|
|
||||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
|
||||||
dependencies:
|
|
||||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0)
|
|
||||||
'@types/json-schema': 7.0.12
|
|
||||||
'@types/semver': 7.5.2
|
|
||||||
'@typescript-eslint/scope-manager': 5.60.1
|
|
||||||
'@typescript-eslint/types': 5.60.1
|
|
||||||
'@typescript-eslint/typescript-estree': 5.60.1(typescript@5.1.3)
|
|
||||||
eslint: 8.46.0
|
|
||||||
eslint-scope: 5.1.1
|
|
||||||
semver: 7.5.3
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
- typescript
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@typescript-eslint/utils@5.62.0(eslint@8.46.0)(typescript@5.1.3):
|
/@typescript-eslint/utils@5.62.0(eslint@8.46.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
|
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -10429,20 +10426,31 @@ packages:
|
|||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/utils@6.9.1(eslint@8.46.0)(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
|
dependencies:
|
||||||
|
'@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0)
|
||||||
|
'@types/json-schema': 7.0.12
|
||||||
|
'@types/semver': 7.5.2
|
||||||
|
'@typescript-eslint/scope-manager': 6.9.1
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
'@typescript-eslint/typescript-estree': 6.9.1(typescript@5.1.3)
|
||||||
|
eslint: 8.46.0
|
||||||
|
semver: 7.5.4
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
- typescript
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/visitor-keys@5.59.2:
|
/@typescript-eslint/visitor-keys@5.59.2:
|
||||||
resolution: {integrity: sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==}
|
resolution: {integrity: sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 5.59.2
|
'@typescript-eslint/types': 5.59.2
|
||||||
eslint-visitor-keys: 3.3.0
|
eslint-visitor-keys: 3.4.3
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@typescript-eslint/visitor-keys@5.60.1:
|
|
||||||
resolution: {integrity: sha512-xEYIxKcultP6E/RMKqube11pGjXH1DCo60mQoWhVYyKfLkwbIVVjYxmOenNMxILx0TjCujPTjjnTIVzm09TXIw==}
|
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
||||||
dependencies:
|
|
||||||
'@typescript-eslint/types': 5.60.1
|
|
||||||
eslint-visitor-keys: 3.3.0
|
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/visitor-keys@5.62.0:
|
/@typescript-eslint/visitor-keys@5.62.0:
|
||||||
@ -10450,7 +10458,15 @@ packages:
|
|||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 5.62.0
|
'@typescript-eslint/types': 5.62.0
|
||||||
eslint-visitor-keys: 3.3.0
|
eslint-visitor-keys: 3.4.3
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/visitor-keys@6.9.1:
|
||||||
|
resolution: {integrity: sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
eslint-visitor-keys: 3.4.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@verdaccio/commons-api@10.2.0:
|
/@verdaccio/commons-api@10.2.0:
|
||||||
@ -15039,6 +15055,35 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/eslint-module-utils@2.7.4(@typescript-eslint/parser@6.9.1)(eslint-import-resolver-node@0.3.6)(eslint@8.46.0):
|
||||||
|
resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==}
|
||||||
|
engines: {node: '>=4'}
|
||||||
|
peerDependencies:
|
||||||
|
'@typescript-eslint/parser': '*'
|
||||||
|
eslint: '*'
|
||||||
|
eslint-import-resolver-node: '*'
|
||||||
|
eslint-import-resolver-typescript: '*'
|
||||||
|
eslint-import-resolver-webpack: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@typescript-eslint/parser':
|
||||||
|
optional: true
|
||||||
|
eslint:
|
||||||
|
optional: true
|
||||||
|
eslint-import-resolver-node:
|
||||||
|
optional: true
|
||||||
|
eslint-import-resolver-typescript:
|
||||||
|
optional: true
|
||||||
|
eslint-import-resolver-webpack:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/parser': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
|
debug: 3.2.7(supports-color@8.1.1)
|
||||||
|
eslint: 8.46.0
|
||||||
|
eslint-import-resolver-node: 0.3.6
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/eslint-plugin-cypress@2.14.0(eslint@8.46.0):
|
/eslint-plugin-cypress@2.14.0(eslint@8.46.0):
|
||||||
resolution: {integrity: sha512-eW6tv7iIg7xujleAJX4Ujm649Bf5jweqa4ObPEIuueYRyLZt7qXGWhCY/n4bfeFW/j6nQZwbIBHKZt6EKcL/cg==}
|
resolution: {integrity: sha512-eW6tv7iIg7xujleAJX4Ujm649Bf5jweqa4ObPEIuueYRyLZt7qXGWhCY/n4bfeFW/j6nQZwbIBHKZt6EKcL/cg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -15079,6 +15124,37 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/eslint-plugin-import@2.26.0(@typescript-eslint/parser@6.9.1)(eslint@8.46.0):
|
||||||
|
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
|
||||||
|
engines: {node: '>=4'}
|
||||||
|
peerDependencies:
|
||||||
|
'@typescript-eslint/parser': '*'
|
||||||
|
eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@typescript-eslint/parser':
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/parser': 6.9.1(eslint@8.46.0)(typescript@5.1.3)
|
||||||
|
array-includes: 3.1.6
|
||||||
|
array.prototype.flat: 1.3.1
|
||||||
|
debug: 2.6.9
|
||||||
|
doctrine: 2.1.0
|
||||||
|
eslint: 8.46.0
|
||||||
|
eslint-import-resolver-node: 0.3.6
|
||||||
|
eslint-module-utils: 2.7.4(@typescript-eslint/parser@6.9.1)(eslint-import-resolver-node@0.3.6)(eslint@8.46.0)
|
||||||
|
has: 1.0.3
|
||||||
|
is-core-module: 2.11.0
|
||||||
|
is-glob: 4.0.3
|
||||||
|
minimatch: 3.1.2
|
||||||
|
object.values: 1.1.6
|
||||||
|
resolve: 1.22.1
|
||||||
|
tsconfig-paths: 3.14.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- eslint-import-resolver-typescript
|
||||||
|
- eslint-import-resolver-webpack
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/eslint-plugin-jsx-a11y@6.6.1(eslint@8.46.0):
|
/eslint-plugin-jsx-a11y@6.6.1(eslint@8.46.0):
|
||||||
resolution: {integrity: sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q==}
|
resolution: {integrity: sha512-sXgFVNHiWffBq23uiS/JaP6eVR622DqwB4yTzKvGZGcPq6/yZ3WmOZfuBks/vHWo9GaFOqC2ZK4i6+C35knx7Q==}
|
||||||
engines: {node: '>=4.0'}
|
engines: {node: '>=4.0'}
|
||||||
@ -15248,7 +15324,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
acorn: 8.10.0
|
acorn: 8.10.0
|
||||||
acorn-jsx: 5.3.2(acorn@8.10.0)
|
acorn-jsx: 5.3.2(acorn@8.10.0)
|
||||||
eslint-visitor-keys: 3.3.0
|
eslint-visitor-keys: 3.4.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/espree@9.6.1:
|
/espree@9.6.1:
|
||||||
@ -16477,7 +16553,7 @@ packages:
|
|||||||
array-union: 2.1.0
|
array-union: 2.1.0
|
||||||
dir-glob: 3.0.1
|
dir-glob: 3.0.1
|
||||||
fast-glob: 3.3.1
|
fast-glob: 3.3.1
|
||||||
ignore: 5.2.0
|
ignore: 5.2.4
|
||||||
merge2: 1.4.1
|
merge2: 1.4.1
|
||||||
slash: 3.0.0
|
slash: 3.0.0
|
||||||
dev: true
|
dev: true
|
||||||
@ -20262,10 +20338,6 @@ packages:
|
|||||||
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
/natural-compare-lite@1.4.0:
|
|
||||||
resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==}
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/natural-compare@1.4.0:
|
/natural-compare@1.4.0:
|
||||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -25836,6 +25908,15 @@ packages:
|
|||||||
resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==}
|
resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/ts-api-utils@1.0.3(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}
|
||||||
|
engines: {node: '>=16.13.0'}
|
||||||
|
peerDependencies:
|
||||||
|
typescript: '>=4.2.0'
|
||||||
|
dependencies:
|
||||||
|
typescript: 5.1.3
|
||||||
|
dev: true
|
||||||
|
|
||||||
/ts-dedent@2.2.0:
|
/ts-dedent@2.2.0:
|
||||||
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
|
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
|
||||||
engines: {node: '>=6.10'}
|
engines: {node: '>=6.10'}
|
||||||
|
|||||||
@ -12,9 +12,6 @@ export default {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||||
coverageDirectory: '../../coverage/tools/eslint-rules',
|
testEnvironment: 'node',
|
||||||
moduleNameMapper: {
|
|
||||||
'@eslint/eslintrc': '@eslint/eslintrc/dist/eslintrc-universal.cjs',
|
|
||||||
},
|
|
||||||
preset: '../../jest.preset.js',
|
preset: '../../jest.preset.js',
|
||||||
};
|
};
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export const rule = ESLintUtils.RuleCreator(() => __filename)({
|
|||||||
type: 'problem',
|
type: 'problem',
|
||||||
docs: {
|
docs: {
|
||||||
description: `Ensures that nx schemas contain valid descriptions in order to provide consistent --help output for commands`,
|
description: `Ensures that nx schemas contain valid descriptions in order to provide consistent --help output for commands`,
|
||||||
recommended: 'error',
|
recommended: 'recommended',
|
||||||
},
|
},
|
||||||
fixable: 'code',
|
fixable: 'code',
|
||||||
schema: [],
|
schema: [],
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node16",
|
||||||
"module": "commonjs"
|
"module": "commonjs"
|
||||||
},
|
},
|
||||||
"files": [],
|
"files": [],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user