@contractkit/plugin-typescript 0.25.2 → 0.25.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,9 +5,9 @@ $ tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly
5
5
  CLI tsup v8.5.1
6
6
  CLI Target: esnext
7
7
  ESM Build start
8
- ESM dist/index.js 149.94 KB
9
- ESM dist/index.js.map 327.66 KB
10
- ESM ⚡️ Build success in 332ms
8
+ ESM dist/index.js 150.24 KB
9
+ ESM dist/index.js.map 328.17 KB
10
+ ESM ⚡️ Build success in 444ms
11
11
  DTS Build start
12
- DTS ⚡️ Build success in 6236ms
12
+ DTS ⚡️ Build success in 6175ms
13
13
  DTS dist/index.d.ts 1.82 KB
@@ -3,26 +3,26 @@ $ vitest run --coverage
3
3
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
4
4
  Coverage enabled with v8
5
5
 
6
- ✓ tests/codegen-contract.test.ts (127 tests) 156ms
7
- ✓ tests/codegen-operation.test.ts (88 tests) 178ms
8
- ✓ tests/codegen-sdk.test.ts (132 tests) 149ms
9
- ✓ tests/codegen-server.test.ts (19 tests) 53ms
10
- ✓ tests/codegen-plain-types.test.ts (61 tests) 35ms
11
- ✓ tests/pipeline.test.ts (25 tests) 125ms
6
+ ✓ tests/codegen-sdk.test.ts (132 tests) 231ms
7
+ ✓ tests/codegen-operation.test.ts (88 tests) 186ms
8
+ ✓ tests/codegen-contract.test.ts (127 tests) 163ms
9
+ ✓ tests/codegen-server.test.ts (19 tests) 90ms
10
+ ✓ tests/codegen-plain-types.test.ts (61 tests) 63ms
11
+ ✓ tests/pipeline.test.ts (25 tests) 242ms
12
12
 
13
13
   Test Files  6 passed (6)
14
14
   Tests  452 passed (452)
15
-  Start at  20:26:30
16
-  Duration  7.21s (transform 5.44s, setup 0ms, import 14.56s, tests 696ms, environment 1ms)
15
+  Start at  13:07:26
16
+  Duration  7.02s (transform 3.96s, setup 0ms, import 13.06s, tests 975ms, environment 1ms)
17
17
 
18
18
   % Coverage report from v8
19
19
  -------------------|---------|----------|---------|---------|-------------------
20
20
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
21
21
  -------------------|---------|----------|---------|---------|-------------------
22
- All files | 80.01 | 75.28 | 83.5 | 82.62 |
23
- src | 79.79 | 74.96 | 83.06 | 82.38 |
22
+ All files | 80.04 | 75.34 | 83.66 | 82.63 |
23
+ src | 79.83 | 75.03 | 83.24 | 82.4 |
24
24
  ...n-contract.ts | 87.92 | 82.7 | 90.08 | 89.06 | ...1085,1090-1091
25
- ...-operation.ts | 78.18 | 74.26 | 77.77 | 79.75 | ...75-686,691-692
25
+ ...-operation.ts | 78.37 | 74.56 | 78.94 | 79.85 | ...77-688,693-694
26
26
  ...lain-types.ts | 89.08 | 78.37 | 96.66 | 92.3 | ...31,243,249,301
27
27
  codegen-sdk.ts | 88.09 | 82.56 | 87.32 | 91.32 | ...1108-1109,1112
28
28
  index.ts | 60.23 | 47.91 | 63.04 | 65.37 | ...08-811,827-846
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @contractkit/contractkit-plugin-typescript
2
2
 
3
+ ## 0.25.4
4
+
5
+ ### Patch Changes
6
+
7
+ - c5e74a3: Emit the missing `import { MultipartBody } from '@maroonedsoftware/multipart'` in generated Koa routers when an operation declares a `multipart/form-data` request body.
8
+
9
+ ## 0.25.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 5da85ca: Stop emitting `await next()` at the end of generated Koa route handlers — route handlers are the terminus of the middleware chain.
14
+
3
15
  ## 0.25.2
4
16
 
5
17
  ### Patch Changes