Skip to content

Commit 2a1784e

Browse files
committed
chore: upgrade to node v18 and some dep
1 parent 1ce7d85 commit 2a1784e

File tree

7 files changed

+11087
-20913
lines changed

7 files changed

+11087
-20913
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18.16.0

components/core/links/LocaleLink.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
return {
3636
'core-localeLink': true,
3737
highlight: this.highlight,
38-
underline: this.underline,
38+
'underline': this.underline,
3939
'--customized': this.customized,
4040
}
4141
},
@@ -60,10 +60,6 @@ export default {
6060
@apply text-primary-500;
6161
}
6262
63-
.underline {
64-
@apply underline;
65-
}
66-
6763
.core-localeLink:not(.highlight):not(.--customized) {
6864
@apply text-pink-700;
6965
}

nuxt.config.js

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ export default {
7373

7474
// Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
7575
buildModules: [
76-
// https://go.nuxtjs.dev/eslint
77-
'@nuxtjs/eslint-module',
7876
// https://go.nuxtjs.dev/tailwindcss
7977
'@nuxtjs/tailwindcss',
8078
// https://github.com/nuxt-community/dotenv-module
@@ -86,20 +84,8 @@ export default {
8684
keepDefaultRouter: true,
8785
},
8886
],
89-
],
90-
91-
// Modules (https://go.nuxtjs.dev/config-modules)
92-
modules: [
93-
// https://go.nuxtjs.dev/axios
94-
'@nuxt/http',
95-
// https://github.com/nuxt-community/gtm-module
96-
'@nuxtjs/gtm',
97-
// https://github.com/WilliamDASILVA/nuxt-facebook-pixel-module
98-
'nuxt-facebook-pixel-module',
99-
// https://i18n.nuxtjs.org/
100-
'nuxt-i18n',
10187
[
102-
'nuxt-fontawesome',
88+
'@nuxtjs/fontawesome',
10389
{
10490
component: 'fa',
10591
imports: [
@@ -118,6 +104,18 @@ export default {
118104
],
119105
},
120106
],
107+
],
108+
109+
// Modules (https://go.nuxtjs.dev/config-modules)
110+
modules: [
111+
// https://go.nuxtjs.dev/axios
112+
'@nuxt/http',
113+
// https://github.com/nuxt-community/gtm-module
114+
'@nuxtjs/gtm',
115+
// https://github.com/WilliamDASILVA/nuxt-facebook-pixel-module
116+
'nuxt-facebook-pixel-module',
117+
// https://i18n.nuxtjs.org/
118+
'@nuxtjs/i18n',
121119
// https://github.com/nuxt-community/markdownit-module
122120
'@nuxtjs/markdownit',
123121
// https://sitemap.nuxtjs.org/

package-lock.json

Lines changed: 0 additions & 20857 deletions
This file was deleted.

package.json

Lines changed: 19 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -15,45 +15,31 @@
1515
"json-server": "./node_modules/.bin/json-server --watch db.json --routes routes.json --port 9876 --middlewares json-server-middlewares.js"
1616
},
1717
"dependencies": {
18-
"@fortawesome/free-brands-svg-icons": "^5.15.3",
19-
"@fortawesome/free-regular-svg-icons": "^5.15.4",
20-
"@fortawesome/free-solid-svg-icons": "^5.15.3",
21-
"@nuxt/http": "^0.6.2",
18+
"@nuxt/http": "^0.6.4",
19+
"@nuxtjs/i18n": "^7.3.1",
2220
"@nuxtjs/markdownit": "^2.0.0",
2321
"@nuxtjs/sitemap": "^2.4.0",
24-
"@tailwindcss/aspect-ratio": "^0.2.1",
25-
"core-js": "^3.6.5",
26-
"dayjs": "^1.10.6",
27-
"nuxt": "^2.15.3",
28-
"nuxt-facebook-pixel-module": "^1.5.0",
29-
"nuxt-fontawesome": "^0.4.0",
30-
"nuxt-i18n": "^6.18.0",
31-
"swiper": "^6.7.5",
32-
"uuid": "^8.3.2",
33-
"vue-awesome-swiper": "^4.1.1",
34-
"vue-dompurify-html": "^2.3.0"
22+
"dayjs": "^1.11.9",
23+
"nuxt": "2.17.0",
24+
"nuxt-facebook-pixel-module": "^1.6.0",
25+
"swiper": "6.7.5",
26+
"uuid": "^9.0.0",
27+
"vue-awesome-swiper": "4.1.1",
28+
"vue-dompurify-html": "2.3.0"
3529
},
3630
"devDependencies": {
37-
"@nuxt/types": "^2.14.11",
31+
"@nuxt/types": "^2.17.0",
32+
"@fortawesome/free-brands-svg-icons": "^6.4.0",
33+
"@fortawesome/free-regular-svg-icons": "^6.4.0",
34+
"@fortawesome/free-solid-svg-icons": "^6.4.0",
35+
"@nuxt/eslint-config": "^0.1.1",
3836
"@nuxtjs/dotenv": "^1.4.1",
39-
"@nuxtjs/eslint-config": "^3.1.0",
40-
"@nuxtjs/eslint-module": "^2.0.0",
37+
"@nuxtjs/fontawesome": "^1.1.2",
4138
"@nuxtjs/gtm": "^2.4.0",
4239
"@nuxtjs/router": "^1.7.0",
43-
"@nuxtjs/tailwindcss": "^4.1.0",
44-
"@vue/test-utils": "^1.1.0",
45-
"babel-core": "7.0.0-bridge.0",
46-
"babel-eslint": "^10.1.0",
47-
"babel-jest": "^26.5.0",
48-
"eslint": "^7.10.0",
49-
"eslint-config-prettier": "^6.12.0",
50-
"eslint-plugin-nuxt": "^1.0.0",
51-
"eslint-plugin-prettier": "^3.1.4",
52-
"jest": "^26.5.0",
53-
"json-server": "^0.16.3",
54-
"postcss": "^8.3.5",
55-
"prettier": "^2.8.8",
56-
"prettier-plugin-tailwindcss": "^0.2.8",
57-
"vue-jest": "^3.0.4"
40+
"@nuxtjs/tailwindcss": "5.3.2",
41+
"@tailwindcss/aspect-ratio": "^0.4.2",
42+
"eslint": "^8.45.0",
43+
"json-server": "^0.17.3"
5844
}
5945
}

tailwind.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
const { generateBgWithSources } = require('./utils/tailwind.utils')
22

33
module.exports = {
4-
mode: 'jit',
5-
purge: [],
6-
darkMode: false, // or 'media' or 'class'
74
theme: {
85
fontFamily: {
96
sans: [

0 commit comments

Comments
 (0)