Skip to content

Commit

Permalink
馃悰 fix: fix openapi export entry
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 15, 2023
1 parent 4aa19ef commit 9b9c1f6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ test-output

client.d.ts
client.js
openapi.d.ts
openapi.js
bun.lockb
schema.json
1 change: 1 addition & 0 deletions openapi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './lib/openapi';
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@
"es",
"client.d.ts",
"client.js",
"openapi.d.ts",
"openapi.js",
"schema.json"
],
"scripts": {
"build": "father build && npm run build:client && npm run build:schema",
"build:client": "tsc client.ts --declaration",
"build": "father build && npm run build:entry && npm run build:schema",
"build:entry": "tsc client.ts --declaration && tsc openapi.ts --declaration",
"build:schema": "ts-json-schema-generator --path src/types/manifest.ts --type LobeChatPluginManifest -o schema.json",
"ci": "npm run lint && npm run type-check && npm run doctor",
"dev": "father dev",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from './error';
export * from './openapi';
export * from './request';
export * from './schema/manifest';
export * from './schema/market';
Expand Down

0 comments on commit 9b9c1f6

Please sign in to comment.