Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:": {
"version": "2.17.0",
"resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:25b9f05705ffba7dbe503230ac76081419306f8c8bc88e0ce78c4ecd99a0c78c",
"integrity": "sha256:25b9f05705ffba7dbe503230ac76081419306f8c8bc88e0ce78c4ecd99a0c78c"
"ghcr.io/devcontainers/features/common-utils:2": {
"version": "2.5.9",
"resolved": "ghcr.io/devcontainers/features/common-utils@sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a",
"integrity": "sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a"
},
"ghcr.io/devcontainers/features/docker-in-docker:4": {
"version": "4.0.0",
"resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:4fa87399214366e320d489991769c4f3f461e1ffe461f54eea78a41b34945bb5",
"integrity": "sha256:4fa87399214366e320d489991769c4f3f461e1ffe461f54eea78a41b34945bb5"
},
"ghcr.io/devcontainers/features/node:2": {
"version": "2.0.0",
Expand Down
22 changes: 13 additions & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"name": "Debian",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true
},
"ghcr.io/devcontainers/features/node:2": {},
"ghcr.io/devcontainers/features/docker-in-docker:": {}
"ghcr.io/devcontainers/features/docker-in-docker:4": {
"moby": false
}
},
"remoteEnv": {
"GITHUB_TOKEN": "${localEnv:GITHUB_TOKEN}"
},
"customizations": {
"vscode": {
Expand All @@ -12,13 +20,9 @@
"github.vscode-github-actions",
"github.copilot",
"github.copilot-chat",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"vitest.explorer"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh"
}
"vitest.explorer",
"biomejs.biome"
]
}
}
}
4 changes: 4 additions & 0 deletions .github/linters/trivy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
scan:
skip-dirs:
- .pnpm-store
- "**/.pnpm-store"
11 changes: 6 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Multi-stage build: build & pack then install globally in a minimal runtime image
FROM node:24-alpine AS builder

# Use pnpm for fast installs and reproducible builds
RUN corepack enable pnpm
FROM node:25-alpine AS builder

WORKDIR /build

Expand All @@ -17,6 +14,10 @@ COPY packages/repository/git/package.json ./packages/repository/git/
COPY packages/repository/github/package.json ./packages/repository/github/
COPY packages/repository/gitlab/package.json ./packages/repository/gitlab/

# Install the repo-pinned pnpm version explicitly because recent Node Alpine
# images do not always bundle corepack.
RUN npm install --global "pnpm@$(node -p 'require("./package.json").packageManager.replace(/^pnpm@/, "")')"

# Install all deps (including dev) for building
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

Expand All @@ -32,7 +33,7 @@ RUN mkdir -p /pack && \
npm pack --pack-destination /pack

# Final runtime image: minimal, with the CLI installed globally
FROM node:24-alpine AS production
FROM node:25-alpine AS production

# Install minimal runtime deps
# hadolint ignore=DL3018
Expand Down
50 changes: 8 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,61 +18,27 @@
"docs:clear": "nx clear @ci-dokumentor/docs"
},
"private": true,
"pnpm": {
"overrides": {
"@svgr/plugin-svgo>svgo": "3.3.3",
"qs": "6.15.2",
"@gitbeaker/core>qs": "6.15.2",
"@gitbeaker/requester-utils>qs": "6.15.2",
"joi@<18.2.1": ">=18.2.1",
"shell-quote@<1.8.4": ">=1.8.4",
"qs@<6.15.2": ">=6.15.2",
"qs@>=6.7.0 <=6.14.1": ">=6.14.2",
"minimatch@>=10.0.0 <10.2.1": ">=10.2.1",
"minimatch@>=10.0.0 <10.2.3": ">=10.2.3",
"serialize-javascript@<=7.0.2": ">=7.0.3",
"ajv@>=7.0.0-alpha.0 <8.18.0": ">=8.18.0",
"qs@<6.14.1": ">=6.14.1",
"path-to-regexp@<0.1.13": ">=0.1.13",
"brace-expansion@>=4.0.0 <5.0.5": ">=5.0.5",
"yaml@>=2.0.0 <2.8.3": ">=2.8.3",
"serialize-javascript@<7.0.5": ">=7.0.5",
"lodash@>=4.0.0 <=4.17.23": ">=4.18.0",
"lodash@<=4.17.23": ">=4.18.0",
"follow-redirects@<=1.15.11": ">=1.16.0",
"uuid@<14.0.0": ">=14.0.0",
"axios@>=1.0.0 <1.15.1": ">=1.15.1",
"axios@>=1.0.0 <1.15.2": ">=1.15.2"
},
"onlyBuiltDependencies": [
"@swc/core",
"core-js",
"esbuild",
"nx",
"oxc-resolver"
]
},
"devDependencies": {
"@biomejs/biome": "2.4.10",
"@biomejs/biome": "2.5.3",
"@nx/js": "22.7.5",
"@nx/vite": "22.7.5",
"@nx/web": "22.7.5",
"@swc-node/register": "~1.11.1",
"@swc/core": "~1.15.40",
"@swc/core": "~1.15.43",
"@swc/helpers": "~0.5.23",
"@types/mock-fs": "^4.13.4",
"@types/node": "25.9.1",
"@vitest/coverage-v8": "^4.1.8",
"@vitest/ui": "^4.1.8",
"@types/node": "26.1.1",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/ui": "^4.1.10",
"jiti": "2.7.0",
"jsdom": "~29.1.1",
"mock-fs": "^5.5.0",
"nx": "22.7.5",
"tslib": "^2.8.1",
"typescript": "6.0.3",
"vite": "^8.0.16",
"vite-plugin-dts": "~5.0.2",
"vitest": "^4.1.8"
"vite": "^8.1.4",
"vite-plugin-dts": "~5.0.3",
"vitest": "^4.1.10"
},
"workspaces": [
"packages/*"
Expand Down
4 changes: 2 additions & 2 deletions packages/cicd/github-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@ci-dokumentor/repository-git": "workspace:*",
"@ci-dokumentor/repository-github": "workspace:*",
"feather-icons": "^4.29.2",
"yaml": "^2.9.0",
"inversify": "^8.1.0"
"inversify": "^8.1.2",
"yaml": "^2.9.0"
},
"devDependencies": {
"@types/feather-icons": "^4.29.4"
Expand Down
4 changes: 2 additions & 2 deletions packages/cicd/gitlab-ci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@ci-dokumentor/core": "workspace:*",
"@ci-dokumentor/repository-git": "workspace:*",
"@ci-dokumentor/repository-gitlab": "workspace:*",
"yaml": "^2.9.0",
"inversify": "^8.1.0"
"inversify": "^8.1.2",
"yaml": "^2.9.0"
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"commander": "^15.0.0",
"inversify": "^8.1.0",
"inversify": "^8.1.2",
"reflect-metadata": "^0.2.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"diff": "^9.0.0",
"fast-glob": "^3.3.3",
"inversify": "^8.1.0",
"inversify": "^8.1.2",
"p-limit": "^7.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/repository/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@ci-dokumentor/core": "workspace:*",
"git-url-parse": "^16.1.0",
"simple-git": "^3.36.0",
"inversify": "^8.1.0"
"inversify": "^8.1.2",
"simple-git": "^3.36.0"
}
}
2 changes: 1 addition & 1 deletion packages/repository/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@ci-dokumentor/repository-git": "workspace:*",
"@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^9.0.3",
"inversify": "^8.1.0"
"inversify": "^8.1.2"
}
}
2 changes: 1 addition & 1 deletion packages/repository/gitlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@ci-dokumentor/core": "workspace:*",
"@ci-dokumentor/repository-git": "workspace:*",
"@gitbeaker/rest": "^43.8.0",
"inversify": "^8.1.0"
"inversify": "^8.1.2"
}
}
Loading
Loading