Skip to content

Commit c2e70ee

Browse files
committed
update dependencies
1 parent 0ce8367 commit c2e70ee

16 files changed

+708
-2841
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ This library leverages TypeScript's string literal types to perform compile-time
66

77
## Installation
88

9+
10+
```bash
11+
bun install prompt-builder
12+
```
13+
914
```bash
1015
pnpm add prompt-builder
1116
```
@@ -33,7 +38,7 @@ const promptBuilder = new PromptBuilder("Tell me a {{jokeType}} joke");
3338

3439
const prompt = promptBuilder.build({
3540
jokeType: "funny",
36-
} as const);
41+
});
3742

3843
console.log(prompt); // "Tell me a funny joke"
3944
```
@@ -48,6 +53,10 @@ https://blamy.gitbook.io/prompt-builder
4853

4954
We have included a suite of tests for validating the functionality of the library. You can run these tests using the following command:
5055

56+
```bash
57+
bun test:watch
58+
```
59+
5160
```bash
5261
npm run test
5362
```

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,24 @@
88
"dist"
99
],
1010
"scripts": {
11-
"prepublish": "rm -rf dist && tsc",
11+
"prepublish": "npm run build",
12+
"build": "rm -rf dist && tsc",
1213
"prettier": "npx prettier --write src",
13-
"test": "jest"
14+
"test": "jest",
15+
"test:watch": "bun test --watch"
1416
},
1517
"keywords": [],
1618
"author": "",
1719
"license": "ISC",
1820
"devDependencies": {
19-
"@types/jest": "^29.5.1",
20-
"@types/node": "^20.2.4",
21-
"jest": "^29.5.0",
22-
"openai": "^4.0.0",
21+
"@types/jest": "^29.5.5",
22+
"@types/node": "^20.6.4",
2323
"ts-jest": "^29.1.0",
24-
"ts-toolbelt": "^9.6.0",
25-
"typescript": "^5.0.4"
24+
"jest": "^29.7.0",
25+
"openai": "^4.10.0",
26+
"typescript": "^5.2.2"
2627
},
2728
"dependencies": {
28-
"zod": "^3.21.4"
29+
"zod": "^3.22.2"
2930
}
3031
}

0 commit comments

Comments
 (0)