Skip to content

Commit 0715987

Browse files
committed
fix(sirutils/core): build steps
1 parent 6b117db commit 0715987

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

packages/core/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"files": ["dist"],
77
"exports": {
88
".": {
9+
"source": "./src/index.ts",
910
"default": "./dist/index.js",
1011
"types": "./dist/index.d.ts"
1112
}

packages/core/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('hi')

tools/sircli/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
export * from './cli'
2+
export * from './plugins/builder'
3+
export * from './utils/readJsonFile'
24

35
export * from 'clerc'

tools/sircli/src/plugins/builder/plugin.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ import { readJsonFile } from '../../utils/readJsonFile'
66
import { build } from './utils/build'
77
import { buildDts } from './utils/dts'
88

9-
// TODO: add help options
10-
119
export interface Entries {
1210
source: string
1311
default: string
1412
types?: string
1513
}
1614

1715
export const builderPlugin = definePlugin({
16+
// TODO: add help options
1817
setup: (cli: Cli) =>
1918
cli
2019
.command('build', 'build command', {

0 commit comments

Comments
 (0)