Skip to content

Commit

Permalink
feat: NovelUpdates + type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eltik committed Oct 17, 2023
1 parent ccf729c commit a717131
Show file tree
Hide file tree
Showing 88 changed files with 847 additions and 274 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ body:
"This happened instead..."
validations:
required: true

- type: textarea
id: additional-context
attributes:
Expand All @@ -54,4 +54,4 @@ body:
Add any other context about the problem here.
placeholder: |
Example:
"Also ..."
"Also ..."
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ contact_links:
- name: 🍔 Providers list
url: https://consumet.org/extensions/list/
about: A list of the available providers

- name: 🌐 Rest-API reference
url: https://docs.consumet.org
about: A reference of the Consumet Rest-API documentation
about: A reference of the Consumet Rest-API documentation
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/provider-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body:
Example: "English"
validations:
required: true

- type: dropdown
id: source-type
attributes:
Expand All @@ -51,4 +51,4 @@ body:
description: |
Please provide any additional information that may be helpful to the provider.
placeholder: |
Example: "Anime is also supported by this Movie/TV source."
Example: "Anime is also supported by this Movie/TV source."
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ updates:
interval: daily
open-pull-requests-limit: 3
allow:
- dependency-type: 'production'
- dependency-type: "production"
ignore:
- dependency-name: "axios"
versions: ["1.x"]
- package-ecosystem: github-actions
directory: '/'
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 2
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ markComment: >
# Only mark issues.
only: issues
# Label to use when marking an issue as stale
staleLabel: wontfix
staleLabel: wontfix
61 changes: 30 additions & 31 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ name: "CodeQL"

on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
branches: ["master"]
schedule:
- cron: '40 21 * * 4'
- cron: "40 21 * * 4"

jobs:
analyze:
Expand All @@ -32,41 +32,40 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'typeScript' ]
language: ["typeScript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
7 changes: 3 additions & 4 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ name: Node.js CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ "14.x" ]
node-version: ["14.x"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js Package

on:
release:
types: [ created ]
types: [created]
workflow_dispatch:
branches: [ master ]
branches: [master]

jobs:
build:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/push-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
git config --global credential.helper store
echo "https://${{ secrets.USERNAME }}:${{ secrets.TOKEN }}@github.com" > ~/.git-credentials
shell: bash
- name: Check Diff

- name: Check Diff
id: check_diff
run: |
git diff --exit-code
Expand All @@ -37,11 +37,10 @@ jobs:
echo "push_changes=true" >> $GITHUB_OUTPUT
fi
shell: bash

- name: Push Changes
if: steps.check_diff.outputs.push_changes == 'true'
run: |
git add .
git commit -am "Compile TS"
git push
git add .
git commit -am "Compile TS"
git push
2 changes: 1 addition & 1 deletion .github/workflows/remove-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Remove Version'
description: "Remove Version"
required: true

jobs:
Expand Down
13 changes: 12 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
node_modules
*.js
*.d.ts
*.md
*.json
*.json
*.lock
*.yml
*.yaml
Dockerfile
Dockerfile.*
.eslintrc
*.html
/examples
/docs
jest.config.ts
2 changes: 1 addition & 1 deletion dist/extractors/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ import VidCloud from './vidcloud';
import VidMoly from './vidmoly';
import VizCloud from './vizcloud';
import Voe from './voe';
export { AsianLoad, BilibiliExtractor, Filemoon, GogoCDN, Kwik, MixDrop, Mp4Player, Mp4Upload, RapidCloud, SmashyStream, StreamHub, StreamLare, StreamSB, StreamTape, StreamWish, VidCloud, VidMoly, VizCloud, Voe };
export { AsianLoad, BilibiliExtractor, Filemoon, GogoCDN, Kwik, MixDrop, Mp4Player, Mp4Upload, RapidCloud, SmashyStream, StreamHub, StreamLare, StreamSB, StreamTape, StreamWish, VidCloud, VidMoly, VizCloud, Voe, };
2 changes: 1 addition & 1 deletion dist/extractors/mp4upload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extractors/mp4upload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extractors/smashystream.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/extractors/vidcloud.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/extractors/vizcloud.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extractors/vizcloud.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion dist/providers/anime/animesaturn.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a717131

Please sign in to comment.