Skip to content

Commit

Permalink
fix: npm publishing compatability (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain authored Aug 6, 2024
1 parent 2f9ccfb commit 955dc24
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 21 deletions.
7 changes: 4 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
"bloom"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
Expand Down Expand Up @@ -52,4 +53,4 @@
"devDependencies": {
"thor-devkit": "^2.0.9"
}
}
}
7 changes: 4 additions & 3 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"error"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
Expand All @@ -36,4 +37,4 @@
"test:solo": "(yarn start-thor-solo && yarn test && yarn stop-thor-solo) || yarn stop-thor-solo",
"test": "rm -rf ./coverage && jest --coverage --coverageDirectory=coverage --group=integration --group=unit"
}
}
}
7 changes: 4 additions & 3 deletions packages/ethers-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"hardhat-plugin"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
Expand All @@ -41,4 +42,4 @@
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.6"
}
}
}
7 changes: 4 additions & 3 deletions packages/hardhat-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"contract"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
Expand All @@ -40,4 +41,4 @@
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.6"
}
}
}
7 changes: 4 additions & 3 deletions packages/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"logging"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
Expand All @@ -35,4 +36,4 @@
"dependencies": {
"@vechain/sdk-errors": "1.0.0-beta.26"
}
}
}
7 changes: 4 additions & 3 deletions packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"contract"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
Expand Down Expand Up @@ -52,4 +53,4 @@
"jest-fetch-mock": "^3.0.3",
"whatwg-fetch": "^3.6.20"
}
}
}
7 changes: 4 additions & 3 deletions packages/rpc-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"proxy"
],
"private": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"rpc-proxy": "dist/index.js"
},
Expand Down Expand Up @@ -47,4 +48,4 @@
"@types/express": "^4.17.21",
"@types/node": "^20.14.10"
}
}
}

1 comment on commit 955dc24

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Summary

Lines Statements Branches Functions
Coverage: 98%
98.66% (3482/3529) 95.61% (916/958) 99.42% (689/693)
Title Tests Skipped Failures Errors Time
core 478 0 💤 0 ❌ 0 🔥 1m 4s ⏱️
network 671 0 💤 0 ❌ 0 🔥 3m 24s ⏱️
errors 6 0 💤 0 ❌ 0 🔥 5.616s ⏱️

Please sign in to comment.