Skip to content

Commit 62dbaa3

Browse files
committed
chore: update
1 parent d418cd9 commit 62dbaa3

14 files changed

Lines changed: 945 additions & 1124 deletions

File tree

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/node_modules/**
2+
**/dist/**
3+
**/.swc/**
4+
pnpm-lock.yaml

eslint.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import { defineESLintConfig } from '@ntnyq/eslint-config'
44

55
export default defineESLintConfig({
6-
ignores: ['./src/index.html'],
7-
pnpm: true,
86
vue: {
97
overrides: {
108
'vue/prefer-true-attribute-shorthand': 'off',

package.json

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "taro-vue3-zhihudaily",
33
"version": "0.3.0",
44
"private": true,
5-
"packageManager": "pnpm@10.11.0",
5+
"packageManager": "pnpm@10.11.1",
66
"description": "taro-vue3-zhihudaily",
77
"license": "MIT",
88
"author": {
@@ -12,56 +12,57 @@
1212
"scripts": {
1313
"build": "taro build --type weapp",
1414
"dev": "pnpm run build --watch",
15-
"format": "prettier --write .",
15+
"format": "prettier -uw .",
1616
"lint": "eslint",
1717
"prepare": "husky",
1818
"release": "bumpp",
1919
"typecheck": "vue-tsc --noEmit"
2020
},
2121
"dependencies": {
22-
"@babel/runtime": "catalog:",
23-
"@nutui/icons-vue-taro": "catalog:",
24-
"@nutui/nutui-taro": "catalog:",
25-
"@tarojs/components": "catalog:",
26-
"@tarojs/plugin-framework-vue3": "catalog:",
27-
"@tarojs/plugin-html": "catalog:",
28-
"@tarojs/runtime": "catalog:",
29-
"@tarojs/taro": "catalog:",
30-
"dayjs": "catalog:",
31-
"pinia": "catalog:",
32-
"taro-plugin-pinia": "catalog:",
33-
"vue": "catalog:"
22+
"@babel/runtime": "^7.27.4",
23+
"@nutui/icons-vue-taro": "^0.0.9",
24+
"@nutui/nutui-taro": "^4.3.13",
25+
"@tarojs/components": "^4.1.1",
26+
"@tarojs/plugin-framework-vue3": "^4.1.1",
27+
"@tarojs/plugin-html": "^4.1.1",
28+
"@tarojs/runtime": "^4.1.1",
29+
"@tarojs/taro": "^4.1.1",
30+
"dayjs": "^1.11.13",
31+
"pinia": "^3.0.2",
32+
"taro-plugin-pinia": "^1.0.0",
33+
"vue": "^3.5.16"
3434
},
3535
"devDependencies": {
36-
"@babel/core": "catalog:",
37-
"@ntnyq/eslint-config": "catalog:",
38-
"@ntnyq/prettier-config": "catalog:",
39-
"@tarojs/cli": "catalog:",
40-
"@tarojs/helper": "catalog:",
41-
"@tarojs/plugin-platform-weapp": "catalog:",
42-
"@tarojs/router": "catalog:",
43-
"@tarojs/shared": "catalog:",
44-
"@tarojs/webpack5-runner": "catalog:",
45-
"@types/webpack-env": "catalog:",
46-
"@vue/babel-plugin-jsx": "catalog:",
47-
"@vue/compiler-sfc": "catalog:",
48-
"babel-preset-taro": "catalog:",
49-
"bumpp": "catalog:",
50-
"eslint": "catalog:",
51-
"husky": "catalog:",
52-
"nano-staged": "catalog:",
53-
"postcss": "catalog:",
54-
"prettier": "catalog:",
55-
"taro-define-config": "catalog:",
56-
"tsconfig-paths-webpack-plugin": "catalog:",
57-
"typescript": "catalog:",
58-
"unplugin-vue-components": "catalog:",
59-
"vue-loader": "catalog:",
60-
"vue-tsc": "catalog:",
61-
"webpack": "catalog:"
36+
"@babel/core": "^7.27.4",
37+
"@ntnyq/eslint-config": "^5.0.0-beta.5",
38+
"@ntnyq/prettier-config": "^2.2.0",
39+
"@tarojs/cli": "^4.1.1",
40+
"@tarojs/helper": "^4.1.1",
41+
"@tarojs/plugin-platform-weapp": "^4.1.1",
42+
"@tarojs/router": "^4.1.1",
43+
"@tarojs/shared": "^4.1.1",
44+
"@tarojs/webpack5-runner": "^4.1.1",
45+
"@types/webpack-env": "^1.18.8",
46+
"@vue/babel-plugin-jsx": "^1.4.0",
47+
"@vue/compiler-sfc": "^3.5.16",
48+
"babel-preset-taro": "^4.1.1",
49+
"bumpp": "^10.1.1",
50+
"eslint": "^9.28.0",
51+
"husky": "^9.1.7",
52+
"nano-staged": "^0.8.0",
53+
"postcss": "^8.5.4",
54+
"prettier": "^3.5.3",
55+
"taro-define-config": "^0.11.0",
56+
"tsconfig-paths-webpack-plugin": "^4.2.0",
57+
"typescript": "^5.8.3",
58+
"unplugin-vue-components": "^28.7.0",
59+
"vue-loader": "^17.4.2",
60+
"vue-tsc": "^3.0.0-alpha.8",
61+
"webpack": "^5.99.9"
6262
},
6363
"nano-staged": {
64-
"*.{js,ts,cjs,mjs,vue,md,yml,yaml,json}": "eslint --fix"
64+
"*.{js,ts,cjs,mjs,vue,md,yml,yaml,json}": "eslint --fix",
65+
"*.{css,scss,html}": "prettier -uw"
6566
},
6667
"browserslist": [
6768
"last 3 versions",

0 commit comments

Comments
 (0)