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.
- package/bin/obsidian-inject.js +1 -1
- package/package.json +1 -1
- package/scripts/inject-core.ts +2 -2
package/bin/obsidian-inject.js
CHANGED
package/package.json
CHANGED
package/scripts/inject-core.ts
CHANGED
|
@@ -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
|
|
828
|
-
console.log(`\n🧹 Cleaning
|
|
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)
|