@dan-uni/dan-any-plugin-detaolu 1.4.0 → 2.0.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,35 +1,58 @@
1
1
  {
2
2
  "name": "@dan-uni/dan-any-plugin-detaolu",
3
- "version": "1.4.0",
3
+ "version": "2.0.0",
4
4
  "description": "A filter, dedupe and anti-spam plugin of dan-any, a danmaku transformer lib, based on pakku.js.",
5
- "author": "rinne",
5
+ "keywords": [
6
+ "anti-spam",
7
+ "bangumi",
8
+ "danmaku",
9
+ "dedupe",
10
+ "filter",
11
+ "pakku.js"
12
+ ],
13
+ "homepage": "https://github.com/ani-uni/dan-any-plugin-detaolu#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/ani-uni/dan-any-plugin-detaolu/issues"
16
+ },
6
17
  "license": "GPL-3.0-or-later",
7
- "homepage": "https://github.com/ani-uni/danuni/tree/master/packages/dan-any-plugin-detaolu#readme",
18
+ "author": "rinne",
8
19
  "repository": {
9
20
  "type": "git",
10
- "url": "git+https://github.com/ani-uni/danuni.git"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/ani-uni/danuni/issues"
21
+ "url": "git+https://github.com/ani-uni/dan-any-plugin-detaolu.git"
14
22
  },
15
- "keywords": [
16
- "bangumi",
17
- "danmaku"
23
+ "files": [
24
+ "dist"
18
25
  ],
19
- "main": "dist/index.js",
20
- "module": "src/index.ts",
21
- "types": "dist/index.d.ts",
22
- "browser": "dist/index.umd.min.js",
26
+ "type": "module",
27
+ "exports": {
28
+ ".": "./dist/index.mjs",
29
+ "./package.json": "./package.json"
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
23
34
  "scripts": {
24
- "test": "vitest",
25
- "test:ui": "vitest --ui",
26
- "coverage": "vitest run --coverage",
27
- "bench": "vitest bench",
28
- "lint": "eslint",
29
- "build": "rslib build",
30
- "build:types": "tsc"
35
+ "build": "vp pack",
36
+ "dev": "vp pack --watch",
37
+ "test": "vp test",
38
+ "check": "vp check",
39
+ "prepublishOnly": "vp run build",
40
+ "prepare": "vp config"
31
41
  },
32
42
  "dependencies": {
33
- "@dan-uni/dan-any": "workspace:^"
34
- }
43
+ "@dan-uni/dan-any": "^2.0.2"
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "^25.9.0",
47
+ "@typescript/native-preview": "^7.0.0-dev.20260519.1",
48
+ "bumpp": "^11.1.0",
49
+ "rolldown-plugin-wasm": "^0.2.1",
50
+ "typescript": "^6.0.3",
51
+ "vite-plus": "^0.1.21"
52
+ },
53
+ "overrides": {
54
+ "vite": "npm:@voidzero-dev/vite-plus-core@latest",
55
+ "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
56
+ },
57
+ "packageManager": "bun@1.3.14"
35
58
  }
package/.babelrc.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "presets": [
3
- [
4
- "@babel/preset-env",
5
- {
6
- "useBuiltIns": "usage",
7
- "corejs": 3,
8
- "modules": false
9
- }
10
- ]
11
- ]
12
- }
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import type { Config as DeTaoLuConfig } from './pakku.js';
2
- import { UniPool } from '@dan-uni/dan-any';
3
- declare function detaolu_constructor(config?: DeTaoLuConfig): (that: UniPool) => Promise<UniPool>;
4
- export default detaolu_constructor;