diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index e755487975..4fa7c3ecab 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -66,6 +66,6 @@ jobs: - name: Publish working-directory: ${{ env.DESTINATION_PATH }} - run: npm publish --tag ${{ inputs.tag }} + run: npm publish --tag ${{ inputs.tag }} --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/libs/events/package.json b/libs/events/package.json index e06f726229..c4054196b2 100644 --- a/libs/events/package.json +++ b/libs/events/package.json @@ -1,12 +1,23 @@ { "name": "@cowprotocol/events", "version": "0.1.0-RC.0", - "main": "./index.js", - "types": "./index.d.ts", + "type": "commonjs", + "description": "CoW Swap events", + "main": "index.js", "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } + "import": "./index.js", + "require": "./index.mjs" + }, + "license": "ISC", + "repository": { + "type": "git", + "url": "https://github.com/cowprotocol/cowswap" + }, + "keywords": [ + "cowprotocol", + "events", + "cowswap", + "dex" + ], + "dependencies": {} } diff --git a/libs/types/package.json b/libs/types/package.json index 51b1e7d82e..8f43fc2908 100644 --- a/libs/types/package.json +++ b/libs/types/package.json @@ -1,12 +1,24 @@ { "name": "@cowprotocol/types", "version": "0.1.0", - "main": "./index.js", - "types": "./index.d.ts", + "type": "commonjs", + "description": "CoW Swap events", + "main": "index.js", "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } + "import": "./index.js", + "require": "./index.mjs" + }, + "license": "ISC", + "repository": { + "type": "git", + "url": "https://github.com/cowprotocol/cowswap" + }, + "keywords": [ + "cowprotocol", + "types", + "cowswap", + "dex", + "widget-lib" + ], + "dependencies": {} }