@10stars/config 15.2.6 → 15.2.7

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 +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@10stars/config",
3
- "version": "15.2.6",
3
+ "version": "15.2.7",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "config": "./src/index.ts"
package/src/index.ts CHANGED
@@ -70,7 +70,10 @@ const actions = {
70
70
  },
71
71
  lint: {
72
72
  info: `Format & Lint code (no watch)`,
73
- action: async () => exec(`oxfmt && oxlint --fix --type-aware ${await getOxlintCommonCmd()}`),
73
+ action: async () => {
74
+ exec(`bunx --bun oxfmt`) // split for better error tracing; --bun prevents ESM resolution issues
75
+ exec(`bunx --bun oxlint --fix --type-aware ${await getOxlintCommonCmd()}`)
76
+ },
74
77
  },
75
78
  precommit: {
76
79
  info: `Run pre-commit hooks`,