Skip to content

Releases: tsdk-monorepo/tsdk

v0.1.2

20 Jan 11:27
Compare
Choose a tag to compare

fe-sdk template:

  • Chore: add incremental: true in fe-sdk template's tsconfig.json
  • Chore: add resolveJsonModule: true in fe-sdk template's tsconfig.json

v0.1.1

04 Jan 20:16
Compare
Choose a tag to compare

Breaking Change:

  • genRoute callback first two arguments swap for better experience

Before:

import {
  GetHelloConfig, GetHelloReq, GetHelloRes
} from './Hello.apiconf';
import { genRoute, type RequestInfo } from './gen-route';
 
export function setupHelloAPI() {
  genRoute<GetHelloReq, GetHelloRes>(
    GetHelloConfig,
    /** here */
    async (reqInfo: Readonly<RequestInfo>, data) => {
      return { result: `Hello ${data.world}` };
    }
  );
}

Now:

...

export function setupHelloAPI() {
  genRoute<GetHelloReq, GetHelloRes>(
    GetHelloConfig,
    /** here */
    async (data, reqInfo) => {
      return { result: `Hello ${data.world}` };
    }
  );
}

v0.0.35

04 Jan 20:12
Compare
Choose a tag to compare
  • Refactor: nest-webpack.ts improve error message
  • Fix: transform-import-path.ts with from fields process error in some case

v0.0.34

02 Jan 01:15
Compare
Choose a tag to compare
  • Refactor: nest-webpack.js monorepoRoot use config from tsdk.config.js

v0.0.33

30 Dec 20:13
Compare
Choose a tag to compare

Fix:

  • copy dir content not transform correctly when has import 'module-name';

v0.0.32

22 Dec 12:18
Compare
Choose a tag to compare

v0.0.31

18 Dec 09:36
Compare
Choose a tag to compare
  • Performance: check before run transformTypeormEntity to improve performance
  • Chore: bump React Query version to 5.14.0 from 5.10.0

v0.0.30

15 Dec 02:22
Compare
Choose a tag to compare
  • Chore: add comment to generated SWR or ReactQuery hooks

v0.0.29

12 Dec 06:00
Compare
Choose a tag to compare

Feat: respect isGet value in APIConfig