From eaf65be30153650a5ed201f4df87d0a44baf6356 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 3 Jan 2024 16:31:58 -0300 Subject: flat dist folder --- packages/aml-backoffice-ui/build.mjs | 2 +- packages/aml-backoffice-ui/dev.mjs | 2 +- packages/aml-backoffice-ui/src/forms.ts | 21 +++++++++++++++++++++ packages/aml-backoffice-ui/src/index.html | 2 +- 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 packages/aml-backoffice-ui/src/forms.ts (limited to 'packages/aml-backoffice-ui') diff --git a/packages/aml-backoffice-ui/build.mjs b/packages/aml-backoffice-ui/build.mjs index b330f0e94..bd7a088cf 100755 --- a/packages/aml-backoffice-ui/build.mjs +++ b/packages/aml-backoffice-ui/build.mjs @@ -20,7 +20,7 @@ import { build } from "@gnu-taler/web-util/build"; await build({ type: "production", source: { - js: ["src/index.tsx", "src/forms/index.ts"], + js: ["src/index.tsx", "src/forms.ts"], assets: [{ base: "src", files: ["src/index.html"] }], }, destination: "./dist/prod", diff --git a/packages/aml-backoffice-ui/dev.mjs b/packages/aml-backoffice-ui/dev.mjs index 7d963396b..bc6fcd6c1 100755 --- a/packages/aml-backoffice-ui/dev.mjs +++ b/packages/aml-backoffice-ui/dev.mjs @@ -18,7 +18,7 @@ import { serve } from "@gnu-taler/web-util/node"; import { initializeDev } from "@gnu-taler/web-util/build"; -const devEntryPoints = ["src/stories.tsx", "src/index.tsx", "src/forms/index.ts"]; +const devEntryPoints = ["src/stories.tsx", "src/index.tsx", "src/forms.ts"]; const build = initializeDev({ type: "development", diff --git a/packages/aml-backoffice-ui/src/forms.ts b/packages/aml-backoffice-ui/src/forms.ts new file mode 100644 index 000000000..d48faa2b2 --- /dev/null +++ b/packages/aml-backoffice-ui/src/forms.ts @@ -0,0 +1,21 @@ +/* + This file is part of GNU Taler + (C) 2022 Taler Systems S.A. + + GNU Taler is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + GNU Taler; see the file COPYING. If not, see + */ + +export * from "./forms/index.js"; + +/** + * this file is here to have a flat dist folder + */ \ No newline at end of file diff --git a/packages/aml-backoffice-ui/src/index.html b/packages/aml-backoffice-ui/src/index.html index 08cf507da..df4615f55 100644 --- a/packages/aml-backoffice-ui/src/index.html +++ b/packages/aml-backoffice-ui/src/index.html @@ -32,7 +32,7 @@ - + -- cgit v1.2.3