mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-05 17:31:51 +00:00
cf0b753209
* package.json: Add "build:*" targets * Improve react-intl-translations-manager workflow. * Added "build:production" to build production bundle. * Added "build:development" to build development bundle. * Fix json translation files * Run `yarn manage:translations` to fix translation files. * Fix `pl.json` for syntax error. * translationRunner: auto detect existing languages * Auto detect existing rfc5646 language tag in *.json filenames in `app/javascript/mastodon/locale` folder. No need to manually define every new language in the languages array here. * translationRunner: add more functionality * Allow script user to specify language code to check. * Added available language check. * Added --force flag to force creation of unexists language. * Added --help flag and help messages. * gitignore: ignore npm-debug.log * Fix webpack error if NODE_ENV is not defined Default to use 'development' in config/webpack/configuration.js
56 lines
981 B
Plaintext
56 lines
981 B
Plaintext
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
#
|
|
# If you find yourself ignoring temporary files generated by your text editor
|
|
# or operating system, you probably want to add a global ignore instead:
|
|
# git config --global core.excludesfile '~/.gitignore_global'
|
|
|
|
# Ignore bundler config and downloaded libraries.
|
|
/.bundle
|
|
/vendor/bundle
|
|
|
|
# Ignore the default SQLite database.
|
|
/db/*.sqlite3
|
|
/db/*.sqlite3-journal
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*
|
|
!/log/.keep
|
|
/tmp
|
|
coverage
|
|
public/system
|
|
public/assets
|
|
.env
|
|
.env.production
|
|
node_modules/
|
|
build/
|
|
|
|
# Ignore Vagrant files
|
|
.vagrant/
|
|
|
|
# Ignore Capistrano customizations
|
|
config/deploy/*
|
|
|
|
# Ignore IDE files
|
|
.vscode/
|
|
|
|
# Ignore postgres + redis volume optionally created by docker-compose
|
|
postgres
|
|
redis
|
|
|
|
# Ignore Apple files
|
|
.DS_Store
|
|
|
|
# Ignore vim files
|
|
*~
|
|
*.swp
|
|
/public/packs
|
|
/node_modules
|
|
|
|
|
|
# Ignore npm debug log
|
|
npm-debug.log
|
|
|
|
# Ignore Docker option files
|
|
docker-compose.override.yml
|
|
|