commit-pack 1.0.17 → 1.0.18

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/README.md CHANGED
@@ -44,7 +44,7 @@ yarn add -D commit-pack@latest
44
44
  pnpm exec commit-pack-init
45
45
  ```
46
46
  ```
47
- bux commit-pack-init
47
+ bunx commit-pack-init
48
48
  ```
49
49
  ```
50
50
  npx commit-pack-init
package/bin/index.mjs CHANGED
@@ -37,7 +37,7 @@ function detectPackageManager() {
37
37
  return 'pnpm'
38
38
  } else if (fs.existsSync(path.join(projectRoot, 'yarn.lock'))) {
39
39
  return 'yarn'
40
- } else if (fs.existsSync(path.join(projectRoot, 'bun.lockb'))) {
40
+ } else if (fs.existsSync(path.join(projectRoot, 'bun.lock'))) {
41
41
  return 'bun'
42
42
  } else {
43
43
  return 'npm'
package/lib/index.mjs CHANGED
@@ -34,7 +34,7 @@ function detectPackageManager() {
34
34
  return 'pnpm';
35
35
  } else if (_fs.default.existsSync(_path.default.join(projectRoot, 'yarn.lock'))) {
36
36
  return 'yarn';
37
- } else if (_fs.default.existsSync(_path.default.join(projectRoot, 'bun.lockb'))) {
37
+ } else if (_fs.default.existsSync(_path.default.join(projectRoot, 'bun.lock'))) {
38
38
  return 'bun';
39
39
  } else {
40
40
  return 'npm';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-pack",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "A setup package to automatly check project's style and commit configuration",
5
5
  "main": "lib/index.js",
6
6
  "bin": {