@vercel/client 15.1.5 → 15.2.0

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @vercel/client
2
2
 
3
- [Join the Vercel Community](https://vercel.community/)
3
+ [Join the Vercel Community](https://community.vercel.com/)
4
4
 
5
5
  The official Node.js client for deploying to [Vercel](https://vercel.com).
6
6
 
@@ -9,7 +9,7 @@ export type DeploymentEventType = (typeof EVENTS_ARRAY)[number];
9
9
  export declare const EVENTS: Set<"hashes-calculated" | "file-count" | "file-uploaded" | "all-files-uploaded" | "created" | "building" | "ready" | "alias-assigned" | "warning" | "error" | "notice" | "tip" | "canceled" | "checks-registered" | "checks-completed" | "checks-running" | "checks-conclusion-succeeded" | "checks-conclusion-failed" | "checks-conclusion-skipped" | "checks-conclusion-canceled">;
10
10
  export declare function getApiDeploymentsUrl(): string;
11
11
  export declare function parseVercelConfig(filePath?: string): Promise<VercelConfig>;
12
- export declare function buildFileTree(path: string | string[], { isDirectory, prebuilt, vercelOutputDir, }: Pick<VercelClientOptions, 'isDirectory' | 'prebuilt' | 'vercelOutputDir'>, debug: Debug): Promise<{
12
+ export declare function buildFileTree(path: string | string[], { isDirectory, prebuilt, vercelOutputDir, rootDirectory, }: Pick<VercelClientOptions, 'isDirectory' | 'prebuilt' | 'vercelOutputDir' | 'rootDirectory'>, debug: Debug): Promise<{
13
13
  fileList: string[];
14
14
  ignoreList: string[];
15
15
  }>;
@@ -101,7 +101,8 @@ const maybeRead = async function(path, default_) {
101
101
  async function buildFileTree(path, {
102
102
  isDirectory,
103
103
  prebuilt,
104
- vercelOutputDir
104
+ vercelOutputDir,
105
+ rootDirectory
105
106
  }, debug) {
106
107
  const ignoreList = [];
107
108
  let fileList;
@@ -134,6 +135,14 @@ async function buildFileTree(path, {
134
135
  }
135
136
  })
136
137
  );
138
+ const microfrontendConfigPath = (0, import_path.join)(
139
+ path,
140
+ rootDirectory || "",
141
+ "microfrontends.json"
142
+ );
143
+ if (await (0, import_fs_extra.pathExists)(microfrontendConfigPath)) {
144
+ refs.add(microfrontendConfigPath);
145
+ }
137
146
  if (refs.size > 0) {
138
147
  fileList = fileList.concat(Array.from(refs));
139
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/client",
3
- "version": "15.1.5",
3
+ "version": "15.2.0",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "homepage": "https://vercel.com",
@@ -31,7 +31,7 @@
31
31
  "typescript": "4.9.5"
32
32
  },
33
33
  "dependencies": {
34
- "@vercel/build-utils": "10.5.0",
34
+ "@vercel/build-utils": "10.5.1",
35
35
  "@vercel/error-utils": "2.0.3",
36
36
  "@vercel/routing-utils": "5.0.4",
37
37
  "async-retry": "1.2.3",