Skip to content

Commit

Permalink
rename .jsdoc.js to .cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelgrosso1 committed Sep 20, 2023
1 parent f5d760c commit 7f11b1b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 56 deletions.
52 changes: 0 additions & 52 deletions .jsdoc.js

This file was deleted.

29 changes: 29 additions & 0 deletions .jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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/cjs/src"],
"includePattern": "\\.js$"
},
"templates": {
"copyright": "Copyright 2019 Google, LLC.",
"includeDate": false,
"sourceFiles": false,
"systemName": "@google-cloud/storage",
"theme": "lumen",
"default": {
"outputSourceFiles": false
}
},
"markdown": {
"idInHeadings": true
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"compile": "npm run compile:cjs && npm run compile:esm",
"conformance-test": "mocha --parallel build/cjs/conformance-test/ --require build/cjs/conformance-test/globalHooks.js",
"docs-test": "linkinator docs",
"docs": "jsdoc -c .jsdoc.js",
"docs": "jsdoc -c .jsdoc.json",
"fix": "gts fix",
"lint": "gts check",
"postcompile:cjs": "babel --plugins gapic-tools/build/src/replaceImportMetaUrl,gapic-tools/build/src/toggleESMFlagVariable build/cjs/src/util.js -o build/cjs/src/util.js && echo '{\"type\": \"commonjs\"}' > build/cjs/package.json",
Expand Down
4 changes: 1 addition & 3 deletions samples/configureRetries.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const {
IdempotencyStrategy,
} = require('@google-cloud/storage/build/src/storage');
const {IdempotencyStrategy} = require('@google-cloud/storage');

/**
* This application demonstrates how to perform basic operations on buckets with
Expand Down

0 comments on commit 7f11b1b

Please sign in to comment.