Switch from CodeSandbox CI to pnpm Git exotic sources#739
Merged
Conversation
Contributor
Author
|
Important Review skippedThis PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
3 tasks
nene
added a commit
to sql-formatter-org/sql-formatter
that referenced
this pull request
May 14, 2026
[CodeSandbox CI is being discontinued](https://news.ycombinator.com/item?id=47418491#:~:text=CodeSandbox%20CI%3A%20Shutting%20down%20on%20April%2015%2C%202026.%20Migrate%20to%20an%20alternative%20CI%20provider%20before%20then) and its environment is stuck on Node.js v20, which is ancient and incompatible with an increasing range of new libraries. - [x] Remove CodeSandbox CI config - [x] Remove CodeSandbox CI app (in [`sql-formatter-org` GitHub Apps settings](https://github.com/organizations/sql-formatter-org/settings/installations), probably needs @nene) - [ ] Decide on a replacement, if any ## Retaining the functionality For Preflight, we switched to Git exotic sources (eg. `pnpm add "upleveled/preflight#switch-codesandbox-to-pnpm-github-urls"`), but this was possible because we have no build step: - upleveled/preflight#739 I'm guessing this is not possible for `sql-formatter`, at least how it is currently set up. So another option would be `pkg.pr.new` from StackBlitz: - https://pkg.pr.new/
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.
CodeSandbox CI is being discontinued and its environment is stuck on Node.js v20, which is incompatible with pnpm v11 (requires Node.js 22+).
Since Preflight has no
buildorpreparescript and itsbinpoints directly at TypeScript source, contributors can install any branch directly via pnpm Git repository exotic sources without a separate build step:preflight/package.json
Lines 20 to 28 in 78d5f59
To test a PR branch, install globally using a Git repository exotic source and the branch name (eg.
switch-codesandbox-to-pnpm-github-urlsas in the example below), run the CLI, then remove it:pnpm add --global "upleveled/preflight#switch-codesandbox-to-pnpm-github-urls" preflight pnpm remove --global @upleveled/preflight