Skip to content

Commit

Permalink
Merge pull request #59 from Araxeus/vendorfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Araxeus committed Apr 1, 2023
2 parents 37f5f11 + b8a9710 commit ea980b9
Show file tree
Hide file tree
Showing 13 changed files with 518 additions and 48 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Check

on:
- push
- pull_request
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]

jobs:
Check:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dependency Updater

on:
schedule:
# every day at 07:33
- cron: '33 7 * * *'
workflow_dispatch: null # allow manual trigger

jobs:
update-vendors:
runs-on: ubuntu-latest
steps:
- name: Yarn PnP Setup
uses: Araxeus/setup-yarn-pnp-action@v1

- name: Run vendor update
uses: Araxeus/vendorfiles-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
package-manager: yarn
27 changes: 25 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"yarn": ">3"
},
"scripts": {
"check": "yarn copy_to_dist && ((yarn check_no_copy) || (del-cli dist && exit 1)) && del-cli dist",
"check_no_copy": "eslint . && rome ci . && web-ext lint -w --ignore-files \"./popup/vendors/*\"",
"check": "yarn copy_to_dist && yarn check_no_copy && del-cli dist",
"check_no_copy": "(eslint . && rome ci . && web-ext lint -w --ignore-files \"./popup/vendors/*\") || (del-cli dist && exit 1)",
"format": "eslint . --fix && rome format . --write",
"sas": "sass --update unpacked/popup",
"release": "release-it",
Expand Down Expand Up @@ -46,9 +46,32 @@
"release-it": "^15.10.0",
"rome": "^12.0.0",
"sass": "^1.60.0",
"vendorfiles": "^1.0.0-beta.6",
"web-ext": "^7.6.0",
"x-var": "^0.0.1"
},
"vendorConfig": {
"vendorFolder": "./unpacked/popup/vendors"
},
"vendorDependencies": {
"cooltipz": {
"version": "v2.2.1",
"repository": "https://github.com/jackdomleo7/Cooltipz.css",
"files": [
"cooltipz.min.css",
"LICENSE"
]
},
"coloris": {
"version": "v0.18.0",
"repository": "https://github.com/mdbassit/Coloris",
"files": [
"dist/coloris.min.js",
"dist/coloris.min.css",
"LICENSE"
]
}
},
"webExt": {
"sourceDir": "dist",
"ignoreFiles": [
Expand Down
10 changes: 0 additions & 10 deletions unpacked/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
"run_at": "document_end"
}
],
"background": {
"scripts": [
"background-script.js"
]
},
"web_accessible_resources": [
{
"resources": [
Expand All @@ -38,11 +33,6 @@
]
}
],
"browser_specific_settings": {
"gecko": {
"id": "youtube-volume-scroll@github.com"
}
},
"icons": {
"16": "icons/icon16x16.png",
"32": "icons/icon32x32.png",
Expand Down
2 changes: 1 addition & 1 deletion unpacked/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const defaultConfig = {
steps: 1,
hud: hudTypes.native,
hudSize: '50px',
hudColor: '#eee',
hudColor: '#eeeeee',
hudPositionMode: false,
activationModifier: activationModifiers.none,
hudPosition: {
Expand Down
2 changes: 1 addition & 1 deletion unpacked/popup/vendors/coloris/coloris.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion unpacked/popup/vendors/coloris/coloris.min.js

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions unpacked/popup/vendors/coloris/source.json

This file was deleted.

11 changes: 11 additions & 0 deletions unpacked/popup/vendors/coloris/vendor-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"coloris": {
"version": "v0.18.0",
"repository": "https://github.com/mdbassit/Coloris",
"files": {
"dist/coloris.min.js": "coloris.min.js",
"dist/coloris.min.css": "coloris.min.css",
"LICENSE": "LICENSE"
}
}
}
2 changes: 1 addition & 1 deletion unpacked/popup/vendors/cooltipz/cooltipz.min.css

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions unpacked/popup/vendors/cooltipz/source.json

This file was deleted.

10 changes: 10 additions & 0 deletions unpacked/popup/vendors/cooltipz/vendor-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"cooltipz": {
"version": "v2.2.1",
"repository": "https://github.com/jackdomleo7/Cooltipz.css",
"files": {
"cooltipz.min.css": "cooltipz.min.css",
"LICENSE": "LICENSE"
}
}
}
Loading

0 comments on commit ea980b9

Please sign in to comment.