diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-23 15:12:48 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-23 15:12:48 -0300 |
commit | 56622a247bde2a15e71761ac2ea2e48bf35985da (patch) | |
tree | 6f04daed98f7c629bc6a714c39af9ff81fc4847d | |
parent | 3348db0d5e7691ab1b483ec553a5193d87d7c3d9 (diff) |
add make rule
-rw-r--r-- | Makefile | 6 | ||||
-rwxr-xr-x | copy-backoffice-into-prebuilt.sh | 3 | ||||
-rw-r--r-- | packages/merchant-backoffice-ui/package.json | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -34,6 +34,12 @@ publish: pnpm run compile pnpm publish -r --no-git-checks +.PHONY: backoffice-prebuilt +backoffice-prebuilt: + pnpm install --frozen-lockfile --filter @gnu-taler/merchant-backoffice-ui... + pnpm run --filter @gnu-taler/merchant-backoffice-ui... build + ./copy-backoffice-into-prebuilt.sh + # make documentation from docstrings .PHONY: typedoc typedoc: diff --git a/copy-backoffice-into-prebuilt.sh b/copy-backoffice-into-prebuilt.sh new file mode 100755 index 000000000..5f59882e0 --- /dev/null +++ b/copy-backoffice-into-prebuilt.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cp packages/merchant-backoffice-ui/dist/{index,lang*,material*,XRXV*}.* prebuilt/backoffice/ + diff --git a/packages/merchant-backoffice-ui/package.json b/packages/merchant-backoffice-ui/package.json index eb3aa1834..6ea09572b 100644 --- a/packages/merchant-backoffice-ui/package.json +++ b/packages/merchant-backoffice-ui/package.json @@ -1,6 +1,6 @@ { "private": true, - "name": "@gnu-taler/merchant-backoffice", + "name": "@gnu-taler/merchant-backoffice-ui", "version": "0.0.5", "license": "AGPL-3.0-or-later", "type": "module", |