From 706c446c2d5eb21739114cc88a85469a74a36846 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Wed, 1 Nov 2023 13:26:34 +0600 Subject: [PATCH] chore: fix widget lib and react lib publishing --- .github/workflows/publish.yml | 1 + libs/widget-lib/package.json | 2 +- libs/widget-react/package.json | 2 +- libs/widget-react/src/index.ts | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c4dde9950a..d1a28ad234 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,7 @@ on: options: - permit-utils - widget-lib + - widget-react # Add more publishable libs here tag: description: NPM package tag diff --git a/libs/widget-lib/package.json b/libs/widget-lib/package.json index b31bd3149a..cda3940cf3 100644 --- a/libs/widget-lib/package.json +++ b/libs/widget-lib/package.json @@ -1,6 +1,6 @@ { "name": "@cowprotocol/widget-lib", - "version": "0.1.0", + "version": "0.1.1", "type": "commonjs", "description": "CoW Swap Widget Library. Allows you to easily embed a CoW Swap widget on your website.", "main": "index.js", diff --git a/libs/widget-react/package.json b/libs/widget-react/package.json index 89c2f2b5fe..68f7adeb6f 100644 --- a/libs/widget-react/package.json +++ b/libs/widget-react/package.json @@ -1,6 +1,6 @@ { "name": "@cowprotocol/widget-react", - "version": "0.0.1", + "version": "0.1.0", "main": "./index.js", "types": "./index.d.ts", "exports": { diff --git a/libs/widget-react/src/index.ts b/libs/widget-react/src/index.ts index a717a4c133..0fb29896cf 100644 --- a/libs/widget-react/src/index.ts +++ b/libs/widget-react/src/index.ts @@ -1,2 +1,2 @@ export * from './lib/CowSwapWidget' -export type { CowSwapWidgetParams, CowSwapWidgetSettings, EthereumProvider } from '@cowprotocol/widget-lib' +export type * from '@cowprotocol/widget-lib'