Skip to content

Commit eb4b08a

Browse files
committed
Tweaks to sdk/package.json based on chatgpt feedback
1 parent e2fe257 commit eb4b08a

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

sdk/package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
{
22
"name": "@codebuff/sdk",
33
"private": false,
4-
"access": "public",
54
"version": "0.2.1",
65
"description": "Official SDK for Codebuff — AI coding agent & framework",
76
"license": "Apache-2.0",
87
"type": "module",
98
"main": "./dist/index.cjs",
109
"module": "./dist/index.mjs",
1110
"types": "./dist/index.d.ts",
12-
"typings": "./dist/index.d.ts",
1311
"exports": {
1412
".": {
1513
"types": "./dist/index.d.ts",
@@ -18,14 +16,24 @@
1816
},
1917
"./package.json": "./package.json"
2018
},
19+
"typesVersions": {
20+
"*": {
21+
"*": [
22+
"dist/*"
23+
],
24+
"": [
25+
"dist/index.d.ts"
26+
]
27+
}
28+
},
2129
"sideEffects": false,
2230
"files": [
2331
"dist",
2432
"README.md",
2533
"CHANGELOG.md"
2634
],
2735
"scripts": {
28-
"build": "bun run build.ts",
36+
"build": "bun run scripts/build.ts",
2937
"build:types": "tsc -p tsconfig.build.json",
3038
"build:verify": "bun run build && bun run smoke-test:dist && bun run test:cjs && bun run test:esm",
3139
"smoke-test:dist": "bun run smoke-test-dist.ts",
@@ -36,7 +44,6 @@
3644
"publish-sdk": "bun run scripts/publish.ts --public",
3745
"publish-dry-run": "bun run build:verify && bun run scripts/publish.ts --dry-run",
3846
"prepack": "bun run build",
39-
"prepublishOnly": "bun run build",
4047
"typecheck": "tsc --noEmit -p .",
4148
"test": "bun test"
4249
},
File renamed without changes.

0 commit comments

Comments
 (0)