fix: 🐛 更新 @vue/tsconfig 修复importsNotUsedAsValues报错;添加package.json添加lint-staged配置
This commit is contained in:
		
							parent
							
								
									ca3f709092
								
							
						
					
					
						commit
						ea92217020
					
				@ -37,6 +37,11 @@
 | 
			
		||||
    "prepare": "husky install",
 | 
			
		||||
    "lint-staged": "lint-staged"
 | 
			
		||||
  },
 | 
			
		||||
  "lint-staged": {
 | 
			
		||||
    "*.{js,ts,vue}": [
 | 
			
		||||
      "eslint --fix"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@dcloudio/uni-app": "3.0.0-4050720250324001",
 | 
			
		||||
    "@dcloudio/uni-app-harmony": "3.0.0-4050720250324001",
 | 
			
		||||
@ -72,7 +77,7 @@
 | 
			
		||||
    "@vue/eslint-config-prettier": "^10.2.0",
 | 
			
		||||
    "@vue/eslint-config-typescript": "^14.5.0",
 | 
			
		||||
    "@vue/runtime-core": "^3.5.13",
 | 
			
		||||
    "@vue/tsconfig": "^0.1.3",
 | 
			
		||||
    "@vue/tsconfig": "^0.7.0",
 | 
			
		||||
    "eslint": "^9.24.0",
 | 
			
		||||
    "eslint-plugin-vue": "^10.0.0",
 | 
			
		||||
    "husky": "^9.1.7",
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										20
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							@ -106,8 +106,8 @@ importers:
 | 
			
		||||
        specifier: ^3.5.13
 | 
			
		||||
        version: 3.5.13
 | 
			
		||||
      '@vue/tsconfig':
 | 
			
		||||
        specifier: ^0.1.3
 | 
			
		||||
        version: 0.1.3(@types/node@22.14.1)
 | 
			
		||||
        specifier: ^0.7.0
 | 
			
		||||
        version: 0.7.0(typescript@4.9.5)(vue@3.5.13(typescript@4.9.5))
 | 
			
		||||
      eslint:
 | 
			
		||||
        specifier: ^9.24.0
 | 
			
		||||
        version: 9.24.0(jiti@2.4.2)
 | 
			
		||||
@ -1812,12 +1812,15 @@ packages:
 | 
			
		||||
  '@vue/shared@3.5.13':
 | 
			
		||||
    resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==}
 | 
			
		||||
 | 
			
		||||
  '@vue/tsconfig@0.1.3':
 | 
			
		||||
    resolution: {integrity: sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg==}
 | 
			
		||||
  '@vue/tsconfig@0.7.0':
 | 
			
		||||
    resolution: {integrity: sha512-ku2uNz5MaZ9IerPPUyOHzyjhXoX2kVJaVf7hL315DC17vS6IiZRmmCPfggNbU16QTvM80+uYYy3eYJB59WCtvg==}
 | 
			
		||||
    peerDependencies:
 | 
			
		||||
      '@types/node': '*'
 | 
			
		||||
      typescript: 5.x
 | 
			
		||||
      vue: ^3.4.0
 | 
			
		||||
    peerDependenciesMeta:
 | 
			
		||||
      '@types/node':
 | 
			
		||||
      typescript:
 | 
			
		||||
        optional: true
 | 
			
		||||
      vue:
 | 
			
		||||
        optional: true
 | 
			
		||||
 | 
			
		||||
  abab@2.0.6:
 | 
			
		||||
@ -6891,9 +6894,10 @@ snapshots:
 | 
			
		||||
 | 
			
		||||
  '@vue/shared@3.5.13': {}
 | 
			
		||||
 | 
			
		||||
  '@vue/tsconfig@0.1.3(@types/node@22.14.1)':
 | 
			
		||||
  '@vue/tsconfig@0.7.0(typescript@4.9.5)(vue@3.5.13(typescript@4.9.5))':
 | 
			
		||||
    optionalDependencies:
 | 
			
		||||
      '@types/node': 22.14.1
 | 
			
		||||
      typescript: 4.9.5
 | 
			
		||||
      vue: 3.5.13(typescript@4.9.5)
 | 
			
		||||
 | 
			
		||||
  abab@2.0.6: {}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user