aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-10-31 14:00:22 -0300
committerSebastian <sebasjm@gmail.com>2022-10-31 14:00:22 -0300
commitf0fde728a3caacf648b5adaa825d6646897dc1ab (patch)
tree299bf5577d6435cdaa83409d88d2458924dffbef
parentccd7f07c460d20bd363875095699263e695cd491 (diff)
full ESM build
-rw-r--r--packages/taler-wallet-cli/Makefile4
-rwxr-xr-xpackages/taler-wallet-cli/bin/taler-wallet-cli.mjs2
-rw-r--r--packages/taler-wallet-cli/package.json4
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-cli/Makefile b/packages/taler-wallet-cli/Makefile
index 5e734a40f..10c5c0f37 100644
--- a/packages/taler-wallet-cli/Makefile
+++ b/packages/taler-wallet-cli/Makefile
@@ -23,8 +23,8 @@ install:
install -d $(install_target)/node_modules/taler-wallet-cli
install -d $(install_target)/node_modules/taler-wallet-cli/bin
install -d $(install_target)/node_modules/taler-wallet-cli/dist
- install ./dist/taler-wallet-cli.js $(install_target)/node_modules/taler-wallet-cli/dist/
- install ./dist/taler-wallet-cli.js.map $(install_target)/node_modules/taler-wallet-cli/dist/
+ install ./dist/taler-wallet-cli.mjs $(install_target)/node_modules/taler-wallet-cli/dist/
+ install ./dist/taler-wallet-cli.mjs.map $(install_target)/node_modules/taler-wallet-cli/dist/
install ./bin/taler-wallet-cli.mjs $(install_target)/node_modules/taler-wallet-cli/bin/
ln -sf $(install_target)/node_modules/taler-wallet-cli/bin/taler-wallet-cli.mjs $(prefix)/bin/taler-wallet-cli.mjs
endif
diff --git a/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
index 4fa3d45c4..e0f6630b5 100755
--- a/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
+++ b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs
@@ -1,6 +1,6 @@
#!/usr/bin/env node
-import { main } from '../dist/taler-wallet-cli.js';
+import { main } from '../dist/taler-wallet-cli.mjs';
async function run() {
try {
diff --git a/packages/taler-wallet-cli/package.json b/packages/taler-wallet-cli/package.json
index 7c2cc007d..c25923121 100644
--- a/packages/taler-wallet-cli/package.json
+++ b/packages/taler-wallet-cli/package.json
@@ -11,9 +11,9 @@
},
"author": "Florian Dold",
"license": "GPL-3.0",
- "main": "dist/taler-wallet-cli.js",
+ "main": "dist/taler-wallet-cli.mjs",
"bin": {
- "taler-wallet-cli": "./bin/taler-wallet-cli.js"
+ "taler-wallet-cli": "./bin/taler-wallet-cli.mjs"
},
"type": "module",
"scripts": {