Skip to content

Commit 205bd07

Browse files
authored
prep v0.1.0 (#19)
1 parent 8859f9c commit 205bd07

File tree

4 files changed

+29
-23
lines changed

4 files changed

+29
-23
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
This project adheres to [Semantic Versioning](http://semver.org/).
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
7+
## Version 0.1.0 - TBD
8+
9+
### Added
10+
11+
- Initial release (early adopter)

package.json

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
11
{
22
"name": "@cap-js/change-tracking",
3-
"description": "CAP cds-plugin providing change tracking out-of-the-box.",
4-
"version": "1.0.0",
3+
"version": "0.1.0",
4+
"description": "CDS plugin providing out-of-the box support for automatic capturing, storing, and viewing of the change records of modeled entities.",
5+
"repository": "cap-js/change-tracking",
6+
"author": "SAP SE (https://www.sap.com)",
7+
"homepage": "https://cap.cloud.sap/",
8+
"license": "SEE LICENSE IN LICENSE",
59
"main": "cds-plugin.js",
610
"files": [
7-
"index.cds",
811
"lib",
9-
"_i18n"
12+
"_i18n",
13+
"index.cds",
14+
"CHANGELOG.md"
1015
],
1116
"scripts": {
12-
"build": "cds build",
13-
"start": "cds run",
1417
"lint": "npx eslint .",
1518
"test": "npx jest --silent"
1619
},
20+
"peerDependencies": {
21+
"@sap/cds": "^7"
22+
},
1723
"devDependencies": {
18-
"@cap-js/sqlite": "*",
19-
"axios": ">=0.24",
20-
"chai": "^4.3.4",
24+
"@cap-js/sqlite": "^1",
25+
"axios": "^1",
26+
"chai": "^4.3.10",
2127
"chai-as-promised": "^7.1.1",
2228
"chai-subset": "^1.6.0",
23-
"eslint": "^8.0.0",
29+
"eslint": "^8",
2430
"express": "^4",
25-
"jest": "^29.1.0",
26-
"prettier": "^2.3.0"
27-
},
28-
"dependencies": {
29-
"@sap/cds-foss": "^4"
30-
},
31-
"peerDependencies": {
32-
"@sap/cds": ">=6"
31+
"jest": "^29"
3332
},
3433
"cds": {
3534
"requires": {

tests/integration/service-api.test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ jest.setTimeout(5 * 60 * 1000);
1212

1313
let adminService = null;
1414
let ChangeView = null;
15-
let db = null;
16-
let ChangeEntity = null;
1715

1816
describe("change log integration test", () => {
1917
beforeAll(async () => {
2018
adminService = await cds.connect.to("AdminService");
2119
ChangeView = adminService.entities.ChangeView;
22-
db = await cds.connect.to("sql:my.db");
23-
ChangeEntity = db.model.definitions["sap.changelog.Changes"];
2420
});
2521

2622
beforeEach(async () => {

tests/unit/util.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const chai = require("chai");
22
const { expect } = require("chai");
33
const templateProcessor = require("../../lib/template-processor");
4-
const { getEntityByContextPath, getEntity, hasComposition } = require("../../lib/entity-helper");
4+
const { getEntityByContextPath } = require("../../lib/entity-helper");
55

66
// Configure chai
77
chai.should();

0 commit comments

Comments
 (0)