Fix tests, added gh action nuxt step
This commit is contained in:
13
client/.env.example
Normal file
13
client/.env.example
Normal file
@@ -0,0 +1,13 @@
|
||||
NUXT_LOG_LEVEL=
|
||||
NUXT_PUBLIC_APP_URL=
|
||||
NUXT_PUBLIC_API_BASE=
|
||||
NUXT_PUBLIC_AI_ENABLED=
|
||||
NUXT_PUBLIC_AMPLITUDE_CODE=
|
||||
NUXT_PUBLIC_CRISP_WEBSITE_ID=
|
||||
NUXT_PUBLIC_CUSTOM_DOMAINS_ENABLED=
|
||||
NUXT_PUBLIC_ENV=
|
||||
NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE=
|
||||
NUXT_PUBLIC_H_CAPTCHA_SITE_KEY=
|
||||
NUXT_PUBLIC_PAID_PLANS_ENABLED=
|
||||
NUXT_PUBLIC_S3_ENABLED=
|
||||
NUXT_API_SECRET=
|
||||
@@ -14,6 +14,7 @@ export default defineNuxtConfig({
|
||||
'nuxt3-notifications',
|
||||
'nuxt-simple-sitemap',
|
||||
'@nuxt/image',
|
||||
... process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE ? ['nuxt-gtag'] : [],
|
||||
... process.env.NUXT_PUBLIC_SENTRY_DSN ? ['@nuxtjs/sentry'] : [],
|
||||
],
|
||||
build: {
|
||||
@@ -34,6 +35,9 @@ export default defineNuxtConfig({
|
||||
dsn: process.env.NUXT_PUBLIC_SENTRY_DSN,
|
||||
lazy: true,
|
||||
},
|
||||
gtag: {
|
||||
id: process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE,
|
||||
},
|
||||
components: [
|
||||
{
|
||||
path: '~/components/forms',
|
||||
|
||||
12
client/package-lock.json
generated
12
client/package-lock.json
generated
@@ -46,6 +46,7 @@
|
||||
"@nuxt/devtools": "latest",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"nuxt": "^3.8.2",
|
||||
"nuxt-gtag": "^1.1.2",
|
||||
"nuxt-simple-sitemap": "^4.2.3",
|
||||
"postcss": "^8.4.32",
|
||||
"sass": "^1.69.6",
|
||||
@@ -8753,6 +8754,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/nuxt-gtag": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/nuxt-gtag/-/nuxt-gtag-1.1.2.tgz",
|
||||
"integrity": "sha512-+gStu6D7RuKnYtmaeYlV+AYmqpNEk8sfv6XRL4hVMK0DSe1GnpPi3rVyx/R5WF8xe2xJl8/CTtgrE25CIOQsHQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@nuxt/kit": "^3.8.2",
|
||||
"defu": "^6.1.3",
|
||||
"pathe": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/nuxt-simple-sitemap": {
|
||||
"version": "4.2.3",
|
||||
"resolved": "https://registry.npmjs.org/nuxt-simple-sitemap/-/nuxt-simple-sitemap-4.2.3.tgz",
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"@nuxt/devtools": "latest",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"nuxt": "^3.8.2",
|
||||
"nuxt-gtag": "^1.1.2",
|
||||
"nuxt-simple-sitemap": "^4.2.3",
|
||||
"postcss": "^8.4.32",
|
||||
"sass": "^1.69.6",
|
||||
|
||||
Reference in New Issue
Block a user