mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
Merge master
This commit is contained in:
@@ -21,6 +21,8 @@ updates:
|
||||
interval: daily
|
||||
commit-message:
|
||||
prefix: ⬆
|
||||
ignore:
|
||||
- dependency-name: "@hey-api/openapi-ts"
|
||||
# Docker
|
||||
- package-ecosystem: docker
|
||||
directories:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:24
|
||||
FROM mcr.microsoft.com/playwright:v1.55.0-noble
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -6,8 +6,6 @@ COPY package*.json /app/
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npx -y playwright install --with-deps
|
||||
|
||||
COPY ./ /app/
|
||||
|
||||
ARG VITE_API_URL=${VITE_API_URL}
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
import { defineConfig } from "@hey-api/openapi-ts"
|
||||
|
||||
export default defineConfig({
|
||||
client: "legacy/axios",
|
||||
input: "./openapi.json",
|
||||
output: "./src/client",
|
||||
// exportSchemas: true,
|
||||
|
||||
plugins: [
|
||||
"legacy/axios",
|
||||
{
|
||||
name: "@hey-api/sdk",
|
||||
// NOTE: this doesn't allow tree-shaking
|
||||
asClass: true,
|
||||
operationId: true,
|
||||
classNameBuilder: "{{name}}Service",
|
||||
methodNameBuilder: (operation) => {
|
||||
// @ts-ignore
|
||||
let name: string = operation.name
|
||||
@@ -24,5 +25,9 @@ export default defineConfig({
|
||||
return name.charAt(0).toLowerCase() + name.slice(1)
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "@hey-api/schemas",
|
||||
type: "json",
|
||||
},
|
||||
],
|
||||
})
|
||||
})
|
||||
Generated
+256
-3022
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,7 @@
|
||||
"@chakra-ui/react": "^3.26.0",
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@tanstack/react-query": "^5.28.14",
|
||||
"@tanstack/react-query-devtools": "^5.74.9",
|
||||
"@tanstack/react-query-devtools": "^5.87.1",
|
||||
"@tanstack/react-router": "1.19.1",
|
||||
"axios": "1.9.0",
|
||||
"form-data": "4.0.4",
|
||||
@@ -27,15 +27,15 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.9.4",
|
||||
"@hey-api/openapi-ts": "^0.57.0",
|
||||
"@playwright/test": "^1.52.0",
|
||||
"@hey-api/openapi-ts": "0.73.0",
|
||||
"@playwright/test": "^1.55.0",
|
||||
"@tanstack/router-devtools": "1.19.1",
|
||||
"@tanstack/router-vite-plugin": "1.19.0",
|
||||
"@types/node": "^22.15.3",
|
||||
"@types/react": "^19.1.12",
|
||||
"@types/react-dom": "^19.1.9",
|
||||
"@vitejs/plugin-react-swc": "^3.9.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"dotenv": "^17.2.2",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^6.3.4"
|
||||
}
|
||||
|
||||
@@ -212,6 +212,31 @@ export const NewPasswordSchema = {
|
||||
title: "NewPassword",
|
||||
} as const
|
||||
|
||||
export const PrivateUserCreateSchema = {
|
||||
properties: {
|
||||
email: {
|
||||
type: "string",
|
||||
title: "Email",
|
||||
},
|
||||
password: {
|
||||
type: "string",
|
||||
title: "Password",
|
||||
},
|
||||
full_name: {
|
||||
type: "string",
|
||||
title: "Full Name",
|
||||
},
|
||||
is_verified: {
|
||||
type: "boolean",
|
||||
title: "Is Verified",
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
type: "object",
|
||||
required: ["email", "password", "full_name"],
|
||||
title: "PrivateUserCreate",
|
||||
} as const
|
||||
|
||||
export const TokenSchema = {
|
||||
properties: {
|
||||
access_token: {
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
### Upgrades
|
||||
|
||||
* ⬆️ Update @hey-api/openapi-ts dependency version and update dependabot config. PR [#1845](https://github.com/fastapi/full-stack-fastapi-template/pull/1845) by [@alejsdev](https://github.com/alejsdev).
|
||||
* ⬆️ Update Playwright. PR [#1793](https://github.com/fastapi/full-stack-fastapi-template/pull/1793) by [@alejsdev](https://github.com/alejsdev).
|
||||
* ⬆️ Upgrade React and related dependencies. PR [#1843](https://github.com/fastapi/full-stack-fastapi-template/pull/1843) by [@alejsdev](https://github.com/alejsdev).
|
||||
|
||||
### Docs
|
||||
@@ -25,6 +27,8 @@
|
||||
|
||||
### Internal
|
||||
|
||||
* ⬆ Bump @tanstack/react-query-devtools from 5.74.9 to 5.87.1 in /frontend. PR [#1848](https://github.com/fastapi/full-stack-fastapi-template/pull/1848) by [@dependabot[bot]](https://github.com/apps/dependabot).
|
||||
* ⬆ Bump dotenv from 16.4.5 to 17.2.2 in /frontend. PR [#1846](https://github.com/fastapi/full-stack-fastapi-template/pull/1846) by [@dependabot[bot]](https://github.com/apps/dependabot).
|
||||
* ⬆ Bump node from 20 to 24 in /frontend. PR [#1621](https://github.com/fastapi/full-stack-fastapi-template/pull/1621) by [@dependabot[bot]](https://github.com/apps/dependabot).
|
||||
* ⬆ Bump actions/labeler from 5 to 6. PR [#1839](https://github.com/fastapi/full-stack-fastapi-template/pull/1839) by [@dependabot[bot]](https://github.com/apps/dependabot).
|
||||
* ⬆ Bump actions/setup-python from 5 to 6. PR [#1835](https://github.com/fastapi/full-stack-fastapi-template/pull/1835) by [@dependabot[bot]](https://github.com/apps/dependabot).
|
||||
|
||||
Reference in New Issue
Block a user