Skip to content

Commit 7cac7f2

Browse files
committed
chore: bump deps
1 parent bb12109 commit 7cac7f2

11 files changed

+1528
-901
lines changed

.eslintrc.json

-144
This file was deleted.

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14.15.1
1+
v20.14.0

.repo-checker.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"user_name": "Romain Racamier-Lafon",
3-
"user_mail": "[email protected]",
42
"license": "MIT",
5-
"max_size_ko": 12,
6-
"npm_package": true
7-
}
3+
"maxSizeKo": 12,
4+
"userMail": "[email protected]",
5+
"userName": "Romain Racamier-Lafon"
6+
}

README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -161,20 +161,15 @@ To contribute or try this component :
161161

162162
## Thanks
163163

164-
- [Chokidar](https://github.com/paulmillr/chokidar) : minimal and efficient cross-platform file watching library
165164
- [ctf0](https://github.com/ctf0) : for his multiple contributions :heart:
166-
- [Esbuild](https://github.com/evanw/esbuild) : an extremely fast JavaScript bundler and minifier
167165
- [Eslint](https://eslint.org) : super tool to find & fix problems
168166
- [FreeIcons.io](https://freeicons.io/material-icons-images/compare-icon-15244): for the logo/icon
169167
- [Github](https://github.com) : for all their great work year after year, pushing OSS forward
170-
- [Mocha](https://github.com/mochajs/mocha) : great test runner easy to setup & use
171168
- [Netlify](https://netlify.com) : awesome company that offers hosting for OSS
172-
- [Npm-run-all](https://github.com/mysticatea/npm-run-all) : to keep my npm scripts clean & readable
173-
- [Nyc](https://github.com/istanbuljs/nyc) : simple & effective cli for code coverage
174169
- [Pixabay](https://pixabay.com) : for the free to use images
175170
- [Repo-checker](https://github.com/Shuunen/repo-checker) : eslint cover /src code and this tool the rest ^^
176-
- [Servor](https://github.com/lukejacksonn/servor) : dependency free dev server for single page app development
177171
- [Shields.io](https://shields.io) : nice looking badges to be proud of
172+
- [Shuutils](https://github.com/Shuunen/shuutils) : collection of pure JS utils
178173
- [vite-vue2-starter](https://github.com/matt-auckland/vite-vue2-starter): for the vite vue 2 starter pack
179174
- [Vite](https://github.com/vitejs/vite) : super fast frontend tooling
180175
- [Vue](https://vuejs.org) : when I need a front framework, this is the one I choose <3

eslint.config.cjs

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
'use strict'
2+
3+
// @ts-expect-error missing types
4+
const shuunen = require('eslint-plugin-shuunen')
5+
6+
module.exports = [
7+
...shuunen.configs.base,
8+
...shuunen.configs.browser,
9+
// ...shuunen.configs.node,
10+
// ...shuunen.configs.typescript,
11+
shuunen.configs.vue,
12+
{
13+
name: 'project-overrides',
14+
rules: {
15+
'jsdoc/require-jsdoc': 'off',
16+
'vue/order-in-components': 'off',
17+
},
18+
},
19+
]

jsconfig.json

-6
This file was deleted.

package.json

+7-8
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
],
1010
"description": "Compare two images with a fancy slider",
1111
"devDependencies": {
12-
"eslint": "8.57",
13-
"eslint-plugin-html": "8.1",
14-
"eslint-plugin-unicorn": "54",
15-
"eslint-plugin-vue": "9.26",
16-
"repo-check": "1.36",
17-
"shuutils": "8.0",
12+
"@tsconfig/strictest": "2.0",
13+
"eslint": "*",
14+
"eslint-plugin-shuunen": "0.2",
15+
"repo-check": "1.37",
16+
"shuutils": "8.1",
1817
"vite": "2.9",
1918
"vite-plugin-vue2": "2.0",
2019
"vue": "2.7",
@@ -43,9 +42,9 @@
4342
},
4443
"scripts": {
4544
"build": "vite build && unique-mark dist/assets/index.*.js && echo build success",
46-
"check": "pnpm install && echo install success && repo-check && echo repo-check success && pnpm build && pnpm lint",
45+
"check": "pnpm install && echo install success && repo-check && echo repo-check success && pnpm build && pnpm lint && echo check success",
4746
"dev": "vite",
48-
"lint": "eslint --cache --fix --ignore-path .gitignore --ext .js,.html,.vue . && echo lint success",
47+
"lint": "eslint --cache src && echo lint success",
4948
"postversion": "git push && git push --tags && npm publish",
5049
"preversion": "pnpm check",
5150
"serve": "vite preview"

0 commit comments

Comments
 (0)