@contractkit/plugin-typescript 0.25.0 → 0.25.1

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,11 +1,5 @@
1
-
2
- > @contractkit/plugin-typescript@0.25.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
3
- > eslint --max-warnings=0 && pnpm run build
4
-
5
-
6
- > @contractkit/plugin-typescript@0.25.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
7
- > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
8
-
1
+ $ eslint --max-warnings=0 && pnpm run build
2
+ $ tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
9
3
  CLI Building entry: src/index.ts
10
4
  CLI Using tsconfig: tsconfig.json
11
5
  CLI tsup v8.5.1
@@ -13,7 +7,7 @@
13
7
  ESM Build start
14
8
  ESM dist/index.js 149.94 KB
15
9
  ESM dist/index.js.map 327.66 KB
16
- ESM ⚡️ Build success in 449ms
10
+ ESM ⚡️ Build success in 391ms
17
11
  DTS Build start
18
- DTS ⚡️ Build success in 5889ms
12
+ DTS ⚡️ Build success in 6137ms
19
13
  DTS dist/index.d.ts 1.82 KB
@@ -1,22 +1,19 @@
1
-
2
- > @contractkit/plugin-typescript@0.25.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
3
- > vitest run --coverage
4
-
1
+ $ vitest run --coverage
5
2
 
6
3
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
7
4
  Coverage enabled with v8
8
5
 
9
- ✓ tests/codegen-operation.test.ts (88 tests) 149ms
10
- ✓ tests/codegen-contract.test.ts (127 tests) 132ms
11
- ✓ tests/codegen-sdk.test.ts (132 tests) 175ms
6
+ ✓ tests/codegen-operation.test.ts (88 tests) 124ms
7
+ ✓ tests/codegen-contract.test.ts (127 tests) 148ms
8
+ ✓ tests/codegen-sdk.test.ts (132 tests) 176ms
12
9
  ✓ tests/codegen-plain-types.test.ts (61 tests) 34ms
13
- ✓ tests/pipeline.test.ts (25 tests) 199ms
14
- ✓ tests/codegen-server.test.ts (19 tests) 67ms
10
+ ✓ tests/codegen-server.test.ts (19 tests) 44ms
11
+ ✓ tests/pipeline.test.ts (25 tests) 126ms
15
12
 
16
13
   Test Files  6 passed (6)
17
14
   Tests  452 passed (452)
18
-  Start at  17:08:46
19
-  Duration  6.33s (transform 4.31s, setup 0ms, import 12.82s, tests 757ms, environment 9ms)
15
+  Start at  11:53:22
16
+  Duration  7.18s (transform 4.19s, setup 0ms, import 13.58s, tests 652ms, environment 1ms)
20
17
 
21
18
   % Coverage report from v8
22
19
  -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @contractkit/contractkit-plugin-typescript
2
2
 
3
+ ## 0.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a049895]
8
+ - @contractkit/core@0.19.0
9
+
3
10
  ## 0.25.0
4
11
 
5
12
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1778692133165" clover="3.2.0">
3
- <project timestamp="1778692133165" name="All files">
2
+ <coverage generated="1778846010124" clover="3.2.0">
3
+ <project timestamp="1778846010124" name="All files">
4
4
  <metrics statements="2158" coveredstatements="1783" conditionals="1639" coveredconditionals="1234" methods="400" coveredmethods="334" elements="4197" coveredelements="3351" complexity="0" loc="2158" ncloc="2158" packages="2" files="8" classes="8"/>
5
5
  <package name="src">
6
6
  <metrics statements="2112" coveredstatements="1740" conditionals="1606" coveredconditionals="1204" methods="372" coveredmethods="309"/>
@@ -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-13T17:08:53.091Z
119
+ at 2026-05-15T11:53:30.091Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -3646,7 +3646,7 @@ export function pascalToDotCase(name: string): string {
3646
3646
  <div class='footer quiet pad2 space-top1 center small'>
3647
3647
  Code coverage generated by
3648
3648
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
3649
- at 2026-05-13T17:08:53.091Z
3649
+ at 2026-05-15T11:53:30.091Z
3650
3650
  </div>
3651
3651
  <script src="../prettify.js"></script>
3652
3652
  <script>
@@ -2536,7 +2536,7 @@ function deriveTypeImportPath(file: string, template?: string): string {
2536
2536
  <div class='footer quiet pad2 space-top1 center small'>
2537
2537
  Code coverage generated by
2538
2538
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
2539
- at 2026-05-13T17:08:53.091Z
2539
+ at 2026-05-15T11:53:30.091Z
2540
2540
  </div>
2541
2541
  <script src="../prettify.js"></script>
2542
2542
  <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-13T17:08:53.091Z
985
+ at 2026-05-15T11:53:30.091Z
986
986
  </div>
987
987
  <script src="../prettify.js"></script>
988
988
  <script>
@@ -3652,7 +3652,7 @@ export function generateSdkAggregator(input: SdkAggregatorInput): string {
3652
3652
  <div class='footer quiet pad2 space-top1 center small'>
3653
3653
  Code coverage generated by
3654
3654
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
3655
- at 2026-05-13T17:08:53.091Z
3655
+ at 2026-05-15T11:53:30.091Z
3656
3656
  </div>
3657
3657
  <script src="../prettify.js"></script>
3658
3658
  <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-13T17:08:53.091Z
194
+ at 2026-05-15T11:53:30.091Z
195
195
  </div>
196
196
  <script src="../prettify.js"></script>
197
197
  <script>
@@ -2635,7 +2635,7 @@ function stableSubConfig(config: unknown): string {
2635
2635
  <div class='footer quiet pad2 space-top1 center small'>
2636
2636
  Code coverage generated by
2637
2637
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
2638
- at 2026-05-13T17:08:53.091Z
2638
+ at 2026-05-15T11:53:30.091Z
2639
2639
  </div>
2640
2640
  <script src="../prettify.js"></script>
2641
2641
  <script>
@@ -730,7 +730,7 @@ export function <span class="fstat-no" title="function not covered" >computePubl
730
730
  <div class='footer quiet pad2 space-top1 center small'>
731
731
  Code coverage generated by
732
732
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
733
- at 2026-05-13T17:08:53.091Z
733
+ at 2026-05-15T11:53:30.091Z
734
734
  </div>
735
735
  <script src="../prettify.js"></script>
736
736
  <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-13T17:08:53.091Z
580
+ at 2026-05-15T11:53:30.091Z
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-13T17:08:53.091Z
814
+ at 2026-05-15T11:53:30.091Z
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-13T17:08:53.091Z
104
+ at 2026-05-15T11:53:30.091Z
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.25.0",
3
+ "version": "0.25.1",
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.18.0"
29
+ "@contractkit/core": "0.19.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@repo/config-eslint": "0.3.1",
33
- "@repo/config-typescript": "0.1.0"
32
+ "@repo/config-typescript": "0.1.0",
33
+ "@repo/config-eslint": "0.3.1"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration",