Skip to content

Commit 0bdf44c

Browse files
authored
Move NPM package support from main to v1 (#237)
## Description There is little JS code remaining in the `main` branch. This PR makes it clear that there is no NPM package available for this code (at least yet) and that maintenance work on the current package has moved to the [`v1` branch](#235 (comment)).
1 parent c15d99a commit 0bdf44c

File tree

4 files changed

+3
-82
lines changed

4 files changed

+3
-82
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> [!IMPORTANT]
2-
> This repository is in the process of being migrated to the [Foundry](https://getfoundry.sh) Ethereum application development environment. Developers wishing to integrate and/or develop on the CoW Protocol smart contracts with hardhat should refer to tag [`v1.6.0`](https://github.com/cowprotocol/contracts/releases/tag/v1.6.0) [Browse files](https://github.com/cowprotocol/contracts/tree/1d673839a7402bdb2949175ebb61e8b5c4f39ecb).
2+
> This repository is in the process of being migrated to the [Foundry](https://getfoundry.sh) Ethereum application development environment. Developers wishing to integrate and/or develop on the CoW Protocol smart contracts with hardhat should refer to branch [`v1`](https://github.com/cowprotocol/contracts/tree/v1).
33
44
# CoW Protocol
55

@@ -157,15 +157,3 @@ To actually execute the transaction:
157157
```sh
158158
forge script script/TransferOwnership.s.sol:TransferOwnership --rpc-url "$ETH_RPC_URL" --private-key 0x0000000000000000000000000000000000000000000000000000000000000001 --broadcast --slow
159159
```
160-
161-
## Releases
162-
163-
The content of this repo is published on NPM as [`@cowprotocol/contracts`](https://www.npmjs.com/package/@cowprotocol/contracts).
164-
165-
Maintainers this repository can manually trigger a new release. The steps are as follows:
166-
167-
1. Update the package version number in `./package.json` on branch `main`.
168-
169-
2. On GitHub, visit the "Actions" tab, "Publish package to NPM", "Run workflow" with `main` as the target branch.
170-
171-
Once the workflow has been executed successfully, a new NPM package version should be available as well as a new git tag named after the released version.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "@cowprotocol/contracts",
3-
"version": "1.7.0",
3+
"version": "2.0.0-alpha",
44
"license": "LGPL-3.0-or-later",
5+
"private": true,
56
"repository": {
67
"type": "git",
78
"url": "https://github.com/cowprotocol/contracts.git"

src/workflows/publish.sh

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)