@fdm-monster/client-next 0.1.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -24,8 +24,8 @@
24
24
  background-color: #121212; /* should match the Vuetify theme background */
25
25
  }
26
26
  </style>
27
- <script type="module" crossorigin src="/assets/index-BSN99B_g.js"></script>
28
- <link rel="stylesheet" crossorigin href="/assets/index-D27mWBqZ.css">
27
+ <script type="module" crossorigin src="/assets/index-BL5AV5pQ.js"></script>
28
+ <link rel="stylesheet" crossorigin href="/assets/index-Dq2MNRYQ.css">
29
29
  </head>
30
30
 
31
31
  <body>
@@ -0,0 +1,24 @@
1
+ import { defineConfig } from '@hey-api/openapi-ts'
2
+
3
+ export default defineConfig({
4
+ input: 'http://localhost:4000/api-docs/swagger.json',
5
+ output: {
6
+ path: './src/backend/generated',
7
+ format: 'prettier',
8
+ lint: 'eslint',
9
+ },
10
+ client: {
11
+ name: '@hey-api/client-axios',
12
+ },
13
+ plugins: [
14
+ {
15
+ name: '@hey-api/typescript',
16
+ enums: 'javascript',
17
+ },
18
+ {
19
+ name: '@hey-api/sdk',
20
+ asClass: true,
21
+ },
22
+ ],
23
+ })
24
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fdm-monster/client-next",
3
- "version": "0.1.0",
3
+ "version": "2.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/fdm-monster/fdm-monster-client-next.git"
@@ -16,10 +16,13 @@
16
16
  "build": "vue-tsc --noEmit && vite build",
17
17
  "preview": "vite preview",
18
18
  "lint": "eslint . --fix --ignore-path .gitignore",
19
+ "test": "vitest --environment jsdom",
19
20
  "test:unit": "vitest --environment jsdom",
20
21
  "test:unit:update": "vitest --environment jsdom -u",
21
22
  "test:coverage": "vitest run --coverage --environment jsdom",
22
- "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'"
23
+ "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
24
+ "openapi-ts": "openapi-ts",
25
+ "openapi-ts:watch": "openapi-ts --watch"
23
26
  },
24
27
  "dependencies": {},
25
28
  "devDependencies": {},
package/vite.config.ts CHANGED
@@ -40,14 +40,14 @@ export default defineConfig({
40
40
  sentryVitePlugin({
41
41
  telemetry: false,
42
42
  org: 'fdm-monster',
43
- project: 'fdm-monster-client',
43
+ project: 'fdm-monster-client-next',
44
44
  // Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
45
45
  // and needs the `project:releases` and `org:read` scopes
46
46
  authToken: process.env.SENTRY_AUTH_TOKEN,
47
47
  // Optionally uncomment the line below to override automatic release name detection
48
48
  release: {
49
49
  name: packageJson.version
50
- }
50
+ },
51
51
  }),
52
52
  Fonts({
53
53
  google: {