Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
chore!: upgrade to Node 14 (#245)
Browse files Browse the repository at this point in the history
* chore(nodejs): Add `system-test/fixtures` to `.eslintignore`

* fix: Add `system-test/fixtures` to `.eslintignore`

* refactor: Use `**`

Source-Link: googleapis/synthtool@b7858ba
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:abc68a9bbf4fa808b25fa16d3b11141059dc757dbc34f024744bba36c200b40f

* chore!: update to Node 14

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Sofia Leon <[email protected]>
Co-authored-by: sofisl <[email protected]>
  • Loading branch information
4 people authored Dec 5, 2023
1 parent 996d2c2 commit 81dc99b
Show file tree
Hide file tree
Showing 27 changed files with 38 additions and 47 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ build/
docs/
protos/
samples/generated/
system-test/**/fixtures
3 changes: 2 additions & 1 deletion .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
digest: sha256:e6d785d6de3cab027f6213d95ccedab4cab3811b0d3172b78db2216faa182e32
digest: sha256:abc68a9bbf4fa808b25fa16d3b11141059dc757dbc34f024744bba36c200b40f
# created: 2023-10-04T20:56:40.710775365Z
3 changes: 1 addition & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ branchProtectionRules:
requiredStatusCheckContexts:
- "ci/kokoro: Samples test"
- "ci/kokoro: System test"
- docs
- lint
- test (12)
- test (14)
- test (16)
- test (18)
- cla/google
- windows
- OwlBot Post Processor
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/common.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions .kokoro/pre-samples-test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .kokoro/pre-system-test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
5 changes: 3 additions & 2 deletions .kokoro/release/docs-devsite.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/release/docs.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/release/publish.cfg

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/samples-test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/system-test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/test.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .kokoro/test.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ also contains samples.

## Supported Node.js Versions

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
Expand Down
7 changes: 3 additions & 4 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
import synthtool.languages.node as node

node.owlbot_main(templates_excludes=[
".kokoro/continuous/node12/common.cfg",
".kokoro/presubmit/node12/common.cfg"
])
node.owlbot_main(templates_excludes=[".kokoro/presubmit/node14/system-test.cfg", ".kokoro/presubmit/node14/samples-test.cfg", ".kokoro/continuous/node14/samples-test.cfg", ".kokoro/continous/node14/system-test.cfg"],
staging_excludes=[".kokoro/presubmit/node14/system-test.cfg", ".kokoro/presubmit/node14/samples-test.cfg", ".kokoro/continuous/node14/samples-test.cfg", ".kokoro/continous/node14/system-test.cfg"],
)
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"files": [
"build/src"
],
"repository": "googleapis/nodejs-firestore-session",
"peerDependencies": {
"@google-cloud/firestore": "^6.0.0"
"@google-cloud/firestore": "^7.1.0"
},
"bugs": {
"url": "https://github.com/googleapis/nodejs-firestore-session/issues"
Expand All @@ -23,7 +23,7 @@
"lint": "gts check",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"presystem-test": "npm run compile",
"system-test": "mocha build/system-test -t 10000",
"system-test": "mocha build/system-test -t 100000",
"docs": "compodoc src/",
"test": "c8 mocha build/test",
"fix": "gts fix",
Expand All @@ -38,15 +38,15 @@
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.9",
"@google-cloud/firestore": "^6.0.0",
"@google-cloud/firestore": "^7.1.0",
"@types/express-session": "^1.17.3",
"@types/mocha": "^9.0.0",
"c8": "^7.0.0",
"c8": "^8.0.1",
"express": "^4.16.4",
"express-session": "^1.15.6",
"gts": "^3.1.0",
"gts": "^5.2.0",
"linkinator": "^4.0.0",
"mocha": "^9.2.2",
"typescript": "^4.6.4"
"typescript": "^5.2.2"
}
}
}
2 changes: 1 addition & 1 deletion samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"chai": "^4.2.0",
"gaxios": "^4.0.0",
"gaxios": "^6.1.1",
"mocha": "^8.0.0"
}
}

0 comments on commit 81dc99b

Please sign in to comment.