@wireio/protoc-gen-solana 1.0.2 → 1.0.3

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.
Binary file
File without changes
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@wireio/protoc-gen-solana",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "protoc plugin generating Rust encode/decode modules from protobuf3 definitions for Solana programs",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "types": "lib/index.d.ts",
8
8
  "module": "dist/bundle/protoc-gen-solana.mjs",
9
9
  "bin": {
10
- "protoc-gen-solana": "dist/bundle/protoc-gen-solana.mjs"
10
+ "protoc-gen-solana": "dist/bin/protoc-gen-solana"
11
11
  },
12
12
  "pkg": {
13
13
  "assets": [
@@ -16,6 +16,7 @@
16
16
  },
17
17
  "files": [
18
18
  "lib",
19
+ "dist/bin",
19
20
  "dist/bundle",
20
21
  "rs",
21
22
  "README.md"
@@ -44,6 +45,7 @@
44
45
  "dist": "pnpm build && pnpm bundle && pkg -c package.json --output dist/bin/protoc-gen-solana -d --options experimental-require-module dist/bundle/protoc-gen-solana.mjs",
45
46
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
46
47
  "generate:test": "npm run dist && mkdir -p ./dist/tests/generated && npx protoc --plugin=protoc-gen-solana=$PWD/dist/bin/protoc-gen-solana --solana_out=./dist/tests/generated tests/protos/*.proto",
48
+ "postinstall": "npm run dist",
47
49
  "clean": "rm -rf lib dist"
48
50
  }
49
51
  }