@cloud411716/fancy-webnovel 0.1.37 → 0.1.38

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/index.js CHANGED
@@ -2,6 +2,8 @@
2
2
  import { apply as applyBootstrap } from './plugins/fancy-bootstrap/index.js';
3
3
  import { apply as applyScan } from './plugins/fancy-scan/index.js';
4
4
 
5
+ export const inject = ['commands', 'userQuestions'];
6
+
5
7
  export async function apply(ctx) {
6
8
  await applyBootstrap(ctx);
7
9
  await applyScan(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -7,6 +7,8 @@ import { existsSync } from 'fs';
7
7
  import { notify, spawnScript } from '../../infra.js';
8
8
  import { bootstrap } from './templates.js';
9
9
 
10
+ export const inject = ['commands', 'userQuestions'];
11
+
10
12
  const __dirname = dirname(fileURLToPath(import.meta.url));
11
13
  const SCRIPTS_DIR = join(__dirname, 'scripts');
12
14
 
@@ -7,6 +7,8 @@ import { existsSync } from 'fs';
7
7
  import { notify, llmFollowup, spawnScript } from '../../infra.js';
8
8
  import { scan, PLATFORM_TABLE, platformLabel } from './templates.js';
9
9
 
10
+ export const inject = ['commands', 'userQuestions'];
11
+
10
12
  const __dirname = dirname(fileURLToPath(import.meta.url));
11
13
  const SCAN_SCRIPTS_DIR = join(__dirname, 'scripts');
12
14