-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add verifications for bad translation mismatches (#795)
- Loading branch information
Showing
22 changed files
with
10,116 additions
and
6,762 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-class-properties", | ||
"@babel/plugin-transform-private-methods" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export GAMES=UTIL,LOGGING,CODES,FUN,WARFRAME,DESTINY2,GIVEAWAYS,CUST_COMMANDS,ROOMS,BLOCK,CMD_MGMT,BOT_MGMT | ||
export SKIP_INVALID_CMDS=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/resources/*.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
extends: '@wfcd/eslint-config/esm' | ||
parser: '@babel/eslint-parser' | ||
parserOptions: | ||
sourceType: module | ||
ecmaVersion: 6 | ||
ecmaFeatures: | ||
modules: true | ||
babelOptions: | ||
plugins: | ||
- '@babel/plugin-transform-class-properties' | ||
- '@babel/plugin-transform-private-methods' | ||
rules: | ||
no-unsafe-optional-chaining: 'off' | ||
no-constructor-return: 'off' | ||
import/extensions: | ||
- error | ||
- ignorePackages | ||
import/no-named-as-default: 'off' | ||
import/no-named-as-default-member: 'off' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,32 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
time: "00:00" | ||
commit-message: | ||
prefix: "ci" | ||
labels: | ||
- "Scope: Dependencies" | ||
- "Type: Maintenance" | ||
open-pull-requests-limit: 10 | ||
pull-request-branch-name: | ||
separator: "-" | ||
rebase-strategy: "auto" | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
time: "00:00" | ||
commit-message: | ||
prefix: "ci" | ||
labels: | ||
- "Scope: Dependencies" | ||
- "Type: Maintenance" | ||
open-pull-requests-limit: 10 | ||
pull-request-branch-name: | ||
separator: "-" | ||
rebase-strategy: "auto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,11 @@ jobs: | |
persist-credentials: false | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
node-version-file: '.nvmrc' | ||
- run: | | ||
npm ci | ||
npm run lint | ||
npm test | ||
- name: Semantic Release | ||
uses: cycjimmy/[email protected] | ||
env: | ||
|
@@ -63,10 +67,10 @@ jobs: | |
DEPLOY_BRANCH: ${{ secrets.DEPLOY_BRANCH }} | ||
- name: Stop Bot Process | ||
if: ${{ steps.release.outputs.release == 'yes' }} | ||
run: ssh bot 'source ~/.zshrc && cd ~/services/genesis-docker && { make -f docker.Makefile down_prod } || echo "Nothing to stop"' | ||
run: ssh bot 'source ~/.zshrc && cd ${{ secrets.DEPLOY_DIR }} && { make -f docker.Makefile down_prod } || echo "Nothing to stop"' | ||
- name: Update Containers | ||
if: ${{ steps.release.outputs.release == 'yes' }} | ||
run: ssh bot 'source ~/.zshrc && cd ~/services/genesis-docker && make -f docker.Makefile submod bot notifier' | ||
run: ssh bot 'source ~/.zshrc && cd ${{ secrets.DEPLOY_DIR }} && make -f docker.Makefile submod bot notifier' | ||
- name: Restart Containers | ||
if: ${{ steps.release.outputs.release == 'yes' }} | ||
run: ssh bot 'source ~/.zshrc && cd ~/services/genesis-docker && make -f docker.Makefile up_prod' | ||
run: ssh bot 'source ~/.zshrc && cd ${{ secrets.DEPLOY_DIR }} && make -f docker.Makefile up_prod' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,4 @@ docker-compose.yaml | |
|
||
.cache/ | ||
.run | ||
.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
npx --no -- commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'*.js': | ||
- eslint --cache --fix | ||
- npm test | ||
package*.json: | ||
- prettier --write | ||
- npm dedupe | ||
- npx sort-package-json | ||
'*.{json,yml,yaml},!package*.json': | ||
- prettier --write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
slow: 10000 | ||
timeout: 10000 | ||
spec: spec/**/*.spec.js | ||
require: | ||
- dotenv/config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
plugins: | ||
- '@semantic-release/commit-analyzer' | ||
- - '@semantic-release/exec' | ||
- successCmd: echo 'yes' >> .release | ||
failCmd: echo 'no' >> .release | ||
- '@semantic-release/release-notes-generator' | ||
- - '@semantic-release/npm' | ||
- npmPublish: false | ||
- '@semantic-release/github' | ||
- - '@semantic-release/changelog' | ||
- assets: | ||
- CHANGELOG.md | ||
- - '@semantic-release/git' | ||
- assets: | ||
- package.json | ||
- CHANGELOG.md | ||
- '@eclass/semantic-release-sentry-releases' | ||
branches: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default { extends: ['@commitlint/config-conventional'] }; |
Oops, something went wrong.