aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-cli/package.json2
-rw-r--r--packages/taler-wallet-cli/rollup.config.js8
-rw-r--r--packages/taler-wallet-cli/src/index.ts2
3 files changed, 5 insertions, 7 deletions
diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json
index aba51e414..efe38f7c1 100644
--- a/packages/taler-wallet-cli/package.json
+++ b/packages/taler-wallet-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "taler-wallet-cli",
- "version": "0.6.12",
+ "version": "0.7.1-dev",
"description": "",
"engines": {
"node": ">=0.12.0"
diff --git a/packages/taler-wallet-cli/rollup.config.js b/packages/taler-wallet-cli/rollup.config.js
index 7cdca3b98..07930e00f 100644
--- a/packages/taler-wallet-cli/rollup.config.js
+++ b/packages/taler-wallet-cli/rollup.config.js
@@ -17,14 +17,12 @@ export default {
preferBuiltins: true,
}),
+ json(),
+
commonjs({
- include: [/node_modules/, /dist/],
- extensions: [".js", ".ts"],
- ignoreGlobal: false,
sourceMap: false,
+ transformMixedEsModules: true,
}),
-
- json(),
],
}
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index ae5371ecc..77b7da1d5 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -110,7 +110,7 @@ function applyVerbose(verbose: boolean): void {
function printVersion(): void {
// eslint-disable-next-line @typescript-eslint/no-var-requires
- const info = require("../../../package.json");
+ const info = require("../package.json");
console.log(`${info.version}`);
process.exit(0);
}