meodp 0.0.9 → 0.2.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.
- package/README.md +230 -21
- package/bin/index.mjs +10 -2
- package/dist/check/cli.cjs +257 -0
- package/dist/check/cli.d.cts +5 -0
- package/dist/check/cli.d.mts +5 -0
- package/dist/check/cli.d.ts +5 -0
- package/dist/check/cli.mjs +249 -0
- package/dist/check/index.cjs +29 -0
- package/dist/check/index.d.cts +44 -0
- package/dist/check/index.d.mts +44 -0
- package/dist/check/index.d.ts +44 -0
- package/dist/check/index.mjs +13 -0
- package/dist/cli/index.cjs +2 -2
- package/dist/cli/index.d.cts +1 -1
- package/dist/cli/index.d.mts +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.mjs +2 -2
- package/dist/cli/main.cjs +272 -0
- package/dist/cli/main.d.cts +4 -0
- package/dist/cli/main.d.mts +4 -0
- package/dist/cli/main.d.ts +4 -0
- package/dist/cli/main.mjs +266 -0
- package/dist/config/index.cjs +7 -0
- package/dist/config/index.d.cts +47 -0
- package/dist/config/index.d.mts +47 -0
- package/dist/config/index.d.ts +47 -0
- package/dist/config/index.mjs +5 -0
- package/dist/notify/cli.cjs +107 -0
- package/dist/notify/cli.d.cts +3 -0
- package/dist/notify/cli.d.mts +3 -0
- package/dist/notify/cli.d.ts +3 -0
- package/dist/notify/cli.mjs +101 -0
- package/dist/notify/email.cjs +38 -0
- package/dist/notify/email.d.cts +29 -0
- package/dist/notify/email.d.mts +29 -0
- package/dist/notify/email.d.ts +29 -0
- package/dist/notify/email.mjs +35 -0
- package/dist/notify/feishu.cjs +162 -0
- package/dist/notify/feishu.d.cts +74 -0
- package/dist/notify/feishu.d.mts +74 -0
- package/dist/notify/feishu.d.ts +74 -0
- package/dist/notify/feishu.mjs +157 -0
- package/dist/notify/index.cjs +64 -0
- package/dist/notify/index.d.cts +27 -0
- package/dist/notify/index.d.mts +27 -0
- package/dist/notify/index.d.ts +27 -0
- package/dist/notify/index.mjs +62 -0
- package/dist/shared/meodp.2b00b0ae.cjs +228 -0
- package/dist/shared/meodp.4f1da070.d.cts +41 -0
- package/dist/shared/meodp.63483e20.cjs +30 -0
- package/dist/shared/meodp.80ff918d.mjs +465 -0
- package/dist/shared/meodp.8369c4c1.d.ts +41 -0
- package/dist/shared/meodp.93e06e00.d.cts +64 -0
- package/dist/shared/meodp.93e06e00.d.mts +64 -0
- package/dist/shared/meodp.93e06e00.d.ts +64 -0
- package/dist/shared/meodp.9c706389.mjs +220 -0
- package/dist/shared/meodp.a704f8db.d.mts +41 -0
- package/dist/shared/meodp.c4c70565.cjs +477 -0
- package/dist/shared/meodp.f96d0510.mjs +24 -0
- package/package.json +104 -31
- package/bin/index.ts +0 -6
package/package.json
CHANGED
|
@@ -1,57 +1,134 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meodp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"description": "Check website and friend-link availability with sitemap discovery, history, and portable reports.",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "YunYouJun",
|
|
8
|
+
"url": "https://www.yunyoujun.cn"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"homepage": "https://yunyoujun.github.io/meodp/",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/YunYouJun/meodp.git",
|
|
15
|
+
"directory": "packages/meodp"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/YunYouJun/meodp/issues"
|
|
19
|
+
},
|
|
7
20
|
"keywords": [
|
|
8
21
|
"meodp",
|
|
9
|
-
"
|
|
22
|
+
"link-checker",
|
|
23
|
+
"broken-links",
|
|
24
|
+
"sitemap",
|
|
25
|
+
"friend-links",
|
|
26
|
+
"cli"
|
|
10
27
|
],
|
|
11
28
|
"exports": {
|
|
12
29
|
".": {
|
|
13
30
|
"types": "./dist/index.d.ts",
|
|
14
31
|
"import": "./dist/index.mjs",
|
|
15
32
|
"require": "./dist/index.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./check": {
|
|
35
|
+
"import": {
|
|
36
|
+
"types": "./dist/check/index.d.mts",
|
|
37
|
+
"default": "./dist/check/index.mjs"
|
|
38
|
+
},
|
|
39
|
+
"require": {
|
|
40
|
+
"types": "./dist/check/index.d.cts",
|
|
41
|
+
"default": "./dist/check/index.cjs"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"./config": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/config/index.d.mts",
|
|
47
|
+
"default": "./dist/config/index.mjs"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/config/index.d.cts",
|
|
51
|
+
"default": "./dist/config/index.cjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"./notify": {
|
|
55
|
+
"import": {
|
|
56
|
+
"types": "./dist/notify/index.d.mts",
|
|
57
|
+
"default": "./dist/notify/index.mjs"
|
|
58
|
+
},
|
|
59
|
+
"require": {
|
|
60
|
+
"types": "./dist/notify/index.d.cts",
|
|
61
|
+
"default": "./dist/notify/index.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"./notify/feishu": {
|
|
65
|
+
"import": {
|
|
66
|
+
"types": "./dist/notify/feishu.d.mts",
|
|
67
|
+
"default": "./dist/notify/feishu.mjs"
|
|
68
|
+
},
|
|
69
|
+
"require": {
|
|
70
|
+
"types": "./dist/notify/feishu.d.cts",
|
|
71
|
+
"default": "./dist/notify/feishu.cjs"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"./notify/email": {
|
|
75
|
+
"import": {
|
|
76
|
+
"types": "./dist/notify/email.d.mts",
|
|
77
|
+
"default": "./dist/notify/email.mjs"
|
|
78
|
+
},
|
|
79
|
+
"require": {
|
|
80
|
+
"types": "./dist/notify/email.d.cts",
|
|
81
|
+
"default": "./dist/notify/email.cjs"
|
|
82
|
+
}
|
|
16
83
|
}
|
|
17
84
|
},
|
|
18
85
|
"main": "./dist/index.mjs",
|
|
19
86
|
"module": "./dist/index.mjs",
|
|
20
87
|
"types": "./dist/index.d.ts",
|
|
21
88
|
"bin": {
|
|
22
|
-
"meodp-ts": "bin/index.ts",
|
|
23
89
|
"meodp": "bin/index.mjs"
|
|
24
90
|
},
|
|
25
91
|
"files": [
|
|
26
|
-
"bin",
|
|
92
|
+
"bin/index.mjs",
|
|
27
93
|
"dist"
|
|
28
94
|
],
|
|
95
|
+
"engines": {
|
|
96
|
+
"node": ">=22.19.0"
|
|
97
|
+
},
|
|
29
98
|
"scripts": {
|
|
30
|
-
"build": "unbuild",
|
|
31
|
-
"dev": "unbuild --stub",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"test": "npm run test:e2e",
|
|
38
|
-
"test:e2e": "pnpm exec playwright test",
|
|
39
|
-
"lint": "eslint .",
|
|
40
|
-
"typecheck": "tsc --noEmit",
|
|
41
|
-
"prepublishOnly": "npm run build",
|
|
42
|
-
"release": "bumpp --no-commit --no-tag --no-push && npm publish",
|
|
43
|
-
"prepare": "simple-git-hooks"
|
|
99
|
+
"build": "tsx scripts/build-report-viewer.ts && unbuild",
|
|
100
|
+
"dev": "tsx scripts/build-report-viewer.ts && unbuild --stub",
|
|
101
|
+
"test": "tsx scripts/build-report-viewer.ts && tsx --test test/*.test.ts",
|
|
102
|
+
"test:e2e": "tsx scripts/build-report-viewer.ts && playwright test",
|
|
103
|
+
"typecheck": "tsx scripts/build-report-viewer.ts && tsc --noEmit -p tsconfig.json",
|
|
104
|
+
"prepack": "npm run build",
|
|
105
|
+
"release": "npm version --no-git-tag-version"
|
|
44
106
|
},
|
|
45
107
|
"peerDependencies": {
|
|
108
|
+
"nodemailer": "^10.0.3",
|
|
46
109
|
"playwright": "^1",
|
|
47
110
|
"typescript": "^5.0.0"
|
|
48
111
|
},
|
|
112
|
+
"peerDependenciesMeta": {
|
|
113
|
+
"nodemailer": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"playwright": {
|
|
117
|
+
"optional": true
|
|
118
|
+
},
|
|
119
|
+
"typescript": {
|
|
120
|
+
"optional": true
|
|
121
|
+
}
|
|
122
|
+
},
|
|
49
123
|
"dependencies": {
|
|
50
124
|
"c12": "^2.0.1",
|
|
51
125
|
"cli-progress": "^3.12.0",
|
|
52
126
|
"consola": "^3.2.3",
|
|
53
127
|
"date-fns": "^4.1.0",
|
|
128
|
+
"fast-xml-parser": "^5.11.1",
|
|
54
129
|
"fs-extra": "^11.2.0",
|
|
130
|
+
"js-yaml": "^4.1.0",
|
|
131
|
+
"linkinator": "^8.1.0",
|
|
55
132
|
"lowdb": "^7.0.1",
|
|
56
133
|
"markdown-table": "^3.0.4",
|
|
57
134
|
"p-queue": "^8.0.1",
|
|
@@ -60,28 +137,24 @@
|
|
|
60
137
|
"yargs": "^17.7.2"
|
|
61
138
|
},
|
|
62
139
|
"devDependencies": {
|
|
63
|
-
"@antfu/eslint-config": "^3.8.0",
|
|
64
140
|
"@playwright/test": "^1.48.2",
|
|
65
141
|
"@types/bun": "latest",
|
|
66
142
|
"@types/cli-progress": "^3.11.6",
|
|
67
143
|
"@types/fs-extra": "^11.0.4",
|
|
144
|
+
"@types/js-yaml": "^4.0.9",
|
|
68
145
|
"@types/node": "^22.9.0",
|
|
146
|
+
"@types/nodemailer": "^8.0.1",
|
|
69
147
|
"@types/yargs": "^17.0.33",
|
|
70
|
-
"@unocss/eslint-plugin": "^0.64.0",
|
|
71
148
|
"cilicili": "^0.1.1",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"lint-staged": "^15.2.10",
|
|
149
|
+
"esbuild": "^0.28.2",
|
|
150
|
+
"nodemailer": "^10.0.3",
|
|
75
151
|
"playwright": "^1.48.2",
|
|
76
|
-
"simple-git-hooks": "^2.11.1",
|
|
77
152
|
"tsx": "^4.19.2",
|
|
78
153
|
"unbuild": "^2.0.0",
|
|
79
154
|
"vite-node": "^2.1.4"
|
|
80
155
|
},
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
"lint-staged": {
|
|
85
|
-
"*": "eslint --fix"
|
|
156
|
+
"publishConfig": {
|
|
157
|
+
"access": "public",
|
|
158
|
+
"registry": "https://registry.npmjs.org/"
|
|
86
159
|
}
|
|
87
160
|
}
|