Skip to content

Commit

Permalink
fix(cms-base): validation and html-to-vue dependency (NTR)
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick authored and mkucmus committed Nov 24, 2022
1 parent e55e765 commit 412a3bd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-nails-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/cms-base": patch
---

fix problem with missing `vuelidate` dependency for standalone usage
5 changes: 5 additions & 0 deletions .changeset/sixty-frogs-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/cms-base": patch
---

fixed problem with default export in html-to-vue usage in `CmsTextElement` component
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { decodeHTML } from "entities";
import htmlToVue from "html-to-vue";
// @ts-ignore
const { renderHtml, getOptionsFromNode } = htmlToVue;
const props = defineProps<{
content: CmsElementText;
}>();
Expand Down
2 changes: 2 additions & 0 deletions packages/cms-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"@shopware-pwa/api-client": "workspace:*",
"@shopware-pwa/composables-next": "workspace:*",
"@shopware-pwa/helpers-next": "workspace:*",
"@vuelidate/core": "^2.0.0",
"@vuelidate/validators": "^2.0.0",
"entities": "^4.4.0",
"html-to-vue": "^1.4.0"
},
Expand Down
4 changes: 4 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 412a3bd

Please sign in to comment.