GeezerVison is showing github.com — feat!: drop Node 12 & decouple development dependencies (#1439) · googleapis/google-cloud-node@2ebb1fb
File treeExpand file treeCollapse file tree Open diff view settings packages/packages/google-gax google/example/library/v1
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/packages/google-gax/owlbot.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 14 | 14 |
| 15 | 15 | import synthtool.languages.node as node | 16 | 16 |
| 17 | | -node.owlbot_main(templates_excludes=["LICENSE", "README.md", ".github/sync-repo-settings.yaml"]) | | 17 | +node.owlbot_main(templates_excludes=["LICENSE", "README.md", ".github/sync-repo-settings.yaml", ".github/workflows/ci.yaml",".kokoro/", ".kokoro/continuous/node12/common.cfg", ".kokoro/presubmit/node12/common.cfg", ".kokoro/release/docs.cfg", ".kokoro/release/publish.cfg"]) |
Collapse file Copy file name to clipboardExpand all lines: packages/packages/google-gax/package.json +10-14Lines changed: 10 additions & 14 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | "types": "build/src/index.d.ts", | 7 | 7 | "files": [ | 8 | 8 | "build/src", | 9 | | - "build/tools/compileProtos.js", | 10 | | - "build/tools/minify.js", | 11 | | - "build/protos/" | | 9 | + "build/protos/", | | 10 | + "!build/src/**/*.map" | 12 | 11 | ], | 13 | | - "bin": { | 14 | | - "compileProtos": "build/tools/compileProtos.js", | 15 | | - "minifyProtoJson": "build/tools/minify.js" | 16 | | - }, | 17 | 12 | "dependencies": { | 18 | 13 | "@grpc/grpc-js": "~1.8.0", | 19 | 14 | "@grpc/proto-loader": "^0.7.0", | 20 | 15 | "@types/long": "^4.0.0", | 21 | | - "@types/rimraf": "^3.0.2", | 22 | 16 | "abort-controller": "^3.0.0", | 23 | 17 | "duplexify": "^4.0.0", | 24 | 18 | "fast-text-encoding": "^1.0.3", | | 28 | 22 | "object-hash": "^3.0.0", | 29 | 23 | "proto3-json-serializer": "^1.0.0", | 30 | 24 | "protobufjs": "7.2.3", | 31 | | - "protobufjs-cli": "1.1.1", | 32 | 25 | "retry-request": "^5.0.0" | 33 | 26 | }, | 34 | 27 | "devDependencies": { | | 40 | 33 | "@types/object-hash": "^3.0.0", | 41 | 34 | "@types/proxyquire": "^1.3.28", | 42 | 35 | "@types/pumpify": "^1.4.1", | | 36 | + "@types/rimraf": "^3.0.2", | 43 | 37 | "@types/sinon": "^10.0.0", | 44 | 38 | "@types/uglify-js": "^3.17.0", | 45 | 39 | "c8": "^7.0.0", | 46 | 40 | "codecov": "^3.1.0", | 47 | 41 | "execa": "^5.0.0", | | 42 | + "gapic-tools": "^0.1.7", | 48 | 43 | "google-proto-files": "^3.0.0", | 49 | 44 | "gts": "^3.1.0", | 50 | 45 | "linkinator": "^4.0.0", | | 53 | 48 | "mocha": "^9.0.0", | 54 | 49 | "ncp": "^2.0.0", | 55 | 50 | "null-loader": "^4.0.0", | | 51 | + "protobufjs-cli": "1.1.1", | 56 | 52 | "proxyquire": "^2.0.1", | 57 | 53 | "pumpify": "^2.0.0", | 58 | 54 | "rimraf": "^3.0.2", | | 69 | 65 | "docs": "compodoc src/", | 70 | 66 | "pretest": "npm run prepare", | 71 | 67 | "test": "c8 mocha build/test/unit", | 72 | | - "lint": "gts check", | | 68 | + "lint": "gts check src samples test", | 73 | 69 | "clean": "gts clean", | 74 | 70 | "compile": "tsc -p . && cp src/*.json build/src && cp -r test/fixtures build/test && cp -r protos build/", | 75 | 71 | "compile-operation-protos": "pbjs -t json google/longrunning/operations.proto -p ./protos > protos/operations.json && pbjs -t static-module -r operations_protos google/longrunning/operations.proto -p ./protos > protos/operations.js && pbts protos/operations.js -o protos/operations.d.ts", | | 80 | 76 | "compile-http-protos": "pbjs -t static-module -r http_proto --keep-case google/api/http.proto -p ./protos > protos/http.js && pbts protos/http.js -o protos/http.d.ts", | 81 | 77 | "compile-showcase-proto": "pbjs -t json google/showcase/v1beta1/echo.proto google/showcase/v1beta1/identity.proto google/showcase/v1beta1/messaging.proto google/showcase/v1beta1/testing.proto -p ./protos > test/fixtures/google-gax-packaging-test-app/protos/protos.json && pbjs -t static-module -r showcase_protos google/showcase/v1beta1/echo.proto google/showcase/v1beta1/identity.proto google/showcase/v1beta1/messaging.proto google/showcase/v1beta1/testing.proto -p ./protos > test/fixtures/google-gax-packaging-test-app/protos/protos.js && pbts test/fixtures/google-gax-packaging-test-app/protos/protos.js -o test/fixtures/google-gax-packaging-test-app/protos/protos.d.ts", | 82 | 78 | "fix": "gts fix", | 83 | | - "prepare": "npm run compile && node ./build/tools/prepublish.js && mkdirp build/protos && cp -r protos/* build/protos/ && npm run minify-proto-json", | | 79 | + "prepare": "npm run compile && prepublishProtos . && mkdirp build/protos && cp -r protos/* build/protos/ && npm run minify-proto-json", | 84 | 80 | "system-test": "c8 mocha build/test/system-test --timeout 600000 && npm run test-application", | 85 | 81 | "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", | 86 | 82 | "docs-test": "linkinator docs", | | 89 | 85 | "test-application": "cd test/test-application && npm run prefetch && npm install && npm start", | 90 | 86 | "prelint": "cd samples; npm link ../; npm install", | 91 | 87 | "precompile": "gts clean", | 92 | | - "update-protos": "node ./build/tools/listProtos.js", | 93 | | - "minify-proto-json": "node ./build/tools/minify.js" | | 88 | + "update-protos": "listProtos .", | | 89 | + "minify-proto-json": "minifyProtoJson" | 94 | 90 | }, | 95 | 91 | "repository": "googleapis/gax-nodejs", | 96 | 92 | "keywords": [ | | 103 | 99 | }, | 104 | 100 | "homepage": "https://github.com/googleapis/gax-nodejs#readme", | 105 | 101 | "engines": { | 106 | | - "node": ">=12" | | 102 | + "node": ">=14" | 107 | 103 | }, | 108 | 104 | "browser": "build/src/fallback.js" | 109 | 105 | } |
Collapse file Copy file name to clipboard +9Lines changed: 9 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +{ | | 2 | + "initial-version": "0.1.0", | | 3 | + "packages": { | | 4 | + ".": {}, | | 5 | + "tools": {} | | 6 | + }, | | 7 | + "release-type": "node" | | 8 | + } | | 9 | + |
Collapse file Copy file name to clipboard +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +{ | | 2 | + ".": "3.6.0", | | 3 | + "tools": "0.1.7" | | 4 | +} |
Collapse file Copy file name to clipboardExpand all lines: packages/packages/google-gax/test/showcase-echo-client/package.json +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 38 | 38 | }, | 39 | 39 | "devDependencies": { | 40 | 40 | "@types/node": "^16.0.0", | | 41 | + "gapic-tools": "^0.1.7", | 41 | 42 | "typescript": "^4.5.5" | 42 | 43 | }, | 43 | 44 | "engines": { | 44 | | - "node": ">=v12" | | 45 | + "node": ">=v14" | 45 | 46 | } | 46 | 47 | } |
Collapse file Copy file name to clipboardExpand all lines: packages/packages/google-gax/test/test-application/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 31 | 31 | "protobufjs": "^7.0.0" | 32 | 32 | }, | 33 | 33 | "engines": { | 34 | | - "node": ">=12.0.0" | | 34 | + "node": ">=14.0.0" | 35 | 35 | } | 36 | 36 | } |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +**/node_modules | | 2 | +**/coverage | | 3 | +test/fixtures | | 4 | +build/ | | 5 | +docs/ | | 6 | +protos/ | | 7 | +samples/generated/ |
Collapse file Copy file name to clipboard +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +{ | | 2 | + "extends": "./node_modules/gts", | | 3 | + "root": true | | 4 | +} |
Collapse file Copy file name to clipboard +25Lines changed: 25 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +coverage | | 2 | +npm-debug.log | | 3 | +**/*.log | | 4 | +**/node_modules | | 5 | +.coverage | | 6 | +.nyc_output | | 7 | +docs/ | | 8 | +protos/google/ | | 9 | +out/ | | 10 | +system-test/secrets.js | | 11 | +system-test/*key.json | | 12 | +build | | 13 | +.vscode | | 14 | +package-lock.json | | 15 | +.system-test-run/ | | 16 | +.kitchen-sink/ | | 17 | +.showcase-server-dir/ | | 18 | +.compileProtos-test/ | | 19 | +.minify-test/ | | 20 | +__pycache__ | | 21 | +doc/ | | 22 | +dist/ | | 23 | +*.tgz | | 24 | +**/*.tgz | | 25 | +test/showcase-echo-client/protos/protos.* |
Collapse file Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +**/node_modules | | 2 | +**/coverage | | 3 | +test/fixtures | | 4 | +build/ | | 5 | +docs/ | | 6 | +protos/ |
|