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

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/README.md CHANGED
@@ -53,4 +53,14 @@ For full information on using PIE components as part of an application, check ou
53
53
 
54
54
  ## Contributing
55
55
 
56
- Check out our [contributing guide](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide) for more information on [local development](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#local-development) and how to run specific [component tests](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#testing).
56
+ Check out our [contributing guide](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide) for more information on [local development](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#local-development) and how to run specific [component tests](https://github.com/justeattakeaway/pie/wiki/Contributing-Guide#testing).
57
+
58
+ ## How it works
59
+ There is a command that can be run to add all pie components to this package. The command is:
60
+
61
+ ```npx add-components```
62
+
63
+ When run, a script will find each pie component and create `js` and `d.ts` files them in both `components` and `react` directories. The script will also update the `exports` field in the `package.json` file to include the new components and add the latest version of each component to the `dependencies` field.
64
+
65
+ Generally, there should be no need to run this script. The only time it should be run is when we generated a new component using the component generator. The generator will take care of running this script automatically, so it should be a rare occurrence that it needs to be run manually.
66
+
package/add-components.js CHANGED
@@ -83,4 +83,4 @@ fs.readdirSync(componentsSourceDir).forEach((folder) => {
83
83
 
84
84
  // Write updates back to the package.json
85
85
  fs.writeFileSync(pieWebcPackageJsonPath, `${JSON.stringify(pieWebcPackageJson, null, 2)}\n`);
86
- console.log('All components added to pie-webc');
86
+ console.info('All components added to pie-webc');
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-20240501160411",
4
+ "version": "0.0.0-snapshot-release-20240502093305",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "**/*.js",
@@ -186,22 +186,22 @@
186
186
  "@justeattakeaway/pie-components-config": "0.16.0"
187
187
  },
188
188
  "dependencies": {
189
- "@justeattakeaway/pie-assistive-text": "0.3.5",
190
- "@justeattakeaway/pie-button": "0.47.3",
191
- "@justeattakeaway/pie-card": "0.19.3",
192
- "@justeattakeaway/pie-checkbox": "0.0.0",
193
- "@justeattakeaway/pie-chip": "0.6.1",
194
- "@justeattakeaway/pie-cookie-banner": "0.19.5",
195
- "@justeattakeaway/pie-divider": "0.13.3",
196
- "@justeattakeaway/pie-form-label": "0.13.3",
197
- "@justeattakeaway/pie-icon-button": "0.28.4",
198
- "@justeattakeaway/pie-input": "0.18.1",
199
- "@justeattakeaway/pie-link": "0.17.3",
200
- "@justeattakeaway/pie-modal": "0.42.4",
201
- "@justeattakeaway/pie-notification": "0.5.4",
202
- "@justeattakeaway/pie-spinner": "0.6.3",
203
- "@justeattakeaway/pie-switch": "0.29.3",
204
- "@justeattakeaway/pie-tag": "0.9.4"
189
+ "@justeattakeaway/pie-assistive-text": "0.3.6",
190
+ "@justeattakeaway/pie-button": "0.47.4",
191
+ "@justeattakeaway/pie-card": "0.19.4",
192
+ "@justeattakeaway/pie-checkbox": "0.1.0",
193
+ "@justeattakeaway/pie-chip": "0.6.2",
194
+ "@justeattakeaway/pie-cookie-banner": "0.19.6",
195
+ "@justeattakeaway/pie-divider": "0.13.4",
196
+ "@justeattakeaway/pie-form-label": "0.13.4",
197
+ "@justeattakeaway/pie-icon-button": "0.28.5",
198
+ "@justeattakeaway/pie-input": "0.18.2",
199
+ "@justeattakeaway/pie-link": "0.17.4",
200
+ "@justeattakeaway/pie-modal": "0.42.5",
201
+ "@justeattakeaway/pie-notification": "0.5.5",
202
+ "@justeattakeaway/pie-spinner": "0.6.4",
203
+ "@justeattakeaway/pie-switch": "0.29.4",
204
+ "@justeattakeaway/pie-tag": "0.9.5"
205
205
  },
206
206
  "volta": {
207
207
  "extends": "../../../package.json"