From a4101a6c5f5379232fbd704d524fb2eb2433286e Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:23:02 +0100 Subject: [PATCH 01/16] use default options --- cds-plugin.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cds-plugin.ts b/cds-plugin.ts index b179f12..cec8cf3 100644 --- a/cds-plugin.ts +++ b/cds-plugin.ts @@ -29,6 +29,10 @@ cds.build?.register?.('process-validation', ProcessValidationPlugin); // Register import handler for: cds import --from process // @ts-expect-error: import does not exist on cds type cds.import ??= {}; +//@ts-expect-error: cds type does not exist +cds.import.options ??= {}; +//@ts-expect-error: cds type does not exist +cds.import.options.process = { no_copy: true, as: 'cds', config: 'kind=rest' }; // @ts-expect-error: process does not exist on cds.import type cds.import.from ??= {}; // @ts-expect-error: from does not exist on cds.import type From 7191d620e5414ea45ffc88fc694617038b179a5c Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:23:17 +0100 Subject: [PATCH 02/16] remove unneeded changes of package.json they are done by the dk automatically --- lib/processImport.ts | 58 +------------------------------------------- 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/lib/processImport.ts b/lib/processImport.ts index 314ca5d..0e8bec2 100644 --- a/lib/processImport.ts +++ b/lib/processImport.ts @@ -79,9 +79,6 @@ async function fetchAndSaveProcessDefinition(processName: string): Promise { const processHeader = loadProcessHeader(jsonFilePath); const csnModel = buildCsnModel(processHeader); - // Register service in package.json for local imports too - const serviceName = `${processHeader.projectId}.${capitalize(processHeader.identifier)}Service`; - const modelPath = getModelPathFromFilePath(jsonFilePath); - await addServiceToPackageJson(serviceName, modelPath); - return csnModel; } -/** - * Convert absolute/relative file path to model path for package.json - * e.g., "./srv/external/foo.json" -> "srv/external/foo" - * "/abs/path/srv/external/foo.json" -> "srv/external/foo" - */ -function getModelPathFromFilePath(filePath: string): string { - // Resolve to absolute, then make relative to cds.root - const absolutePath = path.resolve(filePath); - let relativePath = path.relative(cds.root, absolutePath); - - // Remove .json extension - if (relativePath.endsWith('.json')) { - relativePath = relativePath.slice(0, -5); - } - - // Normalize path separators - relativePath = relativePath.replace(/\\/g, '/'); - - // Replace "workflows" prefix with "srv/external" - if (relativePath.startsWith('workflows/')) { - relativePath = 'srv/external/' + relativePath.slice('workflows/'.length); - } - - return relativePath; -} - function loadProcessHeader(filePath: string): ProcessHeader { const content = fs.readFileSync(path.resolve(filePath), 'utf-8'); const header = JSON.parse(content) as ProcessHeader; @@ -175,7 +141,7 @@ function buildCsnModel(process: ProcessHeader): csn.CsnModel { return { $version: '2.0', definitions, - meta: { creator: 'cds-import-process' }, + meta: { creator: '@cap-js/process' }, }; } @@ -562,28 +528,6 @@ function ensureObjectSchema(schema?: JsonSchema): JsonSchema { return { type: 'object', properties: {}, required: [] }; } -// ============================================================================ -// PACKAGE.JSON UPDATE -// ============================================================================ - -async function addServiceToPackageJson(serviceName: string, modelPath: string): Promise { - const packagePath = path.join(cds.root, 'package.json'); - - try { - const content = await fs.promises.readFile(packagePath, 'utf8'); - const pkg = JSON.parse(content); - - pkg.cds ??= {}; - pkg.cds.requires ??= {}; - pkg.cds.requires[serviceName] = { kind: 'external', model: modelPath }; - - await fs.promises.writeFile(packagePath, JSON.stringify(pkg, null, 2) + '\n', 'utf8'); - LOG.debug(`Added ${serviceName} to package.json`); - } catch (error) { - LOG.warn(`Could not update package.json: ${error}`); - } -} - // ============================================================================ // UTILITIES // ============================================================================ From bc3d955ddb757aa297e9547fa5e1e27f6be09061 Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:23:29 +0100 Subject: [PATCH 03/16] adjust tests accordingly --- ...me.sdshipmentprocessor.shipmentHandler.cds | 8 +- .../process-import/process-import.test.ts | 86 ------------------- 2 files changed, 5 insertions(+), 89 deletions(-) diff --git a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds index 6c08660..7d92b3e 100644 --- a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds +++ b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds @@ -1,4 +1,4 @@ -/* checksum : ba13b7a95c8d1c3567a2bdb109bd687d */ +/* checksum : 060851d153c6463bb8c4fb247ccfd927 */ namespace eu12.![bpm-horizon-walkme].sdshipmentprocessor; /** DO NOT EDIT. THIS IS A GENERATED SERVICE THAT WILL BE OVERRIDDEN ON NEXT IMPORT. */ @@ -39,7 +39,7 @@ service ShipmentHandlerService { }; type ProcessOutputs { - shipmentProcessResultOutput : ShipmentProcessResult not null; + shipmentProcessResultOutput : ShipmentProcessResult; }; type ProcessAttribute { @@ -62,6 +62,8 @@ service ShipmentHandlerService { type ProcessInstances : many ProcessInstance; + type ProcessInstanceStatus : many String; + action start( inputs : ProcessInputs not null ); @@ -76,7 +78,7 @@ service ShipmentHandlerService { function getInstancesByBusinessKey( businessKey : String not null, - status : many String + status : ProcessInstanceStatus ) returns ProcessInstances; action suspend( diff --git a/tests/integration/process-import/process-import.test.ts b/tests/integration/process-import/process-import.test.ts index 2df70ae..154beb8 100644 --- a/tests/integration/process-import/process-import.test.ts +++ b/tests/integration/process-import/process-import.test.ts @@ -363,92 +363,6 @@ describe('Process Import Integration Tests', () => { }); }); - describe('Package.json Update', () => { - it('should add service to package.json with kind external', async () => { - const targetPath = path.join(tempDir, 'srv', 'external', 'test.project.simpleProcess.json'); - await fs.promises.copyFile(simpleProcessPath, targetPath); - - await importProcess(targetPath); - - const packageJsonPath = path.join(tempDir, 'package.json'); - const packageJson = JSON.parse(await fs.promises.readFile(packageJsonPath, 'utf8')); - - expect(packageJson.cds).toBeDefined(); - expect(packageJson.cds.requires).toBeDefined(); - expect(packageJson.cds.requires['test.project.SimpleProcessService']).toBeDefined(); - expect(packageJson.cds.requires['test.project.SimpleProcessService'].kind).toBe('external'); - expect(packageJson.cds.requires['test.project.SimpleProcessService'].model).toBe( - 'srv/external/test.project.simpleProcess', - ); - }); - - it('should compute correct model path from absolute file path', async () => { - const targetPath = path.join(tempDir, 'srv', 'external', 'my.custom.path.json'); - await fs.promises.copyFile(simpleProcessPath, targetPath); - - await importProcess(targetPath); - - const packageJsonPath = path.join(tempDir, 'package.json'); - const packageJson = JSON.parse(await fs.promises.readFile(packageJsonPath, 'utf8')); - - expect(packageJson.cds.requires['test.project.SimpleProcessService'].model).toBe( - 'srv/external/my.custom.path', - ); - }); - - it('should preserve existing package.json content', async () => { - const existingPackageJson = { - name: 'test-project', - version: '1.0.0', - dependencies: { '@sap/cds': '^7.0.0' }, - cds: { - requires: { - ExistingService: { kind: 'external', model: 'srv/existing' }, - }, - }, - }; - await fs.promises.writeFile( - path.join(tempDir, 'package.json'), - JSON.stringify(existingPackageJson, null, 2), - ); - - const targetPath = path.join(tempDir, 'srv', 'external', 'test.json'); - await fs.promises.copyFile(simpleProcessPath, targetPath); - - await importProcess(targetPath); - - const packageJson = JSON.parse( - await fs.promises.readFile(path.join(tempDir, 'package.json'), 'utf8'), - ); - - expect(packageJson.name).toBe('test-project'); - expect(packageJson.dependencies['@sap/cds']).toBe('^7.0.0'); - expect(packageJson.cds.requires['ExistingService']).toBeDefined(); - expect(packageJson.cds.requires['test.project.SimpleProcessService']).toBeDefined(); - }); - - it('should create cds.requires if not present', async () => { - const packageJson = { name: 'test-project', version: '1.0.0' }; - await fs.promises.writeFile( - path.join(tempDir, 'package.json'), - JSON.stringify(packageJson, null, 2), - ); - - const targetPath = path.join(tempDir, 'srv', 'external', 'test.json'); - await fs.promises.copyFile(simpleProcessPath, targetPath); - - await importProcess(targetPath); - - const updatedPackageJson = JSON.parse( - await fs.promises.readFile(path.join(tempDir, 'package.json'), 'utf8'), - ); - - expect(updatedPackageJson.cds).toBeDefined(); - expect(updatedPackageJson.cds.requires).toBeDefined(); - expect(updatedPackageJson.cds.requires['test.project.SimpleProcessService']).toBeDefined(); - }); - }); - describe('Edge Cases', () => { it('should handle process with empty inputs', async () => { const emptyInputsProcess = { From ce1c472ba701200a949e63f7f14cf4cd52128376 Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:31:15 +0100 Subject: [PATCH 04/16] remove status from getIntanceByBusinessKey --- ...12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds index 7d92b3e..43801ca 100644 --- a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds +++ b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds @@ -78,7 +78,6 @@ service ShipmentHandlerService { function getInstancesByBusinessKey( businessKey : String not null, - status : ProcessInstanceStatus ) returns ProcessInstances; action suspend( From 66e9c586d184665ce59cc69272705fdbc173dd17 Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:35:30 +0100 Subject: [PATCH 05/16] add external srv from main --- ...horizon-walkme.sdshipmentprocessor.shipmentHandler.cds | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds index 43801ca..94ea8cf 100644 --- a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds +++ b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds @@ -1,4 +1,4 @@ -/* checksum : 060851d153c6463bb8c4fb247ccfd927 */ +/* checksum : ba13b7a95c8d1c3567a2bdb109bd687d */ namespace eu12.![bpm-horizon-walkme].sdshipmentprocessor; /** DO NOT EDIT. THIS IS A GENERATED SERVICE THAT WILL BE OVERRIDDEN ON NEXT IMPORT. */ @@ -39,7 +39,7 @@ service ShipmentHandlerService { }; type ProcessOutputs { - shipmentProcessResultOutput : ShipmentProcessResult; + shipmentProcessResultOutput : ShipmentProcessResult not null; }; type ProcessAttribute { @@ -62,8 +62,6 @@ service ShipmentHandlerService { type ProcessInstances : many ProcessInstance; - type ProcessInstanceStatus : many String; - action start( inputs : ProcessInputs not null ); @@ -78,6 +76,7 @@ service ShipmentHandlerService { function getInstancesByBusinessKey( businessKey : String not null, + status : many String ) returns ProcessInstances; action suspend( @@ -95,4 +94,3 @@ service ShipmentHandlerService { cascade : Boolean ); }; - From 2a2a638b3a39a8a9dc6cbfbcaf80962a29b0fc43 Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:42:59 +0100 Subject: [PATCH 06/16] add compiled shipmentHandler --- ...orizon-walkme.sdshipmentprocessor.shipmentHandler.cds | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds index 94ea8cf..7d92b3e 100644 --- a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds +++ b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds @@ -1,4 +1,4 @@ -/* checksum : ba13b7a95c8d1c3567a2bdb109bd687d */ +/* checksum : 060851d153c6463bb8c4fb247ccfd927 */ namespace eu12.![bpm-horizon-walkme].sdshipmentprocessor; /** DO NOT EDIT. THIS IS A GENERATED SERVICE THAT WILL BE OVERRIDDEN ON NEXT IMPORT. */ @@ -39,7 +39,7 @@ service ShipmentHandlerService { }; type ProcessOutputs { - shipmentProcessResultOutput : ShipmentProcessResult not null; + shipmentProcessResultOutput : ShipmentProcessResult; }; type ProcessAttribute { @@ -62,6 +62,8 @@ service ShipmentHandlerService { type ProcessInstances : many ProcessInstance; + type ProcessInstanceStatus : many String; + action start( inputs : ProcessInputs not null ); @@ -76,7 +78,7 @@ service ShipmentHandlerService { function getInstancesByBusinessKey( businessKey : String not null, - status : many String + status : ProcessInstanceStatus ) returns ProcessInstances; action suspend( @@ -94,3 +96,4 @@ service ShipmentHandlerService { cascade : Boolean ); }; + From 19c38d157071d1cd1c2e058533b934afb5fc3831 Mon Sep 17 00:00:00 2001 From: I569192 Date: Thu, 12 Mar 2026 15:45:22 +0100 Subject: [PATCH 07/16] Revert "add compiled shipmentHandler" This reverts commit ee083ec8dd438372c2de330f6ebe445ceeab7722. --- ...orizon-walkme.sdshipmentprocessor.shipmentHandler.cds | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds index 7d92b3e..94ea8cf 100644 --- a/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds +++ b/tests/bookshop/srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler.cds @@ -1,4 +1,4 @@ -/* checksum : 060851d153c6463bb8c4fb247ccfd927 */ +/* checksum : ba13b7a95c8d1c3567a2bdb109bd687d */ namespace eu12.![bpm-horizon-walkme].sdshipmentprocessor; /** DO NOT EDIT. THIS IS A GENERATED SERVICE THAT WILL BE OVERRIDDEN ON NEXT IMPORT. */ @@ -39,7 +39,7 @@ service ShipmentHandlerService { }; type ProcessOutputs { - shipmentProcessResultOutput : ShipmentProcessResult; + shipmentProcessResultOutput : ShipmentProcessResult not null; }; type ProcessAttribute { @@ -62,8 +62,6 @@ service ShipmentHandlerService { type ProcessInstances : many ProcessInstance; - type ProcessInstanceStatus : many String; - action start( inputs : ProcessInputs not null ); @@ -78,7 +76,7 @@ service ShipmentHandlerService { function getInstancesByBusinessKey( businessKey : String not null, - status : ProcessInstanceStatus + status : many String ) returns ProcessInstances; action suspend( @@ -96,4 +94,3 @@ service ShipmentHandlerService { cascade : Boolean ); }; - From 9811724a416291fd8f432ef26599947686e99dec Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:08:30 +0100 Subject: [PATCH 08/16] version bump up --- package.json | 17 ++++++++++------- tests/bookshop/package.json | 6 +++++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 107b150..5a8d0a1 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,9 @@ "tests/bookshop" ], "dependencies": { - "@sap-cloud-sdk/connectivity": "^4.1.2", - "@sap-cloud-sdk/http-client": "^4.1.2", - "@sap-cloud-sdk/resilience": "^4.1.2" + "@sap-cloud-sdk/connectivity": "^4.5.1", + "@sap-cloud-sdk/http-client": "^4.5.1", + "@sap-cloud-sdk/resilience": "^4.5.1" }, "cds": { "requires": { @@ -42,6 +42,9 @@ "[development]": { "kind": "local-process-service" }, + "[hybrid]": { + "kind": "deployed-process-service" + }, "[production]": { "kind": "deployed-process-service" } @@ -63,13 +66,13 @@ }, "devDependencies": { "@cap-js/cds-test": "^0.4", - "@cap-js/cds-types": "^0.15.0", + "@cap-js/cds-types": "^0.16.0", "@types/jest": "^30.0.0", - "@types/node": "^24.0.0", - "jest": "^30.2.0", + "@types/node": "^25.5.0", + "jest": "^30.3.0", "ts-jest": "^29.4.6", "tsx": "^4", "typescript": "^5", - "typescript-eslint": "^8.56.1" + "typescript-eslint": "^8.57.0" } } diff --git a/tests/bookshop/package.json b/tests/bookshop/package.json index edc39e5..bb67af0 100644 --- a/tests/bookshop/package.json +++ b/tests/bookshop/package.json @@ -31,8 +31,12 @@ } }, "eu12.bpm-horizon-walkme.sdshipmentprocessor.ShipmentHandlerService": { - "kind": "external", + "kind": "rest", "model": "srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler" + }, + "eu12.cdsmunich.capprocesspluginhybridtest.Lifecycle_Test_ProcessService": { + "kind": "rest", + "model": "srv/external/eu12.cdsmunich.capprocesspluginhybridtest.lifecycle_Test_Process" } } }, From fc11acf75fb6f0f1ddf8fbdb2affc4ad5f43cd7c Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:22:24 +0100 Subject: [PATCH 09/16] changed kind --- cds-plugin.ts | 2 +- tests/bookshop/package.json | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cds-plugin.ts b/cds-plugin.ts index cec8cf3..83034a7 100644 --- a/cds-plugin.ts +++ b/cds-plugin.ts @@ -32,7 +32,7 @@ cds.import ??= {}; //@ts-expect-error: cds type does not exist cds.import.options ??= {}; //@ts-expect-error: cds type does not exist -cds.import.options.process = { no_copy: true, as: 'cds', config: 'kind=rest' }; +cds.import.options.process = { no_copy: true, as: 'cds', config: 'kind=process-service' }; // @ts-expect-error: process does not exist on cds.import type cds.import.from ??= {}; // @ts-expect-error: from does not exist on cds.import type diff --git a/tests/bookshop/package.json b/tests/bookshop/package.json index bb67af0..fde4cab 100644 --- a/tests/bookshop/package.json +++ b/tests/bookshop/package.json @@ -31,12 +31,8 @@ } }, "eu12.bpm-horizon-walkme.sdshipmentprocessor.ShipmentHandlerService": { - "kind": "rest", + "kind": "process-service", "model": "srv/external/eu12.bpm-horizon-walkme.sdshipmentprocessor.shipmentHandler" - }, - "eu12.cdsmunich.capprocesspluginhybridtest.Lifecycle_Test_ProcessService": { - "kind": "rest", - "model": "srv/external/eu12.cdsmunich.capprocesspluginhybridtest.lifecycle_Test_Process" } } }, From 9f994aac0a4a2d0b050a1ebe10763109888b262e Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:33:25 +0100 Subject: [PATCH 10/16] test --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c47f594..78cc0a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm i -g @sap/cds-dk@${{ matrix.cds-version }} + - run: cds -v - run: npm i - run: npm run build - run: cd tests/bookshop && npm i && npm run build From 9d16f8103f46cb8f8cc430490d1a8a678b2085c8 Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:36:00 +0100 Subject: [PATCH 11/16] test2.0 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78cc0a6..97d4e04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - run: npm i -g @sap/cds-dk@${{ matrix.cds-version }} + - run: npm i -g @sap/cds-dk@9.8.2 - run: cds -v - run: npm i - run: npm run build From cd1da8701f03d35d7941e5d266ba017b80ea95a6 Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:36:52 +0100 Subject: [PATCH 12/16] test3.0 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97d4e04..78cc0a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - run: npm i -g @sap/cds-dk@9.8.2 + - run: npm i -g @sap/cds-dk@${{ matrix.cds-version }} - run: cds -v - run: npm i - run: npm run build From 321666fb3cf4fed239ebcfb58995bb49b52a873a Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:39:38 +0100 Subject: [PATCH 13/16] test4.0 --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78cc0a6..5abcdf2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,10 +22,9 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm i -g @sap/cds-dk@${{ matrix.cds-version }} - - run: cds -v - run: npm i - run: npm run build - - run: cd tests/bookshop && npm i && npm run build + - run: cd tests/bookshop && npm run build - run: npm run test # integration-tests: # runs-on: ubuntu-latest From 7cf25f192401b94ecbf6212d5a61ce1c16f0aac6 Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:42:56 +0100 Subject: [PATCH 14/16] bump up version --- tests/bookshop/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bookshop/package.json b/tests/bookshop/package.json index fde4cab..4697be5 100644 --- a/tests/bookshop/package.json +++ b/tests/bookshop/package.json @@ -8,10 +8,10 @@ "devDependencies": { "@cap-js/sqlite": "^2", "tsx": "^4", - "@cap-js/cds-types": "^0.15.0", - "@types/node": "^24.0.0", + "@cap-js/cds-types": "^0.16.0", + "@types/node": "^25.5.0", "typescript": "^5", - "@cap-js/cds-typer": ">=0.1" + "@cap-js/cds-typer": ">=0.38" }, "scripts": { "start": "cds-serve", From cc830080bab3751b514b6e490bc611b2e9446072 Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:46:09 +0100 Subject: [PATCH 15/16] . --- tests/bookshop/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bookshop/package.json b/tests/bookshop/package.json index 4697be5..5f4c750 100644 --- a/tests/bookshop/package.json +++ b/tests/bookshop/package.json @@ -8,7 +8,7 @@ "devDependencies": { "@cap-js/sqlite": "^2", "tsx": "^4", - "@cap-js/cds-types": "^0.16.0", + "@cap-js/cds-types": "^0.15.0", "@types/node": "^25.5.0", "typescript": "^5", "@cap-js/cds-typer": ">=0.38" From 9096b82aa95bb69b78497d5c056849e1432fd3cb Mon Sep 17 00:00:00 2001 From: Yannis Moser Date: Thu, 12 Mar 2026 17:47:21 +0100 Subject: [PATCH 16/16] : --- tests/bookshop/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bookshop/package.json b/tests/bookshop/package.json index 5f4c750..4697be5 100644 --- a/tests/bookshop/package.json +++ b/tests/bookshop/package.json @@ -8,7 +8,7 @@ "devDependencies": { "@cap-js/sqlite": "^2", "tsx": "^4", - "@cap-js/cds-types": "^0.15.0", + "@cap-js/cds-types": "^0.16.0", "@types/node": "^25.5.0", "typescript": "^5", "@cap-js/cds-typer": ">=0.38"