Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(target_chains/fuel): run format after generating type files #2268

Merged
merged 2 commits into from
Jan 16, 2025
Merged
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
7 changes: 4 additions & 3 deletions target_chains/fuel/sdk/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
"scripts": {
"usage-example": "ts-node src/examples/usage.ts",
"build": "pnpm run generate-fuel-types && tsc && copyfiles -u 1 \"src/**/*.d.ts\" lib",
"format": "prettier --write \"src/**/*.ts\"",
"test:format": "prettier --check \"src/**/*.ts\"",
"fix:format": "prettier --write \"src/**/*.ts\"",
"test:lint": "eslint src/",
"prepublishOnly": "pnpm run build && pnpm run test:lint",
"preversion": "pnpm run test:lint",
"version": "pnpm run format && git add -A src",
"generate-fuel-types": "pnpm fuels typegen -i ../../contracts/pyth-contract/out/release/*-abi.json -o ./src/types && prettier --write \"./src/types/**/*.ts\""
"version": "pnpm run test:format && git add -A src",
"generate-fuel-types": "pnpm fuels typegen -i ../../contracts/pyth-contract/out/release/*-abi.json -o ./src/types && pnpm run fix:format"
},
"keywords": [
"pyth",
Expand Down
Loading