From ee542a01f7c7a7226077a11ffa2ba9e6fbf1bfbe Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Thu, 16 Feb 2023 14:03:40 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20eslint=20=E4=BE=9D=E8=B5=96=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 16 ++++++++-------- service/package.json | 4 ++-- service/pnpm-lock.yaml | 20 ++++++++++---------- 4 files changed, 21 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 765bdae..b687742 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "preview": "vite preview", "build-only": "vite build", "type-check": "vue-tsc --noEmit", + "lint": "eslint .", "lint:fix": "eslint . --fix", "bootstrap": "pnpm install && pnpm run common:prepare", "common:cleanup": "rimraf node_modules && rimraf pnpm-lock.yaml", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 44678ab..b1fd3c6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1268,7 +1268,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001452 - electron-to-chromium: 1.4.298 + electron-to-chromium: 1.4.296 node-releases: 2.0.10 update-browserslist-db: 1.0.10_browserslist@4.21.5 dev: true @@ -1724,8 +1724,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium/1.4.298: - resolution: {integrity: sha512-dJZurgxDeaqn90VmS23Xz+QPQQl84BxnlAfwCDFNjfEhqO2yLMDkeaDoJ1yPXAbmiqTi+hd5TpB5zi1N4hwBuQ==} + /electron-to-chromium/1.4.296: + resolution: {integrity: sha512-i/6Q+Y9bluDa2a0NbMvdtG5TuS/1Fr3TKK8L+7UUL9QjRS5iFJzCC3r70xjyOnLiYG8qGV4/mMpe6HuAbdJW4w==} dev: true /emoji-regex/8.0.0: @@ -2052,7 +2052,7 @@ packages: ci-info: 3.8.0 clean-regexp: 1.0.0 eslint: 8.34.0 - esquery: 1.4.1 + esquery: 1.4.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 jsesc: 3.0.2 @@ -2186,7 +2186,7 @@ packages: eslint-utils: 3.0.0_eslint@8.34.0 eslint-visitor-keys: 3.3.0 espree: 9.4.1 - esquery: 1.4.1 + esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 @@ -2224,8 +2224,8 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /esquery/1.4.1: - resolution: {integrity: sha512-3ZggxvMv5EEY1ssUVyHSVt0oPreyBfbUi1XikJVfjFiBeBDLdrb0IWoDiEwqT/2sUQi0TGaWtFhOGDD8RTpXgQ==} + /esquery/1.4.0: + resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} engines: {node: '>=0.10'} dependencies: estraverse: 5.3.0 @@ -4449,7 +4449,7 @@ packages: eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 espree: 9.4.1 - esquery: 1.4.1 + esquery: 1.4.0 lodash: 4.17.21 semver: 7.3.8 transitivePeerDependencies: diff --git a/service/package.json b/service/package.json index 663630c..ebc0323 100644 --- a/service/package.json +++ b/service/package.json @@ -23,7 +23,7 @@ "common:cleanup": "rimraf node_modules && rimraf pnpm-lock.yaml" }, "dependencies": { - "chatgpt": "^4.4.1", + "chatgpt": "^4.3.2", "dotenv": "^16.0.3", "esno": "^0.16.3", "express": "^4.18.2", @@ -35,7 +35,7 @@ "@types/node": "^18.13.0", "eslint": "^8.34.0", "rimraf": "^4.1.2", - "tsup": "^6.6.3", + "tsup": "^6.6.2", "typescript": "^4.9.5" } } diff --git a/service/pnpm-lock.yaml b/service/pnpm-lock.yaml index 4ac9572..36cd6d0 100644 --- a/service/pnpm-lock.yaml +++ b/service/pnpm-lock.yaml @@ -4,18 +4,18 @@ specifiers: '@antfu/eslint-config': ^0.35.2 '@types/express': ^4.17.17 '@types/node': ^18.13.0 - chatgpt: ^4.4.1 + chatgpt: ^4.3.2 dotenv: ^16.0.3 eslint: ^8.34.0 esno: ^0.16.3 express: ^4.18.2 isomorphic-fetch: ^3.0.0 rimraf: ^4.1.2 - tsup: ^6.6.3 + tsup: ^6.6.2 typescript: ^4.9.5 dependencies: - chatgpt: 4.4.1 + chatgpt: 4.4.0 dotenv: 16.0.3 esno: 0.16.3 express: 4.18.2 @@ -856,8 +856,8 @@ packages: resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} dev: true - /chatgpt/4.4.1: - resolution: {integrity: sha512-rccShNzq/aE4LMmwTW4IOHIAZgNRbX0KetVKRCdR4SkRXz63FWzOfu8pNbaN65gsvvXwXyRzD7W4LLDyXe4TYg==} + /chatgpt/4.4.0: + resolution: {integrity: sha512-rS1F423hR5marIB7hvZ4KyczK9oFloWY+AR4WKIt+HLyiRgOOWv6V4olu1HvaoOayc5+A/N2WwX0SzuU1rI9Rg==} engines: {node: '>=18'} dependencies: eventsource-parser: 0.0.5 @@ -1393,7 +1393,7 @@ packages: ci-info: 3.8.0 clean-regexp: 1.0.0 eslint: 8.34.0 - esquery: 1.4.1 + esquery: 1.4.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 jsesc: 3.0.2 @@ -1527,7 +1527,7 @@ packages: eslint-utils: 3.0.0_eslint@8.34.0 eslint-visitor-keys: 3.3.0 espree: 9.4.1 - esquery: 1.4.1 + esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 @@ -1572,8 +1572,8 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /esquery/1.4.1: - resolution: {integrity: sha512-3ZggxvMv5EEY1ssUVyHSVt0oPreyBfbUi1XikJVfjFiBeBDLdrb0IWoDiEwqT/2sUQi0TGaWtFhOGDD8RTpXgQ==} + /esquery/1.4.0: + resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} engines: {node: '>=0.10'} dependencies: estraverse: 5.3.0 @@ -3296,7 +3296,7 @@ packages: eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 espree: 9.4.1 - esquery: 1.4.1 + esquery: 1.4.0 lodash: 4.17.21 semver: 7.3.8 transitivePeerDependencies: