react-email 1.0.7 → 1.0.8
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/dist/index.js +0 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29,10 +29,6 @@ extra_typings_1.program
|
|
|
29
29
|
if (isEmailsDirectoryEmpty) {
|
|
30
30
|
return console.error('Missing email files');
|
|
31
31
|
}
|
|
32
|
-
const isDependencyInstalled = (0, check_directory_exist_1.checkDirectoryExist)(contants_1.NODE_MODULES_PACKAGE_PATH);
|
|
33
|
-
if (!isDependencyInstalled) {
|
|
34
|
-
return console.error('Install the package');
|
|
35
|
-
}
|
|
36
32
|
const hasDotEmailDirectory = (0, check_directory_exist_1.checkDirectoryExist)(contants_1.DOT_EMAIL_DEV);
|
|
37
33
|
if (!hasDotEmailDirectory) {
|
|
38
34
|
await fs_1.default.promises.mkdir(contants_1.DOT_EMAIL_DEV, { recursive: true });
|