sx-plugin-sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +14 -25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sx-plugin-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Write a plugin for sx: the message types and the code that runs a plugin over stdio or a WebSocket",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -8,12 +8,9 @@
8
8
  "url": "git+https://github.com/vittee/sx.git",
9
9
  "directory": "sdk/node"
10
10
  },
11
- "keywords": [
12
- "sx",
13
- "ssh",
14
- "plugin"
15
- ],
11
+ "keywords": ["sx", "ssh", "plugin"],
16
12
  "type": "module",
13
+ "packageManager": "pnpm@11.9.0",
17
14
  "engines": {
18
15
  "node": ">=20"
19
16
  },
@@ -25,25 +22,22 @@
25
22
  "default": "./dist/index.js"
26
23
  }
27
24
  },
28
- "files": [
29
- "dist",
30
- "README.md"
31
- ],
25
+ "files": ["dist", "README.md"],
26
+ "scripts": {
27
+ "build": "tsc -p tsconfig.build.json",
28
+ "check": "tsc",
29
+ "test": "node --test \"test/*.test.ts\"",
30
+ "prepublishOnly": "pnpm run check && pnpm test && pnpm run build"
31
+ },
32
32
  "peerDependencies": {
33
33
  "@msgpack/msgpack": "^3.0.0",
34
34
  "notepack.io": "^3.0.0",
35
35
  "ws": "^8.0.0"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
- "@msgpack/msgpack": {
39
- "optional": true
40
- },
41
- "notepack.io": {
42
- "optional": true
43
- },
44
- "ws": {
45
- "optional": true
46
- }
38
+ "@msgpack/msgpack": { "optional": true },
39
+ "notepack.io": { "optional": true },
40
+ "ws": { "optional": true }
47
41
  },
48
42
  "devDependencies": {
49
43
  "@msgpack/msgpack": "^3.0.0",
@@ -52,10 +46,5 @@
52
46
  "notepack.io": "^3.0.1",
53
47
  "typescript": "^5.9.0",
54
48
  "ws": "^8.18.0"
55
- },
56
- "scripts": {
57
- "build": "tsc -p tsconfig.build.json",
58
- "check": "tsc",
59
- "test": "node --test \"test/*.test.ts\""
60
49
  }
61
- }
50
+ }