Skip to content

Commit

Permalink
chore: Update orchestration client and spec (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfrenken authored Aug 9, 2024
1 parent 1b5ad46 commit 4ffe084
Show file tree
Hide file tree
Showing 556 changed files with 12,203 additions and 10,435 deletions.
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

0 comments on commit 4ffe084

Please sign in to comment.