Skip to content

Commit

Permalink
chore: bump deps and update tsdk version to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Jul 18, 2024
1 parent 65c92b7 commit 31598cc
Show file tree
Hide file tree
Showing 16 changed files with 192 additions and 99 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This is the log of notable changes to the `tsdk` that are developer-facing.

### 0.2.0 2024/7/18

- Chore: update `xior` to latest version `0.5.3`
- Chore: update `axios` to latest version `1.7.2`

### 0.1.16 2024/5/10

- Feat: socket.io handle emit support FormData
Expand Down
2 changes: 1 addition & 1 deletion configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint": "^8.45.0",
"eslint-config-universe": "^11.3.0",
"prettier": "^2.8.8",
"@tsconfig/recommended": "^1.0.6"
"@tsconfig/recommended": "^1.0.7"
},
"eslintConfig": {
"extends": "."
Expand Down
2 changes: 1 addition & 1 deletion examples/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"utf-8-validate": "^6.0.3",
"ws": "^8.13.0",
"zod": "^3.23.7",
"hono": "^4.3.3",
"hono": "^4.5.0",
"fastify": "^4.27.0",
"@fastify/express": "^3.0.0",
"@hono/node-server": "^1.11.1",
Expand Down
12 changes: 6 additions & 6 deletions examples/server/packages/fe-sdk-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.0.0",
"main": "lib/index.js",
"scripts": {
"tsc:build": "echo 233 && tsc --project tsconfig.json",
"tsc:build": "tsc --project tsconfig.json",
"doc:build": "typedoc src/**.ts --plugin ./hover.mjs && node write-popover.mjs",
"serve": "serve docs"
},
"dependencies": {
"zod": "^3.23.7",
"axios": "^1.6.8",
"xior": "^0.5.0",
"zod": "^3.23.8",
"axios": "^1.7.2",
"xior": "^0.5.3",
"change-case": "^4.1.2",
"kysely": "^0.26.3",
"@tanstack/react-query": "^5.22.2",
Expand All @@ -19,8 +19,8 @@
},
"devDependencies": {
"typescript": "^5",
"typedoc": "^0.25.13",
"@tsconfig/recommended": "^1.0.6"
"typedoc": "^0.26.4",
"@tsconfig/recommended": "^1.0.7"
},
"peerDependencies": {
"socket.io-client": "^4.7.5"
Expand Down
4 changes: 2 additions & 2 deletions examples/server/tsdk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ module.exports = {
dependencies: {
i18next: '^23.10.1',
'intl-pluralrules': '^2.0.1',
xior: '^0.5.0',
xior: '^0.5.3',
},
scripts: {
'tsc:build': 'echo 233 && tsc --project tsconfig.json',
'tsc:build': 'tsc --project tsconfig.json',
},
};
4 changes: 2 additions & 2 deletions examples/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"react-dom": "18.2.0",
"react-native-web": "^0.19.6",
"socket.io-client": "^4.7.5",
"axios": "^1.6.8",
"xior": "^0.5.0"
"axios": "^1.7.2",
"xior": "^0.5.3"
},
"devDependencies": {
"@configs/vitest-config": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"overrides": {
"uuid": "^3.4.0",
"@babel/traverse": ">=7.23.2",
"xior": "^0.5.0"
"xior": "^0.5.3"
}
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"change-case": "^4.1.2",
"express": "^4.19.2",
"zod": "^3.23.7",
"hono": "^4.3.3",
"hono": "^4.5.0",
"@hono/node-server": "^1.11.1",
"@trpc/server": "^10.44.1",
"fastify": "^4.27.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/tsdk-server-adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tsdk-server-adapters",
"version": "0.1.16",
"version": "0.2.0",
"main": "lib/index.js",
"repository": "tsdk-monorepo/tsdk",
"bugs": "https://github.com/tsdk-monorepo/tsdk/issues",
Expand Down Expand Up @@ -34,14 +34,14 @@
"@configs/test-config": "workspace:*",
"@types/express": "^4.17.21",
"typescript": "^5",
"@tsconfig/recommended": "^1.0.6"
"@tsconfig/recommended": "^1.0.7"
},
"peerDependencies": {
"express": "^4.19.2",
"zod": "^3.23.7",
"zod": "^3.23.8",
"socket.io": "^4.7.5",
"hono": "^4.3.3",
"fastify": "^4.27.0"
"hono": "^4.5.0",
"fastify": "^4.28.1"
},
"peerDependenciesMeta": {
"express": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tsdk/fe-sdk-template/config/tsdk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ module.exports = {
/** 'xior' | 'axios'. More: https://tsdk.dev/docs/guide/tsdk.config#httplib */
httpLib: 'xior',
dependencies: {
xior: '^0.5.0',
xior: '^0.5.3',
},
};
10 changes: 5 additions & 5 deletions packages/tsdk/fe-sdk-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"serve": "serve docs"
},
"dependencies": {
"zod": "^3.23.7",
"axios": "^1.6.8",
"xior": "^0.5.0",
"zod": "^3.23.8",
"axios": "^1.7.2",
"xior": "^0.5.3",
"change-case": "^4.1.2"
},
"devDependencies": {
"typescript": "^5",
"typedoc": "^0.25.13",
"@tsconfig/recommended": "^1.0.6"
"typedoc": "^0.26.4",
"@tsconfig/recommended": "^1.0.7"
},
"peerDependencies": {
"socket.io-client": "^4.7.5"
Expand Down
2 changes: 0 additions & 2 deletions packages/tsdk/fe-sdk-template/src/shared/tsdk-helper.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { paramCase } from 'change-case';

import { ObjectLiteral } from './tsdk-types';

export * from './tsdk-types';

export const hasBodyMethods: { [key: string]: boolean | undefined } = {
Expand Down
4 changes: 2 additions & 2 deletions packages/tsdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tsdk",
"version": "0.1.16",
"version": "0.2.0",
"description": "Type-safe API development and code share tool for TypeScript projects.",
"repository": "tsdk-monorepo/tsdk",
"bugs": "https://github.com/tsdk-monorepo/tsdk/issues",
Expand Down Expand Up @@ -61,7 +61,7 @@
"webpack": "^5.91.0",
"webpack-node-externals": "^3.0.0",
"typescript": "^5",
"@tsconfig/recommended": "^1.0.6"
"@tsconfig/recommended": "^1.0.7"
},
"eslintConfig": {
"extends": [
Expand Down
Loading

0 comments on commit 31598cc

Please sign in to comment.