Compare commits

..

No commits in common. "main" and "v0.0.1" have entirely different histories.
main ... v0.0.1

4 changed files with 7 additions and 24 deletions

View file

@ -12,8 +12,6 @@ steps:
ORG: philorg
REGISTRY_TOKEN:
from_secret: registry_token
volumes:
- pnpm:/root/.local/share/pnpm
commands:
- pnpm install --frozen-lockfile
- pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN"

View file

@ -1,20 +1,5 @@
FROM docker.io/node:alpine as base
FROM docker.io/nginx:alpine
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
FROM base as build-stage
WORKDIR /app
COPY pnpm-lock.yaml .
RUN pnpm fetch --prod
COPY . .
RUN pnpm run build
FROM docker.io/library/nginx:alpine as production-stage
RUN mkdir /app
COPY --from=build-stage /app/dist /usr/share/nginx/html/oidc-test-web
COPY ./dist /usr/share/nginx/html/oidc-test-web
CMD ["nginx", "-g", "daemon off;"]

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "typescript",
"version": "0.2.9",
"version": "0.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "typescript",
"version": "0.2.9",
"version": "0.0.1",
"dependencies": {
"axios": "^1.7.9",
"vue": "3.5.13"

View file

@ -1,13 +1,14 @@
{
"name": "oidc-test-web",
"version": "0.2.9",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build"
"type-check": "vue-tsc --build",
"version": "echo \"{\\\"version\\\":\\\"$(git describe --tags --dirty --always)\\\"}\" > src/version.json"
},
"dependencies": {
"@dsb-norge/vue-keycloak-js": "^3.0.1",
@ -26,7 +27,6 @@
"vite-plugin-vue-devtools": "7.7.0",
"vue-tsc": "2.2.0"
},
"packageManager": "pnpm@10.12.1",
"publishConfig": {
"registry": "http://code.philo.ydns.eu/api/packages/philorg/npm/"
}