mirror of
https://github.com/ae-utbm/sith.git
synced 2025-03-09 23:07:11 +00:00
Fix schema.json being auto deleted and remove formating and linting of generated openapi client
This commit is contained in:
parent
05edf33062
commit
106dc32a3d
@ -6,9 +6,7 @@ import { defineConfig } from "@hey-api/openapi-ts";
|
||||
export default defineConfig({
|
||||
input: resolve(__dirname, "./staticfiles/generated/openapi/schema.json"),
|
||||
output: {
|
||||
lint: "biome",
|
||||
format: "biome",
|
||||
path: resolve(__dirname, "./staticfiles/generated/openapi"),
|
||||
path: resolve(__dirname, "./staticfiles/generated/openapi/client"),
|
||||
},
|
||||
plugins: [
|
||||
{
|
||||
|
3
package-lock.json
generated
3
package-lock.json
generated
@ -3383,7 +3383,8 @@
|
||||
"node_modules/country-flag-emoji-polyfill": {
|
||||
"version": "0.1.8",
|
||||
"resolved": "https://registry.npmjs.org/country-flag-emoji-polyfill/-/country-flag-emoji-polyfill-0.1.8.tgz",
|
||||
"integrity": "sha512-Mbah52sADS3gshUYhK5142gtUuJpHYOXlXtLFI3Ly4RqgkmPMvhX9kMZSTqDM8P7UqtSW99eHKFphhQSGXA3Cg=="
|
||||
"integrity": "sha512-Mbah52sADS3gshUYhK5142gtUuJpHYOXlXtLFI3Ly4RqgkmPMvhX9kMZSTqDM8P7UqtSW99eHKFphhQSGXA3Cg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/cross-spawn": {
|
||||
"version": "7.0.6",
|
||||
|
@ -17,7 +17,7 @@
|
||||
"license": "GPL-3.0-only",
|
||||
"sideEffects": [".css"],
|
||||
"imports": {
|
||||
"#openapi": "./staticfiles/generated/openapi/index.ts",
|
||||
"#openapi": "./staticfiles/generated/openapi/client/index.ts",
|
||||
"#core:*": "./core/static/bundled/*",
|
||||
"#pedagogy:*": "./pedagogy/static/bundled/*",
|
||||
"#counter:*": "./counter/static/bundled/*",
|
||||
|
@ -14,7 +14,7 @@
|
||||
"types": ["jquery", "alpinejs"],
|
||||
"lib": ["es7"],
|
||||
"paths": {
|
||||
"#openapi": ["./staticfiles/generated/openapi/index.ts"],
|
||||
"#openapi": ["./staticfiles/generated/openapi/client/index.ts"],
|
||||
"#core:*": ["./core/static/bundled/*"],
|
||||
"#pedagogy:*": ["./pedagogy/static/bundled/*"],
|
||||
"#counter:*": ["./counter/static/bundled/*"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user