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/package.json CHANGED
@@ -1,57 +1,90 @@
1
1
  {
2
2
  "name": "meodp",
3
3
  "type": "module",
4
- "version": "0.0.9",
5
- "packageManager": "pnpm@9.12.3",
6
- "description": "Mystic Eyes of Death Perception. Find out dead links in your site.",
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
- "check"
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
- "dev:client": "pnpm -C client run dev",
33
- "demo": "pnpm -C examples/app run dev",
34
- "demo:export": "pnpm -C examples/app run export",
35
- "demo:app": "pnpm -C examples/app run dev",
36
- "example": "vite-node examples/check-site.ts",
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
- "eslint": "^9.14.0",
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
- "simple-git-hooks": {
82
- "pre-commit": "pnpm lint-staged"
83
- },
84
- "lint-staged": {
85
- "*": "eslint --fix"
110
+ "publishConfig": {
111
+ "access": "public",
112
+ "registry": "https://registry.npmjs.org/"
86
113
  }
87
114
  }
package/bin/index.ts DELETED
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env vite-node --script
2
- 'use strict'
3
-
4
- import { run } from '../src/cli'
5
-
6
- run()