Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Dec 6, 2024
1 parent 2a0dd66 commit 0f0c1b6
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 55 deletions.
52 changes: 0 additions & 52 deletions gax/.jsdoc.cjs

This file was deleted.

35 changes: 35 additions & 0 deletions gax/.jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"opts": {
"readme": "../README.md",
"package": "./package.json",
"template": "./node_modules/jsdoc-fresh",
"recurse": true,
"verbose": true,
"destination": "./docs/"
},
"plugins": [
"plugins/markdown",
"jsdoc-region-tag"
],
"source": {
"excludePattern": "(^|\\/|\\\\)[._]",
"include": [
"build/esm/src",
"build/protos"
],
"includePattern": "\\.js$"
},
"templates": {
"copyright": "Copyright 2024 Google, LLC.",
"includeDate": false,
"sourceFiles": false,
"systemName": "google-gax",
"theme": "lumen",
"default": {
"outputSourceFiles": false
}
},
"markdown": {
"idInHeadings": true
}
}
19 changes: 19 additions & 0 deletions gax/esm/test/showcase-echo-client/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"presets": [
"@babel/preset-typescript",
"@babel/env"
],
"plugins": [
[
"replace-import-extension",
{
"extMapping": {
".js": ".cjs"
}
}
],
"./node_modules/gapic-tools/build/src/replaceESMMockingLib.js",
"./node_modules/gapic-tools/build/src/replaceImportMetaUrl.js",
"./node_modules/gapic-tools/build/src/toggleESMFlagVariable.js"
]
}
16 changes: 13 additions & 3 deletions gax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,23 @@
"types": "./build/cjs/src/protobuf.d.ts",
"default": "./build/cjs/src/protobuf.cjs"
}
},
"./build/src/protobuf.js": {
"import": {
"types": "./build/esm/src/protobuf.d.ts",
"default": "./build/esm/src/protobuf.js"
},
"require": {
"types": "./build/cjs/src/protobuf.d.ts",
"default": "./build/cjs/src/protobuf.cjs"
}
}
},
"dependencies": {
"@grpc/grpc-js": "^1.10.9",
"@grpc/proto-loader": "^0.7.13",
"@types/long": "^4.0.0",
"@types/duplexify": "^3.6.4",
"abort-controller": "^3.0.0",
"duplexify": "^4.0.0",
"google-auth-library": "^9.3.0",
Expand All @@ -58,7 +69,6 @@
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@types/duplexify": "^3.6.4",
"@types/mocha": "^9.0.0",
"@types/ncp": "^2.0.1",
"@types/node": "^20.5.0",
Expand All @@ -83,7 +93,7 @@
"jsdoc": "^4.0.0",
"jsdoc-fresh": "^3.0.0",
"jsdoc-region-tag": "^3.0.0",
"linkinator": "^4.0.0",
"linkinator": "^6.0.0",
"long": "^4.0.0",
"lru-cache": "10.4.3",
"mkdirp": "^2.0.0",
Expand All @@ -104,7 +114,7 @@
"webpack-cli": "^4.0.0"
},
"scripts": {
"docs": "jsdoc -c .jsdoc.js",
"docs": "jsdoc -c .jsdoc.json",
"pretest": "npm run prepare",
"test:cjs": "mocha build/cjs/test/unit",
"test:esm": "mocha build/esm/test/unit --loader=esmock --enable-source-maps",
Expand Down

0 comments on commit 0f0c1b6

Please sign in to comment.