obsidian-plugin-config 1.1.8 → 1.1.10

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.1.8
6
+ * Version: 1.1.10
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.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "Système d'injection pour plugins Obsidian autonomes",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -37,7 +37,7 @@
37
37
  "inject": "tsx scripts/inject-prompt.ts",
38
38
  "check-plugin": "tsx scripts/inject-path.ts --dry-run",
39
39
  "build-npm": "tsx scripts/build-npm.ts",
40
- "publish-npm": "tsx scripts/build-npm.ts",
40
+ "publish": "tsx scripts/build-npm.ts",
41
41
  "help": "tsx scripts/help.ts",
42
42
  "h": "tsx scripts/help.ts"
43
43
  },
package/scripts/help.ts CHANGED
@@ -25,8 +25,8 @@ GIT & VERSION:
25
25
  yarn v, update-version # Update version (package.json + versions.json)
26
26
 
27
27
  NPM PUBLISHING:
28
- yarn build-npm # Build + publish NPM package
29
- yarn publish-npm # Alias for build-npm
28
+ yarn publish # Complete NPM workflow (exports + bin + publish)
29
+ yarn build-npm # Alias for publish
30
30
 
31
31
  HELP:
32
32
  yarn run help, h # This help
@@ -48,15 +48,22 @@ Usage:
48
48
 
49
49
  ═══════════════════════════════════════════════════════════════════
50
50
 
51
- 🚀 COMPLETE WORKFLOW (Development → NPM)
51
+ 🚀 COMPLETE WORKFLOW (Development → GitHub → NPM)
52
52
 
53
53
  1. Make changes to obsidian-plugin-config
54
54
  2. yarn lint:fix # Fix any linting issues
55
- 3. yarn v # Update version (package.json + versions.json)
56
- 4. yarn bacp # Commit and push to GitHub
57
- 5. yarn build-npm # Build and publish to NPM
55
+ 3. yarn v # Update version (package.json + versions.json + push)
56
+ 4. yarn bacp # Commit and push changes to GitHub
57
+ 5. yarn publish # Complete NPM workflow (exports + bin + publish)
58
58
  6. npm install -g obsidian-plugin-config # Update global package
59
- 7. Test injection on target plugins
59
+ 7. Test injection: cd any-plugin && obsidian-inject
60
+
61
+ SIMPLE NPM WORKFLOW:
62
+ yarn publish # One command does everything:
63
+ # → Update exports
64
+ # → Generate bin/obsidian-inject.js
65
+ # → Verify package
66
+ # → Publish to NPM
60
67
 
61
68
  ═══════════════════════════════════════════════════════════════════
62
69
 
package/versions.json CHANGED
@@ -12,5 +12,7 @@
12
12
  "1.0.10": "1.8.9",
13
13
  "1.1.6": "1.8.9",
14
14
  "1.1.7": "1.8.9",
15
- "1.1.8": "1.8.9"
15
+ "1.1.8": "1.8.9",
16
+ "1.1.9": "1.8.9",
17
+ "1.1.10": "1.8.9"
16
18
  }