Skip to content

Commit

Permalink
chore: change package name to @eggjs/rds (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored Jan 30, 2024
1 parent 0f8229f commit 73941d1
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 101 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '22 11 * * 4'

jobs:
analyze:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: CI

on:
push:
branches: [ master, 4.x ]
branches: [ master ]

pull_request:
branches: [ master, 4.x ]
branches: [ master ]

jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test-mysql.yml@master
with:
os: 'ubuntu-latest'
version: '16.17.0, 16, 18, 20'
mysql_version: '5, 8'
version: '16, 18, 20'
mysql_version: '5, 8'
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ jobs:
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
checkTest: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ npm-debug.log
coverage
lib
.eslintcache
package-lock.json
154 changes: 77 additions & 77 deletions CHANGELOG.md

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# myrds
# @eggjs/rds

[![NPM version][npm-image]][npm-url]
[![Node.js CI](https://github.com/node-modules/myrds/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/myrds/actions/workflows/nodejs.yml)
[![Node.js CI](https://github.com/node-modules/rds/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/rds/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/myrds.svg?style=flat-square
[npm-url]: https://npmjs.org/package/myrds
[codecov-image]: https://codecov.io/github/node-modules/myrds/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/node-modules/myrds?branch=master
[download-image]: https://img.shields.io/npm/dm/myrds.svg?style=flat-square
[download-url]: https://npmjs.org/package/myrds
[npm-image]: https://img.shields.io/npm/v/@eggjs/rds.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@eggjs/rds
[codecov-image]: https://codecov.io/github/node-modules/rds/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/node-modules/rds?branch=master
[download-image]: https://img.shields.io/npm/dm/@eggjs/rds.svg?style=flat-square
[download-url]: https://npmjs.org/package/@eggjs/rds

MY RDS client.
A RDS client.
RDS, Relational Database Service. Equal to well know Amazon [RDS](http://aws.amazon.com/rds/).

Support `MySQL` protocol only.
Expand All @@ -22,7 +22,7 @@ Support `MySQL` protocol only.
### Create RDS instance

```ts
import { RDSClient } from 'myrds';
import { RDSClient } from '@eggjs/rds';

const db = new RDSClient({
host: 'your-rds-address.mysql.rds.aliyuncs.com',
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "myrds",
"name": "@eggjs/rds",
"version": "1.0.0",
"description": "My RDS Client",
"main": "lib/client.js",
Expand Down Expand Up @@ -30,22 +30,25 @@
"mm": "^3.3.0",
"typescript": "^5.1.3"
},
"homepage": "https://github.com/node-modules/myrds",
"homepage": "https://github.com/node-modules/rds",
"repository": {
"type": "git",
"url": "git://github.com/node-modules/myrds.git"
"url": "git://github.com/node-modules/rds.git"
},
"bugs": {
"url": "https://github.com/node-modules/myrds/issues"
"url": "https://github.com/node-modules/rds/issues"
},
"keywords": [
"myrds",
"rds",
"mysql",
"mysql2"
],
"engines": {
"node": ">= 16.17.0"
},
"author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)",
"license": "MIT"
"license": "MIT",
"publishConfig": {
"access": "public"
}
}

0 comments on commit 73941d1

Please sign in to comment.