mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Parameterize manifest
This commit is contained in:
parent
193f977863
commit
37b3014ac7
@ -25,6 +25,7 @@ RUN NODE_ENV=production yarn run build
|
||||
FROM base as production
|
||||
RUN yarn install --production=true --frozen-lockfile --non-interactive --no-cache
|
||||
COPY --from=build-and-test ./webapp/.nuxt ./.nuxt
|
||||
COPY --from=build-and-test ./webapp/constants ./constants
|
||||
COPY --from=build-and-test ./webapp/static ./static
|
||||
COPY nuxt.config.js .
|
||||
COPY locales locales
|
||||
|
||||
@ -24,6 +24,7 @@ COPY locales locales
|
||||
COPY mixins mixins
|
||||
COPY plugins/i18n.js plugins/v-tooltip.js plugins/styleguide.js plugins/
|
||||
COPY static static
|
||||
COPY constants constants
|
||||
COPY nuxt.config.js nuxt.config.js
|
||||
|
||||
# this will also ovewrite the existing package.json
|
||||
|
||||
7
webapp/constants/manifest.js
Normal file
7
webapp/constants/manifest.js
Normal file
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
name: 'Human Connection',
|
||||
short_name: 'HC',
|
||||
description: 'The free and open source social network for active citizenship',
|
||||
theme_color: '#17b53f',
|
||||
lang: 'en',
|
||||
}
|
||||
@ -3,6 +3,8 @@ import dotenv from 'dotenv'
|
||||
|
||||
dotenv.config() // we want to synchronize @nuxt-dotenv and nuxt-env
|
||||
|
||||
const manifest = require('./constants/manifest.js')
|
||||
|
||||
const pkg = require('./package')
|
||||
export const envWhitelist = [
|
||||
'NODE_ENV',
|
||||
@ -236,14 +238,7 @@ export default {
|
||||
config: additionalSentryConfig,
|
||||
},
|
||||
|
||||
manifest: {
|
||||
name: 'Human Connection',
|
||||
short_name: 'HC',
|
||||
homepage_url: 'https://human-connection.org/',
|
||||
description: 'The free and open source social network for active citizenship',
|
||||
theme_color: '#17b53f',
|
||||
lang: 'en',
|
||||
},
|
||||
manifest,
|
||||
|
||||
/*
|
||||
** Build configuration
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user