Skip to content

Commit 2529e55

Browse files
committed
Merge remote-tracking branch 'origin/dev' into stable
2 parents f30c8c4 + e741f10 commit 2529e55

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/api-page-builder/src/graphql/crud/install/utils/downloadInstallFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function extractZip(zipPath: string, dir: string): Promise<void> {
2020
}
2121

2222
export function deleteFile(path: string): Promise<void> {
23-
return fs.unlink(path);
23+
return fs.remove(path);
2424
}
2525

2626
const INSTALL_DIR = "/tmp";

packages/cli-plugin-scaffold-extensions/src/generators/utils/getExtensionsFromFilesystem.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export type ExtensionWorkspace = {
1212
};
1313

1414
export const getExtensionsFromFilesystem = (): ExtensionWorkspace[] => {
15-
const workspaces = glob.sync(`extensions/**/package.json`);
15+
const workspaces = glob.sync(`extensions/**/package.json`, {
16+
ignore: ["**/node_modules/**"]
17+
});
1618
return workspaces
1719
.map(pkg => ({
1820
path: path.dirname(pkg),

0 commit comments

Comments
 (0)