Skip to content

Commit

Permalink
chore(deps-dev): bump nuxt from 3.11.1 to 3.11.2 (#45)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump nuxt from 3.11.1 to 3.11.2

Bumps [nuxt](https://github.com/nuxt/nuxt/tree/HEAD/packages/nuxt) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/nuxt/nuxt/releases)
- [Commits](https://github.com/nuxt/nuxt/commits/v3.11.2/packages/nuxt)

---
updated-dependencies:
- dependency-name: nuxt
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: bump deps

* fix: eslint

* fix: bump deps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Touch <chantouchsek.cs83@gmail.com>
  • Loading branch information
dependabot[bot] and chantouchsek authored Apr 19, 2024
1 parent d53798e commit 66b9db1
Show file tree
Hide file tree
Showing 6 changed files with 8,205 additions and 6,376 deletions.
2 changes: 1 addition & 1 deletion components/app/AppDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const drawer = computed({
const rail = computed(() => !drawerState.value && !mobile.value)
const routes = router.getRoutes().filter(r => r.path.lastIndexOf('/') === 0)
routes.sort((a, b) => (Number(a.meta?.drawerIndex) ?? 99) - (Number(b.meta?.drawerIndex) ?? 98))
routes.sort((a, b) => (a.meta?.drawerIndex ?? 99) - (b.meta?.drawerIndex ?? 98))
nextTick(() => {
drawerState.value = lgAndUp.value && width.value !== 1280
Expand Down
2 changes: 1 addition & 1 deletion components/app/AppDrawerItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const props = withDefaults(
const children = computed(() =>
props.item.children
?.filter(child => child.meta?.icon)
.sort((a, b) => (Number(a.meta?.drawerIndex) ?? 99) - (Number(b.meta?.drawerIndex) ?? 98)),
.sort((a, b) => (a.meta?.drawerIndex ?? 99) - (b.meta?.drawerIndex ?? 98)),
)
const isItem = computed(() => !props.item.children || (children.value?.length ?? 0) <= 1)
const title = computed(() => props.item.meta?.title)
Expand Down
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ export default withNuxt({
rules: {
'@stylistic/quotes': ['error', 'single', { allowTemplateLiterals: true }],
},
}).append({
ignores: ['pnpm-lock.yaml', 'yarn.lock', 'package-lock.json'],
})
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chantouchsek/amazing-admin",
"private": true,
"packageManager": "pnpm@8.15.6",
"packageManager": "pnpm@9.0.4",
"type": "module",
"engines": {
"node": ">=18",
Expand All @@ -16,55 +16,55 @@
"postinstall": "nuxt prepare",
"lint": "pnpm lint:js && pnpm lint:style",
"lint:fix": "pnpm lint:js --fix && pnpm lint:style --fix",
"lint:js": "eslint . --cache",
"lint:js": "eslint .",
"lint:style": "stylelint '**/*.{css,scss,sass,vue}' --ignore-path .gitignore",
"prepare": "husky",
"preview": "nuxt preview"
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --cache",
"*.{js,ts,vue}": "eslint .",
"*.{css,scss,sass,vue}": "stylelint"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@date-io/dayjs": "^3.0.0",
"@nuxt-alt/auth": "^3.1.6",
"@nuxt-alt/http": "^1.7.10",
"@nuxt/eslint": "0.3.0-beta.9",
"@nuxt/eslint": "0.3.8",
"@nuxt/fonts": "^0.6.1",
"@nuxtjs/color-mode": "^3.3.3",
"@nuxtjs/color-mode": "^3.4.0",
"@nuxtjs/i18n": "^8.3.0",
"@nuxtjs/robots": "^3.0.0",
"@nuxtjs/sitemap": "^5.1.2",
"@nuxtjs/sitemap": "^5.1.4",
"@pinia/colada": "^0.6.0",
"@pinia/nuxt": "^0.5.1",
"@unocss/nuxt": "^0.58.9",
"@unocss/nuxt": "^0.59.4",
"@vee-validate/nuxt": "^4.12.6",
"@vee-validate/zod": "^4.12.6",
"@vue-macros/nuxt": "^1.9.28",
"@vue-macros/nuxt": "^1.9.30",
"@vueuse/nuxt": "^10.9.0",
"dayjs-nuxt": "^2.1.9",
"eslint": "^8.57.0",
"eslint": "^9.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"nuxt": "^3.11.1",
"nuxt": "^3.11.2",
"pinia": "^2.1.7",
"sass": "^1.74.1",
"sass-loader": "^14.1.1",
"sass": "^1.75.0",
"sass-loader": "^14.2.1",
"stylelint": "^16.3.1",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.0",
"typescript": "^5.4.3",
"unocss": "^0.58.9",
"unocss-preset-useful": "^0.4.1",
"typescript": "^5.4.5",
"unocss": "^0.59.4",
"unocss-preset-useful": "^0.4.2",
"vee-validate": "^4.12.6",
"vite-plugin-eslint2": "^4.4.0",
"vue": "^3.4.21",
"vue": "^3.4.23",
"vue-eslint-parser": "^9.4.2",
"vue-router": "^4.3.0",
"vue-router": "^4.3.2",
"vue-tsc": "^1.8.27",
"vuetify-nuxt-module": "^0.13.2",
"zod": "^3.22.4"
"zod": "^3.22.5"
}
}
5 changes: 3 additions & 2 deletions plugins/vuetify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('vuetify:configuration', ({ vuetifyOptions }) => {
vuetifyOptions.icons!.sets!.custom = custom
const primary = useLocalStorage('theme-primary', '#1697f6').value
const theme = { colors: { primary } }
vuetifyOptions.theme = {
themes: {
light: { colors: { primary } },
dark: { colors: { primary } },
light: theme,
dark: theme,
},
}
})
Expand Down
Loading

0 comments on commit 66b9db1

Please sign in to comment.