Skip to content

Commit

Permalink
chore: upgrade to node v18 and some dep
Browse files Browse the repository at this point in the history
  • Loading branch information
baby230211 committed Jul 15, 2023
1 parent 1ce7d85 commit 2a1784e
Show file tree
Hide file tree
Showing 7 changed files with 11,087 additions and 20,913 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.16.0
6 changes: 1 addition & 5 deletions components/core/links/LocaleLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
return {
'core-localeLink': true,
highlight: this.highlight,
underline: this.underline,
'underline': this.underline,
'--customized': this.customized,
}
},
Expand All @@ -60,10 +60,6 @@ export default {
@apply text-primary-500;
}
.underline {
@apply underline;
}
.core-localeLink:not(.highlight):not(.--customized) {
@apply text-pink-700;
}
Expand Down
28 changes: 13 additions & 15 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ export default {

// Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
buildModules: [
// https://go.nuxtjs.dev/eslint
'@nuxtjs/eslint-module',
// https://go.nuxtjs.dev/tailwindcss
'@nuxtjs/tailwindcss',
// https://github.com/nuxt-community/dotenv-module
Expand All @@ -86,20 +84,8 @@ export default {
keepDefaultRouter: true,
},
],
],

// Modules (https://go.nuxtjs.dev/config-modules)
modules: [
// https://go.nuxtjs.dev/axios
'@nuxt/http',
// https://github.com/nuxt-community/gtm-module
'@nuxtjs/gtm',
// https://github.com/WilliamDASILVA/nuxt-facebook-pixel-module
'nuxt-facebook-pixel-module',
// https://i18n.nuxtjs.org/
'nuxt-i18n',
[
'nuxt-fontawesome',
'@nuxtjs/fontawesome',
{
component: 'fa',
imports: [
Expand All @@ -118,6 +104,18 @@ export default {
],
},
],
],

// Modules (https://go.nuxtjs.dev/config-modules)
modules: [
// https://go.nuxtjs.dev/axios
'@nuxt/http',
// https://github.com/nuxt-community/gtm-module
'@nuxtjs/gtm',
// https://github.com/WilliamDASILVA/nuxt-facebook-pixel-module
'nuxt-facebook-pixel-module',
// https://i18n.nuxtjs.org/
'@nuxtjs/i18n',
// https://github.com/nuxt-community/markdownit-module
'@nuxtjs/markdownit',
// https://sitemap.nuxtjs.org/
Expand Down
20,857 changes: 0 additions & 20,857 deletions package-lock.json

This file was deleted.

52 changes: 19 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,45 +15,31 @@
"json-server": "./node_modules/.bin/json-server --watch db.json --routes routes.json --port 9876 --middlewares json-server-middlewares.js"
},
"dependencies": {
"@fortawesome/free-brands-svg-icons": "^5.15.3",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@nuxt/http": "^0.6.2",
"@nuxt/http": "^0.6.4",
"@nuxtjs/i18n": "^7.3.1",
"@nuxtjs/markdownit": "^2.0.0",
"@nuxtjs/sitemap": "^2.4.0",
"@tailwindcss/aspect-ratio": "^0.2.1",
"core-js": "^3.6.5",
"dayjs": "^1.10.6",
"nuxt": "^2.15.3",
"nuxt-facebook-pixel-module": "^1.5.0",
"nuxt-fontawesome": "^0.4.0",
"nuxt-i18n": "^6.18.0",
"swiper": "^6.7.5",
"uuid": "^8.3.2",
"vue-awesome-swiper": "^4.1.1",
"vue-dompurify-html": "^2.3.0"
"dayjs": "^1.11.9",
"nuxt": "2.17.0",
"nuxt-facebook-pixel-module": "^1.6.0",
"swiper": "6.7.5",
"uuid": "^9.0.0",
"vue-awesome-swiper": "4.1.1",
"vue-dompurify-html": "2.3.0"
},
"devDependencies": {
"@nuxt/types": "^2.14.11",
"@nuxt/types": "^2.17.0",
"@fortawesome/free-brands-svg-icons": "^6.4.0",
"@fortawesome/free-regular-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@nuxt/eslint-config": "^0.1.1",
"@nuxtjs/dotenv": "^1.4.1",
"@nuxtjs/eslint-config": "^3.1.0",
"@nuxtjs/eslint-module": "^2.0.0",
"@nuxtjs/fontawesome": "^1.1.2",
"@nuxtjs/gtm": "^2.4.0",
"@nuxtjs/router": "^1.7.0",
"@nuxtjs/tailwindcss": "^4.1.0",
"@vue/test-utils": "^1.1.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.5.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-nuxt": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.5.0",
"json-server": "^0.16.3",
"postcss": "^8.3.5",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.2.8",
"vue-jest": "^3.0.4"
"@nuxtjs/tailwindcss": "5.3.2",
"@tailwindcss/aspect-ratio": "^0.4.2",
"eslint": "^8.45.0",
"json-server": "^0.17.3"
}
}
3 changes: 0 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const { generateBgWithSources } = require('./utils/tailwind.utils')

module.exports = {
mode: 'jit',
purge: [],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
sans: [
Expand Down
Loading

0 comments on commit 2a1784e

Please sign in to comment.