@justeattakeaway/pie-webc 0.0.0-snapshot-release-20240502093305 → 0.0.0-snapshot-release-20240502093622

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/add-components.js CHANGED
@@ -71,6 +71,10 @@ fs.readdirSync(componentsSourceDir).forEach((folder) => {
71
71
  fs.writeFileSync(jsFilePath, fileContent);
72
72
  fs.writeFileSync(tsFilePath, fileContent);
73
73
 
74
+ if (!pieWebcPackageJson.exports) {
75
+ pieWebcPackageJson.exports = {};
76
+ }
77
+
74
78
  // Update exports in the pie-webc package.json to include the component
75
79
  pieWebcPackageJson.exports[`./${target.type}/${componentName}.js`] = {
76
80
  import: `./${target.type}/${componentName}.js`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-webc",
3
3
  "description": "Component bundle containing all PIE web components",
4
- "version": "0.0.0-snapshot-release-20240502093305",
4
+ "version": "0.0.0-snapshot-release-20240502093622",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "**/*.js",