@10stars/config 15.0.4 → 15.0.6

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": "@10stars/config",
3
- "version": "15.0.4",
3
+ "version": "15.0.6",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "config": "./src/index.ts"
@@ -23,6 +23,7 @@
23
23
  "oxfmt": "0.21.0",
24
24
  "oxlint": "1.36.0",
25
25
  "oxlint-tsgolint": "0.10.0",
26
+ "tsx": "^4.21.0",
26
27
  "type-fest": "^5.0.0",
27
28
  "typescript": "~5.9.3"
28
29
  }
@@ -1,5 +1,6 @@
1
1
  import fs from "node:fs/promises"
2
2
  import path from "node:path"
3
+ import { execSync } from "node:child_process"
3
4
 
4
5
  const extensionsJson = {
5
6
  recommendations: ["oxc.oxc-vscode"],
@@ -109,4 +110,5 @@ export const setupVSCode = async (cwd: string) => {
109
110
 
110
111
  await fs.writeFile(settingsPath, JSON.stringify(sortedSettings, null, 2) + "\n")
111
112
  console.info(`Written: ${settingsPath}`)
113
+ execSync("bunx oxfmt", { cwd: vscodeDir, stdio: `inherit` })
112
114
  }