-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support wrangler pages functions build-env
#5279
Conversation
🦋 Changeset detectedLatest commit: c790b5c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-wrangler-5279 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5279/npm-package-wrangler-5279 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-wrangler-5279 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-create-cloudflare-5279 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-cloudflare-kv-asset-handler-5279 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-miniflare-5279 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-cloudflare-pages-shared-5279 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8332188947/npm-package-cloudflare-vitest-pool-workers-5279 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5279 +/- ##
==========================================
+ Coverage 71.49% 71.64% +0.15%
==========================================
Files 311 312 +1
Lines 16170 16208 +38
Branches 4137 4144 +7
==========================================
+ Hits 11561 11613 +52
+ Misses 4609 4595 -14
|
LGTM! Thx for working on this! |
What this PR solves / how to test
This adds a hidden
wrangler pages functions build-env
command, which prints the environment variables for the current environment to the terminal. This is for use by internal tooling, and shouldn't be used directly by end users.Fixes DEVX-1179
Author has addressed the following