@contractkit/plugin-typescript 0.31.0 → 0.31.2

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.
@@ -7,7 +7,7 @@ $ tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly
7
7
  ESM Build start
8
8
  ESM dist/index.js 188.58 KB
9
9
  ESM dist/index.js.map 418.71 KB
10
- ESM ⚡️ Build success in 349ms
10
+ ESM ⚡️ Build success in 405ms
11
11
  DTS Build start
12
- DTS ⚡️ Build success in 6786ms
12
+ DTS ⚡️ Build success in 6617ms
13
13
  DTS dist/index.d.ts 4.55 KB
@@ -3,19 +3,19 @@ $ 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 (128 tests) 252ms
7
- ✓ tests/codegen-sdk.test.ts (152 tests) 272ms
8
- ✓ tests/codegen-operation.test.ts (129 tests) 267ms
9
- ✓ tests/pipeline.test.ts (28 tests) 181ms
10
- ✓ tests/codegen-plain-types.test.ts (66 tests) 37ms
11
- ✓ tests/codegen-server.test.ts (25 tests) 100ms
12
- ✓ tests/codegen-mcp.test.ts (24 tests) 34ms
13
- ✓ tests/escaping-security.test.ts (18 tests) 23ms
6
+ ✓ tests/codegen-operation.test.ts (129 tests) 234ms
7
+ ✓ tests/codegen-contract.test.ts (128 tests) 148ms
8
+ ✓ tests/codegen-sdk.test.ts (152 tests) 300ms
9
+ ✓ tests/codegen-plain-types.test.ts (66 tests) 42ms
10
+ ✓ tests/codegen-server.test.ts (25 tests) 59ms
11
+ ✓ tests/pipeline.test.ts (28 tests) 307ms
12
+ ✓ tests/codegen-mcp.test.ts (24 tests) 41ms
13
+ ✓ tests/escaping-security.test.ts (18 tests) 21ms
14
14
 
15
15
   Test Files  8 passed (8)
16
16
   Tests  570 passed (570)
17
-  Start at  16:09:43
18
-  Duration  9.90s (transform 4.89s, setup 0ms, import 19.21s, tests 1.17s, environment 1ms)
17
+  Start at  13:44:24
18
+  Duration  10.83s (transform 7.37s, setup 0ms, import 22.36s, tests 1.15s, environment 1ms)
19
19
 
20
20
   % Coverage report from v8
21
21
  -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @contractkit/contractkit-plugin-typescript
2
2
 
3
+ ## 0.31.2
4
+
5
+ ### Patch Changes
6
+
7
+ - ca1c139: Declare the MIT license explicitly: every package now ships a `LICENSE` file in its published tarball and sets `"license": "MIT"` in its manifest, so license scanners and registries report the terms correctly.
8
+ - Updated dependencies [ca1c139]
9
+ - @contractkit/core@0.26.1
10
+
11
+ ## 0.31.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [ab69718]
16
+ - @contractkit/core@0.26.0
17
+
3
18
  ## 0.31.0
4
19
 
5
20
  ### Minor Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Marooned Software
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@contractkit/plugin-typescript",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "description": "ContractKit built-in plugin: TypeScript codegen (SDK clients, Koa routers, Zod schemas, plain types)",
5
+ "license": "MIT",
5
6
  "author": {
6
7
  "name": "Marooned Software",
7
8
  "url": "https://github.com/MaroonedSoftware/contractkit"
@@ -26,11 +27,11 @@
26
27
  ".": "./dist/index.js"
27
28
  },
28
29
  "dependencies": {
29
- "@contractkit/core": "0.25.0"
30
+ "@contractkit/core": "0.26.1"
30
31
  },
31
32
  "devDependencies": {
32
- "@repo/config-eslint": "0.3.1",
33
- "@repo/config-typescript": "0.1.0"
33
+ "@repo/config-typescript": "0.1.0",
34
+ "@repo/config-eslint": "0.3.1"
34
35
  },
35
36
  "scripts": {
36
37
  "build": "tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration",