obsidian-plugin-config 1.6.12 → 1.6.13

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.12
6
+ * Version: 1.6.13
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.12",
3
+ "version": "1.6.13",
4
4
  "description": "Global CLI injection tool for Obsidian plugins",
5
5
  "type": "module",
6
6
  "bin": {
@@ -824,8 +824,8 @@ export async function cleanNpmArtifactsIfNeeded(targetPath: string): Promise<voi
824
824
  const hasPackageLock = fs.existsSync(packageLockPath);
825
825
  const hasYarnLock = fs.existsSync(yarnLockPath);
826
826
 
827
- if (hasPackageLock || hasYarnLock) {
828
- console.log(`\n🧹 Cleaning lock files and node_modules...`);
827
+ if (hasPackageLock) {
828
+ console.log(`\n🧹 Cleaning NPM artifacts (migrating to Yarn)...`);
829
829
 
830
830
  try {
831
831
  // Remove node_modules FIRST (before lock files)