Repository navigation
Conversation
Mark the CLI signal list with Node's signal types and exclude the development proxy and test helper from the published package. Skip unpublished-import checks for excluded tests and proxy code, and sync the lockfile's bin entry.
caugner
added this pull request to stack #554
September 30, 2026 14:11
The release workflow it describes does not exist yet; it lands together with the workflow.
`build-canonicals.js` and `build-redirects.js` resolve the Dex checkout root and read `client/build`, so they only work in-repo.
Set `FUNCTION_SOURCE`, `FUNCTION_TARGET`, and `IGNORED_ROUTES` as defaults and import the framework CLI instead of spawning it. This drops the signal and exit-code forwarding, and user flags such as `--port` reach the framework instead of being discarded.
`path.join` prefixed absolute values with the working directory, so only relative paths worked.
The consumer-oriented rewrite dropped the local quickstart, Rumba, and Glean/HTTPS instructions that contributors still need.
The `http()` registration already exposes the function, and the `exports` map keeps `src/index.js` out of the package's public API.
Point npm at the package folder within the monorepo.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Package the cloud function handler as
@mdn/dex-cloud-serverand add adex-cloud-serverexecutable. The published package includes the files needed to run the handler, but excludes canonical and redirect JSON data.Motivation
Let consumers install and run the handler from npm while supplying canonical and redirect files through
CANONICALS_FILEandREDIRECTS_FILE.Additional details
Document npm and Google Cloud Function usage, including the required external file paths.
Related issues and pull requests
Part of #527.