From 43dc5f82c3e49e7d75206d33da3a506177813ec2 Mon Sep 17 00:00:00 2001 From: Matt Straathof <11823378+bruuuuuuuce@users.noreply.github.com> Date: Thu, 14 Oct 2021 11:13:18 -0700 Subject: [PATCH] fix: google-protobuf as dependency (#11) --- .github/workflows/pull_request.yml | 2 +- .github/workflows/push.yml | 2 +- typescript/.gitignore | 1 - typescript/package-lock.json | 128 +++++++++++++++++++++++++++++ typescript/package.json | 4 +- 5 files changed, 132 insertions(+), 5 deletions(-) create mode 100644 typescript/package-lock.json diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index bfac9db..2a2e005 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,7 +29,7 @@ jobs: set -x export PATH=`pwd`/protoc/bin/:$PATH pushd typescript - npm install + npm ci npm run build popd shell: bash diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1e0795f..2256c1c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -35,7 +35,7 @@ jobs: set -x export PATH=`pwd`/protoc/bin/:$PATH pushd typescript - npm install + npm ci npm run build popd shell: bash diff --git a/typescript/.gitignore b/typescript/.gitignore index 737e59e..dc7ae12 100644 --- a/typescript/.gitignore +++ b/typescript/.gitignore @@ -1,5 +1,4 @@ node_modules dist -package-lock.json **/*.d.ts index.js diff --git a/typescript/package-lock.json b/typescript/package-lock.json new file mode 100644 index 0000000..f81282a --- /dev/null +++ b/typescript/package-lock.json @@ -0,0 +1,128 @@ +{ + "name": "@momento/wire-types-typescript", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@momento/wire-types-typescript", + "license": "MIT", + "dependencies": { + "@grpc/grpc-js": "1.3.7", + "@types/google-protobuf": "3.15.5", + "google-protobuf": "3.18.1" + }, + "devDependencies": { + "@tsconfig/node16": "1.0.2", + "@types/node": "16.10.3", + "protoc-gen-ts": "0.6.0", + "typescript": "4.4.3" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.3.7", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", + "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", + "dependencies": { + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true + }, + "node_modules/@types/google-protobuf": { + "version": "3.15.5", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@types/google-protobuf/-/google-protobuf-3.15.5.tgz", + "integrity": "sha512-6bgv24B+A2bo9AfzReeg5StdiijKzwwnRflA8RLd1V4Yv995LeTmo0z69/MPbBDFSiZWdZHQygLo/ccXhMEDgw==" + }, + "node_modules/@types/node": { + "version": "16.10.3", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@types/node/-/node-16.10.3.tgz", + "integrity": "sha512-ho3Ruq+fFnBrZhUYI46n/bV2GjwzSkwuT4dTf0GkuNFmnb8nq4ny2z9JEVemFi6bdEJanHLlYfy9c6FN9B9McQ==" + }, + "node_modules/google-protobuf": { + "version": "3.18.1", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/google-protobuf/-/google-protobuf-3.18.1.tgz", + "integrity": "sha512-cDqSamZ8rGs+pOzhIsBte7wpezUKg/sggeptDWN5odhnRY/eDLa5VWLeNeQvcfiqjS3yUwgM+6OePCJMB7aWZA==" + }, + "node_modules/protoc-gen-ts": { + "version": "0.6.0", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/protoc-gen-ts/-/protoc-gen-ts-0.6.0.tgz", + "integrity": "sha512-bO9uI49c1IyYW0r+yyydtsYknY+U/QFOePbvcoikB4zPEGBtZwDXwMEPbpCn14U+DqeNAMlzb3IuuUQGORnk1w==", + "dev": true, + "bin": { + "protoc-gen-ts": "bin/protoc-gen-ts" + }, + "funding": { + "type": "individual", + "url": "https://www.buymeacoffee.com/thesayyn" + }, + "peerDependencies": { + "google-protobuf": "^3.13.0", + "typescript": ">=4" + } + }, + "node_modules/typescript": { + "version": "4.4.3", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/typescript/-/typescript-4.4.3.tgz", + "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + } + }, + "dependencies": { + "@grpc/grpc-js": { + "version": "1.3.7", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@grpc/grpc-js/-/grpc-js-1.3.7.tgz", + "integrity": "sha512-CKQVuwuSPh40tgOkR7c0ZisxYRiN05PcKPW72mQL5y++qd7CwBRoaJZvU5xfXnCJDFBmS3qZGQ71Frx6Ofo2XA==", + "requires": { + "@types/node": ">=12.12.47" + } + }, + "@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true + }, + "@types/google-protobuf": { + "version": "3.15.5", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@types/google-protobuf/-/google-protobuf-3.15.5.tgz", + "integrity": "sha512-6bgv24B+A2bo9AfzReeg5StdiijKzwwnRflA8RLd1V4Yv995LeTmo0z69/MPbBDFSiZWdZHQygLo/ccXhMEDgw==" + }, + "@types/node": { + "version": "16.10.3", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/@types/node/-/node-16.10.3.tgz", + "integrity": "sha512-ho3Ruq+fFnBrZhUYI46n/bV2GjwzSkwuT4dTf0GkuNFmnb8nq4ny2z9JEVemFi6bdEJanHLlYfy9c6FN9B9McQ==" + }, + "google-protobuf": { + "version": "3.18.1", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/google-protobuf/-/google-protobuf-3.18.1.tgz", + "integrity": "sha512-cDqSamZ8rGs+pOzhIsBte7wpezUKg/sggeptDWN5odhnRY/eDLa5VWLeNeQvcfiqjS3yUwgM+6OePCJMB7aWZA==" + }, + "protoc-gen-ts": { + "version": "0.6.0", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/protoc-gen-ts/-/protoc-gen-ts-0.6.0.tgz", + "integrity": "sha512-bO9uI49c1IyYW0r+yyydtsYknY+U/QFOePbvcoikB4zPEGBtZwDXwMEPbpCn14U+DqeNAMlzb3IuuUQGORnk1w==", + "dev": true, + "requires": {} + }, + "typescript": { + "version": "4.4.3", + "resolved": "https://momento-prod-401011790710.d.codeartifact.us-west-2.amazonaws.com:443/npm/npm-upstream/typescript/-/typescript-4.4.3.tgz", + "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==", + "dev": true + } + } +} diff --git a/typescript/package.json b/typescript/package.json index f2c6dc8..acaa7e8 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -11,13 +11,13 @@ "license": "MIT", "devDependencies": { "@tsconfig/node16": "1.0.2", - "@types/google-protobuf": "3.15.5", "@types/node": "16.10.3", - "google-protobuf": "3.18.1", "protoc-gen-ts": "0.6.0", "typescript": "4.4.3" }, "dependencies": { + "@types/google-protobuf": "3.15.5", + "google-protobuf": "3.18.1", "@grpc/grpc-js": "1.3.7" }, "files": [