-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix the wrong option key * Bump 1.6.3 * add readTimeout & connectTimeout config * Bump 1.6.4 * filter the readable filed in map * fix the any convert * Bump 1.6.5 * add cast compatible * Bump 1.7.0 * add big number test case * fix the readable missing in fileform * Bump 1.7.1 * 兼容不同 tea-typescript 版本的情况下的 toMap 操作 * Bump 1.7.2 * add Action * support keepAlive config * Bump 1.7.3 * fix: htts protocol for request * Bump 1.7.4 * feat: support maxAttempts for * Bump 1.7.5 * feat: support error code and statusCode for ReuqestError * Bump 1.7.6 * feat: return description and accessDeniedDetail in error info * Bump 1.8.0 * dara typescript core v2 upgrade * delted staging file * add more test case --------- Co-authored-by: Jackson Tian <[email protected]> Co-authored-by: yndu13 <[email protected]> Co-authored-by: page <[email protected]>
- Loading branch information
1 parent
5f3c8be
commit 7979eb3
Showing
30 changed files
with
3,645 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"indent": [2, 2], | ||
"no-console": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ 1.x ] | ||
pull_request: | ||
branches: [ 1.x ] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest, macos-latest] | ||
node-version: [10.x, 12.x, 14.x] | ||
name: Node.js ${{ matrix.node-version }} Test on ${{ matrix.operating-system }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- run: npm install | ||
- run: npm run ci | ||
- name: CodeCov | ||
run: bash <(curl -s https://codecov.io/bash) -cF tea-typescript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.nyc_output/ | ||
coverage/ | ||
node_modules/ | ||
dist/ | ||
dist/ | ||
.DS_Store | ||
test/fixtures/newfile.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,45 @@ | ||
{ | ||
"name": "@darabonba/typescript", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "dist/darabonba.js", | ||
"types": "dist/darabonba.d.ts", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:aliyun/darabonba-typescript.git" | ||
"url": "[email protected]:aliyun/typescript.git" | ||
}, | ||
"license": "Apache License 2.0", | ||
"scripts": { | ||
"test": "mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts", | ||
"test": "mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts --timeout=10000", | ||
"test-cov": "nyc -e .ts -r=html -r=text -r=lcov npm run test", | ||
"ci": "npm run test-cov && codecov", | ||
"build": "tsc", | ||
"prepublishOnly": "tsc" | ||
"prepublishOnly": "tsc", | ||
"lint": "eslint . --ext .ts", | ||
"lint:fix": "eslint . --ext .ts --fix" | ||
}, | ||
"author": "Jackson Tian", | ||
"devDependencies": { | ||
"@types/mocha": "^8", | ||
"codecov": "^3.7.2", | ||
"mocha": "^8", | ||
"nyc": "^15", | ||
"source-map-support": "^0.5.19", | ||
"ts-node": "^9", | ||
"typescript": "^4" | ||
"@types/lodash": "^4.14.202", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^20.11.10", | ||
"@types/xml2js": "^0.4.14", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"codecov": "^3.6.1", | ||
"eslint": "^8.57.0", | ||
"mocha": "^6.2.0", | ||
"nyc": "^14.1.1", | ||
"source-map-support": "^0.5.13", | ||
"ts-node": "^8.4.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
"dependencies": { | ||
"@types/node": "^14", | ||
"httpx": "^2.2.6" | ||
"httpx": "^2.3.2", | ||
"lodash": "^4.17.21", | ||
"moment": "^2.30.1", | ||
"moment-timezone": "^0.5.45", | ||
"xml2js": "^0.6.2" | ||
}, | ||
"files": [ | ||
"dist", | ||
|
Oops, something went wrong.