Skip to content

Commit

Permalink
upgrade deps to nuxt 3.14
Browse files Browse the repository at this point in the history
victorgarciaesgi committed Nov 27, 2024
1 parent 82cecff commit 5bb3401
Showing 8 changed files with 4,050 additions and 2,561 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -37,37 +37,39 @@



# Documentation
## Documentation

[![Documentation](https://github.com/victorgarciaesgi/nuxt-typed-router/blob/master/.github/images/redirectDoc.svg?raw=true)](https://nuxt-typed-router.vercel.app/)

# Play with it
## Play with it
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/github-7e4xvw?file=store/testRouter.ts)

Demo repo 🧪 : [nuxt-typed-router-demo](https://github.com/victorgarciaesgi/nuxt-typed-router-demo)

## Cool video about it from LearnVue!

[![Watch the video](https://img.youtube.com/vi/jiYoAiFb71Y/default.jpg)](https://www.youtube.com/watch?v=jiYoAiFb71Y&t)
## Used by

<a href='https://malt.fr'><img width="200" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Logo_Malt.svg/1200px-Logo_Malt.svg.png" alt="Malt logo"/></a>

<br/>

# Compatibility:
## Cool video about it from LearnVue

- Nuxt 3
[![Watch the video](https://img.youtube.com/vi/jiYoAiFb71Y/default.jpg)](https://www.youtube.com/watch?v=jiYoAiFb71Y&t)


# Quick start
## Compatibility:

- Nuxt 3


### For Nuxt 3
## Install

```bash
npx nuxi@latest module add typed-router
```


# Configuration
## Configuration
Register the module in the `nuxt.config.ts`, done!

```ts
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"preview": "nuxi preview"
},
"devDependencies": {
"@nuxt-themes/docus": "1.15.0",
"nuxt": "3.13.2"
"@nuxt-themes/docus": "1.15.1",
"nuxt": "3.14.1592"
}
}
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -63,53 +63,53 @@
"prettier": "^2.5.x || 3.x"
},
"dependencies": {
"@nuxt/kit": "^3.13.2",
"@nuxt/kit": "^3.14.1592",
"chalk": "5.3.0",
"defu": "6.1.4",
"lodash-es": "4.17.21",
"log-symbols": "7.0.0",
"mkdirp": "3.0.1",
"nanoid": "5.0.7",
"nanoid": "5.0.9",
"pathe": "1.1.2",
"prettier": "3.3.3"
"prettier": "3.4.1"
},
"devDependencies": {
"@intlify/core-base": "9.14",
"@intlify/message-compiler": "9.14",
"@intlify/shared": "9.14",
"@intlify/core-base": "~10.0.4",
"@intlify/message-compiler": "~10.0.4",
"@intlify/shared": "~10.0.4",
"@intlify/vue-i18n-bridge": "1.1.0",
"@intlify/vue-router-bridge": "1.1.0",
"@nuxt/content": "2.13.2",
"@nuxt/devtools": "1.5.1",
"@nuxt/content": "2.13.4",
"@nuxt/devtools": "1.6.1",
"@nuxt/module-builder": "0.8.4",
"@nuxt/schema": "3.13.2",
"@nuxt/test-utils": "3.14.2",
"@nuxt/schema": "3.14.1592",
"@nuxt/test-utils": "3.14.4",
"@nuxt/types": "2.18.1",
"@nuxtjs/eslint-config-typescript": "12.1.0",
"@nuxtjs/i18n": "8.5.5",
"@nuxtjs/i18n": "9.1.0",
"@nuxtjs/web-vitals": "0.2.7",
"@playwright/test": "1.47.2",
"@playwright/test": "1.49.0",
"@types/lodash-es": "4.17.12",
"@types/node": "22.7.2",
"@typescript-eslint/eslint-plugin": "8.7.0",
"@typescript-eslint/parser": "8.7.0",
"@types/node": "22.10.0",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"@vue/test-utils": "2.4.6",
"bumpp": "9.5.2",
"changelogithub": "0.13.10",
"bumpp": "9.8.1",
"changelogithub": "0.13.11",
"cross-env": "7.0.3",
"eslint": "9.11.1",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-vue": "9.28.0",
"nuxt": "3.13.2",
"eslint-plugin-vue": "9.31.0",
"nuxt": "3.14.1592",
"nuxt-seo-kit": "1.3.13",
"playwright": "1.47.2",
"playwright": "1.49.0",
"tsd": "0.31.2",
"typescript": "5.6.2",
"vitest": "2.1.1",
"vue": "3.5.8",
"vitest": "2.1.6",
"vue": "3.5.13",
"vue-eslint-parser": "9.4.3",
"vue-i18n": "9.14",
"vue-router": "4.4.5",
"vue-tsc": "2.1.6"
"vue-i18n": "~10.0.4",
"vue-router": "4.5.0",
"vue-tsc": "2.1.10"
}
}
2 changes: 1 addition & 1 deletion playground/src/pages/index.vue
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ function navigate() {
const t = '///';
const route2 = localePath(`/user/${t}/:slug/articles`); // Should error
navigateTo('/foo'); // Should error
navigateTo('/foo');
router.push('/admin'); // Should error
const route = localePath(`/user/${u}/:slug/articles`);
6,511 changes: 3,999 additions & 2,512 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions test/fixtures/complex/package.json
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@
"preview": "nuxt preview"
},
"devDependencies": {
"@nuxtjs/i18n": "8.5.5",
"@intlify/shared": "9.14",
"@intlify/core-base": "9.14",
"@intlify/message-compiler": "9.14",
"@intlify/core-base": "~10.0.4",
"@intlify/message-compiler": "~10.0.4",
"@intlify/shared": "~10.0.4",
"@intlify/vue-i18n-bridge": "1.1.0",
"@intlify/vue-router-bridge": "1.1.0",
"nuxt": "3.13.2",
"@nuxtjs/i18n": "9.1.0",
"nuxt": "3.14.1592",
"nuxt-typed-router": "workspace:*",
"vue-i18n": "9.14",
"vue": "3.5.8"
"vue": "3.5.13",
"vue-i18n": "~10.0.4"
}
}
4 changes: 2 additions & 2 deletions test/fixtures/simple/package.json
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
"preview": "nuxt preview"
},
"devDependencies": {
"nuxt": "^3.13.2",
"nuxt": "^3.14.1592",
"nuxt-typed-router": "workspace:*",
"vue": "3.5.8"
"vue": "3.5.13"
}
}
2 changes: 1 addition & 1 deletion test/fixtures/withOptions/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"preview": "nuxt preview"
},
"devDependencies": {
"nuxt": "3.13.2",
"nuxt": "3.14.1592",
"nuxt-typed-router": "workspace:*"
}
}

0 comments on commit 5bb3401

Please sign in to comment.