Skip to content

Commit

Permalink
Merge pull request #11 from volverjs/feature/vite-plugin-dts
Browse files Browse the repository at this point in the history
Replace tsc with vite-plugin-dts
  • Loading branch information
alessandrobellesia authored Sep 14, 2023
2 parents 6cf7152 + 17c78bb commit bed6852
Show file tree
Hide file tree
Showing 10 changed files with 921 additions and 841 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
module.exports = {
root: true,
env: {
browser: true,
},
globals: {
request: true,
node: true,
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended',
'@vue/typescript/recommended',
'prettier',
],
plugins: ['@typescript-eslint', 'eslint-plugin-prettier'],
rules: {
'no-mixed-spaces-and-tabs': ['error', 'smart-tabs'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'sort-imports': 'off',
},
ignorePatterns: ['**/node_modules/**', '**/*.cjs'],
}
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
"engines": {
"node": ">= 16.x"
},
"packageManager": "pnpm@7.12.2",
"packageManager": "pnpm@8.7.5",
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"type-check": "tsc --noEmit",
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly && copy src/**/types.d.ts dist",
"dev": "vite build --watch",
"build": "vite build",
"test": "pnpm run test-vitest",
"test-vitest": "vitest run",
"test-vitest-watch": "vitest",
Expand All @@ -40,31 +41,31 @@
"*.d.ts"
],
"dependencies": {
"@volverjs/data": "1.0.4",
"@volverjs/data": "1.0.5-beta.1",
"@vueuse/core": "^10.4.1",
"pinia": "^2.1.6",
"vue": "^3.3.4"
},
"devDependencies": {
"@pinia/testing": "^0.1.3",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@vitejs/plugin-vue": "^4.3.4",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.1",
"copy": "^0.3.2",
"eslint": "^8.48.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.17.0",
"happy-dom": "^10.11.2",
"happy-dom": "^11.0.6",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.3",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^0.34.3",
"vitest": "^0.34.4",
"vitest-fetch-mock": "^0.2.2",
"vue-tsc": "^1.8.8"
"vue-tsc": "^1.8.11"
},
"typesVersions": {
"*": {
Expand Down
Loading

0 comments on commit bed6852

Please sign in to comment.