Skip to content

Commit

Permalink
Merge pull request #857 from WatWowMap/develop
Browse files Browse the repository at this point in the history
Sync Dev to Main
  • Loading branch information
TurtIeSocks authored Oct 6, 2023
2 parents 0aa7d1d + 11b3c5b commit 5dd8d0e
Show file tree
Hide file tree
Showing 426 changed files with 18,615 additions and 13,498 deletions.
1 change: 0 additions & 1 deletion .configref

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"globals": {
"document": true,
"window": true,
"inject": true
"CONFIG": true
},
"rules": {
"global-require": 0,
Expand All @@ -42,6 +42,7 @@
"react/function-component-definition": 0,
"no-underscore-dangle": 0,
"no-return-assign": 0,
"no-nested-ternary": "off",
"import/prefer-default-export": 0,
"max-len": [
"error",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-depth: 2
- name: Run script
run: |
yarn config-check
yarn config:check
- name: Generate latest env vars
run: |
yarn gen-env-config
yarn config:env
- name: Configure git
run: |
git config --global user.name "turtlesocks-bot"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Masterfile
run: yarn masterfile

- name: Lint
run: yarn eslint:check

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
yarn
- name: Run generating script
run: |
yarn generate-locales
yarn locales:generate
env:
OPENAI_API_KEY: ${{secrets.OPENAI_API_KEY}}
- name: Configure git
Expand Down
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/node_modules/
/dist/
node_modules
dist

# Config files
server/src/configs/*
Expand All @@ -14,6 +14,7 @@ server/src/configs/koji_backups/*

# Masterfile
server/src/data/masterfile.json
packages/masterfile/lib/data/masterfile.json

# Docker file
/docker-compose.yml
Expand All @@ -24,6 +25,9 @@ server/src/data/masterfile.json
public/favicon/*
!public/favicon/fallback.ico

# Asset Links JSON
/public/.well-known/assetlinks.json

# Strategies
server/src/strategies/*
!server/src/strategies/discord.js
Expand Down Expand Up @@ -53,6 +57,8 @@ public/images/custom/*
public/locales/*
public/missing-locales/*
locales/missing-locales/*
packages/locales/lib/data/**/*.json
packages/locales/lib/missing/**/*.json

# OS X
.DS_Store*
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"i18n-ally.localesPaths": [
"locales"
"packages/locales/lib/human",
"packages/locales/lib/generated"
],
"i18n-ally.keystyle": "flat",
"[javascript]": {
Expand Down
9 changes: 4 additions & 5 deletions ReactMap.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable import/extensions */
process.env.FORCE_COLOR = 3
process.env.NODE_CONFIG_DIR = `${__dirname}/server/src/configs`
process.env.ALLOW_CONFIG_MUTATIONS = 'true'

const { build } = require('vite')
const { log, HELPERS } = require('./server/src/services/logger')
const { generate } = require('./server/scripts/generateMasterfile')

const { log, HELPERS } = require('@rm/logger')
const { generate } = require('@rm/masterfile')

const viteConfig = require('./vite.config')

generate(true).then(() =>
Expand Down
6 changes: 0 additions & 6 deletions ReactMap.mjs

This file was deleted.

11 changes: 0 additions & 11 deletions example.env

This file was deleted.

14 changes: 7 additions & 7 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"compilerOptions": {
"target": "ESNext",
"module": "CommonJS",
"allowSyntheticDefaultImports": false,
"resolveJsonModule": true,
"baseUrl": "./src",
"esModuleInterop": true,
"baseUrl": ".",
"jsx": "react",
"paths": {
"@assets/*": [
"./assets/*"
"./src/assets/*"
],
"@components/*": [
"./components/*"
"./src/components/*"
],
"@services/*": [
"./services/*"
"./src/services/*"
],
"@hooks/*": [
"./hooks/*"
]
"./src/hooks/*"
],
}
},
"exclude": [
Expand Down
158 changes: 0 additions & 158 deletions locales/scripts/create.js

This file was deleted.

Loading

0 comments on commit 5dd8d0e

Please sign in to comment.