Skip to content

Commit

Permalink
release: cut 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Dec 3, 2021
1 parent a861622 commit 4ed9c2a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 21 deletions.
19 changes: 4 additions & 15 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
third-party
test
docs
examples
scripts
.*
.tgz
# ignore everything that is typescript or proto file
src/**/*.ts
src/**/*.proto
# bazel stuff
BUILD.bazel
WORKSPACE
bazel-*

**/*
!bin/**/*.js
!src/**/*.js
!index.bzl
3 changes: 1 addition & 2 deletions examples/pure/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "example",
"scripts": {
"preinstall": "cd ../.. && yarn bazel build :package",
"test": "protoc -I=src --ts_out=src test.proto && tsc && node ./dist/index"
},
"dependencies": {
"@grpc/grpc-js": "^1.2.12",
"google-protobuf": "^3.15.8"
},
"devDependencies": {
"protoc-gen-ts": "file:../../bazel-bin/package",
"protoc-gen-ts": "file:../../",
"typescript": "^4.2.4"
}
}
4 changes: 2 additions & 2 deletions examples/pure/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ node-forge@^0.10.0:
resolved "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3"
integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==

"protoc-gen-ts@file:../../bazel-bin/package":
version "0.3.6-rc2"
"protoc-gen-ts@file:../../package":
version "0.8.1"

safe-buffer@^5.0.1:
version "5.2.1"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "protoc-gen-ts",
"description": "Compile protocol buffers descriptors to Typescript.",
"version": "0.8.0",
"version": "0.8.1",
"license": "MIT",
"author": {
"email": "[email protected]",
Expand All @@ -14,7 +14,7 @@
},
"scripts": {
"test": "bazel build //test:codegen //test:codegen_experimental //test/conformance:codegen && node ./scripts/sync_generated_protos.js test && bazel test //test/... --test_output=errors",
"release": "bazel run //:package.publish -- --access public --tag latest --registry https://registry.npmjs.org",
"release": "npm publish --access public --tag latest --registry https://registry.npmjs.org",
"codegen": "node ./scripts/sync_compiler_protos.js && bazel build //src:codegen && node ./scripts/sync_generated_protos.js src/compiler && bazel build //src:compiler && node ./scripts/sync_generated_protos.js src/compiler js"
},
"bin": {
Expand Down

0 comments on commit 4ed9c2a

Please sign in to comment.