Skip to content

Commit

Permalink
refactor: 💡 Multiple pnpm-related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Aug 2, 2023
1 parent c1bceee commit 47a9dbb
Show file tree
Hide file tree
Showing 7 changed files with 259 additions and 313 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ The WindingTree market protocol smart contracts and utilities
## Install package

```bash
yarn add @windingtree/contracts
pnpm add @windingtree/contracts
```

## Setup

```bash
yarn
yarn build:contracts
pnpm
pnpm build:contracts
```

## Testing

```bash
yarn test:contracts
pnpm test:contracts
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"scripts": {
"build": "hardhat compile",
"package:update": "rm -rf ./package/typechain ./package/artifacts && yarn build && cp -r ./artifacts ./package/artifacts && cp ./README.md ./package/README.md && yarn --cwd ./package build",
"package:update": "rm -rf ./package/typechain ./package/artifacts && pnpm build && cp -r ./artifacts ./package/artifacts && cp ./README.md ./package/README.md && pnpm --dir ./package install && pnpm --dir ./package build",
"test": "hardhat test",
"lint": "solhint . && eslint --ext .ts",
"lint:fix": "eslint --ext .ts --fix && solhint --fix . && prettier --check !network --write .",
Expand Down
8 changes: 4 additions & 4 deletions package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ The WindingTree market protocol smart contracts and utilities
## Install package

```bash
yarn add @windingtree/contracts
pnpm add @windingtree/contracts
```

## Setup

```bash
yarn
yarn build:contracts
pnpm
pnpm build:contracts
```

## Testing

```bash
yarn test:contracts
pnpm test:contracts
```

## Contributing
Expand Down
16 changes: 8 additions & 8 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,24 @@
"access": "public"
},
"devDependencies": {
"@types/node": "^20.1.5",
"semantic-release": "^21.0.2",
"@types/node": "^20.4.6",
"semantic-release": "^21.0.7",
"semantic-release-cli": "^5.4.4",
"@semantic-release/changelog": "^6.0.3",
"@commitlint/config-conventional": "^17.6.3",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.7",
"@commitlint/cli": "^17.6.7",
"lint-staged": "^13.2.2",
"eslint": "^8.40.0",
"eslint": "^8.46.0",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"@wagmi/cli": "^1.0.1"
"typescript": "^5.1.6",
"@wagmi/cli": "^1.3.0"
},
"scripts": {
"build": "rm -rf lib && yarn wagmi generate && tsc -p ./tsconfig.build.json",
"build": "rm -rf lib && pnpm wagmi generate && tsc -p ./tsconfig.build.json",
"lint": "eslint --ext .ts",
"lint:fix": "eslint --ext .ts --fix && prettier --check !network --write ."
}
Expand Down
Loading

0 comments on commit 47a9dbb

Please sign in to comment.