@percher/core 1.3.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/dist/ai-files-manifest.d.ts +0 -0
- package/dist/ai-files-manifest.d.ts.map +0 -0
- package/dist/ai-files-manifest.js +0 -0
- package/dist/ai-files-manifest.js.map +0 -0
- package/dist/app-name.d.ts +0 -0
- package/dist/app-name.d.ts.map +0 -0
- package/dist/app-name.js +0 -0
- package/dist/app-name.js.map +0 -0
- package/dist/appstore-artifacts.d.ts +0 -0
- package/dist/appstore-artifacts.d.ts.map +0 -0
- package/dist/appstore-artifacts.js +0 -0
- package/dist/appstore-artifacts.js.map +0 -0
- package/dist/bundle-completeness.d.ts +0 -0
- package/dist/bundle-completeness.d.ts.map +0 -0
- package/dist/bundle-completeness.js +0 -0
- package/dist/bundle-completeness.js.map +0 -0
- package/dist/commands/account.d.ts +0 -0
- package/dist/commands/account.d.ts.map +0 -0
- package/dist/commands/account.js +0 -0
- package/dist/commands/account.js.map +0 -0
- package/dist/commands/admin-legacy-audit.d.ts +0 -0
- package/dist/commands/admin-legacy-audit.d.ts.map +0 -0
- package/dist/commands/admin-legacy-audit.js +0 -0
- package/dist/commands/admin-legacy-audit.js.map +0 -0
- package/dist/commands/admin-legacy-inventory.d.ts +0 -0
- package/dist/commands/admin-legacy-inventory.d.ts.map +0 -0
- package/dist/commands/admin-legacy-inventory.js +0 -0
- package/dist/commands/admin-legacy-inventory.js.map +0 -0
- package/dist/commands/admin-migrate-networks.d.ts +0 -0
- package/dist/commands/admin-migrate-networks.d.ts.map +0 -0
- package/dist/commands/admin-migrate-networks.js +0 -0
- package/dist/commands/admin-migrate-networks.js.map +0 -0
- package/dist/commands/admin-reconcile-routes.d.ts +0 -0
- package/dist/commands/admin-reconcile-routes.d.ts.map +0 -0
- package/dist/commands/admin-reconcile-routes.js +0 -0
- package/dist/commands/admin-reconcile-routes.js.map +0 -0
- package/dist/commands/ai-files.d.ts +0 -0
- package/dist/commands/ai-files.d.ts.map +0 -0
- package/dist/commands/ai-files.js +0 -0
- package/dist/commands/ai-files.js.map +0 -0
- package/dist/commands/alerts.d.ts +0 -0
- package/dist/commands/alerts.d.ts.map +0 -0
- package/dist/commands/alerts.js +0 -0
- package/dist/commands/alerts.js.map +0 -0
- package/dist/commands/analytics.d.ts +0 -0
- package/dist/commands/analytics.d.ts.map +0 -0
- package/dist/commands/analytics.js +0 -0
- package/dist/commands/analytics.js.map +0 -0
- package/dist/commands/app-resources.d.ts +0 -0
- package/dist/commands/app-resources.d.ts.map +0 -0
- package/dist/commands/app-resources.js +0 -0
- package/dist/commands/app-resources.js.map +0 -0
- package/dist/commands/app-topology.d.ts +0 -0
- package/dist/commands/app-topology.d.ts.map +0 -0
- package/dist/commands/app-topology.js +0 -0
- package/dist/commands/app-topology.js.map +0 -0
- package/dist/commands/appstore-kit.d.ts +0 -0
- package/dist/commands/appstore-kit.d.ts.map +0 -0
- package/dist/commands/appstore-kit.js +0 -0
- package/dist/commands/appstore-kit.js.map +0 -0
- package/dist/commands/billing.d.ts +0 -0
- package/dist/commands/billing.d.ts.map +0 -0
- package/dist/commands/billing.js +0 -0
- package/dist/commands/billing.js.map +0 -0
- package/dist/commands/cache.d.ts +0 -0
- package/dist/commands/cache.d.ts.map +0 -0
- package/dist/commands/cache.js +0 -0
- package/dist/commands/cache.js.map +0 -0
- package/dist/commands/capabilities.d.ts +0 -0
- package/dist/commands/capabilities.d.ts.map +0 -0
- package/dist/commands/capabilities.js +0 -0
- package/dist/commands/capabilities.js.map +0 -0
- package/dist/commands/claim.d.ts +0 -0
- package/dist/commands/claim.d.ts.map +0 -0
- package/dist/commands/claim.js +0 -0
- package/dist/commands/claim.js.map +0 -0
- package/dist/commands/create.d.ts +0 -0
- package/dist/commands/create.d.ts.map +0 -0
- package/dist/commands/create.js +0 -0
- package/dist/commands/create.js.map +0 -0
- package/dist/commands/dashboard.d.ts +0 -0
- package/dist/commands/dashboard.d.ts.map +0 -0
- package/dist/commands/dashboard.js +0 -0
- package/dist/commands/dashboard.js.map +0 -0
- package/dist/commands/data-export.d.ts +0 -0
- package/dist/commands/data-export.d.ts.map +0 -0
- package/dist/commands/data-export.js +0 -0
- package/dist/commands/data-export.js.map +0 -0
- package/dist/commands/data-oauth.d.ts +0 -0
- package/dist/commands/data-oauth.d.ts.map +0 -0
- package/dist/commands/data-oauth.js +0 -0
- package/dist/commands/data-oauth.js.map +0 -0
- package/dist/commands/data-records.d.ts +0 -0
- package/dist/commands/data-records.d.ts.map +0 -0
- package/dist/commands/data-records.js +1 -1
- package/dist/commands/data-records.js.map +1 -1
- package/dist/commands/data.d.ts +0 -0
- package/dist/commands/data.d.ts.map +0 -0
- package/dist/commands/data.js +0 -0
- package/dist/commands/data.js.map +0 -0
- package/dist/commands/delete.d.ts +0 -0
- package/dist/commands/delete.d.ts.map +0 -0
- package/dist/commands/delete.js +0 -0
- package/dist/commands/delete.js.map +0 -0
- package/dist/commands/deploy-repo.d.ts +0 -0
- package/dist/commands/deploy-repo.d.ts.map +0 -0
- package/dist/commands/deploy-repo.js +0 -0
- package/dist/commands/deploy-repo.js.map +0 -0
- package/dist/commands/deploys.d.ts +0 -0
- package/dist/commands/deploys.d.ts.map +0 -0
- package/dist/commands/deploys.js +0 -0
- package/dist/commands/deploys.js.map +0 -0
- package/dist/commands/dev.d.ts +0 -0
- package/dist/commands/dev.d.ts.map +0 -0
- package/dist/commands/dev.js +0 -0
- package/dist/commands/dev.js.map +0 -0
- package/dist/commands/diagnose.d.ts +0 -0
- package/dist/commands/diagnose.d.ts.map +0 -0
- package/dist/commands/diagnose.js +0 -0
- package/dist/commands/diagnose.js.map +0 -0
- package/dist/commands/diff.d.ts +0 -0
- package/dist/commands/diff.d.ts.map +0 -0
- package/dist/commands/diff.js +0 -0
- package/dist/commands/diff.js.map +0 -0
- package/dist/commands/doctor.d.ts +9 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +11 -11
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/domains.d.ts +0 -0
- package/dist/commands/domains.d.ts.map +0 -0
- package/dist/commands/domains.js +0 -0
- package/dist/commands/domains.js.map +0 -0
- package/dist/commands/env-scan.d.ts +0 -0
- package/dist/commands/env-scan.d.ts.map +0 -0
- package/dist/commands/env-scan.js +0 -0
- package/dist/commands/env-scan.js.map +0 -0
- package/dist/commands/env.d.ts +0 -0
- package/dist/commands/env.d.ts.map +0 -0
- package/dist/commands/env.js +0 -0
- package/dist/commands/env.js.map +0 -0
- package/dist/commands/export.d.ts +0 -0
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +118 -24
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/forgejo.d.ts +0 -0
- package/dist/commands/forgejo.d.ts.map +0 -0
- package/dist/commands/forgejo.js +0 -0
- package/dist/commands/forgejo.js.map +0 -0
- package/dist/commands/generate.d.ts +0 -0
- package/dist/commands/generate.d.ts.map +0 -0
- package/dist/commands/generate.js +0 -0
- package/dist/commands/generate.js.map +0 -0
- package/dist/commands/github.d.ts +0 -0
- package/dist/commands/github.d.ts.map +0 -0
- package/dist/commands/github.js +0 -0
- package/dist/commands/github.js.map +0 -0
- package/dist/commands/hooks.d.ts +0 -0
- package/dist/commands/hooks.d.ts.map +0 -0
- package/dist/commands/hooks.js +0 -0
- package/dist/commands/hooks.js.map +0 -0
- package/dist/commands/import-project.d.ts +0 -0
- package/dist/commands/import-project.d.ts.map +0 -0
- package/dist/commands/import-project.js +0 -0
- package/dist/commands/import-project.js.map +0 -0
- package/dist/commands/init.d.ts +0 -0
- package/dist/commands/init.d.ts.map +0 -0
- package/dist/commands/init.js +0 -0
- package/dist/commands/init.js.map +0 -0
- package/dist/commands/insights.d.ts +0 -0
- package/dist/commands/insights.d.ts.map +0 -0
- package/dist/commands/insights.js +0 -0
- package/dist/commands/insights.js.map +0 -0
- package/dist/commands/inspect-link.d.ts +0 -0
- package/dist/commands/inspect-link.d.ts.map +0 -0
- package/dist/commands/inspect-link.js +0 -0
- package/dist/commands/inspect-link.js.map +0 -0
- package/dist/commands/login.d.ts +0 -0
- package/dist/commands/login.d.ts.map +0 -0
- package/dist/commands/login.js +0 -0
- package/dist/commands/login.js.map +0 -0
- package/dist/commands/logout.d.ts +15 -0
- package/dist/commands/logout.d.ts.map +1 -0
- package/dist/commands/logout.js +15 -0
- package/dist/commands/logout.js.map +1 -0
- package/dist/commands/logs.d.ts +0 -0
- package/dist/commands/logs.d.ts.map +0 -0
- package/dist/commands/logs.js +0 -0
- package/dist/commands/logs.js.map +0 -0
- package/dist/commands/mcp.d.ts +0 -0
- package/dist/commands/mcp.d.ts.map +0 -0
- package/dist/commands/mcp.js +0 -0
- package/dist/commands/mcp.js.map +0 -0
- package/dist/commands/migrate-supabase-map.d.ts +0 -0
- package/dist/commands/migrate-supabase-map.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-map.js +0 -0
- package/dist/commands/migrate-supabase-map.js.map +0 -0
- package/dist/commands/migrate-supabase-recipes.d.ts +0 -0
- package/dist/commands/migrate-supabase-recipes.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-recipes.js +0 -0
- package/dist/commands/migrate-supabase-recipes.js.map +0 -0
- package/dist/commands/migrate-supabase-rewrite.d.ts +0 -0
- package/dist/commands/migrate-supabase-rewrite.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-rewrite.js +0 -0
- package/dist/commands/migrate-supabase-rewrite.js.map +0 -0
- package/dist/commands/migrate-supabase-scaffold.d.ts +0 -0
- package/dist/commands/migrate-supabase-scaffold.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-scaffold.js +0 -0
- package/dist/commands/migrate-supabase-scaffold.js.map +0 -0
- package/dist/commands/migrate-supabase-schema.d.ts +0 -0
- package/dist/commands/migrate-supabase-schema.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-schema.js +0 -0
- package/dist/commands/migrate-supabase-schema.js.map +0 -0
- package/dist/commands/migrate-supabase-scripts.d.ts +0 -0
- package/dist/commands/migrate-supabase-scripts.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-scripts.js +0 -0
- package/dist/commands/migrate-supabase-scripts.js.map +0 -0
- package/dist/commands/migrate-supabase-sdk.d.ts +0 -0
- package/dist/commands/migrate-supabase-sdk.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-sdk.js +0 -0
- package/dist/commands/migrate-supabase-sdk.js.map +0 -0
- package/dist/commands/migrate-supabase-status.d.ts +0 -0
- package/dist/commands/migrate-supabase-status.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-status.js +0 -0
- package/dist/commands/migrate-supabase-status.js.map +0 -0
- package/dist/commands/migrate-supabase-walker.d.ts +0 -0
- package/dist/commands/migrate-supabase-walker.d.ts.map +0 -0
- package/dist/commands/migrate-supabase-walker.js +0 -0
- package/dist/commands/migrate-supabase-walker.js.map +0 -0
- package/dist/commands/migrate-supabase.d.ts +0 -0
- package/dist/commands/migrate-supabase.d.ts.map +0 -0
- package/dist/commands/migrate-supabase.js +0 -0
- package/dist/commands/migrate-supabase.js.map +0 -0
- package/dist/commands/open.d.ts +0 -0
- package/dist/commands/open.d.ts.map +0 -0
- package/dist/commands/open.js +0 -0
- package/dist/commands/open.js.map +0 -0
- package/dist/commands/preview-branch.d.ts +0 -0
- package/dist/commands/preview-branch.d.ts.map +0 -0
- package/dist/commands/preview-branch.js +0 -0
- package/dist/commands/preview-branch.js.map +0 -0
- package/dist/commands/publish-anonymous.d.ts +24 -0
- package/dist/commands/publish-anonymous.d.ts.map +1 -0
- package/dist/commands/publish-anonymous.js +42 -0
- package/dist/commands/publish-anonymous.js.map +1 -0
- package/dist/commands/publish-api-error.d.ts +0 -0
- package/dist/commands/publish-api-error.d.ts.map +0 -0
- package/dist/commands/publish-api-error.js +0 -0
- package/dist/commands/publish-api-error.js.map +0 -0
- package/dist/commands/publish-failure.d.ts +0 -0
- package/dist/commands/publish-failure.d.ts.map +1 -1
- package/dist/commands/publish-failure.js +4 -0
- package/dist/commands/publish-failure.js.map +1 -1
- package/dist/commands/publish-from-repo.d.ts +0 -0
- package/dist/commands/publish-from-repo.d.ts.map +0 -0
- package/dist/commands/publish-from-repo.js +0 -0
- package/dist/commands/publish-from-repo.js.map +0 -0
- package/dist/commands/publish-in-flight.d.ts +0 -0
- package/dist/commands/publish-in-flight.d.ts.map +0 -0
- package/dist/commands/publish-in-flight.js +0 -0
- package/dist/commands/publish-in-flight.js.map +0 -0
- package/dist/commands/publish-inline.d.ts +0 -0
- package/dist/commands/publish-inline.d.ts.map +0 -0
- package/dist/commands/publish-inline.js +0 -0
- package/dist/commands/publish-inline.js.map +0 -0
- package/dist/commands/publish-node.d.ts +0 -0
- package/dist/commands/publish-node.d.ts.map +0 -0
- package/dist/commands/publish-node.js +0 -0
- package/dist/commands/publish-node.js.map +0 -0
- package/dist/commands/publish-patch.d.ts +21 -0
- package/dist/commands/publish-patch.d.ts.map +1 -0
- package/dist/commands/publish-patch.js +36 -0
- package/dist/commands/publish-patch.js.map +1 -0
- package/dist/commands/publish-rate-limit.d.ts +0 -0
- package/dist/commands/publish-rate-limit.d.ts.map +0 -0
- package/dist/commands/publish-rate-limit.js +0 -0
- package/dist/commands/publish-rate-limit.js.map +0 -0
- package/dist/commands/publish.d.ts +1 -0
- package/dist/commands/publish.d.ts.map +1 -1
- package/dist/commands/publish.js +16 -2
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/push.d.ts +0 -0
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +2 -0
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/redeploy.d.ts +0 -0
- package/dist/commands/redeploy.d.ts.map +0 -0
- package/dist/commands/redeploy.js +0 -0
- package/dist/commands/redeploy.js.map +0 -0
- package/dist/commands/rename.d.ts +0 -0
- package/dist/commands/rename.d.ts.map +0 -0
- package/dist/commands/rename.js +0 -0
- package/dist/commands/rename.js.map +0 -0
- package/dist/commands/reproduce.d.ts +0 -0
- package/dist/commands/reproduce.d.ts.map +0 -0
- package/dist/commands/reproduce.js +0 -0
- package/dist/commands/reproduce.js.map +0 -0
- package/dist/commands/reset-superuser.d.ts +0 -0
- package/dist/commands/reset-superuser.d.ts.map +0 -0
- package/dist/commands/reset-superuser.js +0 -0
- package/dist/commands/reset-superuser.js.map +0 -0
- package/dist/commands/restore.d.ts +0 -0
- package/dist/commands/restore.d.ts.map +0 -0
- package/dist/commands/restore.js +0 -0
- package/dist/commands/restore.js.map +0 -0
- package/dist/commands/resume.d.ts +0 -0
- package/dist/commands/resume.d.ts.map +0 -0
- package/dist/commands/resume.js +0 -0
- package/dist/commands/resume.js.map +0 -0
- package/dist/commands/rollback.d.ts +0 -0
- package/dist/commands/rollback.d.ts.map +1 -1
- package/dist/commands/rollback.js +2 -0
- package/dist/commands/rollback.js.map +1 -1
- package/dist/commands/sharing.d.ts +0 -0
- package/dist/commands/sharing.d.ts.map +0 -0
- package/dist/commands/sharing.js +0 -0
- package/dist/commands/sharing.js.map +0 -0
- package/dist/commands/sleep.d.ts +0 -0
- package/dist/commands/sleep.d.ts.map +0 -0
- package/dist/commands/sleep.js +0 -0
- package/dist/commands/sleep.js.map +0 -0
- package/dist/commands/status.d.ts +0 -0
- package/dist/commands/status.d.ts.map +0 -0
- package/dist/commands/status.js +0 -0
- package/dist/commands/status.js.map +0 -0
- package/dist/commands/token.d.ts +0 -0
- package/dist/commands/token.d.ts.map +0 -0
- package/dist/commands/token.js +0 -0
- package/dist/commands/token.js.map +0 -0
- package/dist/commands/transfers.d.ts +0 -0
- package/dist/commands/transfers.d.ts.map +0 -0
- package/dist/commands/transfers.js +0 -0
- package/dist/commands/transfers.js.map +0 -0
- package/dist/commands/unsuspend.d.ts +0 -0
- package/dist/commands/unsuspend.d.ts.map +0 -0
- package/dist/commands/unsuspend.js +0 -0
- package/dist/commands/unsuspend.js.map +0 -0
- package/dist/commands/versions.d.ts +0 -0
- package/dist/commands/versions.d.ts.map +0 -0
- package/dist/commands/versions.js +0 -0
- package/dist/commands/versions.js.map +0 -0
- package/dist/commands/wait-deploy.d.ts +0 -0
- package/dist/commands/wait-deploy.d.ts.map +0 -0
- package/dist/commands/wait-deploy.js +0 -0
- package/dist/commands/wait-deploy.js.map +0 -0
- package/dist/commands/whoami.d.ts +2 -0
- package/dist/commands/whoami.d.ts.map +1 -1
- package/dist/commands/whoami.js +0 -0
- package/dist/commands/whoami.js.map +1 -1
- package/dist/context.d.ts +0 -0
- package/dist/context.d.ts.map +0 -0
- package/dist/context.js +0 -0
- package/dist/context.js.map +0 -0
- package/dist/data-recovery.d.ts +0 -0
- package/dist/data-recovery.d.ts.map +0 -0
- package/dist/data-recovery.js +5 -5
- package/dist/data-recovery.js.map +1 -1
- package/dist/deployment-replaced.d.ts +0 -0
- package/dist/deployment-replaced.d.ts.map +0 -0
- package/dist/deployment-replaced.js +0 -0
- package/dist/deployment-replaced.js.map +0 -0
- package/dist/detect.d.ts +0 -0
- package/dist/detect.d.ts.map +0 -0
- package/dist/detect.js +0 -0
- package/dist/detect.js.map +0 -0
- package/dist/env-scan-source.d.ts +0 -0
- package/dist/env-scan-source.d.ts.map +0 -0
- package/dist/env-scan-source.js +0 -0
- package/dist/env-scan-source.js.map +0 -0
- package/dist/error-classifier.d.ts +3 -1
- package/dist/error-classifier.d.ts.map +1 -1
- package/dist/error-classifier.js +0 -0
- package/dist/error-classifier.js.map +1 -1
- package/dist/errors.d.ts +3 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +2 -0
- package/dist/errors.js.map +1 -1
- package/dist/event-renderer.d.ts +0 -0
- package/dist/event-renderer.d.ts.map +0 -0
- package/dist/event-renderer.js +0 -0
- package/dist/event-renderer.js.map +0 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations.d.ts +0 -0
- package/dist/integrations.d.ts.map +0 -0
- package/dist/integrations.js +0 -0
- package/dist/integrations.js.map +0 -0
- package/dist/plans.d.ts +0 -0
- package/dist/plans.d.ts.map +0 -0
- package/dist/plans.js +0 -0
- package/dist/plans.js.map +0 -0
- package/dist/poll-deployment.d.ts +0 -0
- package/dist/poll-deployment.d.ts.map +0 -0
- package/dist/poll-deployment.js +0 -0
- package/dist/poll-deployment.js.map +0 -0
- package/dist/publish-retry.d.ts +0 -0
- package/dist/publish-retry.d.ts.map +0 -0
- package/dist/publish-retry.js +0 -0
- package/dist/publish-retry.js.map +0 -0
- package/dist/qr.d.ts +0 -0
- package/dist/qr.d.ts.map +0 -0
- package/dist/qr.js +0 -0
- package/dist/qr.js.map +0 -0
- package/dist/recovery-tools.d.ts +0 -0
- package/dist/recovery-tools.d.ts.map +0 -0
- package/dist/recovery-tools.js +0 -0
- package/dist/recovery-tools.js.map +0 -0
- package/dist/recovery.d.ts +4 -6
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +23 -12
- package/dist/recovery.js.map +1 -1
- package/dist/security-deployment-failure.d.ts +8 -0
- package/dist/security-deployment-failure.d.ts.map +1 -0
- package/dist/security-deployment-failure.js +50 -0
- package/dist/security-deployment-failure.js.map +1 -0
- package/dist/static-docker.d.ts +3 -3
- package/dist/static-docker.d.ts.map +1 -1
- package/dist/static-docker.js +41 -22
- package/dist/static-docker.js.map +1 -1
- package/dist/stream-utils.d.ts +0 -0
- package/dist/stream-utils.d.ts.map +0 -0
- package/dist/stream-utils.js +0 -0
- package/dist/stream-utils.js.map +0 -0
- package/dist/structured-error-codes.d.ts +1 -1
- package/dist/structured-error-codes.d.ts.map +1 -1
- package/dist/structured-error-codes.js +40 -0
- package/dist/structured-error-codes.js.map +1 -1
- package/dist/tarball.d.ts +2 -0
- package/dist/tarball.d.ts.map +1 -1
- package/dist/tarball.js +57 -13
- package/dist/tarball.js.map +1 -1
- package/dist/templates/ai-files/claude-md.d.ts +0 -0
- package/dist/templates/ai-files/claude-md.d.ts.map +0 -0
- package/dist/templates/ai-files/claude-md.js +0 -0
- package/dist/templates/ai-files/claude-md.js.map +0 -0
- package/dist/templates/ai-files/cursor-percher-mdc.d.ts +0 -0
- package/dist/templates/ai-files/cursor-percher-mdc.d.ts.map +0 -0
- package/dist/templates/ai-files/cursor-percher-mdc.js +0 -0
- package/dist/templates/ai-files/cursor-percher-mdc.js.map +0 -0
- package/dist/templates/ai-files/index.d.ts +0 -0
- package/dist/templates/ai-files/index.d.ts.map +0 -0
- package/dist/templates/ai-files/index.js +0 -0
- package/dist/templates/ai-files/index.js.map +0 -0
- package/dist/templates.d.ts +0 -0
- package/dist/templates.d.ts.map +0 -0
- package/dist/templates.js +0 -0
- package/dist/templates.js.map +0 -0
- package/dist/toml-recovery.d.ts +0 -0
- package/dist/toml-recovery.d.ts.map +0 -0
- package/dist/toml-recovery.js +0 -0
- package/dist/toml-recovery.js.map +0 -0
- package/dist/untrusted.d.ts +0 -0
- package/dist/untrusted.d.ts.map +0 -0
- package/dist/untrusted.js +0 -0
- package/dist/untrusted.js.map +0 -0
- package/dist/validation/blocked-names.d.ts +0 -0
- package/dist/validation/blocked-names.d.ts.map +0 -0
- package/dist/validation/blocked-names.js +0 -0
- package/dist/validation/blocked-names.js.map +0 -0
- package/dist/watcher.d.ts +0 -0
- package/dist/watcher.d.ts.map +1 -1
- package/dist/watcher.js +11 -1
- package/dist/watcher.js.map +1 -1
- package/package.json +4 -4
- package/templates/LICENSE +0 -0
- package/templates/astro/Caddyfile +5 -1
- package/templates/astro/Dockerfile +15 -16
- package/templates/astro/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/astro/astro.config.mjs +0 -0
- package/templates/astro/package.json +0 -0
- package/templates/astro/percher.toml +0 -0
- package/templates/astro/src/pages/index.astro +0 -0
- package/templates/bun/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/bun/index.ts +0 -0
- package/templates/bun/package.json +0 -0
- package/templates/bun/percher.toml +0 -0
- package/templates/capsule/Caddyfile +0 -0
- package/templates/capsule/Dockerfile +10 -15
- package/templates/capsule/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/capsule/index.html +0 -0
- package/templates/capsule/package.json +0 -0
- package/templates/capsule/pb/schema.json +0 -0
- package/templates/capsule/percher.toml +0 -0
- package/templates/capsule/src/App.tsx +0 -0
- package/templates/capsule/src/components/Auth.tsx +0 -0
- package/templates/capsule/src/components/SignInWithGoogle.tsx +0 -0
- package/templates/capsule/src/lib/ai-client.ts +0 -0
- package/templates/capsule/src/lib/ai.ts +0 -0
- package/templates/capsule/src/lib/db.ts +0 -0
- package/templates/capsule/src/lib/realtime.ts +0 -0
- package/templates/capsule/src/main.tsx +0 -0
- package/templates/capsule/tsconfig.json +0 -0
- package/templates/capsule/vite.config.ts +0 -0
- package/templates/django/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/django/Procfile +0 -0
- package/templates/django/app/__init__.py +0 -0
- package/templates/django/app/settings.py +0 -0
- package/templates/django/app/urls.py +0 -0
- package/templates/django/app/wsgi.py +0 -0
- package/templates/django/manage.py +0 -0
- package/templates/django/percher.toml +0 -0
- package/templates/django/requirements.txt +0 -0
- package/templates/dotnet/Dockerfile +0 -0
- package/templates/dotnet/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/dotnet/Program.cs +0 -0
- package/templates/dotnet/app.csproj +0 -0
- package/templates/dotnet/percher.toml +0 -0
- package/templates/eleventy/.eleventy.js +0 -0
- package/templates/eleventy/Caddyfile +5 -1
- package/templates/eleventy/Dockerfile +15 -16
- package/templates/eleventy/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/eleventy/package.json +0 -0
- package/templates/eleventy/percher.toml +0 -0
- package/templates/eleventy/src/_includes/base.njk +0 -0
- package/templates/eleventy/src/assets/style.css +0 -0
- package/templates/eleventy/src/index.md +0 -0
- package/templates/elysia/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/elysia/index.ts +0 -0
- package/templates/elysia/package.json +0 -0
- package/templates/elysia/percher.toml +0 -0
- package/templates/express/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/express/index.ts +0 -0
- package/templates/express/package.json +0 -0
- package/templates/express/percher.toml +0 -0
- package/templates/fastify/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/fastify/index.ts +0 -0
- package/templates/fastify/package.json +0 -0
- package/templates/fastify/percher.toml +0 -0
- package/templates/flask/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/flask/main.py +0 -0
- package/templates/flask/percher.toml +0 -0
- package/templates/flask/requirements.txt +0 -0
- package/templates/go/Dockerfile +0 -0
- package/templates/go/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/go/go.mod +0 -0
- package/templates/go/main.go +0 -0
- package/templates/go/percher.toml +0 -0
- package/templates/hono/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/hono/index.ts +0 -0
- package/templates/hono/package.json +0 -0
- package/templates/hono/percher.toml +0 -0
- package/templates/htmx/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/htmx/index.ts +0 -0
- package/templates/htmx/package.json +0 -0
- package/templates/htmx/percher.toml +0 -0
- package/templates/hugo/Caddyfile +0 -0
- package/templates/hugo/Dockerfile +10 -15
- package/templates/hugo/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/hugo/content/_index.md +0 -0
- package/templates/hugo/hugo.toml +0 -0
- package/templates/hugo/layouts/index.html +0 -0
- package/templates/hugo/percher.toml +0 -0
- package/templates/java/Dockerfile +0 -0
- package/templates/java/Main.java +0 -0
- package/templates/java/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/java/percher.toml +0 -0
- package/templates/laravel/Dockerfile +0 -0
- package/templates/laravel/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/laravel/composer.json +0 -0
- package/templates/laravel/percher.toml +0 -0
- package/templates/laravel/public/index.php +0 -0
- package/templates/nextjs/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/nextjs/app/api/health/route.ts +0 -0
- package/templates/nextjs/app/layout.tsx +0 -0
- package/templates/nextjs/app/page.tsx +0 -0
- package/templates/nextjs/next.config.mjs +0 -0
- package/templates/nextjs/package.json +0 -0
- package/templates/nextjs/percher.toml +0 -0
- package/templates/node/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/node/index.js +0 -0
- package/templates/node/package.json +0 -0
- package/templates/node/percher.toml +0 -0
- package/templates/nuxt/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/nuxt/app.vue +0 -0
- package/templates/nuxt/nuxt.config.ts +0 -0
- package/templates/nuxt/package.json +0 -0
- package/templates/nuxt/percher.toml +0 -0
- package/templates/nuxt/server/api/health.ts +0 -0
- package/templates/phoenix/Dockerfile +0 -0
- package/templates/phoenix/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/phoenix/lib/application.ex +0 -0
- package/templates/phoenix/lib/router.ex +0 -0
- package/templates/phoenix/mix.exs +0 -0
- package/templates/phoenix/percher.toml +0 -0
- package/templates/preact/Caddyfile +6 -2
- package/templates/preact/Dockerfile +15 -16
- package/templates/preact/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/preact/index.html +0 -0
- package/templates/preact/package.json +0 -0
- package/templates/preact/percher.toml +0 -0
- package/templates/preact/src/main.tsx +0 -0
- package/templates/preact/vite.config.ts +0 -0
- package/templates/python/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/python/main.py +0 -0
- package/templates/python/nixpacks.toml +0 -0
- package/templates/python/percher.toml +0 -0
- package/templates/python/requirements.txt +0 -0
- package/templates/rails/Dockerfile +0 -0
- package/templates/rails/Gemfile +0 -0
- package/templates/rails/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/rails/config.ru +0 -0
- package/templates/rails/percher.toml +0 -0
- package/templates/remix/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/remix/app/root.tsx +0 -0
- package/templates/remix/app/routes/_index.tsx +0 -0
- package/templates/remix/app/routes/health.tsx +0 -0
- package/templates/remix/package.json +0 -0
- package/templates/remix/percher.toml +0 -0
- package/templates/remix/vite.config.ts +0 -0
- package/templates/rust/Cargo.toml +0 -0
- package/templates/rust/Dockerfile +0 -0
- package/templates/rust/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/rust/percher.toml +0 -0
- package/templates/rust/src/main.rs +0 -0
- package/templates/solid/Caddyfile +6 -2
- package/templates/solid/Dockerfile +15 -16
- package/templates/solid/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/solid/index.html +0 -0
- package/templates/solid/package.json +0 -0
- package/templates/solid/percher.toml +0 -0
- package/templates/solid/src/main.tsx +0 -0
- package/templates/solid/vite.config.ts +0 -0
- package/templates/static/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/static/index.html +0 -0
- package/templates/static/percher.toml +0 -0
- package/templates/static/style.css +0 -0
- package/templates/sveltekit/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/sveltekit/package.json +0 -0
- package/templates/sveltekit/percher.toml +0 -0
- package/templates/sveltekit/src/app.html +0 -0
- package/templates/sveltekit/src/routes/+page.svelte +0 -0
- package/templates/sveltekit/src/routes/health/+server.ts +0 -0
- package/templates/sveltekit/svelte.config.js +0 -0
- package/templates/sveltekit/vite.config.js +0 -0
- package/templates/vite-react/Caddyfile +6 -2
- package/templates/vite-react/Dockerfile +15 -16
- package/templates/vite-react/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/vite-react/index.html +0 -0
- package/templates/vite-react/package.json +0 -0
- package/templates/vite-react/percher.toml +0 -0
- package/templates/vite-react/src/main.tsx +0 -0
- package/templates/vite-react/vite.config.ts +0 -0
- package/templates/vite-vue/Caddyfile +6 -2
- package/templates/vite-vue/Dockerfile +15 -16
- package/templates/vite-vue/PERCHER-TEMPLATE-LICENSE.txt +0 -0
- package/templates/vite-vue/index.html +0 -0
- package/templates/vite-vue/package.json +0 -0
- package/templates/vite-vue/percher.toml +0 -0
- package/templates/vite-vue/src/main.ts +0 -0
- package/templates/vite-vue/vite.config.ts +0 -0
package/dist/watcher.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { existsSync, readFileSync, watch } from "node:fs";
|
|
1
|
+
import { existsSync, lstatSync, readFileSync, watch } from "node:fs";
|
|
2
2
|
import { join, sep } from "node:path";
|
|
3
3
|
import ignore from "ignore";
|
|
4
4
|
const DEFAULT_IGNORE = [
|
|
@@ -39,6 +39,16 @@ export function createWatcher(options) {
|
|
|
39
39
|
const rel = filename.split(sep).join("/");
|
|
40
40
|
if (ig.ignores(rel))
|
|
41
41
|
return;
|
|
42
|
+
try {
|
|
43
|
+
// Some runtimes also emit the parent directory when a child changes.
|
|
44
|
+
// Directory-only patterns need a slash; a same-named file must stay visible.
|
|
45
|
+
if (lstatSync(join(options.cwd, rel)).isDirectory() && ig.ignores(`${rel}/`))
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
catch {
|
|
49
|
+
// Deleted/renamed paths may already be gone. Preserve their change event
|
|
50
|
+
// rather than guessing that a missing path was an ignored directory.
|
|
51
|
+
}
|
|
42
52
|
pending.add(rel);
|
|
43
53
|
if (timer)
|
|
44
54
|
clearTimeout(timer);
|
package/dist/watcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watcher.js","sourceRoot":"","sources":["../src/watcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"watcher.js","sourceRoot":"","sources":["../src/watcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,MAAM,cAAc,GAAG;IACrB,cAAc;IACd,MAAM;IACN,MAAM;IACN,OAAO;IACP,aAAa;IACb,OAAO;IACP,UAAU;IACV,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;IACP,WAAW;IACX,aAAa;CACd,CAAC;AAaF;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,OAAuB;IACnD,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,GAAG,CAAC;IAE7C,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;IACpB,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACvB,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;IACtD,IAAI,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;QAC9B,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,OAAO,CAAC,WAAW;QAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAErD,IAAI,KAAK,GAAyC,IAAI,CAAC;IACvD,IAAI,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAEhC,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;QAC7E,IAAI,CAAC,QAAQ;YAAE,OAAO;QAEtB,mDAAmD;QACnD,MAAM,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC1C,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC;YAAE,OAAO;QAC5B,IAAI,CAAC;YACH,qEAAqE;YACrE,6EAA6E;YAC7E,IAAI,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC;gBAAE,OAAO;QACvF,CAAC;QAAC,MAAM,CAAC;YACP,yEAAyE;YACzE,qEAAqE;QACvE,CAAC;QAED,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAEjB,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE;YACtB,MAAM,KAAK,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC;YAC3B,OAAO,GAAG,IAAI,GAAG,EAAE,CAAC;YACpB,KAAK,GAAG,IAAI,CAAC;YACb,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACrB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC1B,CAAC;QACH,CAAC,EAAE,UAAU,CAAC,CAAC;IACjB,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,KAAK;YACH,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,SAAS,CAAC,KAAK,EAAE,CAAC;QACpB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percher/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Core logic and CLI commands for the Percher hosting platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"typecheck": "tsc --noEmit"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@percher/client": "^1.
|
|
46
|
-
"@percher/shared": "^1.
|
|
47
|
-
"@percher/toml": "^1.0.
|
|
45
|
+
"@percher/client": "^1.4.1",
|
|
46
|
+
"@percher/shared": "^1.3.1",
|
|
47
|
+
"@percher/toml": "^1.0.6",
|
|
48
48
|
"@types/jscodeshift": "17.3.0",
|
|
49
49
|
"cross-spawn": "^7.0.6",
|
|
50
50
|
"ignore": "^7.0.5",
|
package/templates/LICENSE
CHANGED
|
File without changes
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
bind 0.0.0.0
|
|
3
3
|
root * /srv
|
|
4
4
|
encode gzip zstd
|
|
5
|
-
|
|
5
|
+
route {
|
|
6
|
+
@percher_platform path_regexp percher_platform (?i)(?:^/+(?:percher[.]toml|[.]percherignore|pb|Dockerfile|Caddyfile|[.]git|[.]env|[.]env[.][^/]*|[.]percher-[^/]*)(?:/|$)|(?:^|/)(?:[.]npmrc|[.]pypirc|[.]netrc|_netrc|[.]git-credentials|[.]htpasswd|[.]pgpass|[.]my[.]cnf|[.]dev[.]vars|id_rsa|id_dsa|id_ecdsa|id_ed25519|credentials[.]json|secrets[.]toml|wp-config[.]php|[.]env|[.]ssh|[.]aws|[.]gnupg|[.]docker/config[.]json|[.]kube/config|[.]env[.][^/]*|[.]dev[.]vars[.][^/]*|[^/]*[.]pem|[^/]*[.]key|[^/]*[.]p12|[^/]*[.]pfx|[^/]*[.]jks|[^/]*[.]keystore)(?:/|$))
|
|
7
|
+
respond @percher_platform 404
|
|
8
|
+
file_server
|
|
9
|
+
}
|
|
6
10
|
}
|
|
@@ -10,27 +10,26 @@ WORKDIR /app
|
|
|
10
10
|
COPY . .
|
|
11
11
|
RUN bun install && bun run build
|
|
12
12
|
|
|
13
|
+
# Preserve build inputs for deployment; only this filtered copy reaches /srv.
|
|
14
|
+
FROM build AS static-content
|
|
15
|
+
RUN bun -e 'const fs=require("node:fs"),path=require("node:path");const root=fs.realpathSync(process.argv[1]),dir=fs.realpathSync(process.argv[2]),dest=process.argv[3];const deny=new RegExp("(?:^/+(?:percher[.]toml|[.]percherignore|pb|Dockerfile|Caddyfile|[.]git|[.]env|[.]env[.][^/]*|[.]percher-[^/]*)(?:/|$)|(?:^|/)(?:[.]npmrc|[.]pypirc|[.]netrc|_netrc|[.]git-credentials|[.]htpasswd|[.]pgpass|[.]my[.]cnf|[.]dev[.]vars|id_rsa|id_dsa|id_ecdsa|id_ed25519|credentials[.]json|secrets[.]toml|wp-config[.]php|[.]env|[.]ssh|[.]aws|[.]gnupg|[.]docker/config[.]json|[.]kube/config|[.]env[.][^/]*|[.]dev[.]vars[.][^/]*|[^/]*[.]pem|[^/]*[.]key|[^/]*[.]p12|[^/]*[.]pfx|[^/]*[.]jks|[^/]*[.]keystore)(?:/|$))","i");const reserved=p=>deny.test("/"+p.split(path.sep).join("/"));if((dir!==root&&!dir.startsWith(root+path.sep))||reserved(path.relative(root,dir)))throw Error("Static output escapes the project or selects platform content");if(fs.existsSync(dest))throw Error("Reserved static staging directory already exists");fs.cpSync(dir,dest,{recursive:true,filter:p=>{if(reserved(path.relative(dir,p))||reserved(path.relative(root,p)))return false;if(fs.lstatSync(p).isSymbolicLink())throw Error("Static content cannot contain symlinks");return true}})' '/app' '/app/dist' '/percher-static-content'
|
|
16
|
+
|
|
13
17
|
# --- Serve stage: minimal Caddy image --------------------------------
|
|
14
18
|
# Build pinned Caddy source with refreshed security modules. The scratch
|
|
15
19
|
# runtime carries no shell, package manager, or file capabilities and listens
|
|
16
20
|
# on the unprivileged port :8080.
|
|
17
|
-
FROM golang:1.26.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.4 \
|
|
21
|
-
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.4 /src \
|
|
21
|
+
FROM golang:1.26.10-alpine3.23@sha256:0525c952defebc693cdaf62cdf43afa32be5a7f377e99260642ea19c240c708e AS caddy-source
|
|
22
|
+
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.7 \
|
|
23
|
+
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.7 /src \
|
|
22
24
|
&& chmod -R u+w /src
|
|
23
25
|
WORKDIR /src
|
|
24
|
-
RUN
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
go.opentelemetry.io/otel/
|
|
29
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
30
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
31
|
-
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.21.0 \
|
|
32
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.45.0 \
|
|
33
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.45.0 \
|
|
26
|
+
RUN go get github.com/go-chi/chi/v5@v5.3.2 github.com/klauspost/compress@v1.20.1 \
|
|
27
|
+
go.opentelemetry.io/otel@v1.46.0 go.opentelemetry.io/otel/sdk/log@v0.22.0 \
|
|
28
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc@v0.22.0 \
|
|
29
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp@v0.22.0 \
|
|
30
|
+
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.22.0 \
|
|
31
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.46.0 \
|
|
32
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.46.0 \
|
|
34
33
|
golang.org/x/crypto@v0.57.0 golang.org/x/net@v0.60.0 \
|
|
35
34
|
golang.org/x/text@v0.42.0 google.golang.org/grpc@v1.83.2 \
|
|
36
35
|
&& go mod tidy \
|
|
@@ -46,7 +45,7 @@ COPY --from=caddy-source /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-ce
|
|
|
46
45
|
COPY --from=caddy-source /out/caddy /usr/bin/caddy
|
|
47
46
|
COPY --from=caddy-source /out/percher-healthcheck /usr/bin/percher-healthcheck
|
|
48
47
|
COPY Caddyfile /etc/caddy/Caddyfile
|
|
49
|
-
COPY --from=
|
|
48
|
+
COPY --from=static-content /percher-static-content /srv
|
|
50
49
|
LABEL dev.percher.health-client="static-http-v1"
|
|
51
50
|
# HOME points at the writable tmpfs so non-root Caddy can persist its
|
|
52
51
|
# XDG state (storage-clean lock, config autosave) under Percher's
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/bun/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -21,23 +21,18 @@ RUN bun install && bun run build
|
|
|
21
21
|
# Build pinned Caddy source with refreshed security modules. The scratch
|
|
22
22
|
# runtime carries no shell, package manager, or file capabilities and listens
|
|
23
23
|
# on the unprivileged port :8080.
|
|
24
|
-
FROM golang:1.26.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.4 \
|
|
28
|
-
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.4 /src \
|
|
24
|
+
FROM golang:1.26.10-alpine3.23@sha256:0525c952defebc693cdaf62cdf43afa32be5a7f377e99260642ea19c240c708e AS caddy-source
|
|
25
|
+
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.7 \
|
|
26
|
+
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.7 /src \
|
|
29
27
|
&& chmod -R u+w /src
|
|
30
28
|
WORKDIR /src
|
|
31
|
-
RUN
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
go.opentelemetry.io/otel/
|
|
36
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
37
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
38
|
-
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.21.0 \
|
|
39
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.45.0 \
|
|
40
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.45.0 \
|
|
29
|
+
RUN go get github.com/go-chi/chi/v5@v5.3.2 github.com/klauspost/compress@v1.20.1 \
|
|
30
|
+
go.opentelemetry.io/otel@v1.46.0 go.opentelemetry.io/otel/sdk/log@v0.22.0 \
|
|
31
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc@v0.22.0 \
|
|
32
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp@v0.22.0 \
|
|
33
|
+
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.22.0 \
|
|
34
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.46.0 \
|
|
35
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.46.0 \
|
|
41
36
|
golang.org/x/crypto@v0.57.0 golang.org/x/net@v0.60.0 \
|
|
42
37
|
golang.org/x/text@v0.42.0 google.golang.org/grpc@v1.83.2 \
|
|
43
38
|
&& go mod tidy \
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
bind 0.0.0.0
|
|
3
3
|
root * /srv
|
|
4
4
|
encode gzip zstd
|
|
5
|
-
|
|
5
|
+
route {
|
|
6
|
+
@percher_platform path_regexp percher_platform (?i)(?:^/+(?:percher[.]toml|[.]percherignore|pb|Dockerfile|Caddyfile|[.]git|[.]env|[.]env[.][^/]*|[.]percher-[^/]*)(?:/|$)|(?:^|/)(?:[.]npmrc|[.]pypirc|[.]netrc|_netrc|[.]git-credentials|[.]htpasswd|[.]pgpass|[.]my[.]cnf|[.]dev[.]vars|id_rsa|id_dsa|id_ecdsa|id_ed25519|credentials[.]json|secrets[.]toml|wp-config[.]php|[.]env|[.]ssh|[.]aws|[.]gnupg|[.]docker/config[.]json|[.]kube/config|[.]env[.][^/]*|[.]dev[.]vars[.][^/]*|[^/]*[.]pem|[^/]*[.]key|[^/]*[.]p12|[^/]*[.]pfx|[^/]*[.]jks|[^/]*[.]keystore)(?:/|$))
|
|
7
|
+
respond @percher_platform 404
|
|
8
|
+
file_server
|
|
9
|
+
}
|
|
6
10
|
}
|
|
@@ -10,27 +10,26 @@ WORKDIR /app
|
|
|
10
10
|
COPY . .
|
|
11
11
|
RUN bun install && bun run build
|
|
12
12
|
|
|
13
|
+
# Preserve build inputs for deployment; only this filtered copy reaches /srv.
|
|
14
|
+
FROM build AS static-content
|
|
15
|
+
RUN bun -e 'const fs=require("node:fs"),path=require("node:path");const root=fs.realpathSync(process.argv[1]),dir=fs.realpathSync(process.argv[2]),dest=process.argv[3];const deny=new RegExp("(?:^/+(?:percher[.]toml|[.]percherignore|pb|Dockerfile|Caddyfile|[.]git|[.]env|[.]env[.][^/]*|[.]percher-[^/]*)(?:/|$)|(?:^|/)(?:[.]npmrc|[.]pypirc|[.]netrc|_netrc|[.]git-credentials|[.]htpasswd|[.]pgpass|[.]my[.]cnf|[.]dev[.]vars|id_rsa|id_dsa|id_ecdsa|id_ed25519|credentials[.]json|secrets[.]toml|wp-config[.]php|[.]env|[.]ssh|[.]aws|[.]gnupg|[.]docker/config[.]json|[.]kube/config|[.]env[.][^/]*|[.]dev[.]vars[.][^/]*|[^/]*[.]pem|[^/]*[.]key|[^/]*[.]p12|[^/]*[.]pfx|[^/]*[.]jks|[^/]*[.]keystore)(?:/|$))","i");const reserved=p=>deny.test("/"+p.split(path.sep).join("/"));if((dir!==root&&!dir.startsWith(root+path.sep))||reserved(path.relative(root,dir)))throw Error("Static output escapes the project or selects platform content");if(fs.existsSync(dest))throw Error("Reserved static staging directory already exists");fs.cpSync(dir,dest,{recursive:true,filter:p=>{if(reserved(path.relative(dir,p))||reserved(path.relative(root,p)))return false;if(fs.lstatSync(p).isSymbolicLink())throw Error("Static content cannot contain symlinks");return true}})' '/app' '/app/_site' '/percher-static-content'
|
|
16
|
+
|
|
13
17
|
# --- Serve stage: minimal Caddy image --------------------------------
|
|
14
18
|
# Build pinned Caddy source with refreshed security modules. The scratch
|
|
15
19
|
# runtime carries no shell, package manager, or file capabilities and listens
|
|
16
20
|
# on the unprivileged port :8080.
|
|
17
|
-
FROM golang:1.26.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.4 \
|
|
21
|
-
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.4 /src \
|
|
21
|
+
FROM golang:1.26.10-alpine3.23@sha256:0525c952defebc693cdaf62cdf43afa32be5a7f377e99260642ea19c240c708e AS caddy-source
|
|
22
|
+
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.7 \
|
|
23
|
+
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.7 /src \
|
|
22
24
|
&& chmod -R u+w /src
|
|
23
25
|
WORKDIR /src
|
|
24
|
-
RUN
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
go.opentelemetry.io/otel/
|
|
29
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
30
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
31
|
-
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.21.0 \
|
|
32
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.45.0 \
|
|
33
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.45.0 \
|
|
26
|
+
RUN go get github.com/go-chi/chi/v5@v5.3.2 github.com/klauspost/compress@v1.20.1 \
|
|
27
|
+
go.opentelemetry.io/otel@v1.46.0 go.opentelemetry.io/otel/sdk/log@v0.22.0 \
|
|
28
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc@v0.22.0 \
|
|
29
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp@v0.22.0 \
|
|
30
|
+
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.22.0 \
|
|
31
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.46.0 \
|
|
32
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.46.0 \
|
|
34
33
|
golang.org/x/crypto@v0.57.0 golang.org/x/net@v0.60.0 \
|
|
35
34
|
golang.org/x/text@v0.42.0 google.golang.org/grpc@v1.83.2 \
|
|
36
35
|
&& go mod tidy \
|
|
@@ -46,7 +45,7 @@ COPY --from=caddy-source /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-ce
|
|
|
46
45
|
COPY --from=caddy-source /out/caddy /usr/bin/caddy
|
|
47
46
|
COPY --from=caddy-source /out/percher-healthcheck /usr/bin/percher-healthcheck
|
|
48
47
|
COPY Caddyfile /etc/caddy/Caddyfile
|
|
49
|
-
COPY --from=
|
|
48
|
+
COPY --from=static-content /percher-static-content /srv
|
|
50
49
|
LABEL dev.percher.health-client="static-http-v1"
|
|
51
50
|
# HOME points at the writable tmpfs so non-root Caddy can persist its
|
|
52
51
|
# XDG state (storage-clean lock, config autosave) under Percher's
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/flask/main.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/go/Dockerfile
CHANGED
|
File without changes
|
|
File without changes
|
package/templates/go/go.mod
CHANGED
|
File without changes
|
package/templates/go/main.go
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/hono/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/htmx/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/hugo/Caddyfile
CHANGED
|
File without changes
|
|
@@ -12,23 +12,18 @@ RUN hugo --minify
|
|
|
12
12
|
# Build pinned Caddy source with refreshed security modules. The scratch
|
|
13
13
|
# runtime carries no shell, package manager, or file capabilities and listens
|
|
14
14
|
# on the unprivileged port :8080.
|
|
15
|
-
FROM golang:1.26.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.4 \
|
|
19
|
-
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.4 /src \
|
|
15
|
+
FROM golang:1.26.10-alpine3.23@sha256:0525c952defebc693cdaf62cdf43afa32be5a7f377e99260642ea19c240c708e AS caddy-source
|
|
16
|
+
RUN go mod download github.com/caddyserver/caddy/v2@v2.11.7 \
|
|
17
|
+
&& cp -R /go/pkg/mod/github.com/caddyserver/caddy/v2@v2.11.7 /src \
|
|
20
18
|
&& chmod -R u+w /src
|
|
21
19
|
WORKDIR /src
|
|
22
|
-
RUN
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
go.opentelemetry.io/otel/
|
|
27
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
28
|
-
go.opentelemetry.io/otel/exporters/otlp/
|
|
29
|
-
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.21.0 \
|
|
30
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.45.0 \
|
|
31
|
-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.45.0 \
|
|
20
|
+
RUN go get github.com/go-chi/chi/v5@v5.3.2 github.com/klauspost/compress@v1.20.1 \
|
|
21
|
+
go.opentelemetry.io/otel@v1.46.0 go.opentelemetry.io/otel/sdk/log@v0.22.0 \
|
|
22
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc@v0.22.0 \
|
|
23
|
+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp@v0.22.0 \
|
|
24
|
+
go.opentelemetry.io/otel/exporters/stdout/stdoutlog@v0.22.0 \
|
|
25
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.46.0 \
|
|
26
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp@v1.46.0 \
|
|
32
27
|
golang.org/x/crypto@v0.57.0 golang.org/x/net@v0.60.0 \
|
|
33
28
|
golang.org/x/text@v0.42.0 google.golang.org/grpc@v1.83.2 \
|
|
34
29
|
&& go mod tidy \
|
|
File without changes
|
|
File without changes
|
package/templates/hugo/hugo.toml
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/java/Main.java
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/node/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/nuxt/app.vue
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
bind 0.0.0.0
|
|
3
3
|
root * /srv
|
|
4
4
|
encode gzip zstd
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
route {
|
|
6
|
+
@percher_platform path_regexp percher_platform (?i)(?:^/+(?:percher[.]toml|[.]percherignore|pb|Dockerfile|Caddyfile|[.]git|[.]env|[.]env[.][^/]*|[.]percher-[^/]*)(?:/|$)|(?:^|/)(?:[.]npmrc|[.]pypirc|[.]netrc|_netrc|[.]git-credentials|[.]htpasswd|[.]pgpass|[.]my[.]cnf|[.]dev[.]vars|id_rsa|id_dsa|id_ecdsa|id_ed25519|credentials[.]json|secrets[.]toml|wp-config[.]php|[.]env|[.]ssh|[.]aws|[.]gnupg|[.]docker/config[.]json|[.]kube/config|[.]env[.][^/]*|[.]dev[.]vars[.][^/]*|[^/]*[.]pem|[^/]*[.]key|[^/]*[.]p12|[^/]*[.]pfx|[^/]*[.]jks|[^/]*[.]keystore)(?:/|$))
|
|
7
|
+
respond @percher_platform 404
|
|
8
|
+
try_files {path} /index.html
|
|
9
|
+
file_server
|
|
10
|
+
}
|
|
7
11
|
}
|