mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-17 13:38:07 +01:00
Upgrade dependencies
This commit is contained in:
20
package.json
20
package.json
@@ -11,28 +11,28 @@
|
||||
"dependencies": {
|
||||
"@nuxt/content": "^1.14.0",
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
"@nuxtjs/composition-api": "^0.27.0",
|
||||
"@nuxtjs/composition-api": "^0.29.3",
|
||||
"@nuxtjs/dotenv": "^1.4.1",
|
||||
"@nuxtjs/i18n": "^7.0.2",
|
||||
"@nuxtjs/i18n": "^7.1.0",
|
||||
"@nuxtjs/proxy": "^2.1.0",
|
||||
"@nuxtjs/redirect-module": "^0.3.1",
|
||||
"@nuxtjs/robots": "^2.5.0",
|
||||
"@nuxtjs/sentry": "^5.1.3",
|
||||
"@nuxtjs/sentry": "^5.1.4",
|
||||
"@nuxtjs/sitemap": "^2.4.0",
|
||||
"@nuxtjs/universal-storage": "^0.5.9",
|
||||
"axios": "^0.21.1",
|
||||
"core-js": "^3.16.4",
|
||||
"axios": "^0.23.0",
|
||||
"core-js": "^3.18.3",
|
||||
"nuxt": "^2.15.8",
|
||||
"prism-themes": "^1.8.0",
|
||||
"sass": "^1.38.2"
|
||||
"prism-themes": "^1.9.0",
|
||||
"sass": "^1.43.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/types": "^2.15.8",
|
||||
"@nuxt/typescript-build": "^2.1.0",
|
||||
"@nuxtjs/color-mode": "^2.1.1",
|
||||
"markdown-it-prism": "^2.1.8",
|
||||
"nuxt-windicss": "^1.2.3",
|
||||
"sass-loader": "10.1.1",
|
||||
"markdown-it-prism": "^2.2.1",
|
||||
"nuxt-windicss": "^2.0.3",
|
||||
"sass-loader": "12.2.0",
|
||||
"windicss-analysis": "^0.3.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ import {GetterTree, MutationTree} from "vuex";
|
||||
export const state = () => ({
|
||||
opened: false,
|
||||
route: '/',
|
||||
email: ''
|
||||
})
|
||||
|
||||
export type RootState = ReturnType<typeof state>
|
||||
@@ -11,11 +10,9 @@ export type RootState = ReturnType<typeof state>
|
||||
export const getters: GetterTree<RootState, RootState> = {
|
||||
opened: state => state.opened,
|
||||
route: state => state.route,
|
||||
email: state => state.email
|
||||
}
|
||||
|
||||
export const mutations: MutationTree<RootState> = {
|
||||
TOGGLE_OPENED: (state, opened: boolean) => (state.opened = opened),
|
||||
SET_ROUTE: (state, route: string) => (state.route = route),
|
||||
SET_EMAIL: (state, email: string) => (state.email = email)
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import {defineConfig} from 'windicss/helpers'
|
||||
import defaultTheme from 'windicss/defaultTheme'
|
||||
import typography from 'windicss/plugin/typography'
|
||||
import colors from 'windicss/colors'
|
||||
|
||||
module.exports = defineConfig({
|
||||
presets: [],
|
||||
darkMode: 'class',
|
||||
attributify: true,
|
||||
theme: {
|
||||
extend: {
|
||||
typography: (theme) => ({
|
||||
@@ -824,6 +825,6 @@ module.exports = defineConfig({
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
require('windicss/plugin/typography')()
|
||||
typography()
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user