Tony
857d5989c1
feat(utils/puppeteer): replace `puppeteer-extra-plugin-stealth` with `rebrowser` ( #19506 )
...
* feat: use rebrowser
* fix: remove rebrowser-puppeteer-core
* fix: chrome not found
* fix: replace remove-infobar with disable-blink-features
remove-infobar was removed since M76 https://github.com/puppeteer/puppeteer/issues/1765
* feat: remove outdated stealth plugin
* fix: remove puppeteer non stealth test
2025-07-01 04:38:05 +08:00
Tony
3227914750
chore: fix puppeteer not found in chromium-downloader stage
2025-06-03 22:47:01 +08:00
Tony
2e54e36028
chore(deps): bump to pnpm v10
2025-06-03 20:50:39 +08:00
Tony
c89c875548
chore: fix docker build
...
fix #18999
2025-05-03 22:29:44 +08:00
Tony
dd96d12ebb
revert: "chore: minify docker ( #18914 )" ( #18931 )
...
This reverts commit e9013a2313 .
2025-04-24 02:18:02 +08:00
Tony
e9013a2313
chore: minify docker ( #18914 )
...
* chore: minify docker
* chore: bring back minify script
2025-04-23 02:42:25 +08:00
Tony
32699f1cc2
chore: pin to pnpm v9 in chromium-downloader stage
...
v10 does not run lifecycle scripts by default
2025-02-04 23:59:39 +08:00
Tony
4d4b3ea15f
chore: bump pnpm to 9.15.5
2025-02-03 14:02:26 +08:00
Tony
3396568734
chore: bump pnpm to 9.15.5
2025-02-03 13:59:58 +08:00
Tony
f163b4e602
build(docker): use corepack before setting registry ( #17004 )
2024-10-05 05:03:03 +08:00
Nya Candy
df5cad0db9
chore: add missing curl to docker image ( #16537 )
2024-08-26 20:34:32 +08:00
Tony
4e54a006db
chore(dockerfile): update key value format
...
refs: https://docs.docker.com/reference/build-checks/legacy-key-value-format/
2024-08-08 04:46:07 +08:00
Tony
709dc9a6e2
chore: docker bump base image ( #15829 )
...
* chore: docker bump base image
* chore: bump pnpm
2024-06-06 15:53:09 +08:00
Tony
9b09c12d9b
chore: use pnpm provided by corepack
2024-05-08 00:55:53 +08:00
Henry Wang
2ccd6446af
chore: bump pnpm lockfile ( #15501 )
...
* chore: bump pnpm lockfile
* chore: update Dockerfile pnpm version
* chore: add packageManager version
* chore: bump CI pnpm version
* Revert "chore: update Dockerfile pnpm version"
This reverts commit 6178d92e39b0166e3272e1598101f9c6abc49b24.
* fix: revert Dockerfile auto-format
---------
2024-05-08 00:53:52 +08:00
Rongrong
c5c080ba37
build(Dockerfile): set CHROMIUM_EXECUTABLE_PATH to absolute path ( #15322 )
...
* build(Dockerfile): set CHROMIUM_EXECUTABLE_PATH to absolute path
Signed-off-by: Rongrong <i@rong.moe>
* ci(test): set CHROMIUM_EXECUTABLE_PATH to absolute path
Signed-off-by: Rongrong <i@rong.moe>
---------
Signed-off-by: Rongrong <i@rong.moe>
2024-04-22 21:15:31 +08:00
Tony
9739188a3c
chore: pin pnpm to v8 in docker instead of installing v9 via corepack
2024-04-17 00:18:56 +08:00
DIYgod
b774c60858
test: add full routes test ( #14934 )
...
* test: add critical routes test
* fix: youtube channels config
* test: add full routes test
* test: output full routes test result
* test: build routes before test
* test: use one reporter
* test: fix cache test errors
* test: fix cache test errors
* chore: puppeteerrc.cjs
* chore: puppeteerrc.cjs
* chore: puppeteerrc.cjs
* fix: build script
* chore: puppeteerrc rename
* test: route test names
* chore: pass test result to docs
2024-03-24 19:00:03 +08:00
DIYgod
61bd55ac33
chore: fix missing git in docker
2024-03-14 20:52:52 +08:00
DIYgod
26072a79ce
chore: remove unused code
2024-03-09 01:41:06 +08:00
DIYgod
fe320c1153
feat: lazy load for production
2024-03-09 01:31:42 +08:00
DIYgod
4300d6d1f6
chore: temporarily remove docker minifier
2024-02-26 15:47:18 +08:00
Tony
78d9027c2f
chore: bump to node 20 ( #13801 )
2023-11-15 21:33:21 +08:00
TonyRL
c98cbf8ce9
chore: try fix arm64 build
2023-08-14 14:30:28 +00:00
Tony
ac90895a9f
build: fix vercel build ( #13006 )
2023-08-12 15:54:49 +08:00
Tony
79eae1eb45
refactor: replace re2 with re2-wasm ( #12998 )
...
* refactor: replace re2 with re2-wasm
* refactor: remove migrated routes
* ci: remove foresight
https://github.com/runforesight
Foresight is no longer in service
* fix: add back removed wasm
chore: bump base OS image
2023-08-12 00:34:28 +08:00
TonyRL
9b31d57095
chore: fix install from git with production flag
...
reference:
https://github.com/typicode/husky/issues/914#issuecomment-1046274220
https://github.com/typicode/husky/issues/920#issuecomment-1202503697
fix: bc162849da (commitcomment-117186018)
fix : #12686
2023-06-21 12:17:59 +00:00
Tony
6477e64101
chore: disable husky in CI with a custom script
2023-05-08 14:17:09 +08:00
TonyRL
b11eee16c1
chore: disable husky in CI with a custom script
2023-05-08 03:38:14 +00:00
Tony
a0ea328013
build: fix pnpm pptr postinstall ( #12450 )
...
* chore: fix chrome not found in jest
* chore: explicitly require deps for stealth plugin
2023-05-05 23:58:29 +08:00
Tony
1de1e9ae56
build: use pnpm ( #12438 )
...
* build: use pnpm
* fix: use corepack pnpm
* chore: use pnpm in gha
* chore: add setup pnpm
* fix: install command
* fix: pnpm lock file not updated
* chore: pnpm no recursive install
* docs: use pnpm
* fix: ignore yarn lock
* chore: update command for cloud dev env
2023-05-05 20:09:54 +08:00
dependabot[bot]
fd05cd7585
chore(deps): bump puppeteer from 19.11.1 to 20.0.0 ( #12424 )
...
* chore(deps): bump puppeteer from 19.11.1 to 20.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 19.11.1 to 20.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.11.1...puppeteer-v20.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: use `PUPPETEER_SKIP_DOWNLOAD`
ref: https://github.com/puppeteer/puppeteer/pull/10054
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 03:57:04 +08:00
DIYgod
3d6d8eb107
chore: use node 18
2023-03-19 21:49:18 +00:00
Tony
98a03732ca
build(docker): put bundled chrome in node_modules ( #12075 )
2023-03-10 22:56:34 +08:00
dependabot[bot]
f095eafce7
chore(deps): bump puppeteer from 18.2.1 to 19.0.0 ( #11094 )
...
* chore(deps): bump puppeteer from 18.2.1 to 19.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v18.2.1...puppeteer-core-v19.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* build: fix chromium binary location again
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-15 20:13:13 +08:00
Tony
4f4be1fff7
build(docker): fix chromium favour ( #11027 )
2022-10-08 22:51:41 +08:00
Tony
8486e9dd2c
fix(route): zhihu x-zse-96 v3 ( #11022 )
...
* fix(route): zhihu x-zse-96 v3
* revert: "chore: fix docker build (#10956 )"
This reverts commit 5af05ea618 .
* revert: "fix(dockerfile): add missing librsvg2 for arm64/v7 (#11021 )"
This reverts commit f340a9072e .
* chore: yarn rebuild
* fix: typo
* refactor: simpler got request
* fix: misc fixes
2022-10-08 03:11:58 +08:00
Felix Hsu
f340a9072e
fix(dockerfile): add missing librsvg2 for arm64/v7 ( #11021 )
2022-10-07 10:33:55 +00:00
Tony
5af05ea618
chore: fix docker build ( #10956 )
2022-09-29 21:13:37 +08:00
Rongrong
17fa8f5f67
perf(Dockerfile): speed up build ( #10621 )
...
Signed-off-by: Rongrong <i@rong.moe>
Signed-off-by: Rongrong <i@rong.moe>
2022-08-26 17:42:02 +08:00
DIYgod
8cf4fe41f2
fix: re2 docker build error
2022-06-21 17:19:48 +01:00
Rongrong
7a6be9a229
feat(core): customizable Chromium executable path ( #9670 )
...
* feat(core): customizable Chromium executable path
also build Chromium-bundled Docker image for arm/arm64
Signed-off-by: Rongrong <i@rong.moe>
* chore: fix typo
Signed-off-by: Rongrong <i@rong.moe>
* chore(CI/test): using build matrix
Signed-off-by: Rongrong <i@rong.moe>
* docs(install): fix punctuation
Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
Rongrong
d8c00ec238
build(docker): optimize; add Chromium bundled ver ( #9626 )
...
* build(docker): optimize; add Chromium bundled ver
Signed-off-by: Rongrong <i@rong.moe>
* build(Dockerfile): fix redundant command and label
Signed-off-by: Rongrong <i@rong.moe>
* build(docker): only install prod deps to speed up
Signed-off-by: Rongrong <i@rong.moe>
* docs(install): minor fixes
Signed-off-by: Rongrong <i@rong.moe>
* build(Dockerfile): bump to `node:16-bullseye-slim`
Signed-off-by: Rongrong <i@rong.moe>
* build(Dockerfile): fix yarn registry mirror
Signed-off-by: Rongrong <i@rong.moe>
* build(Dockerfile): minimize dependencies
for Chromium-bundled version
Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
韶楠
6cfa103aba
feat(route): 色花堂添加版块 ( #8696 )
...
* add_zhtlq
* docs修改
* bugfix
* fix: remove unnecessary changes
Co-authored-by: hideonbushhh <1113093259@qq.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 22:48:45 +08:00
NPM Mirror Bot
1823093a9b
fix: update https://registry.npm.taobao.org to https://registry.npmmirror.com ( #9078 )
...
Co-authored-by: NPM Mirror Bot <npmmirror@localhost>
2022-02-11 19:21:30 -04:00
Tony
3adbc8adcd
chore: docker build cache ( #8967 )
2022-01-31 23:53:58 +08:00
DIYgod
2d9cf45fad
chore: fix yarn timeout in gitub actions
2022-01-22 14:51:42 +00:00
RikkaBlue
b36b326742
fix(build):change npm ci to yarn ( #8716 )
2022-01-08 00:44:12 -08:00
NeverBehave
c0b638c860
fix(dockerfile): copy necessary file when building ( #8008 )
...
* fix(dockerfile): copy necessary file when building
*when even bother deleting file...
* no console
2021-08-13 03:44:39 -07:00
NeverBehave
196d874cce
chore(dockerfile): bump builder image
2021-08-12 23:10:12 -07:00