Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor with typescript #12

Merged
merged 22 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "eslint-config-egg"
"extends": [
"eslint-config-egg/typescript",
"eslint-config-egg/lib/rules/enforce-node-prefix"
]
}
72 changes: 0 additions & 72 deletions .github/workflows/codeql.yml

This file was deleted.

12 changes: 4 additions & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ name: Node.js CI
on:
push:
branches:
- main
- master
- 1.x
pull_request:
branches:
- main
- master
- 1.x

jobs:
build:
Expand All @@ -22,15 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.18.0, 14, 16, 18, 20]
node-version: [16, 18, 20]
os: [ubuntu-latest]

steps:
- name: Checkout Git Source
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -52,6 +48,6 @@ jobs:
ALI_SDK_STS_ENDPOINT: ${{ secrets.ALI_SDK_STS_ENDPOINT }}

- name: Code Coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

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

jobs:
release:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ package-lock.json

es
.eslintcache

.tshy*/
dist/
12 changes: 0 additions & 12 deletions AUTHORS

This file was deleted.

54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,57 @@
### Bug Fixes

* auto release on action ([#8](https://github.com/node-modules/oss-client/issues/8)) ([e5bfe04](https://github.com/node-modules/oss-client/commit/e5bfe042163951d709c8197c136be7e9e6b9e89b))

---


1.2.2 / 2022-12-09
==================

**fixes**
* [[`fc2fb8f`](http://github.com/node-modules/oss-client/commit/fc2fb8f9d1b23d355cc8cf12f46d1df6182c6f6f)] - 🐛 FIX: try to use result code first (fengmk2 <<fengmk2@gmail.com>>)

1.2.1 / 2022-12-04
==================

**fixes**
* [[`cc2cc06`](http://github.com/node-modules/oss-client/commit/cc2cc065ede44d5d40120b4877dfa85e25cd0199)] - 🐛 FIX: object.list type define (#7) (fengmk2 <<fengmk2@gmail.com>>)

1.2.0 / 2022-12-04
==================

**features**
* [[`a9ad395`](http://github.com/node-modules/oss-client/commit/a9ad39539889f083e0d7671ca19ecc1b263eed74)] - 📦 NEW: Try to use ctx.httpclient first (#6) (fengmk2 <<fengmk2@gmail.com>>)

1.1.1 / 2022-12-04
==================

**fixes**
* [[`38cebaa`](http://github.com/node-modules/oss-client/commit/38cebaa9f5868d67530cc34ef3cdb4023b9d3a1f)] - 🐛 FIX: Should add oss-interface to dependencies (#5) (fengmk2 <<fengmk2@gmail.com>>)

**others**
* [[`301b0a2`](http://github.com/node-modules/oss-client/commit/301b0a2a3fa9af2ce85e093747f59c8f677dded1)] - 🤖 TEST: Test enable parallel (#4) (fengmk2 <<fengmk2@gmail.com>>)

1.1.0 / 2022-10-27
==================

**features**
* [[`79b6302`](http://github.com/node-modules/oss-client/commit/79b6302b77bfabfc2750a5c5d48b4059cb04ac78)] - 📦 NEW: Add d.ts and IObjectSimple Client define (#3) (fengmk2 <<fengmk2@gmail.com>>)

**others**
* [[`8d9e935`](http://github.com/node-modules/oss-client/commit/8d9e935ee530ebd9477e6334991465ff59a75b4b)] - 📖 DOC: Remove browser document content (fengmk2 <<fengmk2@gmail.com>>)

1.0.1 / 2022-10-23
==================

**fixes**
* [[`e7b229f`](http://github.com/node-modules/oss-client/commit/e7b229f839925ff7a8069834b73fe34789e5e00f)] - 🐛 FIX: ClusterClient use class style (fengmk2 <<fengmk2@gmail.com>>)

1.0.0 / 2022-10-23
==================

**features**
* [[`fe3e2c1`](http://github.com/node-modules/oss-client/commit/fe3e2c1a119ffd3b8a8c77ab6b38ee545c14fb59)] - 👌 IMPROVE: Remove unuse ts files (#2) (fengmk2 <<fengmk2@gmail.com>>),fatal: No names found, cannot describe anything.

**others**

51 changes: 0 additions & 51 deletions History.md

This file was deleted.

Loading
Loading