gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: packaging fixes


From: gnunet
Subject: [taler-wallet-core] branch master updated: packaging fixes
Date: Fri, 20 Aug 2021 13:52:18 +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 de0d004d packaging fixes
de0d004d is described below

commit de0d004dd94798c1713853c71d7f86f55fffb0a4
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Aug 20 13:52:13 2021 +0200

    packaging fixes
---
 packages/taler-util/package.json                   |  6 +++---
 .../taler-util/src/{index.ts => index.browser.ts}  |  0
 packages/taler-util/src/index.node.ts              |  2 --
 packages/taler-util/src/index.ts                   | 24 +++-------------------
 packages/taler-wallet-cli/src/index.ts             |  1 -
 .../taler-wallet-cli/src/integrationtests/sync.ts  |  4 ----
 packages/taler-wallet-embedded/package.json        |  1 +
 packages/taler-wallet-embedded/tsconfig.json       | 10 ++++++++-
 pnpm-lock.yaml                                     |  2 ++
 9 files changed, 18 insertions(+), 32 deletions(-)

diff --git a/packages/taler-util/package.json b/packages/taler-util/package.json
index b4bc3221..4cbd829b 100644
--- a/packages/taler-util/package.json
+++ b/packages/taler-util/package.json
@@ -5,10 +5,10 @@
   "exports": {
     ".": "./lib/index.js"
   },
-  "module": "./lib/index.node.js",
-  "main": "./lib/index.node.js",
+  "module": "./lib/index.js",
+  "main": "./lib/index.js",
   "browser": {
-    "./lib/index.node.js": "./lib/index.js"
+    "./lib/index.js": "./lib/index.browser.js"
   },
   "type": "module",
   "types": "./lib/index.d.ts",
diff --git a/packages/taler-util/src/index.ts 
b/packages/taler-util/src/index.browser.ts
similarity index 100%
copy from packages/taler-util/src/index.ts
copy to packages/taler-util/src/index.browser.ts
diff --git a/packages/taler-util/src/index.node.ts 
b/packages/taler-util/src/index.node.ts
deleted file mode 100644
index f0c80598..00000000
--- a/packages/taler-util/src/index.node.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export * from "./index.js";
-export * from "./talerconfig.js";
diff --git a/packages/taler-util/src/index.ts b/packages/taler-util/src/index.ts
index a4b5cc8d..06951231 100644
--- a/packages/taler-util/src/index.ts
+++ b/packages/taler-util/src/index.ts
@@ -1,21 +1,3 @@
-import { TalerErrorCode } from "./taler-error-codes.js";
-
-export { TalerErrorCode };
-
-export * from "./amounts.js";
-export * from "./backupTypes.js";
-export * from "./codec.js";
-export * from "./helpers.js";
-export * from "./libtool-version.js";
-export * from "./notifications.js";
-export * from "./payto.js";
-export * from "./ReserveStatus.js";
-export * from "./ReserveTransaction.js";
-export * from "./talerTypes.js";
-export * from "./taleruri.js";
-export * from "./time.js";
-export * from "./transactionsTypes.js";
-export * from "./walletTypes.js";
-export * from "./i18n.js";
-export * from "./logging.js";
-export * from "./url.js";
\ No newline at end of file
+export * from "./index.browser.js";
+export * from "./talerconfig.js";
+export * from "./globbing/minimatch.js";
diff --git a/packages/taler-wallet-cli/src/index.ts 
b/packages/taler-wallet-cli/src/index.ts
index 68e42bd0..2d50e226 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -40,7 +40,6 @@ import {
   codecForString,
   Logger,
   Configuration,
-  getTimestampNow,
 } from "@gnu-taler/taler-util";
 import {
   NodeHttpLib,
diff --git a/packages/taler-wallet-cli/src/integrationtests/sync.ts 
b/packages/taler-wallet-cli/src/integrationtests/sync.ts
index 90e6c139..fccff715 100644
--- a/packages/taler-wallet-cli/src/integrationtests/sync.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/sync.ts
@@ -22,12 +22,8 @@ import * as fs from "fs";
 import * as util from "util";
 import {
   GlobalTestState,
-  DbInfo,
   pingProc,
   ProcessWrapper,
-  runCommand,
-  setupDb,
-  sh,
 } from "./harness";
 import { Configuration } from "@gnu-taler/taler-util";
 
diff --git a/packages/taler-wallet-embedded/package.json 
b/packages/taler-wallet-embedded/package.json
index 8ddfc72a..6be21a50 100644
--- a/packages/taler-wallet-embedded/package.json
+++ b/packages/taler-wallet-embedded/package.json
@@ -41,6 +41,7 @@
   },
   "dependencies": {
     "@gnu-taler/taler-wallet-core": "workspace:*",
+    "@gnu-taler/taler-util": "workspace:*",
     "tslib": "^2.1.0"
   }
 }
diff --git a/packages/taler-wallet-embedded/tsconfig.json 
b/packages/taler-wallet-embedded/tsconfig.json
index 62be133e..fa759bda 100644
--- a/packages/taler-wallet-embedded/tsconfig.json
+++ b/packages/taler-wallet-embedded/tsconfig.json
@@ -24,5 +24,13 @@
     "rootDir": "./src",
     "typeRoots": ["./node_modules/@types"]
   },
-  "include": ["src/**/*"]
+  "include": ["src/**/*"],
+  "references": [
+    {
+      "path": "../taler-wallet-core/"
+    },
+    {
+      "path": "../taler-util/"
+    }
+  ]
 }
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8bdd7542..a5338b7e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -170,6 +170,7 @@ importers:
 
   packages/taler-wallet-embedded:
     specifiers:
+      '@gnu-taler/taler-util': workspace:*
       '@gnu-taler/taler-wallet-core': workspace:*
       '@rollup/plugin-commonjs': ^17.0.0
       '@rollup/plugin-json': ^4.1.0
@@ -184,6 +185,7 @@ importers:
       tslib: ^2.1.0
       typescript: ^4.2.3
     dependencies:
+      '@gnu-taler/taler-util': link:../taler-util
       '@gnu-taler/taler-wallet-core': link:../taler-wallet-core
       tslib: 2.2.0
     devDependencies:

-- 
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]