Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.
Open
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
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
quality-checks:
name: Quality Checks
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.3.1
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Type Check
run: bun run typecheck
- name: Lint Check
run: bun run lint
- name: Run Tests
run: bun run test
- name: Build Check
run: bun run build
27 changes: 0 additions & 27 deletions .github/workflows/workflow.yaml

This file was deleted.

21 changes: 8 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{
"editor.formatOnSave": true,
"files.eol": "\n",
"mochaExplorer.files": "tests/**/*.test.ts",
"mochaExplorer.require": [
"ts-node/register",
"tsconfig-paths/register",
"jsdom-global/register"
],
"mochaExplorer.monkeyPatch": false,
"mochaExplorer.timeout": 60000,
"mochaExplorer.env": {
"TS_NODE_PROJECT": "tsconfig.json",
"TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\" }"
"editor.codeActionsOnSave": {
"source.fixAll": "always"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.rulers": [100],
"editor.tabSize": 2,
"files.autoSave": "onFocusChange",
"files.eol": "\n",
"files.insertFinalNewline": true,
"javascript.suggestionActions.enabled": false,
"typescript.suggestionActions.enabled": false
}
22 changes: 0 additions & 22 deletions Makefile

This file was deleted.

911 changes: 911 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

25 changes: 10 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@
],
"license": "MIT",
"scripts": {
"build": "make build",
"lint": "make lint",
"deploy": "yarn build && npm publish",
"test": "make test"
"build": "rm -rf dist && tsc --module commonjs",
"lint": "eslint ./src --ext .js,.ts",
"deploy": "bun run build && bun publish",
"test": "bun test",
"test:cov": "bun test --coverage",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@polymarket/builder-signing-sdk": "^0.0.8",
Expand All @@ -54,13 +56,11 @@
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/traverse": ">=7.23.2",
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"@types/bun": "^1.3.1",
"@types/node": "^18.7.18",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"chai": "^4.3.6",
"dotenv": "^16.0.2",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -70,19 +70,14 @@
"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": "^15.1.0",
"path": "^0.12.7",
"prettier": "^2.7.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"ws": "^8.11.0"
},
"resolutions": {
"@babel/traverse": ">=7.23.2"
}
}
}
Loading