fix(ci): resolve CI failures for Go checks, codegen, and frontend type-checking
- Add frontend/dist stub in Go Checks and Go Tests jobs so the go:embed directive in main.go resolves without a real frontend build - Run go mod tidy to add missing go.sum entries for templ/sqlc tool transitive dependencies (fixes Code Generation Check) - Delete dead library-picker.ts that imported non-existent Wails bindings module and called undefined functions - Exclude Wails-generated JS stubs from tsc strict checking via tsconfig exclude (the companion .d.ts files provide types) - Add title and artist fields to QueueTrack interface to match the Go backend struct and fix queue-panel.ts type errors
This commit is contained in:
@@ -42,5 +42,9 @@
|
||||
{"name": "ts-lit-plugin"},
|
||||
{"name": "typescript-lit-html-plugin"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": ["src", "wailsjs"],
|
||||
// Wails-generated JS stubs use @ts-check with untyped patterns that
|
||||
// violate strict mode. The companion .d.ts files provide the types.
|
||||
"exclude": ["wailsjs/go/**/*.js"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user