Skip to content

Commit 1600c87

Browse files
committed
chore: wip
1 parent 53806e8 commit 1600c87

File tree

5 files changed

+139
-226
lines changed

5 files changed

+139
-226
lines changed

bin/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { DtsGenerationConfig, DtsGenerationOption } from '../src/types'
22
import { resolve } from 'node:path'
33
import process from 'node:process'
4-
import { CAC } from '@stacksjs/cli'
4+
import { CAC } from 'cac'
55
import { version } from '../package.json'
6-
import { generate } from '../src/generate'
6+
import { generate } from '../src/generator'
77

88
const cli = new CAC('dtsx')
99

build.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import fs from 'node:fs/promises'
2-
import { log } from '@stacksjs/cli'
32
import { dts } from 'bun-plugin-dtsx'
43

5-
log.info('Building...')
4+
console.log('Building...')
65

76
await fs.rm('./dist', { recursive: true, force: true })
87

@@ -23,4 +22,4 @@ await fs.rename('./dist/src/index.js', './dist/index.js')
2322
await fs.rm('./dist/src', { recursive: true, force: true })
2423
await fs.rm('./dist/bin', { recursive: true, force: true })
2524

26-
log.success('Built')
25+
console.log('Built!')

0 commit comments

Comments
 (0)