@justin_666/square-couplets-master-skills 1.0.18 → 1.0.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justin_666/square-couplets-master-skills",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Claude Agent Skills for generating Chinese New Year Doufang (diamond-shaped couplet) artwork using Google Gemini AI",
5
5
  "type": "module",
6
6
  "main": "bin/doufang-skills.js",
@@ -38,21 +38,26 @@ function findServicesPath() {
38
38
  }
39
39
 
40
40
  const possiblePaths = [
41
- // Global npm package (highest priority - most reliable for installed packages)
41
+ // Global npm package - dist directory (compiled JS)
42
42
  ...(globalPrefix ? [
43
- join(globalPrefix, 'lib', 'node_modules', '@justin_666', 'square-couplets-master-skills', 'services'),
44
- join(globalPrefix, 'node_modules', '@justin_666', 'square-couplets-master-skills', 'services'),
43
+ join(globalPrefix, 'lib', 'node_modules', '@justin_666', 'square-couplets-master-skills', 'dist', 'services'),
44
+ join(globalPrefix, 'node_modules', '@justin_666', 'square-couplets-master-skills', 'dist', 'services'),
45
45
  ] : []),
46
- // From resolved package root (if it has services)
47
- ...(packageRoot ? [join(packageRoot, 'services')] : []),
48
- // Local project root
49
- join(projectRoot, 'services'),
50
- // Local node_modules
51
- join(projectRoot, 'node_modules', '@justin_666', 'square-couplets-master-skills', 'services'),
52
- // Current working directory
46
+ // From resolved package root - dist directory
47
+ ...(packageRoot ? [
48
+ join(packageRoot, 'dist', 'services'),
49
+ join(packageRoot, 'services'), // fallback to source
50
+ ] : []),
51
+ // Local project root - dist directory
52
+ join(projectRoot, 'dist', 'services'),
53
+ join(projectRoot, 'services'), // fallback to source
54
+ // Local node_modules - dist directory
55
+ join(projectRoot, 'node_modules', '@justin_666', 'square-couplets-master-skills', 'dist', 'services'),
56
+ // Current working directory - dist directory
57
+ join(process.cwd(), 'dist', 'services'),
53
58
  join(process.cwd(), 'services'),
54
59
  // Current working directory node_modules
55
- join(process.cwd(), 'node_modules', '@justin_666', 'square-couplets-master-skills', 'services'),
60
+ join(process.cwd(), 'node_modules', '@justin_666', 'square-couplets-master-skills', 'dist', 'services'),
56
61
  ];
57
62
 
58
63
  for (const path of possiblePaths) {