Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
joinmastodon
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
26
Issues
26
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mastodon
joinmastodon
Commits
906c3bb7
Commit
906c3bb7
authored
Aug 19, 2020
by
Eugen Rochko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update configurations
parent
a1e25fd7
Pipeline
#969
passed with stages
in 1 minute and 46 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
42 deletions
+19
-42
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
package.json
package.json
+14
-11
translationRunner.js
translationRunner.js
+2
-28
No files found.
.gitlab-ci.yml
View file @
906c3bb7
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
...
...
package.json
View file @
906c3bb7
...
...
@@ -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
}
...
...
translationRunner.js
View file @
906c3bb7
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
,
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment