From eca1b30dbfdc8f3ebb57d5bf7e9e185fcf7b2ada Mon Sep 17 00:00:00 2001 From: Kevin Rodrigues Date: Thu, 11 Jul 2024 10:17:57 +0100 Subject: [PATCH 1/2] feat(pie-monorepo): DSW-2056 integrate pie-webc into vue3 example app --- .changeset/little-months-roll.md | 5 + apps/examples/wc-vue3/.eslintrc.js | 7 +- apps/examples/wc-vue3/package.json | 3 +- apps/examples/wc-vue3/src/App.vue | 2 +- yarn.lock | 2180 ++++++++++++++++------------ 5 files changed, 1265 insertions(+), 932 deletions(-) create mode 100644 .changeset/little-months-roll.md diff --git a/.changeset/little-months-roll.md b/.changeset/little-months-roll.md new file mode 100644 index 0000000000..46fa303b44 --- /dev/null +++ b/.changeset/little-months-roll.md @@ -0,0 +1,5 @@ +--- +"wc-vue3": minor +--- + +[Added] pie-webc package and removed component level packages diff --git a/apps/examples/wc-vue3/.eslintrc.js b/apps/examples/wc-vue3/.eslintrc.js index 960839ca06..82c00777ce 100644 --- a/apps/examples/wc-vue3/.eslintrc.js +++ b/apps/examples/wc-vue3/.eslintrc.js @@ -8,6 +8,11 @@ module.exports = { 'plugin:vue/vue3-recommended' ], rules: { - ...vue.rules, ...vue3.rules, 'vue/sort-keys': 'off', + ...vue.rules, + ...vue3.rules, + 'vue/sort-keys': 'off', + 'import/extensions': ['error', 'ignorePackages', { + js: 'always', + }], }, }; diff --git a/apps/examples/wc-vue3/package.json b/apps/examples/wc-vue3/package.json index 4257a53525..ff9456a6a6 100644 --- a/apps/examples/wc-vue3/package.json +++ b/apps/examples/wc-vue3/package.json @@ -10,8 +10,7 @@ "type-check": "vue-tsc --noEmit" }, "dependencies": { - "@justeattakeaway/pie-button": "0.47.8", - "@justeattakeaway/pie-css": "0.12.1", + "@justeattakeaway/pie-webc": "0.5.12", "@vitejs/plugin-vue": "4.0.0", "vite": "4.5.3", "vue": "3.2.47" diff --git a/apps/examples/wc-vue3/src/App.vue b/apps/examples/wc-vue3/src/App.vue index 3bd3aeb3da..002e14b9a4 100644 --- a/apps/examples/wc-vue3/src/App.vue +++ b/apps/examples/wc-vue3/src/App.vue @@ -34,7 +34,7 @@