Skip to content

Commit bd4b845

Browse files
committed
chore: fix build errors
1 parent fde3719 commit bd4b845

File tree

5 files changed

+173
-47
lines changed

5 files changed

+173
-47
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
"eslint": "^9.9.1",
103103
"eslint-config-prettier": "^9.1.0",
104104
"eslint-plugin-vue": "^9.28.0",
105-
"execa": "^9.3.0",
106105
"fast-glob": "^3.3.3",
107106
"get-port-please": "^3.1.2",
108107
"gh-changelogen": "^0.2.8",
@@ -128,8 +127,9 @@
128127
"rollup-plugin-typescript2": "^0.36.0",
129128
"serve-handler": "^6.1.6",
130129
"tslib": "^2.6.2",
131-
"tsx": "^4.11.2",
132-
"typescript": "^5.6.3",
130+
"tsx": "^4.20.6",
131+
"tinyexec": "^1.0.1",
132+
"typescript": "5.6.3",
133133
"typescript-eslint": "^8.4.0",
134134
"vitepress": "1.6.4",
135135
"vitepress-plugin-llms": "^1.1.0",

packages/format-explorer/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import vue from '@vitejs/plugin-vue'
2-
import { execaSync } from 'execa'
32
import path from 'node:path'
43
import { URL } from 'node:url'
54
import { defineConfig } from 'vite'
5+
import { execSync } from 'node:child_process'
66

7-
const commit = execaSync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
7+
const commit = execSync('git rev-parse HEAD', { encoding: 'utf-8' }).slice(0, 7)
88
console.log('commit', commit)
99

1010
const __dirname = path.dirname(new URL(import.meta.url).pathname)

0 commit comments

Comments
 (0)