Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dist
/.npmrc
output
test-results
src/rh-api/gen
src-gen
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/rh-api/gen/
src-gen/
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default [
'**/coverage/',
'extensions/*.ts',
'scripts/**',
'src/rh-api/gen/*',
'src-gen/*',
],
},
js.configs.recommended,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
}
},
"scripts": {
"generate:subscription-v1": "npx openapi-typescript src/rh-api/subscription-schema-v1.json -o src/rh-api/gen/subscription-v1.d.ts",
"generate:subscription-v1": "npx openapi-typescript src/rh-api/subscription-schema-v1.json -o src-gen/subscription-v1.d.ts",
"build": "pnpm generate:subscription-v1 && vite build",
"test": "vitest run --coverage --passWithNoTests",
"test:watch": "vitest watch --coverage --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion src/rh-api/rh-api-sm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import type { Client } from 'openapi-fetch';
import createClient from 'openapi-fetch';

import type { paths } from './gen/subscription-v1';
import type { paths } from '../../src-gen/subscription-v1';

export const REGISTRY_REDHAT_IO = 'registry.redhat.io';

Expand Down