Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ runs:
registry-url: https://registry.npmjs.org
always-auth: true
cache: yarn
- run: corepack enable
shell: bash
- run: yarn install --frozen-lockfile
shell: bash
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nodejs 24.15.0
yarn 1.22.22
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry "https://registry.yarnpkg.com/"
27 changes: 19 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"main": "dist/index.js",
"license": "MIT",
"repository": "git://github.com/smartcontractkit/ea-framework-js.git",
"packageManager": "yarn@1.22.22",
"dependencies": {
"@date-fns/tz": "1.4.1",
"ajv": "8.20.0",
"axios": "1.15.2",
"eventsource": "4.1.0",
Expand All @@ -15,8 +17,7 @@
"pino-pretty": "13.1.3",
"prom-client": "15.1.3",
"redlock": "5.0.0-beta.2",
"ws": "8.20.0",
"@date-fns/tz": "1.4.1"
"ws": "8.20.0"
},
"scripts": {
"build": "rm -rf dist/src && mkdir -p ./dist/src && cp package.json dist/src && cp README.md dist/src && tsc && yarn pre-build-generator",
Expand All @@ -28,15 +29,21 @@
"lint": "eslint --max-warnings=0 . && prettier --check '**/*.{ts,md,json,yaml}'",
"portal-path": "echo \"portal:$(readlink -f ./dist/src)\"",
"test-debug": "EA_HOST=localhost LOG_LEVEL=trace DEBUG=true EA_PORT=0 c8 ava --verbose",
"test": "tsc -p test/tsconfig.json --noEmit && yarn ava",
"test": "tsc && tsc -p test/tsconfig.json && yarn ava",
"ava": "EA_HOST=localhost LOG_LEVEL=error EA_PORT=0 c8 ava",
"verify": "yarn lint && yarn build && yarn build -p ./test/tsconfig.json && yarn test && yarn code-coverage",
"code-coverage": "c8 check-coverage --statements 95 --lines 95 --functions 95 --branches 90"
},
"bin": {
"create-external-adapter": "adapter-generator.js"
},
"resolutions": {
"cross-spawn": "7.0.6",
"flatted": "3.4.2",
"lodash": "4.18.1"
},
"devDependencies": {
"@ava/typescript": "7.0.0",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@sinonjs/fake-timers": "15.3.2",
Expand All @@ -45,7 +52,7 @@
"@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.59.1",
"@typescript-eslint/parser": "8.59.1",
"ava": "7.0.0",
"ava": "8.0.0",
"axios-mock-adapter": "2.1.0",
"c8": "11.0.0",
"eslint": "10.3.0",
Expand All @@ -70,12 +77,16 @@
"files": [
"test/**/*.test.ts"
],
"extensions": {
"mjs": true,
"ts": "commonjs"
"extensions": [
"mjs"
],
"typescript": {
"rewritePaths": {
"test/": "dist/test/"
},
"compile": false
},
"require": [
"ts-node/register",
"./test/_force-exit.mjs"
],
"workerThreads": false,
Expand Down
Loading
Loading