Skip to content

Commit

Permalink
chore: update dependencies and drop support NodeJS v14 (#16)
Browse files Browse the repository at this point in the history
* chore: bump version for @grpc/grpc-js and protobufjs

* chore: bump version for typescript and @types/node

* chore: bump version for ts-node

* chore: bump version for googleapis

* chore: bump version for ts-proto

* chore: remove dotenv

* chore: bump version for ts-jest & @types/jest

* chore: unsupport node v14

* chore: update yarn.lock

* chore: update README.md

* feat: create LICENSE file

* chore: update README.md
  • Loading branch information
htdangkhoa authored Mar 27, 2024
1 parent fad5f41 commit 4f78221
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 333 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
needs: export-google-ads-api-version
strategy:
matrix:
node: [14, 16, 18, 20]
node: [16, 18, 20]
uses: ./.github/workflows/template.yml
with:
node-version: ${{ matrix.node }}
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Khoa Huynh Tran Dang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<a href='https://coveralls.io/github/htdangkhoa/google-ads'>
<img src='https://img.shields.io/coverallsCoverage/github/htdangkhoa/google-ads?style=flat-square' alt='Coverage Status' />
</a>
<a href='https://depfu.com/github/htdangkhoa/google-ads?project_id=40063'>
<img src='https://badges.depfu.com/badges/b81badee90e335b411e120d083f3c154/count.svg' alt='depfu' />
</a>
</p>

## Usage
Expand Down Expand Up @@ -298,7 +301,7 @@ See more at [Node.js gRPC Library](https://grpc.github.io/grpc/node/module-src_c
### Prerequisites

- Protocol Buffer Compiler (protoc) version 3.0.0 or greater. The latest version can be downloaded from [here](https://grpc.io/docs/protoc-installation/)
- Node.js version 14 or greater (LTS recommended) and npm version 6 or greater. The latest version of Node.js can be downloaded from [here](https://nodejs.org/en/download/)
- Node.js version 16 or greater (LTS recommended) and npm version 8 or greater. The latest version of Node.js can be downloaded from [here](https://nodejs.org/en/download/)

### Building

Expand Down Expand Up @@ -330,4 +333,7 @@ See more at [Node.js gRPC Library](https://grpc.github.io/grpc/node/module-src_c
yarn build
```

6. Make a pull request, get it approved and merged into `main`
6. Make a pull request, get it approved and merged into `main`

## License
The code in this project is released under the [MIT License](LICENSE).
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,24 @@
"generate": "./scripts/generate.sh"
},
"dependencies": {
"@grpc/grpc-js": "^1.9.9",
"@grpc/grpc-js": "^1.10.4",
"deepmerge": "^4.3.1",
"log4js": "^6.9.1",
"protobufjs": "^7.2.5"
"protobufjs": "^7.2.6"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"coveralls-next": "^4.2.0",
"dotenv": "^16.3.1",
"glob": "^10.3.10",
"googleapis": "^128.0.0",
"googleapis": "^134.0.0",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-proto": "^1.164.0",
"typescript": "5.2.2"
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"ts-proto": "^1.170.0",
"typescript": "5.4.3"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit 4f78221

Please sign in to comment.