bank prebuilt
This commit is contained in:
parent
36956f404c
commit
5f7a09e8da
12
Makefile
12
Makefile
@ -42,6 +42,18 @@ backoffice-prebuilt:
|
||||
pnpm run --filter @gnu-taler/merchant-backoffice-ui... build
|
||||
./copy-backoffice-into-prebuilt.sh
|
||||
|
||||
.PHONY: backend-prebuilt
|
||||
backend-prebuilt:
|
||||
pnpm install --frozen-lockfile --filter @gnu-taler/merchant-backend-ui...
|
||||
pnpm run --filter @gnu-taler/merchant-backend... build
|
||||
./copy-backend-into-prebuilt.sh
|
||||
|
||||
.PHONY: demobank-prebuilt
|
||||
demobank-prebuilt:
|
||||
pnpm install --frozen-lockfile --filter @gnu-taler/merchant-ba...
|
||||
pnpm run --filter @gnu-taler/demobank-ui... build
|
||||
./copy-demobank-into-prebuilt.sh
|
||||
|
||||
# make documentation from docstrings
|
||||
.PHONY: typedoc
|
||||
typedoc:
|
||||
|
8
copy-demobank-into-prebuilt.sh
Executable file
8
copy-demobank-into-prebuilt.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
[ ! -d prebuilt ] && echo 'directory "prebuilt" not found. first checkout the prebuilt branch into a prebuilt directory' && exit 1
|
||||
|
||||
for file in index.html index.js index.css; do
|
||||
cp packages/demobank-ui/dist/$file prebuilt/demobank/
|
||||
done
|
||||
|
@ -13,7 +13,7 @@
|
||||
"test": "pnpm compile && mocha --require source-map-support/register 'dist/**/*.test.js' 'dist/**/test.js'",
|
||||
"test:coverage": "nyc pnpm test",
|
||||
"compile": "tsc && ./build-fast-with-linaria.mjs",
|
||||
"prepare": "pnpm compile",
|
||||
"prepare": "tsc",
|
||||
"dev": "./dev.mjs",
|
||||
"pretty": "prettier --write src",
|
||||
"i18n:extract": "pogen extract",
|
||||
|
@ -55,12 +55,6 @@ export function useComponentState({
|
||||
),
|
||||
};
|
||||
}
|
||||
// if (hook.hasError) {
|
||||
// return {
|
||||
// status: "loading-uri",
|
||||
// error: hook,
|
||||
// };
|
||||
// }
|
||||
|
||||
const {
|
||||
contractTerms,
|
||||
|
@ -376,15 +376,15 @@ export function Application(): VNode {
|
||||
<Route
|
||||
path={Pages.ctaDeposit}
|
||||
component={({
|
||||
amountStr,
|
||||
amount,
|
||||
talerDepositUri,
|
||||
}: {
|
||||
amountStr: string;
|
||||
amount: string;
|
||||
talerDepositUri: string;
|
||||
}) => (
|
||||
<CallToActionTemplate title={i18n.str`Digital cash deposit`}>
|
||||
<DepositPageCTA
|
||||
amountStr={amountStr}
|
||||
amountStr={amount}
|
||||
talerDepositUri={talerDepositUri}
|
||||
cancel={() => redirectTo(Pages.balance)}
|
||||
onSuccess={(tid: string) =>
|
||||
|
Loading…
Reference in New Issue
Block a user