@ecomplus/storefront-renderer 2.11.0 → 2.11.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.11.2](https://github.com/ecomplus/storefront/compare/@ecomplus/storefront-renderer@2.11.1...@ecomplus/storefront-renderer@2.11.2) (2024-03-21)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **deps:** update all non-major dependencies ([#1007](https://github.com/ecomplus/storefront/issues/1007)) ([eb4a1ad](https://github.com/ecomplus/storefront/commit/eb4a1ad9edafd9d4b02146847ad1764c85ad493a))
11
+
12
+ ## [2.11.1](https://github.com/ecomplus/storefront/compare/@ecomplus/storefront-renderer@2.11.0...@ecomplus/storefront-renderer@2.11.1) (2023-10-12)
13
+
14
+ **Note:** Version bump only for package @ecomplus/storefront-renderer
15
+
6
16
  # [2.11.0](https://github.com/ecomplus/storefront/compare/@ecomplus/storefront-renderer@2.10.11...@ecomplus/storefront-renderer@2.11.0) (2023-10-09)
7
17
 
8
18
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecomplus/storefront-renderer",
3
- "version": "2.11.0",
3
+ "version": "2.11.2",
4
4
  "description": "SSR for Storefront EJS views with E-Com Plus APIs",
5
5
  "main": "src/index.js",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "homepage": "https://github.com/ecomplus/storefront/tree/master/@ecomplus/storefront-renderer#readme",
25
25
  "dependencies": {
26
- "@builder.io/partytown": "^0.8.1",
26
+ "@builder.io/partytown": "^0.10.0",
27
27
  "@ecomplus/client": "^2.2.1",
28
28
  "@ecomplus/i18n": "^1.32.2",
29
29
  "@ecomplus/search-engine": "^2.6.1",
@@ -32,8 +32,8 @@
32
32
  "axios": "^0.27.2 || ^1.1.2",
33
33
  "ejs": "^3.1.9",
34
34
  "html-minifier": "^4.0.0",
35
- "image-size": "^1.0.2",
35
+ "image-size": "^1.1.1",
36
36
  "lodash": "^4.17.21",
37
- "markdown-it": "^13.0.2"
37
+ "markdown-it": "^14.1.0"
38
38
  }
39
39
  }
package/src/lib/config.js CHANGED
@@ -26,6 +26,11 @@ if (typeof storeId === 'string') {
26
26
  const templatePkg = process.env.STOREFRONT_TEMPLATE || '@ecomplus/storefront-template'
27
27
  const componentsPkg = process.env.STOREFRONT_COMPONENTS || '@ecomplus/storefront-components'
28
28
 
29
+ // https://cdn.example.com
30
+ const assetsPrefix = devMode
31
+ ? ''
32
+ : process.env.STOREFRONT_ASSETS || settings.assets_prefix || ''
33
+
29
34
  module.exports = {
30
35
  devMode,
31
36
  settings,
@@ -34,5 +39,6 @@ module.exports = {
34
39
  primaryColor,
35
40
  secondaryColor,
36
41
  templatePkg,
37
- componentsPkg
42
+ componentsPkg,
43
+ assetsPrefix
38
44
  }