-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
43 changed files
with
9,239 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,5 @@ | ||
{ | ||
"extends": [ | ||
"airlight" | ||
] | ||
} |
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 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = 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,25 @@ | ||
{ | ||
"extends": "airlight-node", | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"extraFileExtensions": [".cjs"] | ||
}, | ||
"rules": { | ||
"@typescript-eslint/indent": "off", | ||
"indent": "off", | ||
"@typescript-eslint/no-redeclare": "off", // TODO: Do it later | ||
"@typescript-eslint/naming-convention": "off", // TODO: Do it later | ||
"@typescript-eslint/restrict-plus-operands": "off", // TODO: Do it later | ||
"no-param-reassign": "off", // TODO: Do it later | ||
"complexity": "off", // TODO: Do it later | ||
"max-lines-per-function": "off", // TODO: Do it later | ||
"max-lines": "off", // TODO: Do it later | ||
"max-depth": "off", // TODO: Do it later | ||
"no-continue": "off", // TODO: Do it later | ||
"guard-for-in": "off", // TODO: Do it later | ||
"no-restricted-syntax": "off", // TODO: Do it later | ||
"filename-rules/match": "off", // TODO: Do it later | ||
"max-nested-callbacks": "off", // TODO: Do it later | ||
"consistent-return": "off" // TODO: Do it later | ||
} | ||
} |
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,12 @@ | ||
# These are supported funding model platforms | ||
|
||
# github: dalisoft | ||
patreon: dalisoft # Replace with a single Patreon username | ||
open_collective: nanoexpress # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: npm/nanoexpress # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # 9e789b4b-2fe4-4a61-b5c5-acba3130ea4f # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # dalisoft # Replace with a single Liberapay username | ||
issuehunt: nanoexpress # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
custom: ['https://sobe.ru/na/nanoexpress'] |
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,46 @@ | ||
--- | ||
name: '🐛 Bug Report' | ||
about: "If something isn't working as expected 🤔" | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
## Bug Report | ||
|
||
### Is you/your team sponsoring this project | ||
|
||
- [ ] Yes | ||
- [ ] No | ||
|
||
#### _If your team sponsoring this project, please attach here your team lead or who purchased license GitHub login_ | ||
|
||
### Minimal reproducible repo | ||
|
||
Link here | ||
|
||
### Current Behavior | ||
|
||
A clear and concise description of the behavior. | ||
|
||
### Expected behavior/code | ||
|
||
A clear and concise description of what you expected to happen (or code). | ||
|
||
### Environment | ||
|
||
- Node/npm version: [e.g. Node 8/npm 5] | ||
- OS: [e.g. OSX 10.13.4, Windows 10] | ||
- Addinational Info: _type here_ | ||
|
||
### Possible Solution | ||
|
||
<!--- Only if you have suggestions on a fix for the bug --> | ||
|
||
### Additional context/Screenshots | ||
|
||
Add any other context about the problem here. If applicable, add screenshots to help explain. | ||
|
||
### Note | ||
|
||
- **Project is provided as-is without any support nor warranty** |
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,33 @@ | ||
--- | ||
name: '🚀 Feature Request' | ||
about: 'I have a suggestion (and may want to implement it 🙂)' | ||
title: '' | ||
labels: feature request | ||
assignees: '' | ||
--- | ||
|
||
## Feature Request | ||
|
||
### Is you/your team sponsoring this project | ||
|
||
- [ ] Yes | ||
- [ ] No | ||
|
||
#### _If your team sponsoring this project, please attach here your team lead or who purchased license GitHub login_ | ||
|
||
### Is your feature request related to a problem? Please describe | ||
|
||
A clear and concise description of what the problem is. Ex. I have an issue when [...] | ||
|
||
### Describe the solution you'd like | ||
|
||
A clear and concise description of what you want to happen. Add any considered drawbacks. | ||
|
||
### Describe alternatives you've considered | ||
|
||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
### Teachability, Documentation, Adoption, Migration Strategy | ||
|
||
If you can, explain how users will be able to use this and possibly write out a version the docs. | ||
Maybe a screenshot or design? |
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,20 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 📝 Documentation | ||
url: https://github.com/nanoexpress/docs/issues | ||
about: Issue for documentations should be created here 🗒 | ||
- name: 🔗 Middlewares | ||
url: https://github.com/nanoexpress/middlewares/issues | ||
about: Issue for middlewares should be created here 🖇 | ||
- name: 🙌 Help | ||
url: https://stackoverflow.com/questions/tagged/nanoexpress | ||
about: Any help or issues like cannot run example should be posted here 🤗 | ||
- name: 🆕 Updates channel | ||
url: https://t.me/nanoexpress | ||
about: Updates channel 🤫 | ||
- name: 💬 Discussion | ||
url: https://t.me/nanoexpress_discussion | ||
about: Discussion chat 🙋♂️ | ||
- name: 🛠 Dedicated support | ||
url: https://t.me/dalisoft | ||
about: Dedicated premium support from author 💰 |
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,22 @@ | ||
## Pull Request | ||
|
||
### Is you/your team sponsoring this project | ||
|
||
- [ ] Yes | ||
- [ ] No | ||
|
||
#### _If your team sponsoring this project, please attach here your team lead or who purchased license GitHub login_ | ||
|
||
### What you changed | ||
|
||
- [ ] Code changes | ||
- [ ] Tests changed | ||
- [ ] Typo fixes | ||
|
||
#### _If you change code, tests should be passed_ | ||
|
||
### Note | ||
|
||
- **Your every change to feature/code should be documented** | ||
- **📝 Documentation** fixes should be filled [here](https://github.com/nanoexpress/docs/pulls) | ||
- **🔗 Middlewares** fixes should be filled [here](https://github.com/nanoexpress/middlewares/pulls) |
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,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
open-pull-requests-limit: 10 | ||
directory: / | ||
commit-message: | ||
prefix: build | ||
prefix-development: chore | ||
include: scope | ||
schedule: | ||
interval: daily |
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 @@ | ||
name: Auto-merge dependabot updates | ||
|
||
on: pull_request_target | ||
|
||
jobs: | ||
auto-merge: | ||
timeout-minutes: 5 | ||
|
||
runs-on: ubuntu-18.04 | ||
if: github.actor == 'dependabot[bot]' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ahmadnassri/action-dependabot-auto-merge@v2 | ||
with: | ||
target: minor | ||
approve: true | ||
github-token: ${{ secrets.GH_TOKEN }} |
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,74 @@ | ||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: Linting, Testing and Release | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Install | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Lint code | ||
run: yarn lint | ||
test: | ||
needs: lint | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
os: [ubuntu-latest, macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install | ||
run: yarn --frozen-lockfile | ||
|
||
- name: Test code | ||
run: yarn test | ||
release: | ||
needs: test | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Install | ||
run: yarn --frozen-lockfile | ||
- name: semantic-release Prepare | ||
run: yarn add semantic-release -W | ||
|
||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
run: yarn semantic-release |
Oops, something went wrong.