obsidian-dev-skills 1.0.6 → 1.0.7
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/package.json +1 -1
- package/scripts/init.mjs +1 -3
package/package.json
CHANGED
package/scripts/init.mjs
CHANGED
|
@@ -261,9 +261,7 @@ Example:
|
|
|
261
261
|
|
|
262
262
|
async function init() {
|
|
263
263
|
// Determine if we are running in the package's own directory (development)
|
|
264
|
-
const isDevelopment = projectRoot === packageRoot
|
|
265
|
-
(fs.existsSync(path.join(packageRoot, 'obsidian-dev')) &&
|
|
266
|
-
!fs.existsSync(path.join(projectRoot, 'node_modules', 'obsidian-dev-skills')));
|
|
264
|
+
const isDevelopment = projectRoot === packageRoot;
|
|
267
265
|
|
|
268
266
|
if (isDevelopment && !process.env.FORCE_INIT) {
|
|
269
267
|
console.log('🛠️ Development mode detected (or forced skip), skipping initialization.');
|