forked from DestinyItemManager/d2-manifest-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6621b8e
Showing
33 changed files
with
2,734 additions
and
0 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,13 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = 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,54 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
}, | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2018, | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"rules": { | ||
"no-console": "off", | ||
"no-empty": "off", | ||
"no-implicit-coercion": "error", | ||
"arrow-body-style": ["error", "as-needed"], | ||
"no-return-await": "error", | ||
"prefer-regex-literals": "error", | ||
"prefer-promise-reject-errors": "error", | ||
"require-atomic-updates": "off", | ||
"@typescript-eslint/explicit-member-accessibility": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-use-before-define": ["error", { "functions": false }], | ||
"@typescript-eslint/no-parameter-properties": "off", | ||
"@typescript-eslint/no-extraneous-class": "error", | ||
"@typescript-eslint/no-this-alias": "error", | ||
"@typescript-eslint/no-unnecessary-qualifier": "error", | ||
"@typescript-eslint/no-unnecessary-type-assertion": "error", | ||
"@typescript-eslint/prefer-function-type": "error", | ||
"@typescript-eslint/prefer-for-of": "error", | ||
"@typescript-eslint/prefer-optional-chain": "error", | ||
"@typescript-eslint/array-type": "error", | ||
"@typescript-eslint/no-non-null-asserted-optional-chain": "error", | ||
"@typescript-eslint/prefer-as-const": "error", | ||
"@typescript-eslint/prefer-reduce-type-parameter": "error", | ||
"@typescript-eslint/unified-signatures": "error", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"varsIgnorePattern": "(^_|[iI]gnored)", | ||
"argsIgnorePattern": "(^_|[iI]gnored)", | ||
"ignoreRestSiblings": true | ||
} | ||
] | ||
} | ||
} |
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 @@ | ||
# Default core.autocrlf on | ||
* text=auto eol=lf |
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,47 @@ | ||
# This workflow runs every five minutes to check for a new manifest | ||
name: Check for Updates - Lore Books | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 * * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: github | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
with: | ||
ref: lore-books | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v2.1.2 | ||
with: | ||
node-version: '14.x' | ||
|
||
- name: yarn install | ||
uses: bahmutov/npm-install@v1.1.0 | ||
|
||
- name: Check for manifest update | ||
run: yarn manifest:check | ||
env: | ||
API_KEY: ${{ secrets.API_KEY }} | ||
SKIP_CHECK: 'false' | ||
|
||
- name: Check for new files | ||
id: data | ||
run: echo ::set-output name=porcelain::"$(git status --porcelain)" | ||
|
||
- name: Commit latest manifest version | ||
if: steps.data.outputs.porcelain | ||
run: | | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "D2 Grimoire Epub Bot" | ||
git checkout --orphan tmp-lore-books | ||
git add -A | ||
git commit -m 'Grimoire Generated' | ||
git branch -D lore-books | ||
git branch -m lore-books | ||
git push -f origin lore-books |
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,45 @@ | ||
# This workflow runs every five minutes to check for a new manifest | ||
name: Check for Updates - Omnibus | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 * * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: github | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v2.1.2 | ||
with: | ||
node-version: '14.x' | ||
|
||
- name: yarn install | ||
uses: bahmutov/npm-install@v1.1.0 | ||
|
||
- name: Check for manifest update | ||
run: yarn manifest:check | ||
env: | ||
API_KEY: ${{ secrets.API_KEY }} | ||
SKIP_CHECK: 'false' | ||
|
||
- name: Check for new files | ||
id: data | ||
run: echo ::set-output name=porcelain::"$(git status --porcelain)" | ||
|
||
- name: Commit latest manifest version | ||
if: steps.data.outputs.porcelain | ||
run: | | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "D2 Grimoire Epub Bot" | ||
git checkout --orphan tmp | ||
git add -A | ||
git commit -m 'Grimoire Generated' | ||
git branch -D master | ||
git branch -m master | ||
git push -f origin 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,41 @@ | ||
name: Skip Check - Omnibus | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v2.1.2 | ||
with: | ||
node-version: '14.x' | ||
|
||
- name: yarn install | ||
uses: bahmutov/npm-install@v1.1.0 | ||
|
||
- name: Check for manifest update | ||
run: yarn manifest:check | ||
env: | ||
API_KEY: ${{ secrets.API_KEY }} | ||
SKIP_CHECK: 'true' | ||
|
||
- name: Check for new files | ||
id: data | ||
run: echo ::set-output name=porcelain::"$(git status --porcelain)" | ||
|
||
- name: Commit latest manifest version | ||
if: steps.data.outputs.porcelain | ||
run: | | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "D2 Grimoire Epub Bot" | ||
git checkout --orphan tmp | ||
git add -A | ||
git commit -m 'Grimoire Generated' | ||
git branch -D master | ||
git branch -m master | ||
git push -f origin 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,43 @@ | ||
name: Skip Check - Lore Books | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.4 | ||
with: | ||
ref: lore-books | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v2.1.2 | ||
with: | ||
node-version: '14.x' | ||
|
||
- name: yarn install | ||
uses: bahmutov/npm-install@v1.1.0 | ||
|
||
- name: Check for manifest update | ||
run: yarn manifest:check | ||
env: | ||
API_KEY: ${{ secrets.API_KEY }} | ||
SKIP_CHECK: 'true' | ||
|
||
- name: Check for new files | ||
id: data | ||
run: echo ::set-output name=porcelain::"$(git status --porcelain)" | ||
|
||
- name: Commit latest manifest version | ||
if: steps.data.outputs.porcelain | ||
run: | | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "D2 Grimoire Epub Bot" | ||
git checkout --orphan tmp-lore-books | ||
git add -A | ||
git commit -m 'Grimoire Generated' | ||
git branch -D lore-books | ||
git branch -m lore-books | ||
git push -f origin lore-books |
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,7 @@ | ||
node_modules/ | ||
manifests/ | ||
built/ | ||
yarn-error.log | ||
assets/*/* | ||
.DS_store | ||
.env |
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 @@ | ||
manifest_tables/*.json | ||
manifests/* | ||
data/**/*.json | ||
built/* | ||
.vscode |
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 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"arrowParens": "always" | ||
} |
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,10 @@ | ||
{ | ||
"editor.tabSize": 2, | ||
"editor.trimAutoWhitespace": true, | ||
"files.trimTrailingWhitespace": true, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.formatOnSave": true, | ||
"search.exclude": { | ||
"manifests": true | ||
}, | ||
} |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 Destiny Item Manager | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.