@justeattakeaway/pie-button 0.10.0 → 0.10.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [Fixed] - Added module entry for component
8
+
3
9
  ## 0.10.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "PIE design system button built using web components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
+ "module": "dist/index.js",
7
8
  "types": "dist/types/index.d.ts",
8
9
  "scripts": {
9
10
  "build": "run -T vite build",
@@ -1,29 +0,0 @@
1
- vite v4.0.4 building for production...
2
- transforming...
3
- ✓ 4 modules transformed.
4
- rendering chunks...
5
- computing gzip size...
6
- dist/index.js 3.81 kB │ gzip: 1.60 kB
7
- 
8
- [vite:dts] Start generate declaration files...
9
- ../../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3135:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
10
-
11
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
12
-    ~~~~~~~~~~~~~~~~~~~~~~~~
13
-
14
- ../../../node_modules/@types/react/index.d.ts:3135:14
15
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
16
-    ~~~~~~~~~~~~~~~~~~~~~~~~
17
- 'LibraryManagedAttributes' was also declared here.
18
- ../../../node_modules/@types/react/index.d.ts:3135:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
19
-
20
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
21
-    ~~~~~~~~~~~~~~~~~~~~~~~~
22
-
23
- ../../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3135:14
24
- 3135 type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
25
-    ~~~~~~~~~~~~~~~~~~~~~~~~
26
- 'LibraryManagedAttributes' was also declared here.
27
-
28
- [vite:dts] Declaration files built in 8366ms.
29
-