From b0d352c3118f1644349e976a87336adb6c15bc2d Mon Sep 17 00:00:00 2001 From: Peter Andersson Date: Tue, 24 Mar 2026 10:04:17 -0700 Subject: [PATCH 1/2] replace prepublish with publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c13bfa6..8554ae0 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "build:watch": "yarn build --watch", "format": "prettier --write 'src/**/*.{ts,tsx}' 'jest.config.ts'", "precommit": "lint-staged", - "prepublish": "yarn build", + "publish": "yarn build && npm publish", "test": "jest --ci", "test:watch": "yarn test --watch" }, From 275a072e15ffe86da5dbacb99ae486a45ca286df Mon Sep 17 00:00:00 2001 From: Peter Andersson <106624618+peternandersson@users.noreply.github.com> Date: Tue, 24 Mar 2026 10:07:46 -0700 Subject: [PATCH 2/2] Update package.json Co-authored-by: Abel John <9206066+abeljohn@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8554ae0..8fc54cb 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "build:watch": "yarn build --watch", "format": "prettier --write 'src/**/*.{ts,tsx}' 'jest.config.ts'", "precommit": "lint-staged", - "publish": "yarn build && npm publish", + "publish": "yarn build && yarn npm publish", "test": "jest --ci", "test:watch": "yarn test --watch" },