@shiqianjiang/ceru-plugin-cli 0.2.4 → 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/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { createTemplate, generateSigningKeys, parseJsonStrict, PreparedIssuer, r
6
6
  import { buildProject, scaffoldProject, TEMPLATES, writeAtomic } from './project.js';
7
7
  import { runDev } from './dev.js';
8
8
  export { buildProject, loadProject, scaffoldProject, TEMPLATES } from './project.js';
9
- const VERSION = '0.2.4';
9
+ const VERSION = '0.2.5';
10
10
  const HELP = 'Ceru Plugin CLI ' +
11
11
  VERSION +
12
12
  '\n\n' +
package/dist/project.js CHANGED
@@ -118,7 +118,8 @@ function entryFunctionName(id, suffix) {
118
118
  .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
119
119
  .join('');
120
120
  const base = name || 'Plugin';
121
- return base.startsWith(suffix) || base.endsWith(suffix) ? base : base + suffix;
121
+ const safe = /^[A-Za-z_$]/.test(base) ? base : 'Plugin' + base;
122
+ return safe.startsWith(suffix) || safe.endsWith(suffix) ? safe : safe + suffix;
122
123
  }
123
124
  export async function writeAtomic(path, data, overwrite = false, mode = 0o644) {
124
125
  await mkdir(dirname(path), { recursive: true });
@@ -223,6 +224,18 @@ export async function buildProject(project = '.', options = {}) {
223
224
  const program = checkTypes(root, [configTypes]);
224
225
  const checker = program.getTypeChecker();
225
226
  const chunks = new Map();
227
+ const chunkNames = new Map();
228
+ const usedNames = new Set();
229
+ const uniqueEntryName = (id, suffix) => {
230
+ const base = entryFunctionName(id, suffix);
231
+ let name = base;
232
+ let counter = 2;
233
+ while (usedNames.has(name))
234
+ name = base + counter++;
235
+ usedNames.add(name);
236
+ chunkNames.set(id, name);
237
+ return name;
238
+ };
226
239
  const devModules = {};
227
240
  const surfaceEntries = new Set((config.manifest.modules.surfaces ?? [])
228
241
  .filter((surface) => surface.kind === 'web')
@@ -282,13 +295,12 @@ export async function buildProject(project = '.', options = {}) {
282
295
  throw new Error('Unbundled import in ' + id);
283
296
  const source = result.outputFiles[0].text.replace(/(^|\n)var __ceru_entry =/, '$1const __ceru_entry =');
284
297
  assertBundledDependencies(source);
285
- chunks.set(id, 'async function ' +
286
- entryFunctionName(id, id === config.manifest.modules.logic?.entry
287
- ? 'Logic'
288
- : surfaceEntries.has(id)
289
- ? 'Surface'
290
- : 'Module') +
291
- '(ctx) {\n' +
298
+ const entryName = uniqueEntryName(id, id === config.manifest.modules.logic?.entry
299
+ ? 'Logic'
300
+ : surfaceEntries.has(id)
301
+ ? 'Surface'
302
+ : 'Module');
303
+ chunks.set(id, 'async function ' + entryName + '(ctx) {\n' +
292
304
  source +
293
305
  '\nif (typeof __ceru_entry.default !== "function") throw new Error("Entry must default-export a function");\nreturn __ceru_entry.default(ctx);\n}');
294
306
  if (options.development) {
@@ -349,7 +361,8 @@ export async function buildProject(project = '.', options = {}) {
349
361
  throw new Error('webDist emitted an external file');
350
362
  const source = result.outputFiles[0].text.replace(/(^|\n)var __ceru_entry =/, '$1const __ceru_entry =');
351
363
  assertBundledDependencies(source);
352
- chunks.set(id, 'async function ' + entryFunctionName(id, 'Surface') + '(ctx) {\n' +
364
+ const entryName = uniqueEntryName(id, 'Surface');
365
+ chunks.set(id, 'async function ' + entryName + '(ctx) {\n' +
353
366
  source +
354
367
  '\nreturn __ceru_entry.default(ctx);\n}');
355
368
  if (options.development) {
@@ -392,39 +405,74 @@ export async function buildProject(project = '.', options = {}) {
392
405
  };
393
406
  }
394
407
  const emitted = new Set();
395
- const body = [];
408
+ const definitions = [];
409
+ const exports = [];
396
410
  const logicEntry = config.manifest.modules.logic?.entry;
397
411
  if (logicEntry) {
398
412
  const logic = chunks.get(logicEntry);
413
+ const name = chunkNames.get(logicEntry);
399
414
  if (!logic)
400
415
  throw new Error('Missing compiled logic entry: ' + logicEntry);
401
- body.push('// Invisible plugin logic\nexports.activate = ' + logic + ';');
416
+ if (!name)
417
+ throw new Error('Missing compiled logic name: ' + logicEntry);
418
+ definitions.push('// Invisible plugin logic\nconst ' +
419
+ name +
420
+ ' = /* @ceru-self-contained */ ' +
421
+ logic +
422
+ ';');
423
+ exports.push('exports.activate = ' + name + ';');
402
424
  emitted.add(logicEntry);
403
425
  }
404
426
  const visibleSurfaces = (config.manifest.modules.surfaces ?? []).filter((surface) => surface.kind === 'web');
405
427
  if (visibleSurfaces.length) {
406
428
  const entries = visibleSurfaces.map((surface) => {
407
429
  const entry = chunks.get(surface.entry);
430
+ const name = chunkNames.get(surface.entry);
408
431
  if (!entry)
409
432
  throw new Error('Missing compiled Surface entry: ' + surface.entry);
433
+ if (!name)
434
+ throw new Error('Missing compiled Surface name: ' + surface.entry);
410
435
  emitted.add(surface.entry);
411
- return JSON.stringify(surface.id) + ': ' + entry;
436
+ definitions.push('// Visible plugin surface: ' +
437
+ surface.id +
438
+ '\nconst ' +
439
+ name +
440
+ ' = /* @ceru-self-contained */ ' +
441
+ entry +
442
+ ';');
443
+ return JSON.stringify(surface.id) + ': ' + name;
412
444
  });
413
- body.push('// Visible plugin surfaces\nexports.surfaces = {\n' + entries.join(',\n') + '\n};');
445
+ definitions.push('const surfaces = {\n' + entries.join(',\n') + '\n};');
446
+ exports.push('exports.surfaces = surfaces;');
414
447
  }
415
448
  const modules = [...chunks].filter(([id]) => !emitted.has(id));
416
- if (modules.length)
417
- body.push('// Additional plugin modules\nexports.modules = {\n' +
418
- modules.map(([id, entry]) => JSON.stringify(id) + ': ' + entry).join(',\n') +
419
- '\n};');
420
- body.push('// Embedded static resources\nexports.resources = ' + JSON.stringify(resources) + ';');
449
+ if (modules.length) {
450
+ const entries = modules.map(([id, entry]) => {
451
+ const name = chunkNames.get(id);
452
+ if (!name)
453
+ throw new Error('Missing compiled module name: ' + id);
454
+ definitions.push('// Additional plugin module: ' +
455
+ id +
456
+ '\nconst ' +
457
+ name +
458
+ ' = /* @ceru-self-contained */ ' +
459
+ entry +
460
+ ';');
461
+ return JSON.stringify(id) + ': ' + name;
462
+ });
463
+ definitions.push('const modules = {\n' + entries.join(',\n') + '\n};');
464
+ exports.push('exports.modules = modules;');
465
+ }
466
+ definitions.push('// Embedded static resources\nconst resources = ' + JSON.stringify(resources) + ';');
467
+ exports.push('exports.resources = resources;');
468
+ const body = [...definitions, '// Public plugin exports', ...exports].join('\n\n') + '\n';
421
469
  const header = {
422
470
  formatVersion: 2,
423
471
  syntax: 'js',
424
472
  manifest: config.manifest,
425
473
  signature: null,
426
474
  };
427
- const artifact = encodeArtifact(header, body.join('\n') + '\n');
475
+ const artifact = encodeArtifact(header, body);
428
476
  readArtifact(artifact);
429
477
  const output = resolve(root, options.out ?? config.output ?? 'dist/plugin.js');
430
478
  if (extname(output) !== '.js')
package/package.json CHANGED
@@ -1,71 +1,71 @@
1
- {
2
- "name": "@shiqianjiang/ceru-plugin-cli",
3
- "version": "0.2.4",
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.2",
36
- "@shiqianjiang/ceru-plugin-sdk": "0.2.2",
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
+ }
@@ -46,6 +46,11 @@
46
46
  "minLength": 1,
47
47
  "maxLength": 4096
48
48
  },
49
+ "homepage": {
50
+ "type": "string",
51
+ "minLength": 1,
52
+ "maxLength": 4096
53
+ },
49
54
  "config": {
50
55
  "type": "object",
51
56
  "additionalProperties": true
@@ -157,6 +162,46 @@
157
162
  "contributes": {
158
163
  "type": "object",
159
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
+ },
160
205
  "menus": {
161
206
  "type": "array",
162
207
  "maxItems": 64,
@@ -481,6 +526,44 @@
481
526
  "type": "string",
482
527
  "minLength": 1,
483
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
484
567
  }
485
568
  },
486
569
  "required": [
@@ -515,6 +598,16 @@
515
598
  "maxItems": 128,
516
599
  "uniqueItems": true
517
600
  },
601
+ "qualities": {
602
+ "type": "array",
603
+ "items": {
604
+ "type": "string",
605
+ "minLength": 1,
606
+ "maxLength": 4096
607
+ },
608
+ "maxItems": 128,
609
+ "uniqueItems": true
610
+ },
518
611
  "connectionMode": {
519
612
  "enum": [
520
613
  "none",
@@ -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.2"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.4",
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.2"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.4",
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.2"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.4",
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.2"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.4",
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.2"
15
- },
16
- "devDependencies": {
17
- "@shiqianjiang/ceru-plugin-cli": "^0.2.4",
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
+ }