dk-frontend-skills 1.0.0 → 1.0.1

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": "dk-frontend-skills",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "老马暴躁技术流 - Claude Skills 配置包,一键注入 .claude/ 技能目录和 CLAUDE.md 人设配置",
5
5
  "author": "XiaoMa",
6
6
  "license": "MIT",
@@ -2,7 +2,7 @@ const fs = require("fs");
2
2
  const path = require("path");
3
3
 
4
4
  // 获取用户项目根目录
5
- const projectRoot = process.cwd();
5
+ const projectRoot = path.resolve(__dirname, "..", "..", "..");
6
6
 
7
7
  // 包目录
8
8
  const packageDir = path.join(__dirname, "..");