@10stars/config 13.7.1 → 13.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -3
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@10stars/config",
7
- "version": "13.7.1",
7
+ "version": "13.7.3",
8
8
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
9
9
  "license": "MIT",
10
10
  "bin": {
package/src/index.ts CHANGED
@@ -34,9 +34,8 @@ const actions = {
34
34
  prepare: {
35
35
  info: `Runs husky and links packages`,
36
36
  action: async () => {
37
- exec(`husky`)
38
37
  if (process.env.CI) return
39
-
38
+ exec(`husky`) // husky is intended only for local development (not in CI)
40
39
  const config = await getConfig()
41
40
  if (config?.linkPackages) await linkPackages(cwd, config.linkPackages)
42
41
  },
@@ -72,7 +71,7 @@ const actions = {
72
71
  const pathCommitlint = new URL(`../commitlint.config.js`, import.meta.url)
73
72
  .pathname
74
73
  // exec(`bun run commitlint --edit --config ${pathCommitlint}`)
75
- exec(`npm run commitlint --edit --config ${pathCommitlint}`)
74
+ exec(`npm exec -- commitlint --edit --config ${pathCommitlint}`)
76
75
  },
77
76
  },
78
77
  } satisfies Record<string, { info: string; action: () => void | Promise<void> }>