meodp 0.0.9 → 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.
- package/README.md +204 -22
- package/bin/index.mjs +10 -2
- package/dist/check/cli.cjs +166 -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 +158 -0
- package/dist/check/index.cjs +25 -0
- package/dist/check/index.d.cts +107 -0
- package/dist/check/index.d.mts +107 -0
- package/dist/check/index.d.ts +107 -0
- package/dist/check/index.mjs +11 -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 +220 -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 +214 -0
- package/dist/shared/meodp.a0bcc3e7.cjs +580 -0
- package/dist/shared/meodp.d0916bc5.mjs +569 -0
- package/package.json +58 -31
- package/bin/index.ts +0 -6
package/package.json
CHANGED
|
@@ -1,57 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meodp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"version": "0.1.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
|
+
}
|
|
16
43
|
}
|
|
17
44
|
},
|
|
18
45
|
"main": "./dist/index.mjs",
|
|
19
46
|
"module": "./dist/index.mjs",
|
|
20
47
|
"types": "./dist/index.d.ts",
|
|
21
48
|
"bin": {
|
|
22
|
-
"meodp-ts": "bin/index.ts",
|
|
23
49
|
"meodp": "bin/index.mjs"
|
|
24
50
|
},
|
|
25
51
|
"files": [
|
|
26
|
-
"bin",
|
|
52
|
+
"bin/index.mjs",
|
|
27
53
|
"dist"
|
|
28
54
|
],
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=22.19.0"
|
|
57
|
+
},
|
|
29
58
|
"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"
|
|
59
|
+
"build": "tsx scripts/build-report-viewer.ts && unbuild",
|
|
60
|
+
"dev": "tsx scripts/build-report-viewer.ts && unbuild --stub",
|
|
61
|
+
"test": "tsx scripts/build-report-viewer.ts && tsx --test test/check.test.ts test/sitemap.test.ts",
|
|
62
|
+
"test:e2e": "tsx scripts/build-report-viewer.ts && playwright test",
|
|
63
|
+
"typecheck": "tsx scripts/build-report-viewer.ts && tsc --noEmit -p tsconfig.json",
|
|
64
|
+
"prepack": "npm run build",
|
|
65
|
+
"release": "npm version --no-git-tag-version"
|
|
44
66
|
},
|
|
45
67
|
"peerDependencies": {
|
|
46
68
|
"playwright": "^1",
|
|
47
69
|
"typescript": "^5.0.0"
|
|
48
70
|
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"playwright": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"typescript": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
49
79
|
"dependencies": {
|
|
50
80
|
"c12": "^2.0.1",
|
|
51
81
|
"cli-progress": "^3.12.0",
|
|
52
82
|
"consola": "^3.2.3",
|
|
53
83
|
"date-fns": "^4.1.0",
|
|
84
|
+
"fast-xml-parser": "^5.11.1",
|
|
54
85
|
"fs-extra": "^11.2.0",
|
|
86
|
+
"js-yaml": "^4.1.0",
|
|
87
|
+
"linkinator": "^8.1.0",
|
|
55
88
|
"lowdb": "^7.0.1",
|
|
56
89
|
"markdown-table": "^3.0.4",
|
|
57
90
|
"p-queue": "^8.0.1",
|
|
@@ -60,28 +93,22 @@
|
|
|
60
93
|
"yargs": "^17.7.2"
|
|
61
94
|
},
|
|
62
95
|
"devDependencies": {
|
|
63
|
-
"@antfu/eslint-config": "^3.8.0",
|
|
64
96
|
"@playwright/test": "^1.48.2",
|
|
65
97
|
"@types/bun": "latest",
|
|
66
98
|
"@types/cli-progress": "^3.11.6",
|
|
67
99
|
"@types/fs-extra": "^11.0.4",
|
|
100
|
+
"@types/js-yaml": "^4.0.9",
|
|
68
101
|
"@types/node": "^22.9.0",
|
|
69
102
|
"@types/yargs": "^17.0.33",
|
|
70
|
-
"@unocss/eslint-plugin": "^0.64.0",
|
|
71
103
|
"cilicili": "^0.1.1",
|
|
72
|
-
"
|
|
73
|
-
"eslint-plugin-format": "^0.1.2",
|
|
74
|
-
"lint-staged": "^15.2.10",
|
|
104
|
+
"esbuild": "^0.28.2",
|
|
75
105
|
"playwright": "^1.48.2",
|
|
76
|
-
"simple-git-hooks": "^2.11.1",
|
|
77
106
|
"tsx": "^4.19.2",
|
|
78
107
|
"unbuild": "^2.0.0",
|
|
79
108
|
"vite-node": "^2.1.4"
|
|
80
109
|
},
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
"lint-staged": {
|
|
85
|
-
"*": "eslint --fix"
|
|
110
|
+
"publishConfig": {
|
|
111
|
+
"access": "public",
|
|
112
|
+
"registry": "https://registry.npmjs.org/"
|
|
86
113
|
}
|
|
87
114
|
}
|