obsidian-plugin-config 1.6.17 → 1.6.18

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.
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Obsidian Plugin Config - CLI Entry Point
5
5
  * Global command: obsidian-inject
6
- * Version: 1.6.17
6
+ * Version: 1.6.18
7
7
  */
8
8
 
9
9
  import { execSync } from 'child_process';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-plugin-config",
3
- "version": "1.6.17",
3
+ "version": "1.6.18",
4
4
  "description": "Global CLI injection tool for Obsidian plugins",
5
5
  "type": "module",
6
6
  "bin": {
@@ -317,18 +317,6 @@ async function buildAndPublishNpm(): Promise<void> {
317
317
  }
318
318
  console.log(`\nšŸŽ‰ Complete workflow successful!`);
319
319
  console.log(` Test: cd any-plugin && obsidian-inject`);
320
- console.log(`\nāœ… Press any key to exit...`);
321
-
322
- // Wait for user to press any key
323
- process.stdin.setRawMode(true);
324
- process.stdin.resume();
325
- await new Promise<void>((resolve) => {
326
- process.stdin.once('data', () => {
327
- process.stdin.setRawMode(false);
328
- process.stdin.pause();
329
- resolve();
330
- });
331
- });
332
320
  } catch (error) {
333
321
  console.error(
334
322
  `\nāŒ Workflow failed: ${error instanceof Error ? error.message : String(error)}`
@@ -10,9 +10,7 @@ import {
10
10
  readInjectionInfo,
11
11
  showInjectionPlan
12
12
  } from './inject-core.js';
13
- import { createReadlineInterface, isValidPath } from './utils.js';
14
-
15
- const rl = createReadlineInterface();
13
+ import { isValidPath } from './utils.js';
16
14
 
17
15
  async function main(): Promise<void> {
18
16
  try {
@@ -168,8 +166,6 @@ async function main(): Promise<void> {
168
166
  `šŸ’„ Error: ${error instanceof Error ? error.message : String(error)}`
169
167
  );
170
168
  process.exit(1);
171
- } finally {
172
- rl.close();
173
169
  }
174
170
  }
175
171