mirror of
https://github.com/Afilmory/afilmory
synced 2026-05-01 10:16:40 +00:00
15 lines
352 B
TypeScript
15 lines
352 B
TypeScript
import path from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
import { $ } from 'execa'
|
|
|
|
export const precheck = async () => {
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
const workdir = path.resolve(__dirname, '../../..')
|
|
|
|
await $({
|
|
cwd: workdir,
|
|
stdio: 'inherit',
|
|
})`pnpm --filter @afilmory/builder cli`
|
|
}
|