Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Deprecate Weeby-JS
Browse files Browse the repository at this point in the history
  • Loading branch information
NTMNathan committed Sep 27, 2024
1 parent 09bcdf2 commit c90eda9
Show file tree
Hide file tree
Showing 54 changed files with 7,127 additions and 9,453 deletions.
14 changes: 7 additions & 7 deletions .eslintignore
100644 β†’ 100755
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/
98 changes: 49 additions & 49 deletions .eslintrc.js
100644 β†’ 100755
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 modified .github/FUNDING.yml
100644 β†’ 100755
Empty file.
16 changes: 8 additions & 8 deletions .github/dependabot.yml
100644 β†’ 100755
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
54 changes: 27 additions & 27 deletions .github/workflows/deploy-docs.yml
100644 β†’ 100755
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 modified .github/workflows/node.js.yml
100644 β†’ 100755
Empty file.
36 changes: 18 additions & 18 deletions .github/workflows/npm-publish.yml
100644 β†’ 100755
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 modified .gitignore
100644 β†’ 100755
Empty file.
132 changes: 66 additions & 66 deletions .jsdoc.json
100644 β†’ 100755
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/"
}
}
}
10 changes: 5 additions & 5 deletions .npmignore
100644 β†’ 100755
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
2 changes: 1 addition & 1 deletion CNAME
100644 β†’ 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
js.weebyapi.xyz
js.weebyapi.xyz
Empty file modified LICENSE
100644 β†’ 100755
Empty file.
3 changes: 3 additions & 0 deletions README.md
100644 β†’ 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# ⚠️ Deprecated ⚠️
This repository is no longer maintained and has been archived. It will not receive any further updates, including security patches. For those still using it, the website will remain online for an undetermined amount of time but it can go offline at anytime. It is recommended to switch to another library as soon as possible.

<div align="center">
<br />
<p>
Expand Down
Empty file modified assets/effects/general.json
100644 β†’ 100755
Empty file.
Empty file modified assets/effects/intensity.json
100644 β†’ 100755
Empty file.
Empty file modified assets/effects/level.json
100644 β†’ 100755
Empty file.
Empty file modified assets/generators/oneImage.json
100644 β†’ 100755
Empty file.
Empty file modified assets/generators/text.json
100644 β†’ 100755
Empty file.
Empty file modified assets/generators/textImage.json
100644 β†’ 100755
Empty file.
Empty file modified assets/generators/twoImages.json
100644 β†’ 100755
Empty file.
Empty file modified assets/generators/twoText.json
100644 β†’ 100755
Empty file.
Empty file modified assets/gif.json
100644 β†’ 100755
Empty file.
Loading

0 comments on commit c90eda9

Please sign in to comment.