Skip to content

Commit 2e831b3

Browse files
committed
docs: pkg
1 parent a7b510d commit 2e831b3

File tree

5 files changed

+36
-31
lines changed

5 files changed

+36
-31
lines changed

.stylelintignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
dist
2+
build
3+
docs
4+
playground
25
src/index.css

.stylelintrc.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33

44
module.exports = {
55
extends: [
6-
'stylelint-prettier/recommended',
76
'stylelint-config-standard',
87
'stylelint-config-recommended-vue',
98
],
109
// rule覆盖(根据自己喜好来配置)
1110
rules: {
11+
'string-quotes': 'single',
12+
'declaration-colon-newline-after': null,
13+
'value-list-comma-newline-after': null,
14+
'no-missing-end-of-source-newline': true,
1215
'annotation-no-unknown': null,
1316
'at-rule-no-unknown': null,
1417
'keyframe-selector-notation': null,

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"docs:serve": "vitepress serve docs"
99
},
1010
"devDependencies": {
11-
"vitepress": "1.0.0-alpha.60",
11+
"vitepress": "1.0.0-alpha.65",
1212
"vitepress-plugin-sandpack": "latest"
1313
}
1414
}

package.json

+27-29
Original file line numberDiff line numberDiff line change
@@ -48,68 +48,66 @@
4848
"prepare": "chmod a+x .husky/* && husky install",
4949
"prepublishOnly": "npm run build",
5050
"release": "bumpp --commit --tag --push",
51-
"stylelint": "stylelint **/*.{css,less,scss,vue}",
51+
"stylelint": "stylelint '**/*.{css,less,scss,vue}'",
5252
"test": "vitest",
5353
"test:ui": "vitest --ui",
5454
"typecheck": "tsc && vue-tsc"
5555
},
5656
"devDependencies": {
57-
"@babel/core": "^7.21.3",
58-
"@babel/plugin-transform-runtime": "^7.21.0",
57+
"@babel/core": "^7.21.4",
58+
"@babel/plugin-transform-runtime": "^7.21.4",
5959
"@babel/plugin-transform-typescript": "^7.21.3",
60-
"@babel/preset-env": "^7.20.2",
61-
"@babel/preset-typescript": "^7.21.0",
62-
"@commitlint/cli": "^17.4.4",
60+
"@babel/preset-env": "^7.21.4",
61+
"@babel/preset-typescript": "^7.21.4",
62+
"@commitlint/cli": "^17.5.1",
6363
"@commitlint/config-conventional": "^17.4.4",
64-
"@swc/core": "^1.3.41",
64+
"@swc/core": "^1.3.49",
6565
"@testing-library/jest-dom": "^5.16.5",
6666
"@testing-library/user-event": "^14.4.3",
6767
"@testing-library/vue": "^7.0.0",
6868
"@types/lodash.isequal": "^4.5.6",
6969
"@types/lz-string": "^1.3.34",
70-
"@types/node": "^18.15.3",
71-
"@typescript-eslint/eslint-plugin": "^5.55.0",
72-
"@typescript-eslint/parser": "^5.55.0",
70+
"@types/node": "^18.15.11",
71+
"@typescript-eslint/eslint-plugin": "^5.58.0",
72+
"@typescript-eslint/parser": "^5.58.0",
7373
"@vitejs/plugin-vue": "^4.1.0",
7474
"@vitejs/plugin-vue-jsx": "^3.0.1",
75-
"@vitest/ui": "^0.29.3",
75+
"@vitest/ui": "^0.30.1",
7676
"@vue/babel-plugin-jsx": "^1.1.1",
7777
"@vue/eslint-config-typescript": "^11.0.2",
7878
"autoprefixer": "^10.4.14",
7979
"babel-loader": "^9.1.2",
80-
"bumpp": "^9.0.0",
81-
"core-js": "^3.29.1",
82-
"cssnano": "^5.1.15",
80+
"bumpp": "^9.1.0",
81+
"core-js": "^3.30.0",
82+
"cssnano": "^6.0.0",
8383
"esbuild-plugin-babel": "^0.2.3",
84-
"eslint": "^8.36.0",
84+
"eslint": "^8.38.0",
8585
"eslint-config-airbnb-base": "^15.0.0",
8686
"eslint-config-airbnb-typescript": "^17.0.0",
8787
"eslint-plugin-import": "^2.27.5",
8888
"eslint-plugin-jsx-a11y": "^6.7.1",
89-
"eslint-plugin-vue": "^9.9.0",
89+
"eslint-plugin-vue": "^9.10.0",
9090
"husky": "^8.0.3",
9191
"jsdom": "^21.1.1",
92-
"lint-staged": "^13.2.0",
93-
"npm": "^9.6.2",
92+
"lint-staged": "^13.2.1",
93+
"npm": "^9.6.4",
9494
"npm-run-all": "^4.1.5",
9595
"postcss": "^8.4.21",
9696
"postcss-cli": "^10.1.0",
97-
"postcss-loader": "^7.1.0",
97+
"postcss-loader": "^7.2.4",
9898
"postcss-nested": "^6.0.1",
9999
"postcss-scss": "^4.0.6",
100-
"rimraf": "^4.4.0",
101-
"sass": "^1.59.3",
100+
"rimraf": "^5.0.0",
101+
"sass": "^1.62.0",
102102
"shelljs": "^0.8.5",
103-
"stylelint": "^15.3.0",
104-
"stylelint-config-prettier": "^9.0.5",
103+
"stylelint": "^14.16.1",
105104
"stylelint-config-recommended-vue": "^1.4.0",
106-
"stylelint-config-standard": "^31.0.0",
107-
"stylelint-prettier": "^3.0.0",
105+
"stylelint-config-standard": "^29.0.0",
108106
"tsup": "^6.7.0",
109-
"typescript": "^5.0.2",
110-
"vite": "^4.2.0",
111-
"vite-plugin-dts": "^2.1.0",
112-
"vitest": "^0.29.3",
107+
"typescript": "^5.0.4",
108+
"vite": "^4.2.1",
109+
"vite-plugin-dts": "^2.2.0",
110+
"vitest": "^0.30.1",
113111
"vue-tsc": "^1.2.0"
114112
},
115113
"peerDependencies": {

src/styles/main.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.test {
22
color: #f00;
33
user-select: none;
4+
opacity: 0.8;
45
}

0 commit comments

Comments
 (0)