@justeattakeaway/pie-notification 0.0.0 → 0.1.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.
package/README.md CHANGED
@@ -14,9 +14,8 @@
14
14
  2. [Installation](#installation)
15
15
  3. [Importing the component](#importing-the-component)
16
16
  4. [Peer Dependencies](#peer-dependencies)
17
- 5. [Local Development](#local-development)
18
- 6. [Props](#props)
19
- 7. [Testing](#testing)
17
+ 5. [Props](#props)
18
+ 6. [Contributing](#contributing)
20
19
 
21
20
  ## pie-notification
22
21
 
@@ -56,31 +55,6 @@ import { PieNotification } from '@justeattakeaway/pie-notification/dist/react';
56
55
  > [!IMPORTANT]
57
56
  > When using `pie-notification`, 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.
58
57
 
59
-
60
- ## Local development
61
-
62
- Install the dependencies. Note that this, and the following commands below, should be run from the **root of the monorepo**:
63
-
64
- ```bash
65
- yarn
66
- ```
67
-
68
- To build the `pie-notification` package, run the following command:
69
-
70
- ```bash
71
- yarn build --filter=pie-notification
72
- ```
73
-
74
- 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:
75
-
76
- ```bash
77
- yarn watch --filter=pie-notification
78
-
79
- # in a separate terminal tab, run
80
- yarn dev --filter=pie-storybook
81
- ```
82
-
83
-
84
58
  ## Props
85
59
 
86
60
  | Property | Type | Default | Description |
@@ -97,36 +71,6 @@ In your markup or JSX, you can then use these to set the properties for the `pie
97
71
  <PieNotification></PieNotification>
98
72
  ```
99
73
 
100
- ## Testing
101
-
102
- ### Browser tests
103
-
104
- To run the browser tests, run the following command from the root of the monorepo:
74
+ ## Contributing
105
75
 
106
- ```bash
107
- yarn test:browsers --filter=pie-notification
108
- ```
109
-
110
- ### Visual tests
111
-
112
- To run the visual regression tests, run the following command from the root of the monorepo:
113
-
114
- ```bash
115
- yarn test:visual --filter=pie-notification
116
- ```
117
-
118
- 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.
119
-
120
- #### Setup via bash
121
-
122
- ```bash
123
- export PERCY_TOKEN_PIE_NOTIFICATION=abcde
124
- ```
125
-
126
- #### Setup via package.json
127
-
128
- Under scripts `test:visual` replace the environment variable with the below:
129
-
130
- ```bash
131
- PERCY_TOKEN_PIE_NOTIFICATION=abcde
132
- ```
76
+ 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/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/react.d.ts CHANGED
File without changes
package/dist/react.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-notification",
3
3
  "description": "PIE Design System Notification built using Web Components",
4
- "version": "0.0.0",
4
+ "version": "0.1.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -28,10 +28,10 @@
28
28
  "author": "Just Eat Takeaway.com - Design System Team",
29
29
  "license": "Apache-2.0",
30
30
  "devDependencies": {
31
- "@justeattakeaway/pie-components-config": "workspace:*"
31
+ "@justeattakeaway/pie-components-config": "0.4.0"
32
32
  },
33
33
  "dependencies": {
34
- "@justeattakeaway/pie-webc-core": "workspace:*"
34
+ "@justeattakeaway/pie-webc-core": "0.11.0"
35
35
  },
36
36
  "volta": {
37
37
  "extends": "../../../package.json"