Skip to content

Commit

Permalink
fix: Refactor router.ts to use Nuxt kit.
Browse files Browse the repository at this point in the history
  • Loading branch information
who-jonson committed Apr 14, 2023
1 parent 1373794 commit 86c9414
Show file tree
Hide file tree
Showing 5 changed files with 1,578 additions and 1,065 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-return-assign': 'off',
'no-tabs': 'off',
'import/order': 'off',
'import/no-named-as-default': 'off',
'no-unused-expressions': 'off',
'vue/no-v-html': 'off',
Expand Down
3 changes: 1 addition & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export default defineNuxtConfig({
},

experimental: {
reactivityTransform: true,
treeshakeClientOnly: true
reactivityTransform: true
},

imports: {
Expand Down
41 changes: 21 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,33 @@
"lint:fix": "npm run lint --fix"
},
"dependencies": {
"pinia": "^2.0.30"
"pinia": "^2.0.34"
},
"devDependencies": {
"@nuxt/test-utils": "^3.1.0",
"@nuxt/test-utils": "^3.4.1",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@pinia/nuxt": "^0.4.5",
"@pinia/testing": "^0.0.15",
"@pinia/nuxt": "^0.4.8",
"@pinia/testing": "^0.0.16",
"@testing-library/vue": "latest",
"@types/node": "^18.11.18",
"@types/node": "^18.15.11",
"@types/serialize-javascript": "^5.0.2",
"@vue/compiler-sfc": "^3.2.47",
"@vueuse/components": "^9.12.0",
"@vueuse/core": "^9.12.0",
"@vueuse/nuxt": "^9.12.0",
"@whoj/eslint-config": "^1.2.0",
"@whoj/utils": "^1.5.0",
"@vueuse/components": "^10.0.0",
"@vueuse/core": "^10.0.0",
"@vueuse/nuxt": "^10.0.0",
"@whoj/eslint-config": "^1.4.0",
"@whoj/utils": "^1.7.3",
"chart.js": "4.2.1",
"core-js": "^3.27.2",
"eslint": "^8.33.0",
"nuxt": "^3.1.0",
"primeflex": "^3.2.1",
"core-js": "^3.30.1",
"eslint": "^8.38.0",
"nuxt": "^3.4.1",
"primeflex": "^3.3.0",
"primeicons": "^6.0.1",
"primevue": "^3.22.1",
"primevue": "^3.26.1",
"prismjs": "1.29.0",
"sass": "^1.58.0",
"typescript": "^5.0.0",
"vitest": "^0.29.0",
"sass": "^1.62.0",
"typescript": "^5.0.4",
"vitest": "^0.30.1",
"vue": "^3.2.47"
},
"pnpm": {
Expand All @@ -47,7 +47,8 @@
"rollup-plugin-terser": "*"
},
"overrides": {
"esbuild": "^0.16.4",
"esbuild": "^0.17.16",
"vue-demi": "^0.14.0",
"sourcemap-codec": "npm:@jridgewell/sourcemap-codec@latest"
},
"peerDependencyRules": {
Expand All @@ -56,7 +57,7 @@
]
}
},
"packageManager": "pnpm@8.1.0",
"packageManager": "pnpm@8.2.0",
"engines": {
"node": "^18.12"
},
Expand Down
Loading

0 comments on commit 86c9414

Please sign in to comment.