@shiqianjiang/ceru-plugin-cli 0.2.5 → 0.2.6

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,71 +1,71 @@
1
- {
2
- "name": "@shiqianjiang/ceru-plugin-cli",
3
- "version": "0.2.5",
4
- "description": "TypeScript scaffolding, single-file build, watch, validation, signing and issuance for Ceru plugins",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "default": "./dist/index.js"
13
- }
14
- },
15
- "bin": {
16
- "ceru-plugin": "dist/bin.js"
17
- },
18
- "files": [
19
- "dist",
20
- "assets",
21
- "schemas",
22
- "templates",
23
- "README.md",
24
- "LICENSE",
25
- "ASSET_LICENSE",
26
- "NOTICE"
27
- ],
28
- "license": "MIT AND AGPL-3.0-only",
29
- "author": "澜音团队",
30
- "engines": {
31
- "node": ">=22.12.0"
32
- },
33
- "dependencies": {
34
- "@babel/core": "^7.29.7",
35
- "@shiqianjiang/ceru-plugin-issuer": "0.2.3",
36
- "@shiqianjiang/ceru-plugin-sdk": "0.2.3",
37
- "@vue/babel-plugin-jsx": "^2.0.1",
38
- "@vue/compiler-sfc": "3.5.43",
39
- "axios": "^1.20.0",
40
- "esbuild": "^0.28.2",
41
- "lodash-es": "^4.18.1",
42
- "parse5": "^8.0.1",
43
- "react": "19.3.0",
44
- "react-dom": "19.3.0",
45
- "semver": "^7.7.0",
46
- "socket.io-client": "^4.8.3",
47
- "typescript": "~5.9.3",
48
- "vue": "3.5.43",
49
- "vue-tsc": "^3.3.11",
50
- "ws": "^8.21.3"
51
- },
52
- "publishConfig": {
53
- "access": "public",
54
- "registry": "https://registry.npmjs.org/"
55
- },
56
- "repository": {
57
- "type": "git",
58
- "url": "git+https://github.com/CeruMusic/CeruMusic-Plugin-Cli.git",
59
- "directory": "packages/cli"
60
- },
61
- "bugs": {
62
- "url": "https://github.com/CeruMusic/CeruMusic-Plugin-Cli/issues"
63
- },
64
- "homepage": "https://github.com/CeruMusic/CeruMusic-Plugin-Cli#readme",
65
- "keywords": [
66
- "ceru-music",
67
- "plugin",
68
- "typescript",
69
- "electron"
70
- ]
71
- }
1
+ {
2
+ "name": "@shiqianjiang/ceru-plugin-cli",
3
+ "version": "0.2.6",
4
+ "description": "TypeScript scaffolding, single-file build, watch, validation, signing and issuance for Ceru plugins",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "bin": {
16
+ "ceru-plugin": "dist/bin.js"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "assets",
21
+ "schemas",
22
+ "templates",
23
+ "README.md",
24
+ "LICENSE",
25
+ "ASSET_LICENSE",
26
+ "NOTICE"
27
+ ],
28
+ "license": "MIT AND AGPL-3.0-only",
29
+ "author": "澜音团队",
30
+ "engines": {
31
+ "node": ">=22.12.0"
32
+ },
33
+ "dependencies": {
34
+ "@babel/core": "^7.29.7",
35
+ "@shiqianjiang/ceru-plugin-issuer": "0.2.4",
36
+ "@shiqianjiang/ceru-plugin-sdk": "0.2.4",
37
+ "@vue/babel-plugin-jsx": "^2.0.1",
38
+ "@vue/compiler-sfc": "3.5.43",
39
+ "axios": "^1.20.0",
40
+ "esbuild": "^0.28.2",
41
+ "lodash-es": "^4.18.1",
42
+ "parse5": "^8.0.1",
43
+ "react": "19.3.0",
44
+ "react-dom": "19.3.0",
45
+ "semver": "^7.7.0",
46
+ "socket.io-client": "^4.8.3",
47
+ "typescript": "~5.9.3",
48
+ "vue": "3.5.43",
49
+ "vue-tsc": "^3.3.11",
50
+ "ws": "^8.21.3"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public",
54
+ "registry": "https://registry.npmjs.org/"
55
+ },
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "git+https://github.com/CeruMusic/CeruMusic-Plugin-Cli.git",
59
+ "directory": "packages/cli"
60
+ },
61
+ "bugs": {
62
+ "url": "https://github.com/CeruMusic/CeruMusic-Plugin-Cli/issues"
63
+ },
64
+ "homepage": "https://github.com/CeruMusic/CeruMusic-Plugin-Cli#readme",
65
+ "keywords": [
66
+ "ceru-music",
67
+ "plugin",
68
+ "typescript",
69
+ "electron"
70
+ ]
71
+ }
@@ -162,6 +162,46 @@
162
162
  "contributes": {
163
163
  "type": "object",
164
164
  "properties": {
165
+ "lyricConverters": {
166
+ "type": "array",
167
+ "maxItems": 16,
168
+ "items": {
169
+ "type": "object",
170
+ "properties": {
171
+ "id": {
172
+ "type": "string",
173
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]{0,127}$"
174
+ },
175
+ "title": {
176
+ "type": "string",
177
+ "minLength": 1,
178
+ "maxLength": 4096
179
+ },
180
+ "formats": {
181
+ "type": "array",
182
+ "items": {
183
+ "enum": [
184
+ "auto",
185
+ "lrc",
186
+ "enhanced-lrc",
187
+ "yrc",
188
+ "qrc",
189
+ "krc",
190
+ "ttml",
191
+ "plain"
192
+ ]
193
+ },
194
+ "uniqueItems": true
195
+ }
196
+ },
197
+ "required": [
198
+ "id",
199
+ "title",
200
+ "formats"
201
+ ],
202
+ "additionalProperties": false
203
+ }
204
+ },
165
205
  "menus": {
166
206
  "type": "array",
167
207
  "maxItems": 64,
@@ -486,6 +526,44 @@
486
526
  "type": "string",
487
527
  "minLength": 1,
488
528
  "maxLength": 4096
529
+ },
530
+ "providerId": {
531
+ "type": "string",
532
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]{0,127}$"
533
+ },
534
+ "examples": {
535
+ "type": "array",
536
+ "maxItems": 16,
537
+ "items": {
538
+ "type": "object",
539
+ "properties": {
540
+ "label": {
541
+ "type": "string",
542
+ "minLength": 1,
543
+ "maxLength": 4096
544
+ },
545
+ "value": {
546
+ "type": "string",
547
+ "minLength": 1,
548
+ "maxLength": 4096
549
+ }
550
+ },
551
+ "required": [
552
+ "label",
553
+ "value"
554
+ ],
555
+ "additionalProperties": false
556
+ }
557
+ },
558
+ "instructions": {
559
+ "type": "array",
560
+ "items": {
561
+ "type": "string",
562
+ "minLength": 1,
563
+ "maxLength": 4096
564
+ },
565
+ "maxItems": 128,
566
+ "uniqueItems": true
489
567
  }
490
568
  },
491
569
  "required": [
@@ -1,22 +1,22 @@
1
- {
2
- "name": "js",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "js",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "name": "ts",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "ts",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "name": "js",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "js",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "name": "ts",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "ts",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "name": "js",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "js",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "name": "ts",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "ts",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }
@@ -1,26 +1,26 @@
1
- {
2
- "name": "js",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2",
21
- "react": "19.3.0",
22
- "react-dom": "19.3.0",
23
- "@types/react": "^19.0.0",
24
- "@types/react-dom": "^19.0.0"
25
- }
26
- }
1
+ {
2
+ "name": "js",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2",
21
+ "react": "19.3.0",
22
+ "react-dom": "19.3.0",
23
+ "@types/react": "^19.0.0",
24
+ "@types/react-dom": "^19.0.0"
25
+ }
26
+ }
@@ -1,26 +1,26 @@
1
- {
2
- "name": "ts",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2",
21
- "react": "19.3.0",
22
- "react-dom": "19.3.0",
23
- "@types/react": "^19.0.0",
24
- "@types/react-dom": "^19.0.0"
25
- }
26
- }
1
+ {
2
+ "name": "ts",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2",
21
+ "react": "19.3.0",
22
+ "react-dom": "19.3.0",
23
+ "@types/react": "^19.0.0",
24
+ "@types/react-dom": "^19.0.0"
25
+ }
26
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "name": "js",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "ceru-plugin dev",
8
- "build": "ceru-plugin build",
9
- "typecheck": "tsc --noEmit",
10
- "validate": "ceru-plugin validate dist/plugin.js",
11
- "preview": "ceru-plugin preview dist/plugin.js"
12
- },
13
- "dependencies": {
14
- "@shiqianjiang/ceru-plugin-sdk": "^0.2.3"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.5",
18
- "typescript": "~5.9.3",
19
- "electron": "^44.4.2",
20
- "prettier": "^3.6.2"
21
- }
22
- }
1
+ {
2
+ "name": "js",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "ceru-plugin dev",
8
+ "build": "ceru-plugin build",
9
+ "typecheck": "tsc --noEmit",
10
+ "validate": "ceru-plugin validate dist/plugin.js",
11
+ "preview": "ceru-plugin preview dist/plugin.js"
12
+ },
13
+ "dependencies": {
14
+ "@shiqianjiang/ceru-plugin-sdk": "^0.2.4"
15
+ },
16
+ "devDependencies": {
17
+ "@shiqianjiang/ceru-plugin-cli": "^0.2.6",
18
+ "typescript": "~5.9.3",
19
+ "electron": "^44.4.2",
20
+ "prettier": "^3.6.2"
21
+ }
22
+ }