@morehao/dsh-github-trending 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,46 @@
1
+ import {
2
+ channel_exports,
3
+ config_exports,
4
+ core_exports,
5
+ credentials_exports,
6
+ errors_exports,
7
+ handshake_exports,
8
+ import_cli_exports,
9
+ ipc_exports,
10
+ locate_exports,
11
+ paths_exports,
12
+ preflight_exports,
13
+ proxy_exports,
14
+ quickfill_exports,
15
+ routes_exports,
16
+ run_exports,
17
+ runner_exports,
18
+ schedule_exports,
19
+ state_exports,
20
+ tools_exports
21
+ } from "./chunk-CWB5L7RW.js";
22
+ import {
23
+ exec_exports
24
+ } from "./chunk-XLIFTAVL.js";
25
+ export {
26
+ channel_exports as channel,
27
+ config_exports as config,
28
+ core_exports as core,
29
+ credentials_exports as credentials,
30
+ errors_exports as errors,
31
+ exec_exports as exec,
32
+ handshake_exports as handshake,
33
+ import_cli_exports as importCli,
34
+ ipc_exports as ipc,
35
+ locate_exports as locate,
36
+ paths_exports as paths,
37
+ preflight_exports as preflight,
38
+ proxy_exports as proxy,
39
+ quickfill_exports as quickfill,
40
+ routes_exports as routes,
41
+ run_exports as run,
42
+ runner_exports as runner,
43
+ schedule_exports as schedule,
44
+ state_exports as state,
45
+ tools_exports as tools
46
+ };
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "GitHub Trending Digest",
4
+ "description": "Fetch GitHub Trending on a daily schedule, summarize it in Chinese, commit into your own repo and auto-merge the PR. All content is produced by the local trendradar core."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "GitHub 趋势日报",
4
+ "description": "每天定时把 GitHub Trending 抓取、生成中文简介与总结,提交到你自己的仓库并自动合并 PR;内容全部由本地 trendradar 核心产出。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,107 @@
1
1
  {
2
2
  "name": "@morehao/dsh-github-trending",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "GitHub 趋势日报插件:每天定时 spawn 本地 trendradar 核心,抓取 Trending、生成中文简介与总结,提交到你的仓库并自动合并 PR。",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./client": "./client.js",
14
+ "./cordis.patch.yml": "./cordis.patch.yml",
15
+ "./locale/*.json": "./locale/*.json",
16
+ "./icon": "./icon.svg",
17
+ "./contract/*": "./contract/*",
18
+ "./package.json": "./package.json"
19
+ },
20
+ "files": [
21
+ "lib",
22
+ "client.js",
23
+ "contract",
24
+ "locale",
25
+ "cordis.patch.yml",
26
+ "icon.svg",
27
+ "README.md",
28
+ "CHANGELOG.md",
29
+ "LICENSE"
30
+ ],
31
+ "icon": "icon.svg",
32
+ "keywords": [
33
+ "dsh",
34
+ "dsh-plugin",
35
+ "deepseek-harness",
36
+ "github",
37
+ "trending",
38
+ "daily-digest",
39
+ "chinese",
40
+ "trendradar"
41
+ ],
42
+ "engines": {
43
+ "node": ">=22.20",
44
+ "dsh": ">=0.2.1-rc.3 <0.3.0-0"
45
+ },
46
+ "optionalDependencies": {
47
+ "@morehao/trendradar-core-darwin-arm64": "0.1.0",
48
+ "@morehao/trendradar-core-darwin-x64": "0.1.0",
49
+ "@morehao/trendradar-core-linux-arm64": "0.1.0",
50
+ "@morehao/trendradar-core-linux-x64": "0.1.0",
51
+ "@morehao/trendradar-core-win32-arm64": "0.1.0",
52
+ "@morehao/trendradar-core-win32-x64": "0.1.0"
53
+ },
54
+ "peerDependencies": {
55
+ "@deepseek-ai/dsh-tools": ">=0.2.1-rc.3 <0.3.0-0"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "@deepseek-ai/dsh-tools": {
59
+ "optional": true
60
+ }
61
+ },
62
+ "dsh": {
63
+ "bundle": {
64
+ "patch": "./cordis.patch.yml"
65
+ },
66
+ "client": {
67
+ "platform": "web",
68
+ "immediately": true,
69
+ "inject": [
70
+ "@deepseek-ai/dsh-client-ui-slots",
71
+ "@deepseek-ai/dsh-client-locale"
72
+ ]
73
+ }
74
+ },
75
+ "scripts": {
76
+ "build": "tsup && node scripts/build-client.mjs",
77
+ "build:host": "tsup",
78
+ "build:client": "node scripts/build-client.mjs",
79
+ "dev:client": "node scripts/build-client.mjs --watch",
80
+ "typecheck": "tsc --noEmit",
81
+ "gen:ipc": "node scripts/gen-ipc-types.mjs",
82
+ "check:contract": "node scripts/sync-contract.mjs --check && node scripts/gen-ipc-types.mjs --check",
83
+ "test": "node --test \"test/*.test.mjs\"",
84
+ "pretest": "npm run build",
85
+ "check": "npm run typecheck && npm run check:contract && npm run build && npm test",
86
+ "prepublishOnly": "npm run check"
87
+ },
88
+ "devDependencies": {
89
+ "@types/node": "^22.0.0",
90
+ "@types/react": "^18.3.31",
91
+ "esbuild": "^0.28.0",
92
+ "tsup": "^8.0.0",
93
+ "typescript": "^5.9.0"
94
+ },
95
+ "license": "MIT",
96
+ "author": "morehao <morehao@qq.com>",
97
+ "repository": {
98
+ "type": "git",
99
+ "url": "git+https://github.com/morehao/dsh-github-trending.git"
100
+ },
101
+ "bugs": "https://github.com/morehao/dsh-github-trending/issues",
102
+ "homepage": "https://github.com/morehao/dsh-github-trending",
103
+ "publishConfig": {
104
+ "access": "public",
105
+ "registry": "https://registry.npmjs.org"
106
+ }
107
+ }