obsidian-plugin-config 1.3.0 β†’ 1.3.2

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.3.0
6
+ * Version: 1.3.2
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.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "SystΓ¨me d'injection pour plugins Obsidian autonomes",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/scripts/help.ts CHANGED
@@ -40,15 +40,14 @@ HELP:
40
40
 
41
41
  πŸ“¦ EXPORTS SYSTEM
42
42
 
43
- The package exposes the following entry points:
44
- obsidian-plugin-config # Main entry (src/index.ts)
45
- obsidian-plugin-config/modals # Modal components
46
- obsidian-plugin-config/tools # Tool utilities
47
- obsidian-plugin-config/utils # Utility helpers
48
- obsidian-plugin-config/scripts/ # Individual scripts
49
-
50
- After modifying exports, run:
51
- yarn update-exports # Regenerates package.json exports field
43
+ The package exposes a single entry point:
44
+ obsidian-plugin-config # Main entry β€” re-exports all modules
45
+
46
+ Src modules (auto-exported via src/index.ts):
47
+ modals, tools, utils
48
+
49
+ After adding a new module to src/, run:
50
+ yarn update-exports # Regenerates src/index.ts
52
51
 
53
52
  ═══════════════════════════════════════════════════════════════════
54
53
 
@@ -3,6 +3,7 @@
3
3
  import fs from "fs";
4
4
  import path from "path";
5
5
  import { execSync } from "child_process";
6
+ import { fileURLToPath } from "url";
6
7
  import { isValidPath, gitExec } from "./utils.js";
7
8
 
8
9
  export interface InjectionPlan {
@@ -59,7 +60,7 @@ export async function analyzePlugin(pluginPath: string): Promise<InjectionPlan>
59
60
  * Find plugin-config root directory (handles NPM global installs)
60
61
  */
61
62
  export function findPluginConfigRoot(): string {
62
- const scriptDir = path.dirname(new URL(import.meta.url).pathname);
63
+ const scriptDir = path.dirname(fileURLToPath(import.meta.url));
63
64
  const npmPackageRoot = path.resolve(scriptDir, "..");
64
65
  const npmPackageJson = path.join(npmPackageRoot, "package.json");
65
66
 
package/versions.json CHANGED
@@ -26,5 +26,7 @@
26
26
  "1.1.19": "1.8.9",
27
27
  "1.1.20": "1.8.9",
28
28
  "1.2.0": "1.8.9",
29
- "1.3.0": "1.8.9"
29
+ "1.3.0": "1.8.9",
30
+ "1.3.1": "1.8.9",
31
+ "1.3.2": "1.8.9"
30
32
  }