@tabnas/proto 0.4.2 → 0.4.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.
package/dist/proto.d.ts CHANGED
@@ -14,7 +14,7 @@ declare const Proto: {
14
14
  };
15
15
  declare function toDescriptor(cst: any, options?: Partial<ProtoOptions>): FileDescriptorProto;
16
16
  declare function parse(src: string, options?: Partial<ProtoOptions>): FileDescriptorProto;
17
- declare const VERSION = "0.4.2";
17
+ declare const VERSION = "0.4.3";
18
18
  export { Proto, parse, toDescriptor, VERSION };
19
19
  export type { ProtoVersion };
20
20
  export * from './descriptor';
package/dist/proto.js CHANGED
@@ -63,7 +63,7 @@ function parse(src, options) {
63
63
  // VERSION is this package's version. It MUST equal package.json "version":
64
64
  // the release orchestrator rewrites both, and test/version.test.ts fails the
65
65
  // build if they drift. Mirrors `const VERSION` in go/proto.go.
66
- const VERSION = '0.4.2';
66
+ const VERSION = '0.4.3';
67
67
  exports.VERSION = VERSION;
68
68
  __exportStar(require("./descriptor"), exports);
69
69
  //# sourceMappingURL=proto.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabnas/proto",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Parse Protocol Buffers .proto IDL (proto2, proto3, edition 2023/2024) into FileDescriptorProto-shaped JSON, using the Tabnas parser and an ABNF grammar.",
5
5
  "main": "dist/proto.js",
6
6
  "type": "commonjs",
@@ -35,9 +35,9 @@
35
35
  "build": "node embed-grammar.js && tsc --build src test",
36
36
  "clean": "rm -rf node_modules dist dist-test yarn.lock package-lock.json",
37
37
  "reset": "npm run clean && npm i && npm run build && npm test",
38
- "repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
38
+ "repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: ts/v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag ts/v$REPO_VERSION && git push origin ts/v$REPO_VERSION;",
39
39
  "repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
40
- "repo-publish-quick": "npm run build && npm run test && npm run repo-tag && npm publish --access public --registry https://registry.npmjs.org ",
40
+ "repo-publish-quick": "npm run build && npm run test && npm run repo-tag",
41
41
  "repo-stage": "npm run clean && npm i && npm run repo-stage-quick",
42
42
  "repo-stage-quick": "npm run build && npm run test && npm stage publish",
43
43
  "repo-stage-list": "npm stage list",
@@ -56,6 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@tabnas/abnf": "*",
58
58
  "@tabnas/parser": "*",
59
+ "@tabnas/support": "*",
59
60
  "@types/node": "25.6.0",
60
61
  "typescript": "6.0.3"
61
62
  },
package/src/proto.ts CHANGED
@@ -68,7 +68,7 @@ function parse(src: string, options?: Partial<ProtoOptions>): FileDescriptorProt
68
68
  // VERSION is this package's version. It MUST equal package.json "version":
69
69
  // the release orchestrator rewrites both, and test/version.test.ts fails the
70
70
  // build if they drift. Mirrors `const VERSION` in go/proto.go.
71
- const VERSION = '0.4.2'
71
+ const VERSION = '0.4.3'
72
72
 
73
73
  export { Proto, parse, toDescriptor, VERSION }
74
74
  export type { ProtoVersion }