shopify-accelerate-app 1.0.60 → 1.0.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify-accelerate-app",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "Shopify App development with full Typescript Support",
5
5
  "author": "Felix Tellmann",
6
6
  "license": "MIT",
@@ -283,7 +283,7 @@ export const generateLiquidFiles = (final?: boolean, cssOutput?: string) => {
283
283
  }, {});
284
284
  }
285
285
  if (typeof input === "string") {
286
- return `{{ '${prevKey}' | t | json }}`;
286
+ return `{{ '${prevKey}' | t }}`;
287
287
  }
288
288
  };
289
289
 
@@ -317,11 +317,8 @@ declare global {
317
317
  path.join(process.cwd(), extension_path, "locales", "en.default.json"),
318
318
  JSON.stringify(mergedTranslations, undefined, 2)
319
319
  );
320
- writeCompareFile(
321
- path.join(process.cwd(), extension_path, "snippets", "translations.liquid"),
322
- translationsJs.replace(/"\{\{/gi, "{{").replace(/}}"/gi, "}}")
323
- );
324
- writeCompareFile(path.join(folders.snippets, "translations.liquid"), translationsJs.replace(/"\{\{/gi, "{{").replace(/}}"/gi, "}}"));
320
+ writeCompareFile(path.join(process.cwd(), extension_path, "snippets", "translations.liquid"), translationsJs);
321
+ writeCompareFile(path.join(folders.snippets, "translations.liquid"), translationsJs);
325
322
  writeCompareFile(path.join(folders.types, "translations.ts"), translationTypes);
326
323
 
327
324
  const dynamicJsImports = [];