Skip to content

Commit 72c348e

Browse files
committed
Bump to v1.8.2
1 parent 474ad1e commit 72c348e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/provenance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ jobs:
2222
with:
2323
debug: ${{ inputs.debug }}
2424
package-name: '@socketsecurity/sdk'
25+
setup-script: 'pnpm run build'
2526
use-trusted-publishing: true

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [1.8.2](https://github.com/SocketDev/socket-sdk-js/releases/tag/v1.8.2) - 2025-09-29
8+
9+
### Fixed
10+
- Fixed publishing workflow to ensure dist folder is built before npm publish
11+
- Changed prepublishOnly script to prevent accidental local publishing
12+
713
## [1.8.1](https://github.com/SocketDev/socket-sdk-js/releases/tag/v1.8.1) - 2025-09-29
814

915
### Changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/sdk",
3-
"version": "1.8.1",
3+
"version": "1.8.2",
44
"license": "MIT",
55
"description": "SDK for the Socket API client",
66
"author": {
@@ -60,7 +60,7 @@
6060
"lint-staged": "lint-staged",
6161
"precommit": "lint-staged",
6262
"prepare": "husky",
63-
"prepublishOnly": "pnpm run build",
63+
"prepublishOnly": "echo 'ERROR: Use GitHub Actions workflow for publishing' && exit 1",
6464
"pretest:unit": "dotenvx -q run -f .env.test -- pnpm run build",
6565
"test": "run-s check test:*",
6666
"test:unit": "dotenvx -q run -f .env.test -- vitest --run",

0 commit comments

Comments
 (0)