Skip to content

Commit 137640a

Browse files
committed
Merge remote-tracking branch 'origin/main' into claude/create-api-landing-X5DNw
2 parents c28c6b4 + b917c23 commit 137640a

File tree

14 files changed

+1261
-168
lines changed

14 files changed

+1261
-168
lines changed

README.md

Lines changed: 1142 additions & 70 deletions
Large diffs are not rendered by default.

SKILL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This skill helps you invoke the `devup-api` library to generate and use fully ty
1515
- **Build Tool Integration:** Plugins for Vite, Next.js, Webpack, and Rsbuild.
1616
- **React Query Integration:** First-class support for TanStack React Query with `@devup-api/react-query`.
1717
- **Multiple API Servers:** Support for multiple OpenAPI schemas with `serverName` and `DevupObject` type access.
18-
- **Two-phase Typing:** "Cold Typing" (relaxed types for initial setup) and "Bold Typing" (strict types after generation).
18+
- **Two-phase Typing:** "Cold Typing" (relaxed types for initial setup) and "Boild Typing" (strict types after generation - named after "boiled" and inspired by "boilerplate").
1919

2020
## Usage Instructions
2121

@@ -172,7 +172,8 @@ const { data, fetchNextPage } = queryClient.useInfiniteQuery('get', 'getUsers',
172172

173173
## Guidelines
174174

175-
- **"Cold" vs "Bold" Typing:** When you first start, types might be `any` (Cold Typing). Run your build command (`dev` or `build`) to generate the types and enable strict checking (Bold Typing).
175+
- **"Cold" vs "Boild" Typing:** When you first start, types might be `any` (Cold Typing ❄️). Run your build command (`dev` or `build`) to generate the types and enable strict checking (Boild Typing 🔥 - the warm opposite of cold, with zero boilerplate needed!).
176176
- **Operation IDs vs Paths:** You can use either the OpenAPI `operationId` (e.g., `getUsers`) or the URL path (e.g., `/users`). `operationId` is often more concise.
177177
- **Generated Files:** Do not manually edit the files in the `df` (or configured temp) directory. They are auto-generated.
178178
- **Verification:** If types seem missing, ensure `tsconfig.json` includes the generated folder and that the build script has run at least once.
179+
- **Advanced Features:** devup-api supports authentication, file uploads, request interceptors, retry logic, caching, and more through custom fetch implementations.

bun.lock

Lines changed: 41 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/next-webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"next": "^16.0.10",
12+
"next": "^16.1.0",
1313
"react": "^19.2.3",
1414
"react-dom": "^19.2.3",
1515
"@devup-api/next-plugin": "workspace:*",

examples/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"next": "^16.0.10",
12+
"next": "^16.1.0",
1313
"react": "^19.2.3",
1414
"react-dom": "^19.2.3",
1515
"@devup-api/next-plugin": "workspace:*",

packages/fetch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devup-api/fetch",
3-
"version": "0.1.11",
3+
"version": "0.1.13",
44
"license": "Apache-2.0",
55
"type": "module",
66
"exports": {
@@ -20,7 +20,7 @@
2020
"access": "public"
2121
},
2222
"dependencies": {
23-
"@devup-api/core": "workspace:*"
23+
"@devup-api/core": "workspace:^"
2424
},
2525
"devDependencies": {
2626
"@types/node": "^25.0",

packages/generator/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devup-api/generator",
3-
"version": "0.1.9",
3+
"version": "0.1.12",
44
"license": "Apache-2.0",
55
"type": "module",
66
"exports": {
@@ -20,8 +20,8 @@
2020
"access": "public"
2121
},
2222
"dependencies": {
23-
"@devup-api/core": "workspace:*",
24-
"@devup-api/utils": "workspace:*"
23+
"@devup-api/core": "workspace:^",
24+
"@devup-api/utils": "workspace:^"
2525
},
2626
"devDependencies": {
2727
"@types/node": "^25.0",

0 commit comments

Comments
 (0)