Skip to content

Commit df30d19

Browse files
authored
chore: ♻️ small build updates (#429)
* chore: ♻️ small build updates * updte biome * update eth provider libs * update default dot args * update more pkgs * update chopsticks * update pjs * mute warnings * fmt * chore: 📦 Update PolkadotJS * fix * update vitest * update lock * docs
1 parent 39c4f74 commit df30d19

File tree

19 files changed

+6800
-4366
lines changed

19 files changed

+6800
-4366
lines changed

.changeset/stale-rats-press.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@moonwall/types": minor
3+
"@moonwall/util": minor
4+
"@moonwall/cli": minor
5+
"@moonwall/tests": minor
6+
---
7+
8+
Package Updates
9+
10+
- Package updates for ETH libs
11+
- Package updates for PolkadotJS
12+
- Package updates for tooling
13+
- Added `--unsafe-force-node-key-generation` to default node args

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ jobs:
110110
needs: ["build"]
111111
env:
112112
NODE_OPTIONS: "--no-deprecation"
113+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113114
strategy:
114115
fail-fast: false
115116
matrix:

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
33
"files": {
44
"include": ["*.js", "*.ts", "*.json", "*.yml", "*.md"],
55
"ignore": ["./dist/*", "./node_modules/*", "package.json"]

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
"typecheck": "pnpm -r --filter='./packages/**' run typecheck"
2323
},
2424
"devDependencies": {
25-
"@biomejs/biome": "1.8.3",
26-
"@changesets/cli": "2.27.7",
25+
"@biomejs/biome": "1.9.2",
26+
"@changesets/cli": "2.27.8",
27+
"@types/node": "20.14.10",
2728
"typescript": "5.5.3"
2829
}
2930
}

packages/cli/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
33
"extends": ["../../biome.json"]
44
}

packages/cli/package.json

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
],
4848
"scripts": {
4949
"clean": "rm -rf dist && rm -rf node_modules",
50-
"build": "pnpm exec rm -rf dist && tsup src --format esm --no-splitting --sourcemap && pnpm generate-types",
50+
"build": "pnpm exec rm -rf dist && tsup src --format esm --no-splitting && pnpm generate-types",
5151
"lint": "pnpm biome lint ./src",
5252
"lint:fix": "pnpm biome lint ./src --apply",
5353
"fmt": "biome format .",
@@ -58,19 +58,19 @@
5858
"prepublish": "pnpm run build && pnpm run generate-types"
5959
},
6060
"dependencies": {
61-
"@acala-network/chopsticks": "0.12.2",
61+
"@acala-network/chopsticks": "0.15.0",
6262
"@moonbeam-network/api-augment": "0.2902.0",
6363
"@moonwall/types": "workspace:*",
6464
"@moonwall/util": "workspace:*",
6565
"@octokit/rest": "^21.0.0",
66-
"@polkadot/api": "12.1.1",
67-
"@polkadot/api-derive": "12.1.1",
68-
"@polkadot/keyring": "12.6.2",
69-
"@polkadot/types": "12.1.1",
70-
"@polkadot/types-codec": "12.1.1",
71-
"@polkadot/util": "12.6.2",
72-
"@polkadot/util-crypto": "12.6.2",
73-
"@vitest/ui": "2.0.1",
66+
"@polkadot/api": "13.2.1",
67+
"@polkadot/api-derive": "13.2.1",
68+
"@polkadot/keyring": "13.1.1",
69+
"@polkadot/types": "13.2.1",
70+
"@polkadot/types-codec": "13.2.1",
71+
"@polkadot/util": "13.1.1",
72+
"@polkadot/util-crypto": "13.1.1",
73+
"@vitest/ui": "2.1.1",
7474
"@zombienet/orchestrator": "0.0.87",
7575
"@zombienet/utils": "0.0.25",
7676
"bottleneck": "2.19.5",
@@ -79,42 +79,41 @@
7979
"clear": "0.1.0",
8080
"cli-progress": "3.12.0",
8181
"colors": "1.4.0",
82-
"debug": "4.3.5",
82+
"debug": "4.3.7",
8383
"dotenv": "16.4.5",
84-
"ethers": "6.13.1",
84+
"ethers": "6.13.2",
8585
"get-port": "^7.1.0",
8686
"inquirer": "9.3.3",
8787
"inquirer-press-to-continue": "1.2.0",
8888
"jsonc-parser": "3.3.1",
8989
"minimatch": "9.0.5",
9090
"semver": "7.6.2",
91-
"viem": "2.17.3",
92-
"vitest": "2.0.1",
93-
"vue": "^3.4.31",
94-
"web3": "4.10.0",
91+
"viem": "2.21.15",
92+
"vitest": "2.1.1",
93+
"web3": "4.13.0",
9594
"web3-providers-ws": "^4.0.7",
9695
"ws": "8.18.0",
9796
"yaml": "2.4.5",
9897
"yargs": "17.7.2"
9998
},
10099
"peerDependencies": {
101-
"@acala-network/chopsticks": "^0.9.10",
100+
"@acala-network/chopsticks": "^0.15.0",
102101
"@polkadot/api": "^10.11.2",
103102
"@vitest/ui": "^1.2.2",
104-
"vitest": "^1.2.2"
103+
"vitest": "^2.1.1"
105104
},
106105
"devDependencies": {
107-
"@biomejs/biome": "1.8.3",
106+
"@biomejs/biome": "1.9.2",
108107
"@types/clear": "^0.1.4",
109108
"@types/cli-progress": "3.11.6",
110109
"@types/debug": "4.1.12",
111110
"@types/inquirer": "^9.0.7",
112111
"@types/node": "20.14.10",
113112
"@types/semver": "^7.5.8",
114113
"@types/ws": "^8.5.10",
115-
"@types/yargs": "17.0.32",
116-
"tsup": "8.1.0",
117-
"tsx": "4.16.2",
114+
"@types/yargs": "17.0.33",
115+
"tsup": "8.3.0",
116+
"tsx": "4.19.1",
118117
"typescript": "5.5.3"
119118
},
120119
"publishConfig": {

packages/cli/src/cmds/runTests.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ class VitestOptionsBuilder {
150150
deps: {
151151
optimizer: { ssr: { enabled: false }, web: { enabled: false } },
152152
},
153+
env: {
154+
NODE_OPTIONS: "--no-warnings --no-deprecation",
155+
},
153156
include: ["**/*{test,spec,test_,test-}*{ts,mts,cts}"],
154157

155158
onConsoleLog(log) {

packages/cli/src/lib/repoDefinitions/moonbeam.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const repo: RepoSpec = {
1010
"--no-telemetry",
1111
"--reserved-only",
1212
"--rpc-cors=all",
13+
"--unsafe-force-node-key-generation",
1314
"--no-grandpa",
1415
"--sealing=manual",
1516
"--force-authoring",

packages/cli/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist/types",
55
"allowImportingTsExtensions": false,
66
"noEmit": false,
7-
"declaration": true,
8-
"emitDeclarationOnly": true
7+
"declaration": true
98
},
109
"include": ["./src/**/*.ts"],
1110
"exclude": ["**/dist/**"]

packages/types/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
33
"extends": ["../../biome.json"]
44
}

0 commit comments

Comments
 (0)