Skip to content

Commit 2c1cf70

Browse files
committed
feat(cli/fmt): Export API from oxfmt
1 parent 6760ee9 commit 2c1cf70

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/cli/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
"import": "./binding/index.cjs",
6767
"require": "./binding/index.cjs"
6868
},
69+
"./fmt": {
70+
"types": "./dist/fmt.d.ts",
71+
"import": "./dist/fmt.js"
72+
},
6973
"./lint": {
7074
"types": "./dist/lint.d.ts",
7175
"import": "./dist/lint.js"

packages/cli/src/fmt.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { format } from 'oxfmt';
2+
export type * from 'oxfmt';

0 commit comments

Comments
 (0)