From 76b5c8ebe380dfff88b8992ec1da5c7790685117 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Thu, 30 Jun 2022 18:59:17 -0700 Subject: [PATCH] chore: bump dependencies --- .eslintrc.json | 52 ++++++++++++++++++++++++++++++++++++-------------- package.json | 24 ++++++++++------------- 2 files changed, 48 insertions(+), 28 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index a13c55af9..5b7d00967 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,17 +1,41 @@ { "root": true, - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 2018, - "sourceType": "module", - "project": "tsconfig.eslint.json" - }, - "plugins": ["@nativescript", "prettier"], - "extends": ["plugin:@nativescript/recommended", "prettier"], - "rules": { - "prettier/prettier": 2, - "@nativescript/no-nativescript-angular-imports": "warn", - "@nativescript/no-tns-core-modules-imports": "warn", - "@nativescript/no-duplicate-ns-imports": "warn" - } + "ignorePatterns": ["**/*"], + "plugins": ["@nrwl/nx"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": { + "@nrwl/nx/enforce-module-boundaries": [ + "error", + { + "enforceBuildableLibDependency": true, + "allow": [], + "depConstraints": [ + { + "sourceTag": "*", + "onlyDependOnLibsWithTags": ["*"] + } + ] + } + ] + } + }, + { + "files": ["*.ts", "*.tsx"], + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:@nrwl/nx/typescript"], + "rules": {} + }, + { + "files": ["*.js", "*.jsx"], + "extends": ["plugin:@nrwl/nx/javascript"], + "rules": {} + }, + { + "files": ["references.d.ts"], + "rules": { + "@typescript-eslint/triple-slash-reference": "off" + } + } + ] } diff --git a/package.json b/package.json index 987da89dc..761281217 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "nativescript-theme-core": "^1.0.4" }, "devDependencies": { - "@nativescript/eslint-plugin": "~0.0.4", "@nativescript/hook": "^2.0.0", "@nativescript/nx": "~4.0.0", "@nrwl/cli": "14.3.6", @@ -29,15 +28,15 @@ "@nrwl/jest": "14.3.6", "@nrwl/node": "14.3.6", "@nrwl/workspace": "14.3.6", - "@nstudio/focus": "^14.0.1", + "@nstudio/focus": "^14.3.0", "@nstudio/nps-i": "~2.0.0", "@prettier/plugin-xml": "^2.2.0", "@types/chai": "^4.2.11", "@types/jest": "27.4.1", "@types/mocha": "^7.0.2", - "@types/node": "17.0.41", - "@typescript-eslint/eslint-plugin": "~5.24.0", - "@typescript-eslint/parser": "~5.24.0", + "@types/node": "^18.0.0", + "@typescript-eslint/eslint-plugin": "^5.30.0", + "@typescript-eslint/parser": "^5.30.0", "chai": "^4.2.0", "conventional-changelog-cli": "^2.1.1", "copyfiles": "^2.4.0", @@ -45,8 +44,7 @@ "css-tree": "^1.1.2", "dotenv": "10.0.0", "eslint": "7.22.0", - "eslint-config-prettier": "8.1.0", - "eslint-plugin-prettier": "^3.3.1", + "eslint-config-prettier": "^8.1.0", "gonzales": "^1.0.7", "husky": "^8.0.1", "jest": "27.5.1", @@ -58,21 +56,19 @@ "nativescript-typedoc-theme": "1.1.0", "parse-css": "git+https://github.com/tabatkins/parse-css.git", "parserlib": "^1.1.1", - "prettier": "2.6.2", + "prettier": "^2.6.2", "reduce-css-calc": "~2.1.7", "sass": "^1.45.2", "shady-css-parser": "^0.1.0", - "terser-webpack-plugin": "~3.0.6", "tree-kill": "^1.2.2", "ts-jest": "27.1.4", "ts-node": "10.8.1", - "ts-patch": "^1.3.0", + "ts-patch": "^2.0.1", "tslint": "6.1.3", + "tslint-to-eslint-config": "^2.13.0", "typedoc": "^0.22.17", - "typescript": "4.7.3", - "webpack": "~4.44.1", - "webpack-cli": "~3.3.12", - "zx": "^4.2.0", + "typescript": "~4.7.3", + "zx": "^7.0.5", "nx": "14.3.6" }, "lint-staged": {