Skip to content

Commit 90608e6

Browse files
authored
chore: change location of gen files for containerfile user permissions (#88)
Signed-off-by: Sonia Sandler <[email protected]>
1 parent aec5822 commit 90608e6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dist
88
/.npmrc
99
output
1010
test-results
11-
src/rh-api/gen
11+
src-gen

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src/rh-api/gen/
1+
src-gen/

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default [
5555
'**/coverage/',
5656
'extensions/*.ts',
5757
'scripts/**',
58-
'src/rh-api/gen/*',
58+
'src-gen/*',
5959
],
6060
},
6161
js.configs.recommended,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272
},
7373
"scripts": {
74-
"generate:subscription-v1": "npx openapi-typescript src/rh-api/subscription-schema-v1.json -o src/rh-api/gen/subscription-v1.d.ts",
74+
"generate:subscription-v1": "npx openapi-typescript src/rh-api/subscription-schema-v1.json -o src-gen/subscription-v1.d.ts",
7575
"build": "pnpm generate:subscription-v1 && vite build",
7676
"test": "vitest run --coverage --passWithNoTests",
7777
"test:watch": "vitest watch --coverage --passWithNoTests",

src/rh-api/rh-api-sm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import type { Client } from 'openapi-fetch';
2121
import createClient from 'openapi-fetch';
2222

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

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

0 commit comments

Comments
 (0)