@lntvow/dev 2.3.2 → 2.3.3

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": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "type": "module",
5
5
  "description": "开发环境依赖包",
6
6
  "keywords": [
@@ -18,7 +18,6 @@
18
18
  "dependencies": {
19
19
  "@commitlint/cli": "^19.3.0",
20
20
  "@commitlint/config-conventional": "^19.2.2",
21
- "@lntvow/eslint-config": "^9.10.2",
22
21
  "bumpp": "^9.4.1",
23
22
  "commitizen": "^4.3.0",
24
23
  "cz-conventional-changelog": "^3.3.0",
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-console */
1
2
  import { exec } from 'node:child_process'
2
3
  import fs from 'node:fs'
3
4
  import path from 'node:path'
@@ -7,7 +8,6 @@ const __filename = fileURLToPath(import.meta.url)
7
8
  const __dirname = path.dirname(__filename)
8
9
 
9
10
  const [cwd] = process.cwd().split('node_modules')
10
- console.log('cwd: ', cwd)
11
11
 
12
12
  function copyDirectorySync(source, target) {
13
13
  // 创建目标目录(如果不存在)
@@ -39,7 +39,7 @@ function copyDirectorySync(source, target) {
39
39
  // 复制模板文件
40
40
  copyDirectorySync(path.resolve(__dirname, './tmp'), cwd)
41
41
 
42
- // // 初始化
42
+ // 初始化
43
43
  exec('npx simple-git-hooks', { cwd }, (err, str) => {
44
44
  console.log('npx simple-git-hooks')
45
45
  if (err) {