From bddd54f487ce7d75d971857161759d8ffdcad2fd Mon Sep 17 00:00:00 2001 From: Tom Gao Date: Wed, 5 Jun 2024 23:53:41 +0800 Subject: [PATCH] chore: update deps and change vscode dev script --- package.json | 2 +- pnpm-lock.yaml | 40 +++++++++++++++--------------- templates/base/core/package.json | 2 +- templates/base/vscode/package.json | 8 +++--- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 3e511e6..56ae983 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "husky": "^9.0.11", "lint-staged": "^15.2.5", "npm-run-all": "^4.1.5", - "prettier": "^3.3.0", + "prettier": "^3.3.1", "stylelint": "^16.6.1", "tsup": "^8.1.0", "tsx": "^4.11.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2cf178b..5c3ee12 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,13 +41,13 @@ importers: version: 3.3.0(@commitlint/cli@19.3.0(@types/node@18.19.34)(typescript@5.4.5)) '@tomjs/eslint': specifier: ^3.1.1 - version: 3.1.1(eslint@8.57.0)(prettier@3.3.0)(typescript@5.4.5) + version: 3.1.1(eslint@8.57.0)(prettier@3.3.1)(typescript@5.4.5) '@tomjs/prettier': specifier: ^1.4.1 - version: 1.4.1(prettier@3.3.0) + version: 1.4.1(prettier@3.3.1) '@tomjs/stylelint': specifier: ^2.5.0 - version: 2.5.0(prettier@3.3.0)(stylelint@16.6.1(typescript@5.4.5)) + version: 2.5.0(prettier@3.3.1)(stylelint@16.6.1(typescript@5.4.5)) '@tomjs/tsconfig': specifier: ^1.6.0 version: 1.6.0 @@ -82,8 +82,8 @@ importers: specifier: ^4.1.5 version: 4.1.5 prettier: - specifier: ^3.3.0 - version: 3.3.0 + specifier: ^3.3.1 + version: 3.3.1 stylelint: specifier: ^16.6.1 version: 16.6.1(typescript@5.4.5) @@ -3002,8 +3002,8 @@ packages: engines: {node: '>=14'} hasBin: true - prettier@3.3.0: - resolution: {integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==} + prettier@3.3.1: + resolution: {integrity: sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==} engines: {node: '>=14'} hasBin: true @@ -4419,7 +4419,7 @@ snapshots: '@commitlint/cli': 19.3.0(@types/node@18.19.34)(typescript@5.4.5) '@commitlint/config-conventional': 19.2.2 - '@tomjs/eslint@3.1.1(eslint@8.57.0)(prettier@3.3.0)(typescript@5.4.5)': + '@tomjs/eslint@3.1.1(eslint@8.57.0)(prettier@3.3.1)(typescript@5.4.5)': dependencies: '@typescript-eslint/eslint-plugin': 7.9.0(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) @@ -4429,13 +4429,13 @@ snapshots: eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-n: 17.7.0(eslint@8.57.0) eslint-plugin-node-import: 1.0.4(eslint@8.57.0) - eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.0) + eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.1) eslint-plugin-react: 7.34.1(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) eslint-plugin-react-refresh: 0.4.7(eslint@8.57.0) eslint-plugin-simple-import-sort: 12.1.0(eslint@8.57.0) eslint-plugin-vue: 9.26.0(eslint@8.57.0) - prettier: 3.3.0 + prettier: 3.3.1 vue-eslint-parser: 9.4.2(eslint@8.57.0) optionalDependencies: typescript: 5.4.5 @@ -4454,17 +4454,17 @@ snapshots: '@tomjs/node@2.1.0': {} - '@tomjs/prettier@1.4.1(prettier@3.3.0)': + '@tomjs/prettier@1.4.1(prettier@3.3.1)': dependencies: - prettier: 3.3.0 + prettier: 3.3.1 - '@tomjs/stylelint@2.5.0(prettier@3.3.0)(stylelint@16.6.1(typescript@5.4.5))': + '@tomjs/stylelint@2.5.0(prettier@3.3.1)(stylelint@16.6.1(typescript@5.4.5))': dependencies: postcss: 8.4.38 postcss-html: 1.7.0 postcss-less: 6.0.0(postcss@8.4.38) postcss-scss: 4.0.9(postcss@8.4.38) - prettier: 3.3.0 + prettier: 3.3.1 stylelint: 16.6.1(typescript@5.4.5) stylelint-config-property-sort-order-smacss: 10.0.0(stylelint@16.6.1(typescript@5.4.5)) stylelint-config-recommended: 14.0.0(stylelint@16.6.1(typescript@5.4.5)) @@ -4472,7 +4472,7 @@ snapshots: stylelint-config-standard: 36.0.0(stylelint@16.6.1(typescript@5.4.5)) stylelint-config-standard-scss: 13.1.0(postcss@8.4.38)(stylelint@16.6.1(typescript@5.4.5)) stylelint-order: 6.0.4(stylelint@16.6.1(typescript@5.4.5)) - stylelint-prettier: 5.0.0(prettier@3.3.0)(stylelint@16.6.1(typescript@5.4.5)) + stylelint-prettier: 5.0.0(prettier@3.3.1)(stylelint@16.6.1(typescript@5.4.5)) '@tomjs/tsconfig@1.6.0': {} @@ -5562,10 +5562,10 @@ snapshots: prettier-linter-helpers: 1.0.0 synckit: 0.8.5 - eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.0): + eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.1): dependencies: eslint: 8.57.0 - prettier: 3.3.0 + prettier: 3.3.1 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 optionalDependencies: @@ -6923,7 +6923,7 @@ snapshots: prettier@3.0.3: {} - prettier@3.3.0: {} + prettier@3.3.1: {} pretty-ms@9.0.0: dependencies: @@ -7395,9 +7395,9 @@ snapshots: prettier-linter-helpers: 1.0.0 stylelint: 15.10.3(typescript@5.2.2) - stylelint-prettier@5.0.0(prettier@3.3.0)(stylelint@16.6.1(typescript@5.4.5)): + stylelint-prettier@5.0.0(prettier@3.3.1)(stylelint@16.6.1(typescript@5.4.5)): dependencies: - prettier: 3.3.0 + prettier: 3.3.1 prettier-linter-helpers: 1.0.0 stylelint: 16.6.1(typescript@5.4.5) diff --git a/templates/base/core/package.json b/templates/base/core/package.json index c083224..8901318 100644 --- a/templates/base/core/package.json +++ b/templates/base/core/package.json @@ -23,7 +23,7 @@ "husky": "^9.0.11", "lint-staged": "^15.2.5", "npm-run-all": "^4.1.5", - "prettier": "^3.3.0", + "prettier": "^3.3.1", "rimraf": "^5.0.7", "typescript": "~5.4.5" } diff --git a/templates/base/vscode/package.json b/templates/base/vscode/package.json index a3804a9..3ecb5af 100644 --- a/templates/base/vscode/package.json +++ b/templates/base/vscode/package.json @@ -49,20 +49,20 @@ }, "scripts": { "dev": "run-p dev:*", - "dev:i18n": "vscode-dev i18n --watch", + "dev:vsd": "vscode-dev --watch", "dev:dist": "vite", - "build": "vscode-dev i18n && vite build", + "build": "vscode-dev && vite build", "lint": "run-s lint:eslint lint:stylelint lint:prettier", "lint:eslint": "eslint \"{src,extension}/**/*.{js,cjs,ts,tsx}\" *.{js,cjs,ts} --fix --cache" }, "dependencies": { "@tomjs/node": "^2.1.0", - "@tomjs/vscode": "^2.0.1", + "@tomjs/vscode": "^2.1.0", "@vscode/webview-ui-toolkit": "^1.4.0" }, "devDependencies": { "@tomjs/vite-plugin-vscode": "^2.3.1", - "@tomjs/vscode-dev": "^1.2.3", + "@tomjs/vscode-dev": "^2.0.0", "@types/vscode": "^1.56.0", "@types/vscode-webview": "^1.57.5", "vite": "^5.2.12"