Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@v4.1.4
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.11.0
- uses: actions/setup-node@v6
with:
node-version: 22
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn build
- run: yarn test
node-version: 24.x
- run: pnpm install --frozen-lockfile
Comment thread
carlos-poly marked this conversation as resolved.
- run: pnpm lint
- run: pnpm build
- run: pnpm test

all-jobs-pass:
name: All jobs pass
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ typechain/
*.tsbuildinfo
coverage.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.DS_Store
package-lock.json
*.swp
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ build:

.PHONY: test
test:
NODE_OPTIONS="--experimental-transform-types" yarn nyc -a \
NODE_OPTIONS="--experimental-transform-types" pnpm nyc -a \
--reporter=html \
--reporter=text mocha './tests' \
--require jsdom-global/register \
'tests/**/*.test.ts' \
--require tsconfig-paths/register \
--timeout 10000 \
--exit

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Typescript utilities used to generate and sign orders from Polymarket's Exchange

### Installation

`yarn add @polymarket/order-utils`
`pnpm add @polymarket/order-utils`
19 changes: 5 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polymarket/order-utils",
"version": "3.0.0",
"version": "3.1.0",
"description": "Typescript utility for creating orders for Polymarket's CLOB",
"author": "Liam Kovatch <liam@polymarket.com>",
"homepage": "https://github.com/Polymarket/clob-order-utils",
Expand All @@ -10,8 +10,8 @@
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=20.10",
"yarn": ">=1"
"node": ">=24",
"pnpm": ">=10"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,13 +42,12 @@
"postbuild": "cp package.json dist && cp README.md dist"
},
"dependencies": {
"@ethersproject/providers": "^5.7.2",
"@ethersproject/wallet": "^5.7.0",
"ethers": "^5.7.1",
"tslib": "^2.4.0",
"viem": "^2.31.4"
},
"devDependencies": {
"@ethersproject/providers": "^5.7.2",
"@ethersproject/wallet": "^5.7.0",
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.18",
Expand All @@ -57,20 +56,12 @@
"chai": "^4.3.6",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-unused-imports": "^2.0.0",
"esm": "^3.2.25",
"jsdom": "^20.0.0",
"jsdom-global": "^3.0.2",
"mocha": "^10.0.0",
"nyc": "^17.1.0",
"prettier": "^2.7.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.9.3"
},
"bugs": {
Expand Down
Loading