Skip to content

Commit

Permalink
Merge pull request #74 from tolerious/feat/add-lodash-es-types
Browse files Browse the repository at this point in the history
🚧 Upgrade dependiencies and add vite dev tools.
  • Loading branch information
tolerious authored Sep 28, 2024
2 parents 7cb9229 + 2a0c9f1 commit 2fb50af
Show file tree
Hide file tree
Showing 11 changed files with 5,467 additions and 1,683 deletions.
40 changes: 18 additions & 22 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting'
],
overrides: [
{
files: [
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
],
'extends': [
'plugin:cypress/recommended'
]
}
],
parserOptions: {
ecmaVersion: 'latest'
}
}
root: true,
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting',
],
overrides: [
{
files: ['cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}', 'cypress/support/**/*.{js,ts,jsx,tsx}'],
extends: ['plugin:cypress/recommended'],
},
],
parserOptions: {
ecmaVersion: 'latest',
},
};
7 changes: 1 addition & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"cSpell.words": ["endregion"],
"files.autoSave": "afterDelay",
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#ff7c0a",
"titleBar.inactiveBackground": "#ff7c0a"
}
"editor.bracketPairColorization.independentColorPoolPerBracketType": true
}
2 changes: 0 additions & 2 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ declare module 'vue' {
ElInput: typeof import('element-plus/es')['ElInput']
ElOption: typeof import('element-plus/es')['ElOption']
ElRadio: typeof import('element-plus/es')['ElRadio']
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
ElSkeletonItem: typeof import('element-plus/es')['ElSkeletonItem']
ElSwitch: typeof import('element-plus/es')['ElSwitch']
ElText: typeof import('element-plus/es')['ElText']
Header: typeof import('./src/components/Header.vue')['default']
IconCommunity: typeof import('./src/components/icons/IconCommunity.vue')['default']
IconDocumentation: typeof import('./src/components/icons/IconDocumentation.vue')['default']
Expand Down
55 changes: 30 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0",
"private": true,
"packageManager": "pnpm",
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p build-only",
Expand All @@ -17,43 +18,47 @@
"format": "prettier --write src/"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"axios": "^1.4.0",
"element-plus": "^2.3.7",
"@element-plus/icons-vue": "^2.3.1",
"axios": "^1.7.7",
"element-plus": "^2.8.2",
"html2canvas": "^1.4.1",
"less": "^4.1.3",
"less-loader": "^11.1.3",
"less": "^4.2.0",
"less-loader": "^11.1.4",
"lodash-es": "^4.17.21",
"pinia": "^2.1.3",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.1",
"uuid": "^9.0.0",
"vue": "^3.3.4",
"vue-router": "^4.2.2"
"pinia": "^2.2.2",
"unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2",
"uuid": "^9.0.1",
"vue": "^3.5.3",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@rushstack/eslint-patch": "^1.10.4",
"@tsconfig/node18": "^2.0.1",
"@types/jsdom": "^21.1.1",
"@types/jsdom": "^21.1.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.16.17",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@types/node": "^18.19.50",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.4.0",
"cypress": "^12.14.0",
"eslint": "^8.39.0",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-vue": "^9.11.0",
"autoprefixer": "^10.4.20",
"cypress": "^12.17.4",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-vue": "^9.28.0",
"jsdom": "^22.1.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.45",
"prettier": "^2.8.8",
"start-server-and-test": "^2.0.0",
"start-server-and-test": "^2.0.6",
"tailwindcss": "^3.4.10",
"typescript": "~5.0.4",
"vite": "^4.3.9",
"vitest": "^0.32.0",
"vue-tsc": "^1.6.5"
"vite": "^4.5.3",
"vite-plugin-vue-devtools": "^7.4.4",
"vitest": "^0.32.4",
"vue-tsc": "^1.8.27"
}
}
Loading

0 comments on commit 2fb50af

Please sign in to comment.