Read-only mirror of https://github.com/swissgeo/web-showcase-portal — SWISSGEO. Issues & pull requests at the source.
  • Vue 49%
  • TypeScript 46.4%
  • JavaScript 3.8%
  • CSS 0.5%
  • HTML 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan Heinemann f8b818b86e
Merge pull request #2 from swissgeo/fix-testlink-domain
Fix the domain in the links to the previews
2025-08-28 08:52:45 +02:00
.github/workflows Fix the domain in the links to the previews 2025-08-26 15:22:20 +02:00
.vscode GPS-54 Initialize repository 2025-04-17 16:20:29 +02:00
cypress GPS-252 : Replace Accordion with Tabs for search results and re-factor component 2025-08-19 10:39:17 +02:00
env.d GPS-175: fix hide mobile keyboard 2025-07-08 11:48:41 +02:00
geonetwork-ui@1d2de37776 GPS-184: improve refresh 2025-08-21 16:37:03 +02:00
public Uncensorize the Swissgeo Logo and Title 2025-06-10 09:00:10 +02:00
src GPS-184: lint code 2025-08-21 16:44:29 +02:00
.editorconfig GPS-44 : add search result to the map 2025-05-02 08:54:00 +02:00
.env GPS-230 Use correct URLS depending on the environment 2025-08-04 13:21:04 +02:00
.env.development GPS-230 Use correct URLS depending on the environment 2025-08-04 13:21:04 +02:00
.env.integration GPS-230 Use correct URLS depending on the environment 2025-08-04 13:21:04 +02:00
.gitattributes GPS-54 Initialize repository 2025-04-17 16:20:29 +02:00
.gitignore GPS-218: fix reset application 2025-08-05 08:29:20 +02:00
.gitmodules GPS-52 Switch to HTTPs for the geonetwork submodule 2025-04-29 15:25:31 +02:00
.prettierrc.json Add prettier plugin to sort tailwind classes automatically 2025-05-01 16:19:19 +02:00
cypress.config.ts GPS_134: Prevent auto re-run test when any file is modified. 2025-06-05 16:28:21 +07:00
eslint.config.js GPS-230 Ignore the other dists folder from the build 2025-08-15 13:43:21 +02:00
index.html GPS-257 Put the Window title in capital letters 2025-08-12 15:32:16 +02:00
jsconfig.json GPS-54 Initialize repository 2025-04-17 16:20:29 +02:00
LICENSE.md Add License file to the repo 2025-08-25 11:11:52 +02:00
package-lock.json GPS-213: Fix warning and updated package-lock.json. 2025-08-13 21:30:53 +07:00
package.json GPS-230 Add alias for prod build 2025-08-15 10:49:21 +02:00
pnpm-lock.yaml PGS-240 Install floating-ui 2025-08-12 08:38:19 +02:00
README.md Mention the submodules in the README 2025-05-12 09:24:38 +02:00
record.json Clean up the button Icon usage all over the codebase 2025-05-22 16:08:47 +02:00
tsconfig.app.json GPS-58: add address search 2025-05-09 14:35:05 +02:00
tsconfig.json GPS-54 Switch to typescript 2025-04-17 16:20:29 +02:00
tsconfig.node.json GPS-54 Switch to typescript 2025-04-17 16:20:29 +02:00
tsconfig.vitest.json GPS 162: allow sanitization of Catalog 2025-07-03 11:01:22 +02:00
vite-plugin-primevue-tailwind.ts GPS-170 Add vite plugin to transform primevue colors to TW 2025-08-18 14:10:45 +02:00
vite.config.ts GPS-170 Add vite plugin to transform primevue colors to TW 2025-08-18 14:10:45 +02:00
vitest.config.ts GPS-187 Fix the vitest config after changing the vite.config 2025-07-04 20:13:32 +02:00

PWIP

Branch Status
develop Build Status
master Build Status

Customize configuration

See Vite Configuration Reference.

Project Setup

The project contains a submodule from geonetwork. To enable this, simply invoke before anything else.

git submodule init
git submodule update
pnpm install

Compile and Hot-Reload for Development

pnpm run dev

Compile and Minify for Production

pnpm run build

Run Unit Tests with Vitest

pnpm run test:unit

Run End-to-End Tests with Cypress

pnpm run test:e2e:dev

This runs the end-to-end tests against the Vite development server. It is much faster than the production build.

But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):

pnpm run build
pnpm run test:e2e

Lint with ESLint

pnpm run lint