@shoper/cli 0.9.4-1 → 0.9.4-2
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.
|
@@ -63,7 +63,7 @@ export class ThemeActionsUtils {
|
|
|
63
63
|
? fileGlob.slice(0, fileGlob.length - 2)
|
|
64
64
|
: fileGlob;
|
|
65
65
|
}
|
|
66
|
-
const deletedFiles = difference(checksumMatchedFiles,
|
|
66
|
+
const deletedFiles = difference(checksumMatchedFiles, filteredFiles);
|
|
67
67
|
for (const filePath of [...filteredFiles, ...deletedFiles]) {
|
|
68
68
|
filesRecords.push({
|
|
69
69
|
actionData,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises';
|
|
2
2
|
import { join } from '../../../utils/path_utils.js';
|
|
3
3
|
import { fileExists } from '../../../utils/fs/fs_utils.js';
|
|
4
|
-
import
|
|
4
|
+
import ignoreModule from 'ignore';
|
|
5
|
+
const ignore = ignoreModule;
|
|
5
6
|
export const SHOPER_IGNORE_FILE_NAME = '.shoperignore';
|
|
6
7
|
export async function loadShoperIgnore(themeRootDir) {
|
|
7
8
|
const shoperIgnorePath = join(themeRootDir, SHOPER_IGNORE_FILE_NAME);
|