@infracraft/pulumi 1.17.3 → 1.17.4
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.
Potentially problematic release.
This version of @infracraft/pulumi might be problematic. Click here for more details.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Native Pulumi providers with adopt-or-create semantics and deploy orchestration.
|
|
|
25
25
|
| 🤖 | **Agents** | `@infracraft/pulumi/agents` | Emit operating hints for AI coding agents working on the stack. |
|
|
26
26
|
| #️⃣ | **Hash** | `@infracraft/pulumi/hash` | Deterministic directory/env-var/app hashing for deploy triggers. |
|
|
27
27
|
| 📦 | **Sandbox** | `@infracraft/pulumi/sandbox` | Isolated `/tmp` working copies for CLI deploys. Opt in via `dependsOn`. |
|
|
28
|
-
| 🔒 | **Git Guard** | `@infracraft/pulumi/git-guard` |
|
|
28
|
+
| 🔒 | **Git Guard** | `@infracraft/pulumi/git-guard` | Swaps a sandboxed deploy's `.git` for a fresh stub. Opt in via `dependsOn`. |
|
|
29
29
|
|
|
30
30
|
## Install
|
|
31
31
|
|
|
@@ -370,7 +370,7 @@ new RailwayDeploy("api-deploy", {
|
|
|
370
370
|
|
|
371
371
|
## Sandbox & Git Guard
|
|
372
372
|
|
|
373
|
-
Deploy isolation as `dependsOn` markers. Listing a `DeploySandbox` in a deploy's `dependsOn` runs that deploy's CLI from an isolated copy of the repo's tracked files under `/tmp/infracraft` (stale sandboxes are garbage-collected automatically). Adding a `GitGuard` swaps the copy's `.git` for a
|
|
373
|
+
Deploy isolation as `dependsOn` markers. Listing a `DeploySandbox` in a deploy's `dependsOn` runs that deploy's CLI from an isolated copy of the repo's tracked files under `/tmp/infracraft` (stale sandboxes are garbage-collected automatically). Adding a `GitGuard` swaps the copy's `.git` for a fresh stub (`git init` + `git add -A`, unborn HEAD).
|
|
374
374
|
|
|
375
375
|
```typescript
|
|
376
376
|
import { DeploySandbox } from "@infracraft/pulumi/sandbox"
|
|
@@ -391,7 +391,7 @@ new VercelDeploy("web-deploy", {
|
|
|
391
391
|
|---|---|---|
|
|
392
392
|
| none | Live repo tree | The real one; whatever the platform CLI picks up |
|
|
393
393
|
| `DeploySandbox` | Isolated `/tmp/infracraft` copy | Real `.git` (copy-on-write copy) |
|
|
394
|
-
| `DeploySandbox` + `GitGuard` | Isolated copy, `excludePaths` applied |
|
|
394
|
+
| `DeploySandbox` + `GitGuard` | Isolated copy, `excludePaths` applied | A fresh stub (`git init` + `git add -A`, unborn HEAD) |
|
|
395
395
|
| `GitGuard` alone | — | Throws: the guard needs a sandbox to act on |
|
|
396
396
|
|
|
397
397
|
### Sandbox & Git Guard API surface
|
|
@@ -399,7 +399,7 @@ new VercelDeploy("web-deploy", {
|
|
|
399
399
|
| Export | Kind | Notes |
|
|
400
400
|
|---|---|---|
|
|
401
401
|
| `DeploySandbox` | ComponentResource | Isolation marker + workspace lifecycle; GCs sandboxes older than 3h |
|
|
402
|
-
| `GitGuard` | ComponentResource |
|
|
402
|
+
| `GitGuard` | ComponentResource | Stub-`.git` marker; requires a `DeploySandbox` alongside it |
|
|
403
403
|
| `SandboxMode` | enum | `NONE`, `ORIGINAL`, `STUB`; derived from the markers by the deploy seam |
|
|
404
404
|
| `buildSandboxScript(options)` | function | Builds the sandboxed shell a deploy command runs (used by the deploy resources) |
|
|
405
405
|
| `buildSandboxFileFilter(excludePaths)` | function | Portable awk filter applied to `git ls-files` before the copy |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infracraft/pulumi",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Native Pulumi providers for Railway, Neon, Vercel, and Fly.io with adopt-or-create semantics and deploy orchestration. No Terraform bridge.",
|