@vercel/client 15.1.6 → 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 +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/utils/index.d.ts
CHANGED
|
@@ -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
|
}>;
|
package/dist/utils/index.js
CHANGED
|
@@ -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
|
}
|