generated from stijnvanhulle/template
-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: unplugin package * chore: format * chore: fix ts * chore: prepare unplugin setup * chore: rename Kubb types * chore: cleanup * chore: cleanup * chore: update lock file
- Loading branch information
1 parent
e682c44
commit e8a2a32
Showing
110 changed files
with
1,827 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"unplugin-kubb": minor | ||
--- | ||
|
||
creation of unplugin package for Kubb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -402,7 +402,6 @@ export default defineConfig({ | |
}) | ||
``` | ||
|
||
|
||
::: | ||
|
||
### transformers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "e2e", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"clean": "npx rimraf ./dist", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "client-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "Client PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"scripts": { | ||
"build": "tsup", | ||
"clean": "npx rimraf ./dist", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "faker-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "Faker PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "msw-v2-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "MSW PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "msw-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "MSW PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[1m[31mswagger-tanstack-query[39m[22m Executing writeFile | ||
[47mParameters[49m [1m[31mswagger-tanstack-query[39m[22m writeFile | ||
[ | ||
"export * from \"./models/index\";\nexport * from \"./hooks/index\";\n\n", | ||
"/Users/stijnvanhulle/GitHub/kubb/examples/react-query-v5/src/gen/index.ts" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "react-query-v5-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "ReactQuery PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,10 +11,10 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup && vite build", | ||
"build": "tsup && build:vite", | ||
"build:vite": "vite build", | ||
"clean": "npx rimraf ./dist", | ||
"dev": "vite", | ||
"generate": "kubb generate", | ||
|
@@ -39,6 +40,7 @@ | |
"@types/react": "^18.2.48", | ||
"@types/react-dom": "^18.2.18", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"unplugin-kubb": "workspace:*", | ||
"msw": "^1.3.2", | ||
"typescript": "~5.2.2", | ||
"vite": "^4.5.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import react from '@vitejs/plugin-react' | ||
import kubb from 'unplugin-kubb/vite' | ||
import { defineConfig } from 'vite' | ||
import { config } from './kubb.config.js' | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: [react()], | ||
plugins: [ | ||
react(), | ||
kubb({ | ||
config, | ||
}), | ||
], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "react-query-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "ReactQuery PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup && vite build", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "simple-single-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "Simple single PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "solid-query-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "SolidQuery PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "svelte-query-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "SvelteQuery PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "swr-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "SWR PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "typescript-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "TypeScript PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"scripts": { | ||
"build": "tsup", | ||
"clean": "npx rimraf ./dist", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "vue-query-v5-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "VueQuery PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup && vite build", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "vue-query-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "VueQuery PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup && vite build", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "zod-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "Zod PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "zodios-pet-store", | ||
"version": "0.0.1", | ||
"private": true, | ||
"description": "zodios PetStore example", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -10,7 +11,6 @@ | |
"license": "MIT", | ||
"author": "Stijn Van Hulle <[email protected]", | ||
"sideEffects": false, | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsup", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,11 @@ | |
] | ||
}, | ||
"scripts": { | ||
"//changeset:beta:enter": "changeset pre enter beta", | ||
"//changeset:beta:exit": "changeset pre exit", | ||
"build": "turbo run build --filter=./packages/*", | ||
"build:examples": "turbo run build --filter=./examples/*", | ||
"changeset": "changeset", | ||
"clean": "turbo run clean", | ||
"format": "bun run format:dprint", | ||
"format:dprint": "dprint fmt", | ||
|
@@ -39,9 +42,7 @@ | |
"lint:ci": "ESLINT_USE_FLAT_CONFIG=true eslint --max-warnings 10 --format pretty ./packages/*", | ||
"lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint --fix --format pretty ./packages/* && bun run lint:case", | ||
"lint:turbo": "turbo run lint", | ||
"version": "changeset version", | ||
"release": "changeset publish", | ||
"version:canary": "changeset version --snapshot canary", | ||
"release:canary": "changeset publish --no-git-tag", | ||
"start": "turbo run start --filter=./packages/*", | ||
"test": "vitest run --config ./configs/vitest.config.ts --coverage", | ||
|
@@ -51,9 +52,8 @@ | |
"typecheck": "turbo run typecheck --continue --filter='./packages/*'", | ||
"typecheck:examples": "turbo run typecheck --continue --filter='./examples/*'", | ||
"upgrade": "npx taze -r -w --exclude pnpm", | ||
"changeset": "changeset", | ||
"//changeset:beta:enter": "changeset pre enter beta", | ||
"//changeset:beta:exit": "changeset pre exit" | ||
"version": "changeset version", | ||
"version:canary": "changeset version --snapshot canary" | ||
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "^0.5.0", | ||
|
@@ -74,12 +74,12 @@ | |
"vite-tsconfig-paths": "^4.3.1", | ||
"vitest": "^1.2.1" | ||
}, | ||
"namespace": "@kubb", | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=18", | ||
"pnpm": ">=8.3.0" | ||
}, | ||
"namespace": "@kubb", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@changesets/[email protected]": "patches/@[email protected]" | ||
|
Oops, something went wrong.
e8a2a32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
kubb – ./
kubb-kubb.vercel.app
kubb-git-main-kubb.vercel.app
www.kubb.dev
kubb.dev