-
Notifications
You must be signed in to change notification settings - Fork 1
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
melike2d
committed
Sep 26, 2021
1 parent
6077da5
commit b9d9651
Showing
34 changed files
with
1,821 additions
and
2,311 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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"extends": "@neocord", | ||
"root": true, | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json" | ||
}, | ||
"rules": { | ||
"camelcase": "off", | ||
"@typescript-eslint/no-namespace": "off", | ||
"eol-last": "error" | ||
} | ||
"extends": "@keiryo", | ||
"root": true, | ||
"parserOptions": { | ||
"project": "./tsconfig.eslint.json" | ||
}, | ||
"rules": { | ||
"camelcase": "off", | ||
"@typescript-eslint/no-namespace": "off", | ||
"eol-last": "error" | ||
} | ||
} |
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,27 +1,27 @@ | ||
name: Lint Repository | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths-ignore: | ||
- "*.md" | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths-ignore: | ||
- "*.md" | ||
|
||
jobs: | ||
lint: | ||
name: eslint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
lint: | ||
name: eslint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install NodeJS v14 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
- name: Install NodeJS v14 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run eslint | ||
run: yarn lint | ||
- name: Run eslint | ||
run: yarn lint |
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,33 +1,33 @@ | ||
name: Test | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths-ignore: | ||
- "*.md" | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths-ignore: | ||
- "*.md" | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install NodeJS v14 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
- name: Install NodeJS v14 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build Project | ||
run: yarn build | ||
- name: Build Project | ||
run: yarn build | ||
|
||
- name: Run Tests | ||
run: yarn test | ||
- name: Run Tests | ||
run: yarn test | ||
|
||
- name: Coverage | ||
run: yarn cov | ||
- name: Coverage | ||
run: yarn cov |
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,6 @@ | ||
{ | ||
"extends": "@istanbuljs/nyc-config-typescript", | ||
"exclude": [ | ||
"**/*.spec.js" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# @neocord/common | ||
# @keiryo/common | ||
|
||
> 🔧 Common classes and functions used within neocord | ||
> 🔧 Common classes and functions used within keiryo | ||
## installation | ||
|
||
*nodejs v14.0.0 or higher is required.* | ||
|
||
```sh | ||
yarn add @neocord/commons | ||
yarn add @keiryo/commons | ||
``` | ||
|
||
--- | ||
|
||
Copyright 2020 - 2021 © neocord team | ||
Copyright 2020 - 2021 © keiryo team | ||
[licensed](/LICENSE) under Apache 2.0 |
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 @@ | ||
{ | ||
"typescript": { | ||
"rewritePaths": { | ||
"src/": "dist/" | ||
} | ||
} | ||
} |
Oops, something went wrong.