@contractkit/plugin-typescript 0.17.0 → 0.17.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,9 @@
1
-  WARN  Issue while reading "/home/runner/work/ContractKit/ContractKit/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
2
1
 
3
- > @contractkit/plugin-typescript@0.17.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
2
+ > @contractkit/plugin-typescript@0.17.1 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
4
3
  > eslint --max-warnings=0 && pnpm run build
5
4
 
6
-  WARN  Issue while reading "/home/runner/work/ContractKit/ContractKit/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
7
5
 
8
- > @contractkit/plugin-typescript@0.17.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
6
+ > @contractkit/plugin-typescript@0.17.1 build /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
9
7
  > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
10
8
 
11
9
  CLI Building entry: src/index.ts
@@ -15,7 +13,7 @@
15
13
  ESM Build start
16
14
  ESM dist/index.js 124.43 KB
17
15
  ESM dist/index.js.map 269.86 KB
18
- ESM ⚡️ Build success in 321ms
16
+ ESM ⚡️ Build success in 395ms
19
17
  DTS Build start
20
- DTS ⚡️ Build success in 5018ms
18
+ DTS ⚡️ Build success in 5140ms
21
19
  DTS dist/index.d.ts 3.44 KB
@@ -1,23 +1,22 @@
1
-  WARN  Issue while reading "/home/runner/work/ContractKit/ContractKit/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
2
1
 
3
- > @contractkit/plugin-typescript@0.17.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
2
+ > @contractkit/plugin-typescript@0.17.1 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
4
3
  > vitest run --coverage
5
4
 
6
5
 
7
6
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-typescript
8
7
  Coverage enabled with v8
9
8
 
10
- ✓ tests/codegen-operation.test.ts (88 tests) 117ms
11
- ✓ tests/codegen-contract.test.ts (122 tests) 181ms
12
- ✓ tests/codegen-sdk.test.ts (123 tests) 181ms
13
- ✓ tests/codegen-plain-types.test.ts (58 tests) 35ms
14
- ✓ tests/codegen-server.test.ts (15 tests) 19ms
15
- ✓ tests/pipeline.test.ts (25 tests) 162ms
9
+ ✓ tests/codegen-operation.test.ts (88 tests) 253ms
10
+ ✓ tests/codegen-contract.test.ts (122 tests) 275ms
11
+ ✓ tests/codegen-sdk.test.ts (123 tests) 313ms
12
+ ✓ tests/codegen-plain-types.test.ts (58 tests) 34ms
13
+ ✓ tests/codegen-server.test.ts (15 tests) 23ms
14
+ ✓ tests/pipeline.test.ts (25 tests) 97ms
16
15
 
17
16
   Test Files  6 passed (6)
18
17
   Tests  431 passed (431)
19
-  Start at  20:56:41
20
-  Duration  6.44s (transform 3.92s, setup 0ms, import 13.45s, tests 694ms, environment 1ms)
18
+  Start at  17:30:30
19
+  Duration  6.90s (transform 4.12s, setup 0ms, import 14.10s, tests 995ms, environment 1ms)
21
20
 
22
21
   % Coverage report from v8
23
22
  -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @contractkit/contractkit-plugin-typescript
2
2
 
3
+ ## 0.17.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [876696f]
8
+ - @contractkit/core@0.12.0
9
+
3
10
  ## 0.17.0
4
11
 
5
12
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1777582608382" clover="3.2.0">
3
- <project timestamp="1777582608382" name="All files">
2
+ <coverage generated="1777656637751" clover="3.2.0">
3
+ <project timestamp="1777656637751" name="All files">
4
4
  <metrics statements="1861" coveredstatements="1478" conditionals="1473" coveredconditionals="1091" methods="356" coveredmethods="292" elements="3690" coveredelements="2861" complexity="0" loc="1861" ncloc="1861" packages="2" files="8" classes="8"/>
5
5
  <package name="src">
6
6
  <metrics statements="1815" coveredstatements="1435" conditionals="1440" coveredconditionals="1061" methods="328" coveredmethods="267"/>
@@ -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-04-30T20:56:48.353Z
119
+ at 2026-05-01T17:30:37.719Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -3466,7 +3466,7 @@ export function pascalToDotCase(name: string): string {
3466
3466
  <div class='footer quiet pad2 space-top1 center small'>
3467
3467
  Code coverage generated by
3468
3468
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
3469
- at 2026-04-30T20:56:48.353Z
3469
+ at 2026-05-01T17:30:37.719Z
3470
3470
  </div>
3471
3471
  <script src="../prettify.js"></script>
3472
3472
  <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-04-30T20:56:48.353Z
2518
+ at 2026-05-01T17:30:37.719Z
2519
2519
  </div>
2520
2520
  <script src="../prettify.js"></script>
2521
2521
  <script>
@@ -886,7 +886,7 @@ function renderOutputField(field: FieldNode, outputCase: 'camel' | 'snake' | 'pa
886
886
  <div class='footer quiet pad2 space-top1 center small'>
887
887
  Code coverage generated by
888
888
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
889
- at 2026-04-30T20:56:48.353Z
889
+ at 2026-05-01T17:30:37.719Z
890
890
  </div>
891
891
  <script src="../prettify.js"></script>
892
892
  <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-04-30T20:56:48.353Z
2785
+ at 2026-05-01T17:30:37.719Z
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-04-30T20:56:48.353Z
194
+ at 2026-05-01T17:30:37.719Z
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-04-30T20:56:48.353Z
1348
+ at 2026-05-01T17:30:37.719Z
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-04-30T20:56:48.353Z
637
+ at 2026-05-01T17:30:37.719Z
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-04-30T20:56:48.353Z
580
+ at 2026-05-01T17:30:37.719Z
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-04-30T20:56:48.353Z
814
+ at 2026-05-01T17:30:37.719Z
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-04-30T20:56:48.353Z
104
+ at 2026-05-01T17:30:37.719Z
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.0",
3
+ "version": "0.17.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.11.0"
29
+ "@contractkit/core": "0.12.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",