gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated (93ef4dace -> 9cc20fc5a)


From: gnunet
Subject: [taler-wallet-core] branch master updated (93ef4dace -> 9cc20fc5a)
Date: Mon, 31 Oct 2022 12:02:12 +0100

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

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

    from 93ef4dace sync worker doesn't use require and ESM doesn't allows it
     new f929cbb80 repo: upgrade taler-build-scripts
     new 9cc20fc5a repo: GNU-style build system for demobank-ui package

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 bootstrap                                     |  4 ++++
 build-system/taler-build-scripts              |  2 +-
 packages/demobank-ui/Makefile                 | 21 +++++++++++++++++++++
 packages/demobank-ui/package.json             |  2 +-
 packages/demobank-ui/src/pages/home/index.tsx |  2 +-
 5 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 packages/demobank-ui/Makefile

diff --git a/bootstrap b/bootstrap
index ea03b913d..5f813c3a4 100755
--- a/bootstrap
+++ b/bootstrap
@@ -21,6 +21,10 @@ copy_configure() {
   # accidental changes in the wrong place.
   chmod ogu-w $dst || true
 }
+
+# To enable a GNU-style build system, we copy a configure
+# script to each package that can be installed
 our_configure=build-system/taler-build-scripts/configure
 copy_configure "$our_configure" ./configure
 copy_configure "$our_configure" ./packages/taler-wallet-cli/configure
+copy_configure "$our_configure" ./packages/demobank-ui/configure
diff --git a/build-system/taler-build-scripts b/build-system/taler-build-scripts
index 38c168b11..355a31726 160000
--- a/build-system/taler-build-scripts
+++ b/build-system/taler-build-scripts
@@ -1 +1 @@
-Subproject commit 38c168b11eeeab93562ffa74b3e2aff4b596c77a
+Subproject commit 355a3172699b96f1040edcb577c07a681802b3ae
diff --git a/packages/demobank-ui/Makefile b/packages/demobank-ui/Makefile
new file mode 100644
index 000000000..ae7474e2c
--- /dev/null
+++ b/packages/demobank-ui/Makefile
@@ -0,0 +1,21 @@
+# This Makefile has been placed in the public domain
+
+# Settings from "./configure"
+include .config.mk
+
+all:
+       @echo run \'make install\' to install
+
+spa_dir=$(prefix)/share/taler/demobank-ui
+
+install:
+       pnpm install --frozen-lockfile --filter @gnu-taler/demobank-ui...
+       pnpm run check
+       pnpm run build
+       install -d $(spa_dir)
+       install ./dist/index.css $(spa_dir)
+       install ./dist/index.css.map $(spa_dir)
+       install ./dist/index.js $(spa_dir)
+       install ./dist/index.js.map $(spa_dir)
+       install ./dist/index.html $(spa_dir)
+
diff --git a/packages/demobank-ui/package.json 
b/packages/demobank-ui/package.json
index a8f390611..9de37b9cc 100644
--- a/packages/demobank-ui/package.json
+++ b/packages/demobank-ui/package.json
@@ -1,6 +1,6 @@
 {
   "private": true,
-  "name": "bank",
+  "name": "@gnu-taler/demobank-ui",
   "version": "0.1.0",
   "license": "AGPL-3.0-OR-LATER",
   "scripts": {
diff --git a/packages/demobank-ui/src/pages/home/index.tsx 
b/packages/demobank-ui/src/pages/home/index.tsx
index 82623ed37..c8caf2a92 100644
--- a/packages/demobank-ui/src/pages/home/index.tsx
+++ b/packages/demobank-ui/src/pages/home/index.tsx
@@ -973,7 +973,7 @@ function ErrorBanner(Props: any): VNode | null {
             class="pure-button"
             value="Clear"
             onClick={async () => {
-              pageStateSetter((prev) => ({ ...prev, error: undefined }));
+              pageStateSetter((prev: any) => ({ ...prev, error: undefined }));
             }}
           />
         </div>

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