@rebasepro/cli 0.12.1-canary.gdfba2a1 → 0.12.1-canary.gf5f1d39
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.
package/dist/index.es.js
CHANGED
|
@@ -1461,10 +1461,9 @@ async function replacePlaceholders(options) {
|
|
|
1461
1461
|
versionToUse = stdout.trim();
|
|
1462
1462
|
} catch {
|
|
1463
1463
|
try {
|
|
1464
|
-
const tag = cliVersion.includes("canary") ? "canary" : "latest";
|
|
1465
1464
|
const { stdout } = await execa(viewBin, [
|
|
1466
1465
|
"view",
|
|
1467
|
-
`${pkgName}@${
|
|
1466
|
+
`${pkgName}@${cliVersion.includes("canary") ? "canary" : "latest"}`,
|
|
1468
1467
|
"version"
|
|
1469
1468
|
]);
|
|
1470
1469
|
if (!stdout.trim()) throw new Error("Not found");
|
|
@@ -2085,7 +2084,7 @@ var REMOVED_APP_TYPES = {
|
|
|
2085
2084
|
mobile: "mobile apps are no longer declared in the manifest — nothing consumed this type. Remove the entry"
|
|
2086
2085
|
};
|
|
2087
2086
|
/** Reserved because they name things in URLs and CLI output. */
|
|
2088
|
-
var RESERVED_APP_NAMES =
|
|
2087
|
+
var RESERVED_APP_NAMES = new Set([
|
|
2089
2088
|
"api",
|
|
2090
2089
|
"health",
|
|
2091
2090
|
"metrics",
|
|
@@ -3082,7 +3081,7 @@ ${chalk.green.bold("Description")}
|
|
|
3082
3081
|
*/
|
|
3083
3082
|
var DEFAULT_BUNDLE_DIR = "dist-bundle";
|
|
3084
3083
|
/** Packages whose presence means the bundle cannot run on a stock runtime image. */
|
|
3085
|
-
var KNOWN_NATIVE_PACKAGES =
|
|
3084
|
+
var KNOWN_NATIVE_PACKAGES = new Set([
|
|
3086
3085
|
"sharp",
|
|
3087
3086
|
"canvas",
|
|
3088
3087
|
"bcrypt",
|
|
@@ -3098,7 +3097,7 @@ var KNOWN_NATIVE_PACKAGES = /* @__PURE__ */ new Set([
|
|
|
3098
3097
|
"pg-native"
|
|
3099
3098
|
]);
|
|
3100
3099
|
/** Dependencies supplied by the runtime image itself, not by the bundle. */
|
|
3101
|
-
var RUNTIME_PROVIDED =
|
|
3100
|
+
var RUNTIME_PROVIDED = new Set([
|
|
3102
3101
|
"@rebasepro/server",
|
|
3103
3102
|
"@rebasepro/types",
|
|
3104
3103
|
"@rebasepro/client",
|