@justeattakeaway/pie-divider 0.8.0 → 0.9.0

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.
Files changed (2) hide show
  1. package/README.md +5 -61
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,10 +13,9 @@
13
13
  1. [Introduction](#pie-divider)
14
14
  2. [Installation](#installation)
15
15
  3. [Importing the component](#importing-the-component)
16
- 4. [Local Development](#local-development)
17
- 5. [Peer Dependencies](#peer-dependencies)
18
- 6. [Props](#props)
19
- 7. [Testing](#testing)
16
+ 4. [Peer Dependencies](#peer-dependencies)
17
+ 5. [Props](#props)
18
+ 6. [Contributing](#contributing)
20
19
 
21
20
 
22
21
  ## pie-divider
@@ -57,31 +56,6 @@ import { PieDivider } from '@justeattakeaway/pie-divider/dist/react';
57
56
  > [!IMPORTANT]
58
57
  > When using `pie-divider`, you will also need to include a couple of dependencies to ensure the component renders as expected. See [the PIE Wiki](https://github.com/justeattakeaway/pie/wiki/Getting-started-with-PIE-Web-Components#expected-dependencies) for more information and how to include these in your application.
59
58
 
60
-
61
- ## Local development
62
-
63
- Install the dependencies. Note that this, and the following commands below, should be run from the **root of the monorepo**:
64
-
65
- ```bash
66
- yarn
67
- ```
68
-
69
- To build the `pie-divider` package, run the following command:
70
-
71
- ```bash
72
- yarn build --filter=pie-divider
73
- ```
74
-
75
- If you'd like to develop using the component storybook, then you should build the component in `watch` mode, and run storybook in a separate terminal tab:
76
-
77
- ```bash
78
- yarn watch --filter=pie-divider
79
-
80
- # in a separate terminal tab, run
81
- yarn dev --filter=pie-storybook
82
- ```
83
-
84
-
85
59
  ## Props
86
60
 
87
61
  | Property | Type | Default | Description |
@@ -99,36 +73,6 @@ In your markup or JSX, you can then use these to set the properties for the `pie
99
73
  <PieDivider />
100
74
  ```
101
75
 
102
- ## Testing
103
-
104
- ### Browser tests
105
-
106
- To run the browser tests, run the following command from the root of the monorepo:
76
+ ## Contributing
107
77
 
108
- ```bash
109
- yarn test:browsers --filter=pie-divider
110
- ```
111
-
112
- ### Visual tests
113
-
114
- To run the visual regression tests, run the following command from the root of the monorepo:
115
-
116
- ```bash
117
- yarn test:visual --filter=pie-divider
118
- ```
119
-
120
- Note: To run these locally, you will need to ensure that any environment variables required are set up on your machine to mirror those on CI (such as Percy tokens). How you achieve this will differ between operating systems.
121
-
122
- #### Setup via bash
123
-
124
- ```bash
125
- export PERCY_TOKEN_PIE_DIVIDER=abcde
126
- ```
127
-
128
- #### Setup via package.json
129
-
130
- Under scripts `test:visual` replace the environment variable with the below:
131
-
132
- ```bash
133
- PERCY_TOKEN_PIE_DIVIDER=abcde
134
- ```
78
+ 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).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-divider",
3
3
  "description": "PIE Design System Divider built using Web Components",
4
- "version": "0.8.0",
4
+ "version": "0.9.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",