import fs from 'fs' ; import { URL , fileURLToPath } from 'url' ; import { dev } from './commands/dev.js' ; import { lint } from './commands/lint.js' ; import { test } from './commands/jest.js' ; import { clean } from './commands/clean.js' ; import { build } from './commands/build.js' ; import { release } from './commands/release.js' ; import { changelog } from './commands/changelog.js' ; import { buildSite } from './commands/build-site.js' ; import { commitLint } from './commands/commit-lint.js' ; const packagePath = fileURLToPath ( new URL ( '../package.json' , import . meta . url ) ) ; const packageJson = JSON . parse ( fs . readFileSync ( packagePath , 'utf-8' ) ) ; export const cliVersion = packageJson . version ; process . env . VANT_CLI_VERSION = cliVersion ; export { dev , lint , test , clean , build , release , changelog , buildSite , commitLint , } ;