Commit 906c3bb7 authored by Eugen Rochko's avatar Eugen Rochko

Update configurations

parent a1e25fd7
Pipeline #969 passed with stages
in 1 minute and 46 seconds
image: node:8.11.3-alpine
image: node:10.22.0-alpine
pages:
cache:
paths:
- node_modules
script:
- apk -U upgrade && apk add -t build-dependencies build-base python
- apk -U upgrade && apk add -t build-dependencies build-base python
- yarn install --pure-lockfile
- yarn build
- rm -rf public && mv build public
......
......@@ -56,17 +56,20 @@
"reactSnapshot": {
"include": [
"/covenant",
"/category/art",
"/category/general",
"/category/regional",
"/category/art",
"/category/activism",
"/category/lgbt",
"/category/games",
"/category/tech",
"/category/adult",
"/category/furry",
"/category/food"
"/communities/general",
"/communities/regional",
"/communities/art",
"/communities/music",
"/communities/journalism",
"/communities/activism",
"/communities/lgbt",
"/communities/games",
"/communities/tech",
"/communities/academia",
"/communities/adult",
"/communities/humor",
"/communities/furry",
"/communities/food"
],
"snapshotDelay": 500
}
......
const manageTranslations = require('react-intl-translations-manager').default;
const locales = require('./src/LanguageSelect').options.map(x => x.value);
manageTranslations({
messagesDirectory: 'build/messages',
translationsDirectory: 'src/locales/',
languages: [
'ar',
'ca',
'cs',
'cy',
'de',
'en',
'es',
'eu',
'fi',
'fr',
'he',
'it',
'ja',
'ko',
'nl-NL',
'no',
'pl',
'pt-BR',
'ru',
'sk',
'sq',
'sv',
'tr',
'uk',
'zh',
'zh-TW',
]
languages: locales,
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment