This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
-
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
Showing
54 changed files
with
7,127 additions
and
9,453 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,8 +1,8 @@ | ||
# documentation | ||
docs/ | ||
|
||
# npm package | ||
node_modules/ | ||
|
||
# typings | ||
# documentation | ||
docs/ | ||
|
||
# npm package | ||
node_modules/ | ||
|
||
# typings | ||
typings/ |
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,50 +1,50 @@ | ||
module.exports = { | ||
root: true, | ||
extends: 'eslint:recommended', | ||
env: { | ||
node: true, | ||
es6: true, | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2021, | ||
}, | ||
rules: { | ||
'arrow-spacing': ['warn', { 'before': true, 'after': true }], | ||
'brace-style': ['error', 'stroustrup', { 'allowSingleLine': true }], | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'comma-spacing': 'error', | ||
'comma-style': 'error', | ||
'curly': ['error', 'multi-line', 'consistent'], | ||
'dot-location': ['error', 'property'], | ||
'handle-callback-err': 'off', | ||
'indent': ['error', 'tab'], | ||
'keyword-spacing': 'error', | ||
'max-nested-callbacks': ['error', { 'max': 4 }], | ||
'max-statements-per-line': ['error', { 'max': 2 }], | ||
'no-console': 'off', | ||
'no-empty-function': 'error', | ||
'no-floating-decimal': 'error', | ||
'no-inline-comments': 'error', | ||
'no-lonely-if': 'error', | ||
'no-multi-spaces': 'error', | ||
'no-multiple-empty-lines': ['error', { 'max': 2, 'maxEOF': 1, 'maxBOF': 0 }], | ||
'no-shadow': ['error', { 'allow': ['err', 'resolve', 'reject'] }], | ||
'no-trailing-spaces': ['error'], | ||
'no-var': 'error', | ||
'object-curly-spacing': ['error', 'always'], | ||
'prefer-const': 'error', | ||
'quotes': ['error', 'single'], | ||
'semi': ['error', 'always'], | ||
'space-before-blocks': 'error', | ||
'space-before-function-paren': ['error', { | ||
'anonymous': 'never', | ||
'named': 'never', | ||
'asyncArrow': 'always', | ||
}], | ||
'space-in-parens': 'error', | ||
'space-infix-ops': 'error', | ||
'space-unary-ops': 'error', | ||
'spaced-comment': 'error', | ||
'yoda': 'error', | ||
}, | ||
module.exports = { | ||
root: true, | ||
extends: 'eslint:recommended', | ||
env: { | ||
node: true, | ||
es6: true, | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2021, | ||
}, | ||
rules: { | ||
'arrow-spacing': ['warn', { 'before': true, 'after': true }], | ||
'brace-style': ['error', 'stroustrup', { 'allowSingleLine': true }], | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'comma-spacing': 'error', | ||
'comma-style': 'error', | ||
'curly': ['error', 'multi-line', 'consistent'], | ||
'dot-location': ['error', 'property'], | ||
'handle-callback-err': 'off', | ||
'indent': ['error', 'tab'], | ||
'keyword-spacing': 'error', | ||
'max-nested-callbacks': ['error', { 'max': 4 }], | ||
'max-statements-per-line': ['error', { 'max': 2 }], | ||
'no-console': 'off', | ||
'no-empty-function': 'error', | ||
'no-floating-decimal': 'error', | ||
'no-inline-comments': 'error', | ||
'no-lonely-if': 'error', | ||
'no-multi-spaces': 'error', | ||
'no-multiple-empty-lines': ['error', { 'max': 2, 'maxEOF': 1, 'maxBOF': 0 }], | ||
'no-shadow': ['error', { 'allow': ['err', 'resolve', 'reject'] }], | ||
'no-trailing-spaces': ['error'], | ||
'no-var': 'error', | ||
'object-curly-spacing': ['error', 'always'], | ||
'prefer-const': 'error', | ||
'quotes': ['error', 'single'], | ||
'semi': ['error', 'always'], | ||
'space-before-blocks': 'error', | ||
'space-before-function-paren': ['error', { | ||
'anonymous': 'never', | ||
'named': 'never', | ||
'asyncArrow': 'always', | ||
}], | ||
'space-in-parens': 'error', | ||
'space-infix-ops': 'error', | ||
'space-unary-ops': 'error', | ||
'spaced-comment': 'error', | ||
'yoda': 'error', | ||
}, | ||
}; |
Empty file.
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,9 +1,9 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "00:00" | ||
timezone: America/Los_Angeles | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "00:00" | ||
timezone: America/Los_Angeles | ||
versioning-strategy: increase |
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,28 +1,28 @@ | ||
name: Deployment | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!docs' | ||
tags: | ||
- '*' | ||
jobs: | ||
docs: | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node v16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build and deploy documentation | ||
uses: discordjs/action-docs@v1 | ||
env: | ||
name: Deployment | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!docs' | ||
tags: | ||
- '*' | ||
jobs: | ||
docs: | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node v16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build and deploy documentation | ||
uses: discordjs/action-docs@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Empty file.
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,18 +1,18 @@ | ||
name: weeby-js package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm install | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
name: weeby-js package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm install | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
Empty file.
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,67 +1,67 @@ | ||
{ | ||
"tags": { | ||
"allowUnknownTags": false | ||
}, | ||
"source": { | ||
"include": [ | ||
"./src" | ||
], | ||
"includePattern": ".js$", | ||
"excludePattern": "(node_modules/|docs)" | ||
}, | ||
"plugins": [ | ||
"plugins/markdown" | ||
], | ||
"opts": { | ||
"encoding": "utf8", | ||
"destination": "docs/", | ||
"readme": "README.md", | ||
"recurse": true, | ||
"verbose": true, | ||
"template": "node_modules/docdash" | ||
}, | ||
"templates": { | ||
"default": { | ||
"includeDate": false | ||
}, | ||
"cleverLinks": false, | ||
"monospaceLinks": false | ||
}, | ||
"docdash": { | ||
"static": false, | ||
"search": true, | ||
"short": true, | ||
"meta": { | ||
"title": "Weeby-JS", | ||
"description": "The Official JavaScript API Wrapper for Weeby API.", | ||
"keywords": "weeby-api, rest-api, api, wrapper" | ||
}, | ||
"menu": { | ||
"GitHub": { | ||
"href": "https://github.com/ntm-development/weeby-js", | ||
"target": "_blank", | ||
"class": "menu-item", | ||
"id": "github_link" | ||
}, | ||
"NPM": { | ||
"href": "https://www.npmjs.com/package/weeby-js", | ||
"target": "_blank", | ||
"class": "menu-item", | ||
"id": "npm_link" | ||
}, | ||
"Weeby API Website": { | ||
"href": "https://weebyapi.xyz/", | ||
"target": "_blank", | ||
"class": "menu-item", | ||
"id": "weebyapiwebsite_link" | ||
} | ||
}, | ||
"openGraph": { | ||
"title": "Weeby-JS", | ||
"type": "website", | ||
"image": "https://cdn.weebyapi.xyz/img/static/WeebyJSGitHub.png", | ||
"site_name": "weeby-js", | ||
"url": "https://js.weebyapi.xyz/" | ||
} | ||
} | ||
{ | ||
"tags": { | ||
"allowUnknownTags": false | ||
}, | ||
"source": { | ||
"include": [ | ||
"./src" | ||
], | ||
"includePattern": ".js$", | ||
"excludePattern": "(node_modules/|docs)" | ||
}, | ||
"plugins": [ | ||
"plugins/markdown" | ||
], | ||
"opts": { | ||
"encoding": "utf8", | ||
"destination": "docs/", | ||
"readme": "README.md", | ||
"recurse": true, | ||
"verbose": true, | ||
"template": "node_modules/docdash" | ||
}, | ||
"templates": { | ||
"default": { | ||
"includeDate": false | ||
}, | ||
"cleverLinks": false, | ||
"monospaceLinks": false | ||
}, | ||
"docdash": { | ||
"static": false, | ||
"search": true, | ||
"short": true, | ||
"meta": { | ||
"title": "Weeby-JS", | ||
"description": "The Official JavaScript API Wrapper for Weeby API.", | ||
"keywords": "weeby-api, rest-api, api, wrapper" | ||
}, | ||
"menu": { | ||
"GitHub": { | ||
"href": "https://github.com/ntm-development/weeby-js", | ||
"target": "_blank", | ||
"class": "menu-item", | ||
"id": "github_link" | ||
}, | ||
"NPM": { | ||
"href": "https://www.npmjs.com/package/weeby-js", | ||
"target": "_blank", | ||
"class": "menu-item", | ||
"id": "npm_link" | ||
}, | ||
"Weeby API Website": { | ||
"href": "https://weebyapi.xyz/", | ||
"target": "_blank", | ||
"class": "menu-item", | ||
"id": "weebyapiwebsite_link" | ||
} | ||
}, | ||
"openGraph": { | ||
"title": "Weeby-JS", | ||
"type": "website", | ||
"image": "https://cdn.weebyapi.xyz/img/static/WeebyJSGitHub.png", | ||
"site_name": "weeby-js", | ||
"url": "https://js.weebyapi.xyz/" | ||
} | ||
} | ||
} |
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,6 +1,6 @@ | ||
node_modules | ||
docs | ||
.temp | ||
markdown | ||
CNAME | ||
node_modules | ||
docs | ||
.temp | ||
markdown | ||
CNAME | ||
.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 |
---|---|---|
@@ -1 +1 @@ | ||
js.weebyapi.xyz | ||
js.weebyapi.xyz |
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.