Skip to content

Commit

Permalink
feat!: convert to ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster committed Feb 1, 2023
1 parent 08fdeb2 commit 3087021
Show file tree
Hide file tree
Showing 34 changed files with 6,215 additions and 1,806 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ docker/gitlog.txt
.test-application-js
.test-application-ts
bazel-*
.aspect
30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@google-cloud/gapic-generator",
"version": "2.18.2",
"type": "module",
"description": "Google API Client Library Generator for TypeScript, written in TypeScript.",
"homepage": "https://github.com/googleapis/gapic-generator-typescript#readme",
"bugs": {
Expand All @@ -27,7 +28,9 @@
"clean": "bazel clean && rm -rf build",
"codecov": "c8 --reporter=lcov mocha bazel-bin/typescript/test/unit && c8 report",
"compile": "bazel build //...",
"compile-protos": "pbjs -t static-module -o protos/index.js -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto && pbts protos/index.js -o protos/index.d.ts",
"compile-protos-json": "pbjs -t json -o protos/protos.json -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto",
"compile-protos-js": "pbjs -t static-module -o protos/index.js -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto",
"compile-protos-dts": "pbts protos/index.js -o protos/index.d.ts",
"docker-test": "sh docker/test.sh",
"fix": "gts fix",
"js-test-application": "mocha bazel-bin/typescript/test/test-application/test-js --timeout 600000",
Expand All @@ -39,36 +42,31 @@
},
"dependencies": {
"@types/js-yaml": "^4.0.5",
"fs-extra": "^10.1.0",
"google-gax": "^3.5.2",
"js-yaml": "^4.1.0",
"long": "^5.2.0",
"long": "^5.2.1",
"nunjucks": "^3.2.3",
"object-hash": "^3.0.0",
"proto3-json-serializer": "^1.1.0",
"protobufjs": "^7.1.2",
"yargs": "^17.6.0"
"yargs": "^17.6.2"
},
"devDependencies": {
"@bazel/bazelisk": "^1.12.1",
"@bazel/buildifier": "^5.1.0",
"@bazel/typescript": "~4.6.1",
"@types/fs-extra": "^9.0.13",
"@types/long": "^4.0.2",
"@types/mocha": "^10.0.0",
"@types/mocha": "^10.0.1",
"@types/module-alias": "^2.0.1",
"@types/node": "^16.11.68",
"@types/node": "^18.11.17",
"@types/nunjucks": "^3.2.1",
"@types/object-hash": "^2.2.1",
"@types/sinon": "^10.0.13",
"@types/yargs": "^17.0.13",
"@types/object-hash": "^3.0.2",
"@types/yargs": "^17.0.17",
"c8": "^7.12.0",
"espower-typescript": "^10.0.1",
"gts": "^3.1.1",
"mocha": "^10.1.0",
"sinon": "^14.0.1",
"typescript": "~4.8.4"
"mocha": "^10.2.0",
"typescript": "4.9.3"
},
"engines": {
"node": ">=12"
"node": ">=14"
}
}
Loading

0 comments on commit 3087021

Please sign in to comment.