@contractkit/plugin-typescript 0.17.4 → 0.17.5

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.
@@ -1,9 +1,9 @@
1
1
 
2
- > @contractkit/plugin-typescript@0.17.4 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
2
+ > @contractkit/plugin-typescript@0.17.5 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
3
3
  > eslint --max-warnings=0 && pnpm run build
4
4
 
5
5
 
6
- > @contractkit/plugin-typescript@0.17.4 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
6
+ > @contractkit/plugin-typescript@0.17.5 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
7
7
  > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
8
8
 
9
9
  CLI Building entry: src/index.ts
@@ -13,7 +13,7 @@
13
13
  ESM Build start
14
14
  ESM dist/index.js 126.39 KB
15
15
  ESM dist/index.js.map 274.93 KB
16
- ESM ⚡️ Build success in 216ms
16
+ ESM ⚡️ Build success in 349ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 5850ms
18
+ DTS ⚡️ Build success in 5193ms
19
19
  DTS dist/index.d.ts 3.44 KB
@@ -1,22 +1,22 @@
1
1
 
2
- > @contractkit/plugin-typescript@0.17.4 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
2
+ > @contractkit/plugin-typescript@0.17.5 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
3
3
  > vitest run --coverage
4
4
 
5
5
 
6
6
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
7
7
  Coverage enabled with v8
8
8
 
9
- ✓ tests/codegen-operation.test.ts (88 tests) 98ms
10
- ✓ tests/codegen-contract.test.ts (124 tests) 242ms
11
- ✓ tests/codegen-sdk.test.ts (123 tests) 282ms
12
- ✓ tests/codegen-plain-types.test.ts (61 tests) 45ms
13
- ✓ tests/codegen-server.test.ts (15 tests) 22ms
14
- ✓ tests/pipeline.test.ts (25 tests) 120ms
9
+ ✓ tests/codegen-contract.test.ts (124 tests) 98ms
10
+ ✓ tests/codegen-operation.test.ts (88 tests) 134ms
11
+ ✓ tests/codegen-sdk.test.ts (123 tests) 127ms
12
+ ✓ tests/codegen-server.test.ts (15 tests) 26ms
13
+ ✓ tests/codegen-plain-types.test.ts (61 tests) 38ms
14
+ ✓ tests/pipeline.test.ts (25 tests) 185ms
15
15
 
16
16
   Test Files  6 passed (6)
17
17
   Tests  436 passed (436)
18
-  Start at  15:55:13
19
-  Duration  6.81s (transform 3.80s, setup 0ms, import 13.43s, tests 808ms, environment 1ms)
18
+  Start at  12:37:07
19
+  Duration  6.66s (transform 3.78s, setup 0ms, import 13.89s, tests 608ms, environment 9ms)
20
20
 
21
21
   % Coverage report from v8
22
22
  -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @contractkit/contractkit-plugin-typescript
2
2
 
3
+ ## 0.17.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a9e9ec0]
8
+ - @contractkit/core@0.14.0
9
+
3
10
  ## 0.17.4
4
11
 
5
12
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1777996520460" clover="3.2.0">
3
- <project timestamp="1777996520460" name="All files">
2
+ <coverage generated="1778071034513" clover="3.2.0">
3
+ <project timestamp="1778071034513" name="All files">
4
4
  <metrics statements="1891" coveredstatements="1508" conditionals="1503" coveredconditionals="1119" methods="360" coveredmethods="297" elements="3754" coveredelements="2924" complexity="0" loc="1891" ncloc="1891" packages="2" files="8" classes="8"/>
5
5
  <package name="src">
6
6
  <metrics statements="1845" coveredstatements="1465" conditionals="1470" coveredconditionals="1089" methods="332" coveredmethods="272"/>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2026-05-05T15:55:20.433Z
119
+ at 2026-05-06T12:37:14.475Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -3598,7 +3598,7 @@ export function pascalToDotCase(name: string): string {
3598
3598
  <div class='footer quiet pad2 space-top1 center small'>
3599
3599
  Code coverage generated by
3600
3600
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
3601
- at 2026-05-05T15:55:20.433Z
3601
+ at 2026-05-06T12:37:14.475Z
3602
3602
  </div>
3603
3603
  <script src="../prettify.js"></script>
3604
3604
  <script>
@@ -2515,7 +2515,7 @@ function deriveTypeImportPath(file: string, template?: string): string {
2515
2515
  <div class='footer quiet pad2 space-top1 center small'>
2516
2516
  Code coverage generated by
2517
2517
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
2518
- at 2026-05-05T15:55:20.433Z
2518
+ at 2026-05-06T12:37:14.475Z
2519
2519
  </div>
2520
2520
  <script src="../prettify.js"></script>
2521
2521
  <script>
@@ -982,7 +982,7 @@ function renderOutputField(field: FieldNode, outputCase: 'camel' | 'snake' | 'pa
982
982
  <div class='footer quiet pad2 space-top1 center small'>
983
983
  Code coverage generated by
984
984
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
985
- at 2026-05-05T15:55:20.433Z
985
+ at 2026-05-06T12:37:14.475Z
986
986
  </div>
987
987
  <script src="../prettify.js"></script>
988
988
  <script>
@@ -2782,7 +2782,7 @@ export function generateSdkAggregator(clients: SdkClientInfo[], sdkOptionsImport
2782
2782
  <div class='footer quiet pad2 space-top1 center small'>
2783
2783
  Code coverage generated by
2784
2784
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
2785
- at 2026-05-05T15:55:20.433Z
2785
+ at 2026-05-06T12:37:14.475Z
2786
2786
  </div>
2787
2787
  <script src="../prettify.js"></script>
2788
2788
  <script>
@@ -191,7 +191,7 @@
191
191
  <div class='footer quiet pad2 space-top1 center small'>
192
192
  Code coverage generated by
193
193
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
194
- at 2026-05-05T15:55:20.433Z
194
+ at 2026-05-06T12:37:14.475Z
195
195
  </div>
196
196
  <script src="../prettify.js"></script>
197
197
  <script>
@@ -1345,7 +1345,7 @@ export function createTypescriptPlugin(config: TypescriptPluginConfig, rootDir:
1345
1345
  <div class='footer quiet pad2 space-top1 center small'>
1346
1346
  Code coverage generated by
1347
1347
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1348
- at 2026-05-05T15:55:20.433Z
1348
+ at 2026-05-06T12:37:14.475Z
1349
1349
  </div>
1350
1350
  <script src="../prettify.js"></script>
1351
1351
  <script>
@@ -634,7 +634,7 @@ export function <span class="fstat-no" title="function not covered" >computePubl
634
634
  <div class='footer quiet pad2 space-top1 center small'>
635
635
  Code coverage generated by
636
636
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
637
- at 2026-05-05T15:55:20.433Z
637
+ at 2026-05-06T12:37:14.475Z
638
638
  </div>
639
639
  <script src="../prettify.js"></script>
640
640
  <script>
@@ -577,7 +577,7 @@ export function renderOutputTsType(type: ContractTypeNode, modelsWithOutput?: Se
577
577
  <div class='footer quiet pad2 space-top1 center small'>
578
578
  Code coverage generated by
579
579
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
580
- at 2026-05-05T15:55:20.433Z
580
+ at 2026-05-06T12:37:14.475Z
581
581
  </div>
582
582
  <script src="../prettify.js"></script>
583
583
  <script>
@@ -811,7 +811,7 @@ operation /users/{id}: {
811
811
  <div class='footer quiet pad2 space-top1 center small'>
812
812
  Code coverage generated by
813
813
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
814
- at 2026-05-05T15:55:20.433Z
814
+ at 2026-05-06T12:37:14.475Z
815
815
  </div>
816
816
  <script src="../prettify.js"></script>
817
817
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at 2026-05-05T15:55:20.433Z
104
+ at 2026-05-06T12:37:14.475Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractkit/plugin-typescript",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "ContractKit built-in plugin: TypeScript codegen (SDK clients, Koa routers, Zod schemas, plain types)",
5
5
  "author": {
6
6
  "name": "Marooned Software",
@@ -26,11 +26,11 @@
26
26
  ".": "./dist/index.js"
27
27
  },
28
28
  "dependencies": {
29
- "@contractkit/core": "0.13.0"
29
+ "@contractkit/core": "0.14.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@repo/config-typescript": "0.1.0",
33
- "@repo/config-eslint": "0.3.1"
32
+ "@repo/config-eslint": "0.3.1",
33
+ "@repo/config-typescript": "0.1.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration",