gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: handle package.json properly


From: gnunet
Subject: [taler-wallet-core] branch master updated: handle package.json properly in CLI
Date: Thu, 06 Aug 2020 17:37:06 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 1fa3cad2 handle package.json properly in CLI
1fa3cad2 is described below

commit 1fa3cad2e7ea61d74308dc40335b677533a5d1ce
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Aug 6 21:06:56 2020 +0530

    handle package.json properly in CLI
---
 packages/taler-wallet-cli/package.json     | 2 +-
 packages/taler-wallet-cli/rollup.config.js | 8 +++-----
 packages/taler-wallet-cli/src/index.ts     | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/packages/taler-wallet-cli/package.json 
b/packages/taler-wallet-cli/package.json
index aba51e41..efe38f7c 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 7cdca3b9..07930e00 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 ae5371ec..77b7da1d 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);
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]