mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-02 11:42:39 +00:00
f5b030b4eb
- Replace helpers dispatcher pattern with standalone chroma-lexers package - Add runCommand, fromRoot, consola re-export to shared - Update versioning and integration to use shared utilities - Shorten dev version format: base36 timestamp, no hash - Rename eslint.config.js to eslint.config.ts (add jiti) - Add README.md to each package
12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
import process from 'node:process'
|
|
import { consola } from '@hugo-fixit/shared'
|
|
import { updateVersion } from './update-version'
|
|
|
|
const type: string = process.argv[2]
|
|
if (type !== 'dev' && type !== 'prod') {
|
|
consola.error('Invalid argument. Please specify "dev" or "prod".')
|
|
process.exit(1)
|
|
}
|
|
|
|
updateVersion(type)
|