Skip to content

Commit 2ca7977

Browse files
committed
Revert "Merge master"
This reverts commit d5e00fa, reversing changes made to a5b7289.
1 parent d5e00fa commit 2ca7977

File tree

7 files changed

+3031
-299
lines changed

7 files changed

+3031
-299
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ updates:
2121
interval: daily
2222
commit-message:
2323
prefix:
24-
ignore:
25-
- dependency-name: "@hey-api/openapi-ts"
2624
# Docker
2725
- package-ecosystem: docker
2826
directories:

frontend/Dockerfile.playwright

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
FROM mcr.microsoft.com/playwright:v1.55.0-noble
1+
FROM node:24
22

33
WORKDIR /app
44

55
COPY package*.json /app/
66

77
RUN npm install
88

9+
RUN npx -y playwright install --with-deps
10+
911
COPY ./ /app/
1012

1113
ARG VITE_API_URL=${VITE_API_URL}

frontend/openapi-ts.config.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
import { defineConfig } from "@hey-api/openapi-ts"
22

33
export default defineConfig({
4+
client: "legacy/axios",
45
input: "./openapi.json",
56
output: "./src/client",
6-
7+
// exportSchemas: true,
78
plugins: [
8-
"legacy/axios",
99
{
1010
name: "@hey-api/sdk",
1111
// NOTE: this doesn't allow tree-shaking
1212
asClass: true,
1313
operationId: true,
14-
classNameBuilder: "{{name}}Service",
1514
methodNameBuilder: (operation) => {
1615
// @ts-ignore
1716
let name: string = operation.name
@@ -25,9 +24,5 @@ export default defineConfig({
2524
return name.charAt(0).toLowerCase() + name.slice(1)
2625
},
2726
},
28-
{
29-
name: "@hey-api/schemas",
30-
type: "json",
31-
},
3227
],
33-
})
28+
})

0 commit comments

Comments
 (0)