diff --git a/.project-keeper.yml b/.project-keeper.yml
index 979cac3..b3ea20b 100644
--- a/.project-keeper.yml
+++ b/.project-keeper.yml
@@ -16,6 +16,8 @@ sources:
relativePath: "../pom.xml"
- type: maven
path: pom.xml
+ - type: npm
+ path: javascript-test/package.json
version:
fromSource: pom.xml
excludes:
diff --git a/dependencies.md b/dependencies.md
index ca42838..04395ec 100644
--- a/dependencies.md
+++ b/dependencies.md
@@ -99,6 +99,8 @@
| [Apache Maven Deploy Plugin][27] | [Apache License, Version 2.0][9] |
| [Apache Maven Site Plugin][28] | [Apache License, Version 2.0][9] |
+## Javascript-test
+
[0]: http://hamcrest.org/JavaHamcrest/
[1]: http://opensource.org/licenses/BSD-3-Clause
[2]: https://junit.org/junit5/
diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md
index a69d209..284a071 100644
--- a/doc/changes/changelog.md
+++ b/doc/changes/changelog.md
@@ -1,5 +1,6 @@
# Changes
+* [1.0.4](changes_1.0.4.md)
* [1.0.3](changes_1.0.3.md)
* [1.0.2](changes_1.0.2.md)
* [1.0.1](changes_1.0.1.md)
diff --git a/doc/changes/changes_1.0.4.md b/doc/changes/changes_1.0.4.md
new file mode 100644
index 0000000..c675d3b
--- /dev/null
+++ b/doc/changes/changes_1.0.4.md
@@ -0,0 +1,12 @@
+# Tableau Connector 1.0.4, released 2023-??-??
+
+Code name:
+
+## Summary
+
+## Features
+
+## Refactoring
+
+* #66: Configured JavaScript test module for Project Keeper
+
diff --git a/javascript-test/package.json b/javascript-test/package.json
index 01763b0..4e559ef 100644
--- a/javascript-test/package.json
+++ b/javascript-test/package.json
@@ -1,6 +1,6 @@
{
"name": "tableau-connector-unit-tests",
- "version": "1.0.3",
+ "version": "1.0.4",
"type": "commonjs",
"scripts": {
"test": "jest",
diff --git a/javascript-test/versionNumber.test.js b/javascript-test/versionNumber.test.js
index 93245d5..05813ef 100644
--- a/javascript-test/versionNumber.test.js
+++ b/javascript-test/versionNumber.test.js
@@ -7,6 +7,11 @@ function readXmlFile(path) {
return xmlParser.toJson(content, { object: true })
}
+function readJsonFile(path) {
+ const content = fs.readFileSync(path, 'utf8');
+ return JSON.parse(content)
+}
+
/**
* @param {string} version the version to split
*/
@@ -51,6 +56,12 @@ describe(`Latest version number ${changelogVersion}`, () => {
expect(pomRevision).toBe(changelogVersion);
});
+ test("NPM package.json", () => {
+ const packageJson = readJsonFile("package.json");
+ const packageJsonVersion = packageJson.version;
+ expect(packageJsonVersion).toBe(changelogVersion);
+ });
+
["jdbc", "odbc"].forEach(type => {
test(`Manifest of ${type} driver`, () => {
const manifest = readXmlFile(`../src/exasol_${type}/manifest.xml`);
diff --git a/pom.xml b/pom.xml
index 7f48585..2b6212e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
${revision}
- 1.0.3
+ 1.0.4
tableau-server-GUI-tests
diff --git a/src/exasol_jdbc/manifest.xml b/src/exasol_jdbc/manifest.xml
index 8c030ce..c9cd19e 100644
--- a/src/exasol_jdbc/manifest.xml
+++ b/src/exasol_jdbc/manifest.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/src/exasol_odbc/manifest.xml b/src/exasol_odbc/manifest.xml
index 4e6c39e..f2fbafa 100644
--- a/src/exasol_odbc/manifest.xml
+++ b/src/exasol_odbc/manifest.xml
@@ -1,6 +1,6 @@
-
+