vercel 44.6.4 → 44.6.6

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.
Files changed (2) hide show
  1. package/dist/index.js +24 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -116390,6 +116390,14 @@ var require_frameworks = __commonJS2({
116390
116390
  detectors: {
116391
116391
  every: [{ matchPackage: "hono" }],
116392
116392
  some: [
116393
+ {
116394
+ path: "server.ts",
116395
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116396
+ },
116397
+ {
116398
+ path: "server.js",
116399
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116400
+ },
116393
116401
  {
116394
116402
  path: "index.ts",
116395
116403
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
@@ -119740,7 +119748,10 @@ var require_filesystem = __commonJS2({
119740
119748
  }
119741
119749
  }
119742
119750
  if (options?.potentialFiles) {
119743
- const filesThatDoNotExist = options.potentialFiles.filter(
119751
+ const filesInReaddirDir = options.potentialFiles.filter(
119752
+ (path11) => (0, import_path41.basename)(path11) === path11
119753
+ );
119754
+ const filesThatDoNotExist = filesInReaddirDir.filter(
119744
119755
  (path11) => !directoryFiles.has(path11)
119745
119756
  );
119746
119757
  for (const filePath of filesThatDoNotExist) {
@@ -126909,7 +126920,10 @@ async function linkFolderToProject(client2, path11, projectLink, projectName, or
126909
126920
  }
126910
126921
  await writeFile2(
126911
126922
  (0, import_path15.join)(path11, VERCEL_DIR2, VERCEL_DIR_PROJECT),
126912
- JSON.stringify(projectLink)
126923
+ JSON.stringify({
126924
+ ...projectLink,
126925
+ projectName
126926
+ })
126913
126927
  );
126914
126928
  await writeReadme(path11);
126915
126929
  const isGitIgnoreUpdated = await addToGitIgnore(path11);
@@ -126962,6 +126976,10 @@ var init_link2 = __esm({
126962
126976
  orgId: {
126963
126977
  type: "string",
126964
126978
  minLength: 1
126979
+ },
126980
+ projectName: {
126981
+ type: "string",
126982
+ minLength: 1
126965
126983
  }
126966
126984
  }
126967
126985
  };
@@ -144244,6 +144262,7 @@ async function writeProjectSettings(cwd, project, org, isRepoLinked) {
144244
144262
  const projectLinkAndSettings = {
144245
144263
  projectId: isRepoLinked ? void 0 : project.id,
144246
144264
  orgId: isRepoLinked ? void 0 : org.id,
144265
+ projectName: isRepoLinked ? void 0 : project.name,
144247
144266
  settings: {
144248
144267
  createdAt: project.createdAt,
144249
144268
  framework: project.framework,
@@ -166760,6 +166779,9 @@ async function getBuildMatches(vercelConfig, cwd, devServer, fileList) {
166760
166779
  if (src[0] === "/") {
166761
166780
  src = src.substring(1);
166762
166781
  }
166782
+ if (buildConfig.config?.framework === "hono") {
166783
+ src = "package.json";
166784
+ }
166763
166785
  const mapToEntrypoint = /* @__PURE__ */ new Map();
166764
166786
  const extensionless = devServer.getExtensionlessFile(src);
166765
166787
  if (extensionless) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "44.6.4",
3
+ "version": "44.6.6",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -25,10 +25,10 @@
25
25
  "@vercel/build-utils": "11.0.0",
26
26
  "@vercel/fun": "1.1.6",
27
27
  "@vercel/go": "3.2.2",
28
- "@vercel/hono": "0.0.4",
28
+ "@vercel/hono": "0.0.6",
29
29
  "@vercel/hydrogen": "1.2.3",
30
- "@vercel/next": "4.10.8",
31
- "@vercel/node": "5.3.7",
30
+ "@vercel/next": "4.10.10",
31
+ "@vercel/node": "5.3.8",
32
32
  "@vercel/python": "5.0.0",
33
33
  "@vercel/redwood": "2.3.4",
34
34
  "@vercel/remix-builder": "5.4.10",
@@ -82,8 +82,8 @@
82
82
  "@types/yauzl-promise": "2.1.0",
83
83
  "@vercel/client": "15.3.13",
84
84
  "@vercel/error-utils": "2.0.3",
85
- "@vercel/frameworks": "3.7.4",
86
- "@vercel/fs-detectors": "5.4.10",
85
+ "@vercel/frameworks": "3.7.5",
86
+ "@vercel/fs-detectors": "5.4.11",
87
87
  "@vercel/routing-utils": "5.1.1",
88
88
  "@vitest/expect": "2.1.3",
89
89
  "ajv": "6.12.3",