Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update orchestration client and spec #60

Merged
merged 18 commits into from
Aug 9, 2024
Merged
  •  
  •  
  •  
10 changes: 8 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ import flatConfig from '@sap-cloud-sdk/eslint-config/flat-config.js';
export default [
...flatConfig,
{
ignores: ['**/dist/**/*', '**/coverage/**/*', 'packages/ai-core/src/'],
ignores: ['**/dist/**/*', '**/coverage/**/*', 'packages/ai-core/src/client/**/*'],
},
{
files: ['**/test-util/**/*.ts'],
files: ['**/test-util/**/*.ts', '**/packages/gen-ai-hub/src/orchestration/client/**/*'],
rules: {
'jsdoc/require-jsdoc': 'off'
}
},
{
files: ['**/packages/gen-ai-hub/src/orchestration/client/api/default-api.ts'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off'
}
}
];
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm -r run test",
"test:type": "tsd",
"lint": "pnpm -r run lint",
"lint:fix": "pnpm -r run lint:fix"
"lint:fix": "pnpm -r run lint:fix",
"generate": "pnpm -r run generate"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
Expand Down
6 changes: 4 additions & 2 deletions packages/ai-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
"compile": "tsc",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"lint": "eslint . && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -c",
"lint:fix": "eslint . --fix && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -w --log-level error"
"lint:fix": "eslint . --fix && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -w --log-level error",
"generate": "openapi-generator --generateESM --overwrite --input ./src/spec/AI_CORE_API.yaml --outputDir ./src/client && pnpm lint:fix"
},
"dependencies": {
"@sap-cloud-sdk/openapi": "^3.18.0"
},
"devDependencies": {
"typescript": "^5.5.4"
"typescript": "^5.5.4",
"@sap-cloud-sdk/openapi-generator": "^3.18.0"
}
}
Loading
Loading