Commit Graph
40 Commits
Author SHA1 Message Date
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

* fix: unicorn/no-array-callback-reference

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
DIYgod 83e701b592 feat: compile ts through tsdown (#18908)
* feat: build ts via tsdown

* feat: exec tsdown

* fix

* fix

* fix

* feat: use tsdown shims

* chore: run rolldown lifecycle script

* fix: use shims

---------
2025-04-22 22:29:11 +08:00
Neko AriaandNekoAria bf535cf5d2 fix(route/zaobao): handle JSON parsing with control characters (#18480)
* fix(route/zaobao): handle JSON parsing with control characters

* fix(route/zaobao): handle JSON parsing with control characters

---------

Co-authored-by: NekoAria <NekoAria@users.noreply.github.com>
2025-03-01 03:34:47 +08:00
Zihao Diao 34c3ab832f fix(zaobao): remove google ads buttons (#18407)
Signed-off-by: Zihao Diao <hi@ericdiao.com>
2025-02-20 11:53:07 +08:00
Tony 4fa33716c1 docs: remove indent (#18247)
* docs: remove indent

* docs: remove more indent

* docs: remove h5 indent

* docs: remove h4 indent

* docs: remove details indent
2025-01-31 22:17:58 +08:00
Tony 04a3e88448 docs: fix admonitions syntax (#18018) 2025-01-01 15:52:40 +08:00
Andvari 9371b89779 fix(route/zaobao): Adapt to new SG layout (#17902)
* fix(route/zaobao): Replace `got` while fetching article list

* .

* Update util.ts

* Update util.ts
2024-12-17 09:40:34 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
Neko Aria 983bc8f360 fix(route/zaobao): update list parsing logic (#17152) 2024-10-17 00:18:10 +08:00
Goren G ae86fb8c75 fix(router): zaobao empty router (#16738) 2024-09-13 21:02:08 +08:00
Andvari ffff5456e3 fix(route/zaobao): Replace selector (#15880)
* fix(route/zaobao): Replace selector.

* Revert "fix(route/zaobao): Replace selector."

This reverts commit 2ec2b6c3ef801d12117abbfa425b62bd1dbf1919.

* .

* .
2024-06-12 22:24:54 +08:00
Tony 41e8bcded8 fix(route): zaobao (#15685) 2024-05-24 13:14:23 +08:00
Tony 0893debb07 style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b fix: add routes 2024-03-09 03:24:53 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod a10bafb263 fix: __dirname 2024-03-04 00:46:26 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Shun Zi 573c38933b fix(route): zaobao from hk again, refactor zaobao to v2 standard (#8342)
* fix: zaobao from hk (again)

* docs: remove zaobao 早报现在

* feat: adapt route 联合早报 to v2 standard

* feat: zaobao: use art template
2022-02-02 03:20:39 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Shun Zi 9c61ac1f98 fix: zaobao.com from hk (#6129) 2020-11-14 19:40:25 +00:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
aar0u c5fc8f1a51 feat: zaobao - add pictures for news; remove subscription text (#3538) 2019-12-08 02:44:55 +08:00
Wade Ying 2cbbac7424 fix: 修复联合早报抓取 (#3462) 2019-11-21 17:56:57 +08:00
Artin 07bf6054a0 feat: 联合早报按规则订阅 (#3366) 2019-10-31 18:52:01 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod 163a589e20 Merge branch 'master' into feature/got 2019-06-03 17:06:48 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod a0333fbd7e feat: use contentExpire 2019-05-09 01:23:29 +08:00
fengkx 78f3972e56 adjust routers 2019-02-28 21:52:19 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00