@contractkit/openapi-to-ck 0.10.0 → 0.10.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.
@@ -9,10 +9,10 @@ $ tsup src/index.ts src/plugin.ts --format esm --sourcemap --dts && tsc --emitDe
9
9
  ESM dist/plugin.js 2.51 KB
10
10
  ESM dist/chunk-JPI3AQ7V.js 51.50 KB
11
11
  ESM dist/index.js.map 71.00 B
12
- ESM dist/plugin.js.map 4.95 KB
13
12
  ESM dist/chunk-JPI3AQ7V.js.map 120.62 KB
14
- ESM ⚡️ Build success in 200ms
13
+ ESM dist/plugin.js.map 4.95 KB
14
+ ESM ⚡️ Build success in 233ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 8418ms
16
+ DTS ⚡️ Build success in 8144ms
17
17
  DTS dist/index.d.ts 9.00 KB
18
18
  DTS dist/plugin.d.ts 128.00 B
@@ -3,17 +3,17 @@ $ vitest run --coverage
3
3
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/openapi-to-ck
4
4
  Coverage enabled with v8
5
5
 
6
- ✓ tests/schema-to-ast.test.ts (36 tests) 104ms
7
- ✓ tests/normalize.test.ts (6 tests) 64ms
8
- ✓ tests/ast-to-ck.test.ts (45 tests) 180ms
9
- ✓ tests/tag-splitter.test.ts (5 tests) 60ms
10
- ✓ tests/convert.test.ts (17 tests) 155ms
11
- ✓ tests/circular-refs.test.ts (8 tests) 12ms
6
+ ✓ tests/schema-to-ast.test.ts (36 tests) 99ms
7
+ ✓ tests/normalize.test.ts (6 tests) 60ms
8
+ ✓ tests/tag-splitter.test.ts (5 tests) 67ms
9
+ ✓ tests/ast-to-ck.test.ts (45 tests) 217ms
10
+ ✓ tests/convert.test.ts (17 tests) 238ms
11
+ ✓ tests/circular-refs.test.ts (8 tests) 18ms
12
12
 
13
13
   Test Files  6 passed (6)
14
14
   Tests  117 passed (117)
15
-  Start at  16:09:44
16
-  Duration  6.07s (transform 3.31s, setup 0ms, import 9.03s, tests 574ms, environment 4ms)
15
+  Start at  13:44:24
16
+  Duration  6.95s (transform 3.45s, setup 0ms, import 10.33s, tests 700ms, environment 1ms)
17
17
 
18
18
   % Coverage report from v8
19
19
  -------------------|---------|----------|---------|---------|-------------------------------------------------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @contractkit/openapi-to-ck
2
2
 
3
+ ## 0.10.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.10.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [ab69718]
16
+ - @contractkit/core@0.26.0
17
+
3
18
  ## 0.10.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/openapi-to-ck",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Convert OpenAPI specs (2.0/3.0/3.1) to Contract Kit .ck files",
5
+ "license": "MIT",
5
6
  "author": {
6
7
  "name": "Marooned Software",
7
8
  "url": "https://github.com/MaroonedSoftware/contractkit"
@@ -29,11 +30,11 @@
29
30
  "dependencies": {
30
31
  "@scalar/openapi-parser": "^0.26.1",
31
32
  "yaml": "^2.8.3",
32
- "@contractkit/core": "0.25.0"
33
+ "@contractkit/core": "0.26.1"
33
34
  },
34
35
  "devDependencies": {
35
- "@repo/config-eslint": "0.3.1",
36
- "@repo/config-typescript": "0.1.0"
36
+ "@repo/config-typescript": "0.1.0",
37
+ "@repo/config-eslint": "0.3.1"
37
38
  },
38
39
  "scripts": {
39
40
  "build": "tsup src/index.ts src/plugin.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration",