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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/init.mjs +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-dev-skills",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Agent skills for Obsidian plugin and theme development",
5
5
  "keywords": [
6
6
  "obsidian",
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.');