diff --git a/Makefile b/Makefile index 96167b861..a0ce74fda 100644 --- a/Makefile +++ b/Makefile @@ -125,9 +125,7 @@ bench: node_modules $(GEN)/connect-web-bench $(BUILD)/connect-web ## Benchmark c .PHONY: setversion setversion: ## Set a new version in for the project, i.e. make setversion SET_VERSION=1.2.3 - node scripts/update-go-version-file.js cmd/protoc-gen-connect-web/main.go $(SET_VERSION) node scripts/set-workspace-version.js $(SET_VERSION) - node scripts/go-build-npm.js packages/protoc-gen-connect-web ./cmd/protoc-gen-connect-web rm package-lock.json rm -rf node_modules npm i @@ -143,24 +141,10 @@ setversion: ## Set a new version in for the project, i.e. make setversion SET_VE .PHONY: release release: all ## Release @bufbuild/connect-web @[ -z "$(shell git status --short)" ] || (echo "Uncommitted changes found." && exit 1); - node scripts/go-build-npm.js packages/protoc-gen-connect-web ./cmd/protoc-gen-connect-web npm publish \ --access restricted \ --workspace packages/connect-web \ - --workspace packages/protoc-gen-connect-web \ - --workspace packages/protoc-gen-connect-web-darwin-64 \ - --workspace packages/protoc-gen-connect-web-darwin-arm64 \ - --workspace packages/protoc-gen-connect-web-freebsd-64 \ - --workspace packages/protoc-gen-connect-web-freebsd-arm64 \ - --workspace packages/protoc-gen-connect-web-linux-32 \ - --workspace packages/protoc-gen-connect-web-linux-64 \ - --workspace packages/protoc-gen-connect-web-linux-arm \ - --workspace packages/protoc-gen-connect-web-linux-arm64 \ - --workspace packages/protoc-gen-connect-web-netbsd-64 \ - --workspace packages/protoc-gen-connect-web-openbsd-64 \ - --workspace packages/protoc-gen-connect-web-windows-32 \ - --workspace packages/protoc-gen-connect-web-windows-64 \ - --workspace packages/protoc-gen-connect-web-windows-arm64 + --workspace packages/protoc-gen-connect-web .PHONY: crosstestserverstop crosstestserverstop: diff --git a/package-lock.json b/package-lock.json index 4b447e9f7..5a94d42a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3266,7 +3266,7 @@ }, "packages/connect-web": { "name": "@bufbuild/connect-web", - "version": "0.0.9", + "version": "0.0.10", "license": "Apache-2.0", "devDependencies": { "typescript": "^4.7.4" @@ -3278,7 +3278,7 @@ "packages/connect-web-bench": { "name": "@bufbuild/connect-web-bench", "dependencies": { - "@bufbuild/connect-web": "0.0.9", + "@bufbuild/connect-web": "0.0.10", "@bufbuild/protobuf": "^0.0.9", "@bufbuild/protoc-gen-es": "^0.0.9", "esbuild": "^0.14.49", @@ -3288,9 +3288,9 @@ }, "packages/connect-web-test": { "name": "@bufbuild/connect-web-test", - "version": "0.0.9", + "version": "0.0.10", "dependencies": { - "@bufbuild/connect-web": "0.0.9", + "@bufbuild/connect-web": "0.0.10", "@grpc/grpc-js": "^1.6.7", "@types/jasmine": "^4.0.3", "@types/long": "^4.0.2", @@ -3304,7 +3304,7 @@ }, "packages/protoc-gen-connect-web": { "name": "@bufbuild/protoc-gen-connect-web", - "version": "0.0.9", + "version": "0.0.10", "license": "Apache-2.0", "dependencies": { "@bufbuild/protoplugin": "^0.0.9" @@ -3316,7 +3316,7 @@ "node": ">=14" }, "peerDependencies": { - "@bufbuild/connect-web": "^0.0.9", + "@bufbuild/connect-web": "^0.0.10", "@bufbuild/protoc-gen-es": "^0.0.9" }, "peerDependenciesMeta": { @@ -3339,10 +3339,10 @@ "@bufbuild/connect-web-bench": { "version": "file:packages/connect-web-bench", "requires": { - "@bufbuild/connect-web": "0.0.9", + "@bufbuild/connect-web": "0.0.10", "@bufbuild/protobuf": "^0.0.9", "@bufbuild/protoc-gen-es": "^0.0.9", - "esbuild": "0.14.49", + "esbuild": "^0.14.49", "google-protobuf": "^3.20.1", "grpc-web": "^1.3.1" } @@ -3350,7 +3350,7 @@ "@bufbuild/connect-web-test": { "version": "file:packages/connect-web-test", "requires": { - "@bufbuild/connect-web": "0.0.9", + "@bufbuild/connect-web": "0.0.10", "@grpc/grpc-js": "^1.6.7", "@types/jasmine": "^4.0.3", "@types/long": "^4.0.2", diff --git a/packages/connect-web-bench/package.json b/packages/connect-web-bench/package.json index e673449d4..b64afb4c8 100644 --- a/packages/connect-web-bench/package.json +++ b/packages/connect-web-bench/package.json @@ -6,7 +6,7 @@ "clean": "rm -rf README.md src/gen" }, "dependencies": { - "@bufbuild/connect-web": "0.0.9", + "@bufbuild/connect-web": "0.0.10", "@bufbuild/protobuf": "^0.0.9", "@bufbuild/protoc-gen-es": "^0.0.9", "esbuild": "^0.14.49", diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/connect/demo/eliza/v1/eliza_connectweb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/connect/demo/eliza/v1/eliza_connectweb.ts index 4a3422094..d97d4d6e7 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/connect/demo/eliza/v1/eliza_connectweb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/connect/demo/eliza/v1/eliza_connectweb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-web v0.0.9 with parameter "ts_nocheck=false,target=ts" +// @generated by protoc-gen-connect-web v0.0.10 with parameter "ts_nocheck=false,target=ts" // @generated from file buf/connect/demo/eliza/v1/eliza.proto (package buf.connect.demo.eliza.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-test/package.json b/packages/connect-web-test/package.json index 93a03c191..7fc42cb1f 100644 --- a/packages/connect-web-test/package.json +++ b/packages/connect-web-test/package.json @@ -1,6 +1,6 @@ { "name": "@bufbuild/connect-web-test", - "version": "0.0.9", + "version": "0.0.10", "private": true, "scripts": { "clean": "rm -rf ./dist/esm/*", @@ -16,7 +16,7 @@ "default": "./dist/esm/index.js" }, "dependencies": { - "@bufbuild/connect-web": "0.0.9", + "@bufbuild/connect-web": "0.0.10", "@grpc/grpc-js": "^1.6.7", "@types/jasmine": "^4.0.3", "@types/long": "^4.0.2", diff --git a/packages/connect-web-test/src/gen/grpc/testing/test_connectweb.ts b/packages/connect-web-test/src/gen/grpc/testing/test_connectweb.ts index 179cf6adf..9a1c49ddd 100644 --- a/packages/connect-web-test/src/gen/grpc/testing/test_connectweb.ts +++ b/packages/connect-web-test/src/gen/grpc/testing/test_connectweb.ts @@ -29,7 +29,7 @@ // An integration test service that covers all the method signature permutations // of unary/streaming requests/responses. -// @generated by protoc-gen-connect-web v0.0.9 with parameter "ts_nocheck=false,target=ts" +// @generated by protoc-gen-connect-web v0.0.10 with parameter "ts_nocheck=false,target=ts" // @generated from file grpc/testing/test.proto (package grpc.testing, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web/package.json b/packages/connect-web/package.json index de67da3f8..2367e1631 100644 --- a/packages/connect-web/package.json +++ b/packages/connect-web/package.json @@ -1,6 +1,6 @@ { "name": "@bufbuild/connect-web", - "version": "0.0.9", + "version": "0.0.10", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/protoc-gen-connect-web/package.json b/packages/protoc-gen-connect-web/package.json index 70f150478..31ae97de8 100644 --- a/packages/protoc-gen-connect-web/package.json +++ b/packages/protoc-gen-connect-web/package.json @@ -1,6 +1,6 @@ { "name": "@bufbuild/protoc-gen-connect-web", - "version": "0.0.9", + "version": "0.0.10", "description": "Code generator for connect-web", "license": "Apache-2.0", "repository": { @@ -23,7 +23,7 @@ "@bufbuild/protoplugin": "^0.0.9" }, "peerDependencies": { - "@bufbuild/connect-web": "^0.0.9", + "@bufbuild/connect-web": "^0.0.10", "@bufbuild/protoc-gen-es": "^0.0.9" }, "peerDependenciesMeta": {