Skip to content

Update from World - #9230

Merged
shopify-build-cli[bot] merged 1 commit into
mainfrom
world-mirror/main
Dec 4, 2026
Merged

shopify-build-cli[bot] merged 1 commit into
mainfrom
world-mirror/main

Conversation

@shopify-build-cli

Copy link
Copy Markdown
Contributor

This pull request brings the latest changes from World, the monorepo where Shopify develops this project.

  • Files: 1 added, 5 changed, 0 deleted

Don't push to this branch: the next update replaces it.

Published by the World mirror.

World-Commit: b30dc9c590ea450fc4da4fa1702f8e062a2fac6a
@shopify-build-cli
shopify-build-cli Bot requested a review from a team as a code owner December 4, 2026 17:59
@github-actions github-actions Bot added the Area: @shopify/cli @shopify/cli package issues label Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Differences in type declarations

We detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:

  • Some seemingly private modules might be re-exported through public modules.
  • If the branch is behind main you might see odd diffs, rebase main into this branch.

New type declarations

We found no new type declarations in this PR

Existing type declarations

packages/cli-kit/dist/private/node/cli-version-cache.d.ts
@@ -1,5 +1,25 @@
 import { PackageVersionKey } from './conf-store.js';
 export declare function resolveCLIRegistry(): Promise<string>;
 export declare function getCLIVersionCacheKey(registry: string, versionRange?: string): PackageVersionKey;
+export declare function getCLINodeRangeCacheKey(registry: string): PackageVersionKey;
 export declare function getPublicCLIVersionCacheKey(registry: string, versionRange?: string): PackageVersionKey;
-export declare function getCachedCLIVersion(versionRange?: string, registry?: string | undefined): string | undefined;
\ No newline at end of file
+export declare function getCachedCLIVersion(versionRange?: string, registry?: string | undefined): string | undefined;
+/**
+ * The cache entry for the Node range in a release's `engines`. It names the release, because other lookups refresh
+ * the latest version on their own and must not inherit another release's range.
+ *
+ * @param version - The release the range belongs to.
+ * @param nodeRange - Its `engines.node`, if it declares one.
+ * @returns The value to cache under {@link getCLINodeRangeCacheKey}.
+ */
+export declare function cliNodeRangeCacheValue(version: string, nodeRange: string | undefined): string;
+/**
+ * The Node range in the `engines` of `version`, from a fresh entry the version lookup cached for that release.
+ * Undefined when the release declares none, or when nothing fresh is cached for it.
+ */
+export declare function getCachedCLINodeRange(version: string, registry?: string | undefined): string | undefined;
+/**
+ * Whether a release whose `engines.node` is `nodeRange` supports the running Node. A release that declares no range
+ * supports it.
+ */
+export declare function supportsRunningNode(nodeRange: string | undefined): boolean;
\ No newline at end of file
packages/cli-kit/dist/private/node/cli-version-check.d.ts
@@ -1,8 +1,14 @@
 interface CLIVersions {
     latest?: string;
     currentMajor?: string;
+    /** The Node range in the latest release's `engines`, when it declares one. */
+    latestNodeRange?: string;
 }
 export declare function getCachedCurrentMajorCLIVersion(): string | undefined;
+/**
+ * The Node range in the `engines` of the cached latest release, when the version lookup cached one for it.
+ */
+export declare function getCachedLatestCLINodeRange(): string | undefined;
 export declare function checkForCLIVersions({ includeCurrentMajor }?: {
     includeCurrentMajor?: boolean | undefined;
 }): Promise<CLIVersions>;

@shopify-build-cli
shopify-build-cli Bot merged commit eddf6ec into main Dec 4, 2026
49 of 51 checks passed
@shopify-build-cli
shopify-build-cli Bot deleted the world-mirror/main branch December 4, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: @shopify/cli @shopify/cli package issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants