Commit Graph
46 Commits
Author SHA1 Message Date
DIYgod 2dce2e32dd feat: docs sorting and auto popular 2025-05-31 17:10:01 +08:00
DIYgod 5b84d70d27 fix: smzdm 2025-05-29 17:19:00 +08:00
DIYgod 44aba27033 fix: smzdm 2025-05-29 12:51:04 +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
pseudoyu eed7d3b255 fix(route/smzdm): remove yearly hot and change options 2024-12-17 21:48:44 +08:00
pseudoyu 6a06261c9a fix(route/smzdm): update handler to use ofetch and improve data structure 2024-12-17 21:18:24 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
Tony 8d76a0055d style(eslint): update no-restricted-syntax (#17215) 2024-10-20 20:41:31 -07:00
Tony bff24c8123 fix: ofetch import 2024-09-23 23:06:04 +08:00
chesha1andTony 9e033f05f7 feat: route of smzdm product (#16516)
* feat: route of smzdm product

* fix: type

* fix: type

* Update lib/routes/smzdm/product.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* refactor: replace .each() with .map()

* feat: cache
2024-08-23 08:57:15 -07:00
DIYgod f3315cdad4 feat: update popular category 2024-07-23 20:28:08 +08:00
lyqluis fb17ebaa39 fix(route): /smzdm/article/:uid (#14975) 2024-03-26 12:09:02 +08:00
Tony d585a87daf fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +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
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 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
Raven-tu 0491102520 fix(route): smzdm ranking error (#11114)
* fix: smzdm ranking error

* refactor: migrate to v2

* docs: fix path
2022-10-22 04:37:33 +08:00
Daniel Li (李丹阳)andSukka d77a039f05 style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +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
Queensferry 65e74a1c5e chore(utils): parse-date supports relative time & fix routes (#7530) 2021-05-14 23:08:33 -04:00
神楽坂みずき c06864c427 fix(route): migrate smzdm to new time parser, re #6795 (#7515) 2021-05-12 00:36:27 -04:00
DIYgod c50145d2bd fix: smzdm ranking pubDate 2020-09-25 12:52:11 +08:00
Ethan Shen 70d2d6332b feat: add 什么值得买用户爆料 (#5155) 2020-07-09 10:53:56 +08:00
xfangbao 019cf12740 feat: 快媒体 生物帮 什么值得买用户文章 唧唧堂 新闻联播文字版 (#4756) 2020-05-20 19:40:15 +08:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
DIYgod 669448d746 fix: smzdm haowen content, close #4140 2020-03-03 00:31:26 +08:00
DIYgod 04004bb76d fix: allow empty for smzdm ranking, close #3330 2019-10-31 15:29:27 +08:00
DIYgod 9a3bea3525 feat: remove referrerpolicy in routes 2019-08-28 14:38:19 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
Chenyang Shi 9d5235fcc7 feat: add 什么值得买好文分类 (#2202) 2019-05-22 11:50:51 +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
Chenyang Shi fca5bc50fc add 什么值得买好文 (#1792)
* add 什么值得买好文

* update

* fix
2019-03-22 17:46:38 +08:00
Chenyang Shi 6b0eba41f4 fix 什么值得买 (#1771)
在商品比较少的时候,一些列表是空,不应该加进去,否则会出现一些item是undefined
![image](https://user-images.githubusercontent.com/20673460/54503780-b8119880-496b-11e9-82c1-3e69a4ce01ac.png)
2019-03-18 15:14:50 +08:00
Chenyang Shi 6434934a7b fix 什么值得买排行榜为空报错 (#1758)
close #1706
2019-03-15 14:28:49 +08:00
DIYgod d00c4dc263 test: utils/date 2019-01-22 18:01:23 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00