Merge pull request #1567 from crazy-max/fix-esbuild
Some checks failed
codeql / analyze (push) Failing after 1m55s
validate / prepare (push) Successful in 29s
zizmor / zizmor (push) Failing after 1s
test / test (push) Successful in 1m34s
validate / validate (push) Successful in 3m4s
e2e / build (Artifactory, artifactory, infradock.jfrog.io, infradock.jfrog.io/test-ghaction/build-push-action, remote) (push) Failing after 1m40s
e2e / build (Google Artifact Registry, gar, us-east4-docker.pkg.dev, us-east4-docker.pkg.dev/sandbox-298914/docker-official-github-actions/test-docker-action, remote) (push) Failing after 2m1s
e2e / build (Docker Hub, dockerhub, , dockereng/build-push-action-test, remote) (push) Failing after 2m25s
e2e / build (GitLab, gitlab, registry.gitlab.com, registry.gitlab.com/test1716/test, remote) (push) Failing after 2m16s
e2e / build (Azure Container Registry, acr, officialgithubactions.azurecr.io, officialgithubactions.azurecr.io/test-docker-action, remote) (push) Failing after 2m47s
e2e / build (GitHub, ghcr, ghcr.io, ghcr.io/docker/build-push-action-test, remote) (push) Failing after 2m40s
e2e / build (Quay, quay, quay.io, quay.io/docker_build_team/ghactiontest, remote) (push) Failing after 1m33s
e2e / build (distribution, Distribution, none, local) (push) Failing after 57s
e2e / build (harbor, Harbor, none, local) (push) Failing after 50s
e2e / build (nexus, Nexus, none, local) (push) Failing after 56s
ci / git-context-secret (push) Failing after 10s
ci / error (push) Failing after 17s
ci / example (push) Failing after 55s
ci / path-context (push) Failing after 1m3s
e2e / build (AWS ECR, aws, 175142243308.dkr.ecr.us-east-2.amazonaws.com, 175142243308.dkr.ecr.us-east-2.amazonaws.com/sandbox/test-docker-action, remote) (push) Failing after 4m34s
ci / error-buildx (push) Successful in 51s
e2e / build (AWS ECR Public, aws, public.ecr.aws, public.ecr.aws/q3b5f1u4/test-docker-action, remote) (push) Failing after 4m44s
ci / docker-driver (push) Successful in 34s
ci / export-docker (push) Successful in 33s
ci / secret-files (push) Successful in 36s
ci / secret (push) Successful in 45s
ci / secret-envs (push) Successful in 52s
ci / shm-size (push) Successful in 44s
ci / ulimit (push) Successful in 31s
ci / network (push) Successful in 53s
ci / cgroup-parent (push) Successful in 40s
ci / attests-compat (moby/buildkit:buildx-stable-1, v0.9.1) (push) Failing after 25s
ci / add-hosts (push) Successful in 50s
ci / no-cache-filters (push) Successful in 53s
ci / minimal (push) Successful in 3m50s
ci / provenance (mode=max, /tmp/buildx-build, binary) (push) Failing after 8s
ci / provenance (mode=max, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 12s
ci / git-context-query (push) Failing after 3m49s
ci / sbom (/tmp/buildx-build, binary) (push) Failing after 8s
ci / git-context (push) Failing after 4m19s
ci / multi (multi-sudo) (push) Failing after 9s
ci / attests-compat (moby/buildkit:buildx-stable-1, latest) (push) Successful in 1m35s
ci / digest (docker, false, false) (push) Failing after 9s
ci / digest (docker, false, true) (push) Failing after 8s
ci / digest (docker, true, false) (push) Failing after 9s
ci / digest (docker-container, false, false) (push) Failing after 8s
ci / digest (docker-container, false, true) (push) Failing after 9s
ci / digest (docker-container, true, false) (push) Failing after 11s
ci / attests-compat (moby/buildkit:latest, edge) (push) Successful in 1m54s
ci / registry-cache (push) Failing after 9s
ci / github-cache (push) Failing after 8s
ci / local-cache (push) Failing after 9s
ci / multi (multi) (push) Failing after 1m7s
ci / attests-compat (moby/buildkit:v0.10.6, latest) (push) Successful in 2m12s
ci / standalone (push) Successful in 36s
ci / named-context-pin (push) Successful in 36s
ci / provenance (, type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 2m6s
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Failing after 1m37s
ci / named-context-docker (push) Successful in 40s
ci / provenance (, /tmp/buildx-build, binary) (push) Failing after 2m22s
ci / docker-config-malformed (push) Successful in 20s
ci / proxy-buildkitd (push) Failing after 13s
ci / load-and-push (push) Failing after 10s
ci / proxy-docker-config (push) Failing after 29s
ci / summary-not-supported (push) Failing after 21s
ci / named-context-container (push) Successful in 1m9s
ci / annotations (push) Failing after 43s
ci / multi-output (push) Failing after 1m3s
ci / checks (edge) (push) Successful in 40s
ci / checks (v0.14.1) (push) Successful in 31s
ci / checks (latest) (push) Successful in 41s
ci / summary-disable (push) Failing after 2m12s
ci / record-retention-days (0) (push) Failing after 2m5s
ci / record-retention-days (2) (push) Failing after 1m57s
ci / annotations-disabled (push) Successful in 41s
ci / call-check (push) Successful in 33s
ci / no-default-attestations (push) Failing after 1m3s
ci / record-upload-disable (push) Failing after 2m7s

preserve names in esbuild bundle
This commit is contained in:
CrazyMax
2026-06-29 16:14:40 +02:00
committed by GitHub
3 changed files with 189 additions and 189 deletions

372
dist/index.cjs generated vendored

File diff suppressed because one or more lines are too long

4
dist/index.cjs.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@
"type": "module",
"main": "src/main.ts",
"scripts": {
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify && yarn run license",
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify --keep-names && yarn run license",
"lint": "eslint --max-warnings=0 .",
"format": "eslint --fix .",
"test": "vitest run",