Skip to content

Commit

Permalink
fix(release): Fix formating of package.json (#263)
Browse files Browse the repository at this point in the history
Running `yarn build` during the `prepublishOnly` fails because the
package.json is re-formatted when the version is bumped

Run `yarn lint --write` to fix the formatting before running the build
command

Blame: #254
  • Loading branch information
frodeaa authored Nov 20, 2024
1 parent fb6bffb commit 4345279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "yarn -s run clean && yarn -s run check && tsc -p tsconfig.build.json",
"lint": "biome check --config-path ./biome.json",
"semantic-release": "semantic-release",
"prepublishOnly": "yarn run build"
"prepublishOnly": "yarn -s run lint --write && yarn -s run build"
},
"private": false,
"repository": {
Expand Down

0 comments on commit 4345279

Please sign in to comment.