Skip to content

Commit

Permalink
fix: 修复路径decode异常
Browse files Browse the repository at this point in the history
  • Loading branch information
三少 committed Aug 12, 2022
1 parent 888051c commit 973f883
Show file tree
Hide file tree
Showing 27 changed files with 59 additions and 475 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"url": "https://github.com/AntmJS/vantui/issues/new"
},
"engines": {
"node": ">=12",
"npm": ">=6.4",
"node": ">=16",
"npm": ">=8",
"yarn": ">=1.22"
},
"browserslist": [
Expand Down Expand Up @@ -85,9 +85,9 @@
}
},
"scripts": {
"eslint": "npx lerna run eslint",
"stylelint": "npx lerna run stylelint",
"prettier": "npx lerna run prettier",
"eslint": "npx eslint -c eslint.config.js '**/*.{js,jsx,ts,tsx}' && npx tsc -p tsconfig.json --skipLibCheck",
"stylelint": "npx stylelint --aei --config stylelint.config.js '**/*.{css,less}'",
"prettier": "npx prettier --write '**/*.{js,jsx,ts,tsx,md,html,css,less}'",
"clear-all": "rimraf packages/*/node_modules",
"bootstrap:ci": "npx lerna bootstrap --npm-client=yarn",
"bootstrap:lerna": "npx lerna bootstrap",
Expand All @@ -104,8 +104,8 @@
"packages/*"
],
"dependencies": {
"@antmjs/eslint": "^1.20.4",
"@antmjs/stylelint": "^1.20.4",
"@antmjs/eslint": "^1.21.0",
"@antmjs/stylelint": "^1.21.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"all-contributors-cli": "^6.20.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vantui-cli/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.DS_Store

CHANGELOG.md
package-lock.json

node_modules
coverage
src
36 changes: 0 additions & 36 deletions packages/vantui-cli/.prettierignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/vantui-cli/.prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion packages/vantui-cli/bin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env node
/* eslint-disable import/no-unresolved */
import './lib/cli.js'
import './dist/cli.js'
11 changes: 3 additions & 8 deletions packages/vantui-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
"antmjs"
],
"scripts": {
"eslint": "",
"stylelint": "",
"prettier": "npx prettier --write '**/*.{js,jsx,ts,tsx,md,html,css,less}'",
"dev": "tsc --watch",
"watch": "tsc --watch",
"build": "tsc",
"test:watch": "",
"test": ""
Expand All @@ -47,7 +44,7 @@
"@types/prettier": "^2.6.1"
},
"dependencies": {
"@antmjs/babel-preset": "1.20.4",
"@antmjs/babel-preset": "1.21.0",
"@babel/core": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/plugin-transform-typescript": "^7.16.8",
Expand Down Expand Up @@ -85,12 +82,10 @@
"postcss": "^8.3.11",
"postcss-load-config": "^3.1.0",
"postcss-loader": "^6.2.1",
"prettier": "^2.7.1",
"raw-loader": "^4.0.2",
"react-hot-toast": "^2.2.0",
"react-router-dom": "^5.3.0",
"release-it": "^14.11.6",
"transliteration": "^2.2.0",
"typescript": "^4.7.4"
"transliteration": "^2.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/vantui-cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"module": "esnext",
// default: module === AMD or UMD or System or ES6, then Classic otherwise Node
"moduleResolution": "Node",
"outDir": "./lib",
"outDir": "./dist",
"lib": ["ESNext", "dom"],
/** Interop Constraints */
"esModuleInterop": true,
Expand Down
40 changes: 0 additions & 40 deletions packages/vantui-demo/.eslintignore

This file was deleted.

34 changes: 0 additions & 34 deletions packages/vantui-demo/.prettierignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/vantui-demo/.prettierrc

This file was deleted.

41 changes: 0 additions & 41 deletions packages/vantui-demo/.stylelintignore

This file was deleted.

26 changes: 0 additions & 26 deletions packages/vantui-demo/eslint.config.js

This file was deleted.

20 changes: 4 additions & 16 deletions packages/vantui-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
"UCAndroid >= 4.1"
],
"scripts": {
"eslint": "npx eslint -c eslint.config.js '**/*.{js,jsx,ts,tsx}' && npx tsc -p tsconfig.json --skipLibCheck",
"stylelint": "npx stylelint --aei --config stylelint.config.js '**/*.{css,less}'",
"prettier": "npx prettier --write '**/*.{js,jsx,ts,tsx,md,html,css,less}'",
"iconfont": "npx antm-icon --input-path https://at.alicdn.com/t/xxxx.css --output-path src/iconfont.less",
"watch:kwai": "cross-env NODE_ENV=development API_ENV=dev WATCHING=true npx taro build --type kwai --watch",
"watch:swan": "cross-env NODE_ENV=development API_ENV=dev WATCHING=true npx taro build --type swan --watch",
Expand Down Expand Up @@ -84,11 +81,8 @@
"test": ""
},
"author": "",
"peerDependencies": {
"@antmjs/vantui": "^1.9.18"
},
"dependencies": {
"@antmjs/mini-fix": "^1.20.4",
"@antmjs/mini-fix": "^1.21.0",
"@antmjs/vantui": "1.9.20",
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.5.3",
Expand All @@ -115,11 +109,9 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@antmjs/eslint": "^1.20.4",
"@antmjs/iconfont": "^1.20.4",
"@antmjs/plugin-global-fix": "^1.20.4",
"@antmjs/plugin-mini-fix": "^1.20.4",
"@antmjs/stylelint": "^1.20.4",
"@antmjs/iconfont": "^1.21.0",
"@antmjs/plugin-global-fix": "^1.21.0",
"@antmjs/plugin-mini-fix": "^1.21.0",
"@babel/core": "^7.8.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
Expand All @@ -134,11 +126,7 @@
"babel-plugin-lodash": "^3.3.4",
"babel-preset-taro": "3.5.3",
"cross-env": "^7.0.3",
"eslint": "^8.21.0",
"prettier": "^2.7.1",
"react-refresh": "0.11.0",
"stylelint": "^13.13.1",
"typescript": "^4.7.4",
"webpack": "5.69.0"
}
}
3 changes: 0 additions & 3 deletions packages/vantui-demo/stylelint.config.js

This file was deleted.

35 changes: 0 additions & 35 deletions packages/vantui-doc/.prettierignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/vantui-doc/.prettierrc

This file was deleted.

Loading

0 comments on commit 973f883

Please sign in to comment.