@emailmaker/emailmaker 1.0.3 → 1.0.5

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/translations.pot CHANGED
@@ -731,18 +731,18 @@ msgstr ""
731
731
  msgid "Choose block type"
732
732
  msgstr ""
733
733
 
734
- #: src/modules/components/AddNewBlockModal/AddNewBlockModal.jsx:307
734
+ #: src/modules/components/AddNewBlockModal/AddNewBlockModal.jsx:306
735
735
  #: src/modules/components/BlocksTable/BlocksTable.jsx:171
736
736
  #: src/modules/components/EmailsTable/EmailsTable.jsx:431
737
737
  #: src/modules/components/SettingsPanel/SettingsPanel.jsx:375
738
738
  msgid "Tags"
739
739
  msgstr ""
740
740
 
741
- #: src/modules/components/AddNewBlockModal/AddNewBlockModal.jsx:311
741
+ #: src/modules/components/AddNewBlockModal/AddNewBlockModal.jsx:310
742
742
  msgid "Add some tags"
743
743
  msgstr ""
744
744
 
745
- #: src/modules/components/AddNewBlockModal/AddNewBlockModal.jsx:313
745
+ #: src/modules/components/AddNewBlockModal/AddNewBlockModal.jsx:312
746
746
  #: src/modules/components/SettingsPanel/SettingsPanel.jsx:378
747
747
  msgid "Tags help you find the block in the list."
748
748
  msgstr ""
package/vite/index.js CHANGED
@@ -4,14 +4,13 @@ const MIME_TYPES = require("./mime-types");
4
4
  const { toPascalCase, cleanUrl, normalizePath, copyFolder } = require("./utils");
5
5
 
6
6
  const PACKAGE_PATH = require("./../package.json").name;
7
- const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "");
7
+ const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "").replaceAll("-", "");
8
8
  const ENVIRONMENT_VARIABLE = `${toPascalCase(APP_NAME)}Environment`;
9
9
  const PLUGIN_NAME = `${APP_NAME}-vite-plugin`;
10
10
  const PACKAGE_ENTRY_NAME = `${APP_NAME}.js`;
11
11
  const ESM_PACKAGE_ENTRY_NAME = `${APP_NAME}-esm.js`;
12
12
  const DEFAULT_OUTPUT_FOLDER = `/${APP_NAME}`;
13
13
  const DEFAULT_MODULES_PATH = "node_modules";
14
- console.log(PACKAGE_PATH);
15
14
 
16
15
  const IGNORED_PATTERNS = [
17
16
  /.*\.npmignore/,
@@ -119,7 +118,6 @@ const ViteBuildPlugin = (options) => {
119
118
 
120
119
  if (stat.isDirectory()) {
121
120
  await copyFolder(sourcePath, destPath, (sourcePath) => {
122
- console.log(`${sourcePath} ${!IGNORED_PATTERNS.some((pattern) => pattern.test(sourcePath))}`);
123
121
  return !IGNORED_PATTERNS.some((pattern) => pattern.test(sourcePath));
124
122
  }
125
123
  )
package/webpack/index.js CHANGED
@@ -17,7 +17,7 @@ function toPascalCase(string) {
17
17
 
18
18
 
19
19
  const PACKAGE_PATH = require("./../package.json").name;
20
- const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "");
20
+ const APP_NAME = PACKAGE_PATH.split("/").pop().replace("-dev", "").replace("-", "");
21
21
  const PLUGIN_NAME = `${toPascalCase(APP_NAME)}WebpackPlugin`;
22
22
  const PACKAGE_ENTRY_NAME = `${APP_NAME}.js`;
23
23
  const DEFAULT_OUTPUT_FOLDER = APP_NAME;