Skip to content

Commit

Permalink
feat(cap-config-writer): update cds plugin ui5 (#2054)
Browse files Browse the repository at this point in the history
* feat(cap-config-writer): update cds plugin ui5

* feat(cap-config-writer): changeset

* feat(cap-config-writer): update cds plugin ui5

* feat(cap-config-writer): update cds plugin ui5

* Update packages/cap-config-writer/test/unit/cap-config/index.test.ts

Co-authored-by: Austin Devine <[email protected]>

* feat(cap-config-writer): update cds plugin ui5

---------

Co-authored-by: Austin Devine <[email protected]>
  • Loading branch information
korotkovao and devinea authored Jun 24, 2024
1 parent 7e9db5f commit 04ed040
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-guests-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sap-ux/cap-config-writer': minor
---

update cds-plugin-ui5 version
2 changes: 1 addition & 1 deletion packages/cap-config-writer/src/cap-config/package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getCapCustomPaths } from '@sap-ux/project-access';
import type { Package } from '@sap-ux/project-access';

export const minCdsVersion = '6.8.2';
const minCdsPluginUi5Version = '0.6.13';
const minCdsPluginUi5Version = '0.9.3';

/**
* Ensure a minimum version of @sap/cds in dependencies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@sap/cds": "^6.8.2"
},
"devDependencies": {
"cds-plugin-ui5": "0.1.0"
"cds-plugin-ui5": "0.9.3"
},
"workspaces": [
"app/*"
Expand Down
6 changes: 3 additions & 3 deletions packages/cap-config-writer/test/unit/cap-config/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Test enableCdsUi5Plugin()', () => {
},
'workspaces': ['app/*'],
'devDependencies': {
'cds-plugin-ui5': '^0.6.13'
'cds-plugin-ui5': '^0.9.3'
}
});
});
Expand All @@ -39,7 +39,7 @@ describe('Test enableCdsUi5Plugin()', () => {
},
'workspaces': ['app/*'],
'devDependencies': {
'cds-plugin-ui5': '^0.6.13'
'cds-plugin-ui5': '^0.9.3'
}
});
});
Expand All @@ -53,7 +53,7 @@ describe('Test enableCdsUi5Plugin()', () => {
});
const fs = await enableCdsUi5Plugin(__dirname, memFs);
const packageJson = fs.readJSON(join(__dirname, 'package.json')) as projectAccessMock.Package;
expect(packageJson.devDependencies).toEqual({ 'cds-plugin-ui5': '^0.6.13' });
expect(packageJson.devDependencies).toEqual({ 'cds-plugin-ui5': '^0.9.3' });
});

test('CAP with custom app path and mem-fs editor', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('Writing/package json files', () => {
const packageJson = (fs.readJSON(packageJsonPath) ?? {}) as Package;
const devDependencies = packageJson.devDependencies;
expect(devDependencies).toEqual({
'cds-plugin-ui5': '^0.6.13'
'cds-plugin-ui5': '^0.9.3'
});
});

Expand Down

0 comments on commit 04ed040

Please sign in to comment.