Skip to content

Commit 9ddffd8

Browse files
Update configs
1 parent cdd077d commit 9ddffd8

10 files changed

+1721
-942
lines changed

Diff for: .editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ trim_trailing_whitespace = false
1616
[*.{yml,yaml}]
1717
indent_size = 2
1818

19-
[*.{js,ts,vue}]
19+
[*.{js,ts,mts,vue}]
2020
indent_size = 2
2121
indent_style = tab
2222

Diff for: .eslintrc.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ module.exports = {
1313
],
1414
ignorePatterns: [
1515
'.eslintrc.js',
16-
'vite.build.config.ts',
17-
'vite.config.ts',
16+
'vite.build.config.mts',
17+
'vite.config.mts',
1818
'*.bk.vue',
19+
'*.spec.ts',
1920
],
2021
overrides: [
2122
{
@@ -40,11 +41,6 @@ module.exports = {
4041
'vue',
4142
],
4243
root: true,
43-
settings: {
44-
'import/resolver': {
45-
'babel-module': {},
46-
},
47-
},
4844
rules: {
4945
'@typescript-eslint/ban-ts-comment': 0,
5046
'@typescript-eslint/ban-types': [

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-version=20.10.0

Diff for: .nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19
1+
20.10.0

Diff for: package.json

+54-48
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wdns/vuetify-resize-drawer",
3-
"version": "3.0.2",
3+
"version": "3.1.0",
44
"description": "The vuetify-resize-drawer component extends the functionality of the v-navigation-drawer so that it is resizable by the user.",
55
"private": false,
66
"publishConfig": {
@@ -10,16 +10,19 @@
1010
"module": "dist/vuetify-resize-drawer.es.js",
1111
"types": "dist/types/index.d.ts",
1212
"scripts": {
13-
"dev": "vite",
13+
"dev": "NODE_OPTIONS='--no-warnings' vite",
1414
"watch": "pnpm dev",
15-
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite",
16-
"build": "vue-tsc && vite build --config vite.build.config.ts",
15+
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground pnpm dev",
16+
"build": "vue-tsc && npm run test:build && vite build --config vite.build.config.mts",
1717
"build:docs": "vite build",
1818
"predeploy": "npm run build",
1919
"deploy": "gh-pages -d docs",
2020
"prepublishOnly": "npm run build",
21-
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
22-
"prepare": "husky install"
21+
"lint": "eslint src/**/*.{ts,vue} --max-warnings 20",
22+
"prepare": "husky install",
23+
"test:dev": "NODE_OPTIONS='--no-warnings' vitest",
24+
"test:all": "vitest --run",
25+
"test:build": "vitest --run --bail 1"
2326
},
2427
"lint-staged": {
2528
"src/**/*.{js,ts,vue}": [
@@ -70,64 +73,67 @@
7073
"wdns"
7174
],
7275
"dependencies": {
73-
"vue": "^3.3.8",
74-
"vuetify": "^3.4.0"
76+
"vue": "^3.4.5",
77+
"vuetify": "^3.4.7"
7578
},
7679
"devDependencies": {
77-
"@fortawesome/fontawesome-svg-core": "^6.4.2",
78-
"@fortawesome/free-brands-svg-icons": "^6.4.2",
79-
"@fortawesome/free-regular-svg-icons": "^6.4.2",
80-
"@fortawesome/free-solid-svg-icons": "^6.4.2",
81-
"@fortawesome/vue-fontawesome": "^3.0.3",
82-
"@mdi/font": "^7.2.96",
83-
"@rollup/plugin-commonjs": "^25.0.4",
84-
"@rollup/plugin-node-resolve": "^15.2.1",
85-
"@rollup/plugin-terser": "^0.4.3",
86-
"@types/node": "^20.8.0",
87-
"@typescript-eslint/eslint-plugin": "^6.7.4",
88-
"@typescript-eslint/parser": "^6.7.4",
89-
"@vitejs/plugin-vue": "^4.4.0",
80+
"@fortawesome/fontawesome-svg-core": "^6.5.1",
81+
"@fortawesome/free-brands-svg-icons": "^6.5.1",
82+
"@fortawesome/free-regular-svg-icons": "^6.5.1",
83+
"@fortawesome/free-solid-svg-icons": "^6.5.1",
84+
"@fortawesome/vue-fontawesome": "^3.0.5",
85+
"@mdi/font": "^7.4.47",
86+
"@rollup/plugin-commonjs": "^25.0.7",
87+
"@rollup/plugin-node-resolve": "^15.2.3",
88+
"@rollup/plugin-terser": "^0.4.4",
89+
"@types/node": "^20.10.6",
90+
"@typescript-eslint/eslint-plugin": "^6.17.0",
91+
"@typescript-eslint/parser": "^6.17.0",
92+
"@vitejs/plugin-vue": "^5.0.2",
9093
"@vue/cli-plugin-eslint": "^5.0.8",
9194
"@vue/cli-service": "^5.0.8",
92-
"@vue/compiler-sfc": "^3.3.4",
95+
"@vue/compiler-sfc": "^3.4.5",
9396
"@vue/eslint-config-typescript": "^12.0.0",
94-
"@wdns/vue-code-block": "^2.2.14",
97+
"@vue/test-utils": "^2.4.3",
98+
"@wdns/vue-code-block": "^2.3.1",
9599
"autoprefixer": "^10.4.16",
96-
"eslint": "^8.50.0",
97-
"eslint-config-prettier": "^9.0.0",
98-
"eslint-plugin-import": "^2.28.1",
99-
"eslint-plugin-prettier": "^5.0.0",
100-
"eslint-plugin-vue": "^9.17.0",
101-
"gh-pages": "^6.0.0",
102-
"husky": "^8.0.0",
103-
"lint-staged": "^15.0.2",
104-
"pinia": "^2.1.6",
105-
"postcss": "^8.4.31",
100+
"eslint": "^8.56.0",
101+
"eslint-config-prettier": "^9.1.0",
102+
"eslint-plugin-import": "^2.29.1",
103+
"eslint-plugin-prettier": "^5.1.2",
104+
"eslint-plugin-vue": "^9.19.2",
105+
"gh-pages": "^6.1.1",
106+
"husky": "^8.0.3",
107+
"jsdom": "^23.0.1",
108+
"lint-staged": "^15.2.0",
109+
"pinia": "^2.1.7",
110+
"postcss": "^8.4.33",
106111
"postcss-html": "^1.5.0",
107112
"postcss-scss": "^4.0.9",
108-
"prettier": "^3.0.3",
113+
"prettier": "^3.1.1",
109114
"prismjs": "^1.29.0",
110115
"roboto-fontface": "^0.10.0",
111-
"rollup": "^3.29.4",
112-
"rollup-plugin-polyfill-node": "^0.12.0",
116+
"rollup": "^4.9.1",
117+
"rollup-plugin-polyfill-node": "^0.13.0",
113118
"rollup-plugin-postcss": "^4.0.2",
114119
"rollup-plugin-scss": "^4.0.0",
115120
"rollup-plugin-typescript2": "^0.36.0",
116-
"sass": "^1.68.0",
117-
"stylelint": "^15.10.3",
121+
"sass": "^1.69.7",
122+
"stylelint": "^15.11.0",
118123
"stylelint-config-standard": "^34.0.0",
119124
"stylelint-order": "^6.0.3",
120-
"stylelint-scss": "^5.2.1",
121-
"typescript": "^5.2.2",
122-
"unplugin-auto-import": "^0.16.6",
123-
"vite": "^4.4.9",
124-
"vite-plugin-css-injected-by-js": "^3.3.0",
125-
"vite-plugin-dts": "^3.6.0",
125+
"stylelint-scss": "^5.3.1",
126+
"typescript": "^5.3.3",
127+
"unplugin-auto-import": "^0.17.3",
128+
"vite": "^5.0.10",
129+
"vite-plugin-css-injected-by-js": "^3.3.1",
130+
"vite-plugin-dts": "^3.7.0",
126131
"vite-plugin-eslint": "^1.8.1",
127-
"vite-plugin-static-copy": "^0.17.0",
128-
"vite-plugin-stylelint": "^5.1.1",
129-
"vite-plugin-vuetify": "^1.0.2",
130-
"vue-tsc": "^1.8.15",
132+
"vite-plugin-static-copy": "^1.0.0",
133+
"vite-plugin-stylelint": "^5.3.0",
134+
"vite-plugin-vuetify": "^2.0.1",
135+
"vitest": "^1.1.2",
136+
"vue-tsc": "^1.8.25",
131137
"webfontloader": "^1.6.28"
132138
}
133139
}

0 commit comments

Comments
 (0)