Skip to content

Commit

Permalink
chore: make packages publishable
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Mar 1, 2024
1 parent 32fd54b commit 8ce2003
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
25 changes: 18 additions & 7 deletions libs/events/package.json
Original file line number Diff line number Diff line change
@@ -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": {}
}
26 changes: 19 additions & 7 deletions libs/types/package.json
Original file line number Diff line number Diff line change
@@ -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": {}
}

0 comments on commit 8ce2003

Please sign in to comment.