@kuriyona/cecilia 0.2.0 → 1.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriyona/cecilia",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "网易云音乐 API 的非官方 TypeScript 封装",
5
5
  "keywords": [
6
6
  "api",
@@ -25,15 +25,24 @@
25
25
  "main": "./dist/index.cjs",
26
26
  "exports": {
27
27
  ".": {
28
- "import": "./dist/index.mjs",
29
- "require": "./dist/index.cjs",
30
- "types": "./dist/index.d.ts"
28
+ "import": {
29
+ "types": "./dist/index.d.mts",
30
+ "default": "./dist/index.mjs"
31
+ },
32
+ "require": {
33
+ "types": "./dist/index.d.cts",
34
+ "default": "./dist/index.cjs"
35
+ }
31
36
  }
32
37
  },
33
38
  "publishConfig": {
34
39
  "access": "public"
35
40
  },
41
+ "engines": {
42
+ "node": ">=18"
43
+ },
36
44
  "devDependencies": {
45
+ "@types/node": "^26.6.2",
37
46
  "tsdown": "^0.22.1",
38
47
  "typescript": "^6.0.3",
39
48
  "vitest": "^4.1.7"
@@ -48,7 +57,9 @@
48
57
  "email": "kuriyona@outlook.com",
49
58
  "scripts": {
50
59
  "build": "tsdown",
60
+ "clone:api-enhanced": "node -e \"require('node:fs').rmSync('api-enhanced',{recursive:true,force:true})\" && git clone --depth=1 git@github.com:NeteaseCloudMusicApiEnhanced/api-enhanced.git",
51
61
  "test": "vitest run",
62
+ "test:live": "vitest run --config vitest.live.config.ts",
52
63
  "test:watch": "vitest"
53
64
  }
54
65
  }