@waterlock/gateway 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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -9
package/README.md CHANGED
@@ -13,4 +13,4 @@ pnpm test
13
13
  pnpm build # -> dist/
14
14
  ```
15
15
 
16
- Release: bump `version` in package.json, merge, then publish a GitHub release tagged `v<version>`.
16
+ Release: bump `version` in package.json and merge. CI publishes to npm and creates the `v<version>` release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waterlock/gateway",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Credential-injecting policy gateway for AI agent tool calls",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,6 +10,7 @@
10
10
  },
11
11
  "homepage": "https://github.com/waterlockcc/waterlock#readme",
12
12
  "bugs": "https://github.com/waterlockcc/waterlock/issues",
13
+ "packageManager": "pnpm@10.26.0",
13
14
  "engines": {
14
15
  "node": ">=24"
15
16
  },
@@ -37,6 +38,14 @@
37
38
  "publishConfig": {
38
39
  "access": "public"
39
40
  },
41
+ "scripts": {
42
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
43
+ "prepublishOnly": "pnpm typecheck && pnpm test && pnpm build",
44
+ "gen:gmail": "tsx src/codegen/cli.ts src/providers/gmail/gmail.config.ts",
45
+ "gen:gmail:fetch": "tsx src/codegen/cli.ts src/providers/gmail/gmail.config.ts --fetch",
46
+ "test": "vitest run",
47
+ "typecheck": "tsc --noEmit"
48
+ },
40
49
  "dependencies": {
41
50
  "postal-mime": "4.2.0"
42
51
  },
@@ -59,12 +68,5 @@
59
68
  "typescript": "^7.0.2",
60
69
  "vitest": "^5.1.0",
61
70
  "zod": "^4.6.7"
62
- },
63
- "scripts": {
64
- "build": "rm -rf dist && tsc -p tsconfig.build.json",
65
- "gen:gmail": "tsx src/codegen/cli.ts src/providers/gmail/gmail.config.ts",
66
- "gen:gmail:fetch": "tsx src/codegen/cli.ts src/providers/gmail/gmail.config.ts --fetch",
67
- "test": "vitest run",
68
- "typecheck": "tsc --noEmit"
69
71
  }
70
- }
72
+ }