add make rule

This commit is contained in:
Sebastian 2023-01-23 15:12:48 -03:00
parent 3348db0d5e
commit 56622a247b
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
3 changed files with 10 additions and 1 deletions

View File

@ -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:

View File

@ -0,0 +1,3 @@
#!/bin/bash
cp packages/merchant-backoffice-ui/dist/{index,lang*,material*,XRXV*}.* prebuilt/backoffice/

View File

@ -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",