@lntvow/dev 3.4.2 → 3.4.4

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": "@lntvow/dev",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "type": "module",
5
5
  "description": "开发环境依赖包",
6
6
  "keywords": [
@@ -30,7 +30,8 @@
30
30
  "dayjs": "^1.11.13"
31
31
  },
32
32
  "scripts": {
33
- "postinstall": "node ./script/postinstall.js && npx simple-git-hooks",
33
+ "postinstall": "node ./script/postinstall.js",
34
+ "install": "node -e \"console.log('Running install script')\"",
34
35
  "type-check": "tsc --noEmit",
35
36
  "rimraf": "rimraf ./node_modules/",
36
37
  "commit": "git add . && git-cz && git push",
@@ -12,6 +12,7 @@ const __filename = fileURLToPath(import.meta.url)
12
12
  const __dirname = path.dirname(__filename)
13
13
 
14
14
  const [cwd] = process.cwd().split('node_modules')
15
+ console.log('cwd: ', cwd)
15
16
 
16
17
  function copyDirectorySync(source, target) {
17
18
  // 创建目标目录(如果不存在)
@@ -38,6 +39,6 @@ function copyDirectorySync(source, target) {
38
39
  }
39
40
  })
40
41
  }
41
-
42
+ console.log('开始复制模板文件...')
42
43
  // 复制模板文件
43
44
  copyDirectorySync(path.resolve(__dirname, './tmp'), cwd)