Skip to content

Commit

Permalink
feat: add output channel
Browse files Browse the repository at this point in the history
  • Loading branch information
seia-soto committed Apr 15, 2024
1 parent 364e979 commit 47bc24c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
- name: Build
run: |
pnpm install
pnpm -r build --minify
find ./ -name "*.user.js" -type f -exec cp {} ./pages \;
pnpm -r bundle --minify
pnpm -r compile --minify
find ./ -name "*.js" -type f -exec cp {} ./pages \;
find ./ -name "*.filters.txt" -type f -exec cp {} ./pages \;
find ./ -name "*.hosts.txt" -type f -exec cp {} ./pages \;
- name: Tree
Expand Down
7 changes: 3 additions & 4 deletions sources/asdefuser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"description": "AdShield Defuser provides mitigation for AdShield trackers and advertisement services.",
"type": "module",
"scripts": {
"build": "pnpm bundle",
"shortwave:cache": "OUTPUT=$(readlink -f ./src/__generated__/shortwave.cache.ts) node scripts/generateShortwaveCache.mjs",
"ztinywave:cache": "OUTPUT=$(readlink -f ./src/__generated__/ztinywave.cache.ts) node scripts/generateTinywaveCache.mjs",
"bundle": "esbuild src/index.ts --bundle --define:global=window --inject:./esbuild.inject.ts --banner:js=\"$(cat ./banner.txt)\" --target=es2018,chrome68,safari13,firefox88 --outfile=./out/asdefuser.user.js"
"build": "esbuild src/index.ts --bundle --define:global=window --inject:./esbuild.inject.ts --target=es2018,chrome68,safari13,firefox88",
"bundle": "pnpm build --outfile=./out/asdefuser.js",
"compile": "pnpm build --banner:js=\"$(cat ./banner.txt)\" --outfile=./out/asdefuser.user.js"
},
"keywords": [],
"author": "HoJeong Go <seia@outlook.kr>",
Expand Down
5 changes: 3 additions & 2 deletions sources/dudefuser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"description": "",
"type": "module",
"scripts": {
"build": "pnpm bundle",
"bundle": "esbuild src/index.ts --bundle --define:global=window --banner:js=\"$(cat ./banner.txt)\" --target=es2018,chrome68,safari13,firefox88 --outfile=./out/dudefuser.user.js"
"build": "esbuild src/index.ts --bundle --define:global=window --target=es2018,chrome68,safari13,firefox88",
"bundle": "pnpm build --outfile=./out/dudefuser.js",
"compile": "pnpm build --banner:js=\"$(cat ./banner.txt)\" --outfile=./out/dudefuser.user.js"
},
"keywords": [],
"author": "HoJeong Go <seia@outlook.kr>",
Expand Down
5 changes: 3 additions & 2 deletions sources/ubyoutube/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"description": "",
"type": "module",
"scripts": {
"build": "pnpm bundle",
"bundle": "esbuild src/index.ts --bundle --define:global=window --banner:js=\"$(cat ./banner.txt)\" --target=es2018,chrome68,safari13,firefox88 --outfile=./out/ubyoutube.user.js"
"build": "esbuild src/index.ts --bundle --define:global=window --target=es2018,chrome68,safari13,firefox88",
"bundle": "pnpm build --outfile=./out/ubyoutube.js",
"compile": "pnpm build --banner:js=\"$(cat ./banner.txt)\" --outfile=./out/ubyoutube.user.js"
},
"keywords": [],
"author": "HoJeong Go <seia@outlook.kr>",
Expand Down

0 comments on commit 47bc24c

Please sign in to comment.