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 ORG: philorg
REGISTRY_TOKEN: REGISTRY_TOKEN:
from_secret: registry_token from_secret: registry_token
volumes:
- pnpm:/root/.local/share/pnpm
commands: commands:
- pnpm install --frozen-lockfile - pnpm install --frozen-lockfile
- pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN" - 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" COPY ./dist /usr/share/nginx/html/oidc-test-web
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
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

4
package-lock.json generated
View file

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

View file

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