@contractkit/plugin-python 0.9.1 → 0.9.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.
@@ -1,35 +1,19 @@
1
-
2
- 
3
- > @contractkit/plugin-python@0.9.0 build:ci /Users/robert/projects/contractkit/packages/plugin-python
4
- > eslint --max-warnings=0 && pnpm run build
5
-
6
- =============
7
-
8
-
9
- WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
10
-
11
-
12
- * @typescript-eslint/typescript-estree version: 8.57.2
13
- * Supported TypeScript versions: >=4.8.4 <6.0.0
14
- * Your TypeScript version: 6.0.2
15
-
16
-
17
- Please only submit bug reports when using the officially supported version.
18
-
19
-
20
- =============
21
-
22
- > @contractkit/plugin-python@0.9.0 build /Users/robert/projects/contractkit/packages/plugin-python
23
- > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
24
-
25
- CLI Building entry: src/index.ts
26
- CLI Using tsconfig: tsconfig.json
27
- CLI tsup v8.5.1
28
- CLI Target: esnext
29
- ESM Build start
30
- ESM dist/index.js 36.84 KB
31
- ESM dist/index.js.map 76.54 KB
32
- ESM ⚡️ Build success in 46ms
33
- DTS Build start
34
- DTS ⚡️ Build success in 602ms
35
- DTS dist/index.d.ts 801.00 B
1
+
2
+ > @contractkit/plugin-python@0.9.2 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-python
3
+ > eslint --max-warnings=0 && pnpm run build
4
+
5
+
6
+ > @contractkit/plugin-python@0.9.2 build /home/runner/work/ContractKit/ContractKit/packages/plugin-python
7
+ > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
8
+
9
+ CLI Building entry: src/index.ts
10
+ CLI Using tsconfig: tsconfig.json
11
+ CLI tsup v8.5.1
12
+ CLI Target: esnext
13
+ ESM Build start
14
+ ESM dist/index.js 36.84 KB
15
+ ESM dist/index.js.map 76.54 KB
16
+ ESM ⚡️ Build success in 174ms
17
+ DTS Build start
18
+ DTS ⚡️ Build success in 3938ms
19
+ DTS dist/index.d.ts 801.00 B
@@ -1,59 +1,27 @@
1
-
2
- 
3
- > @contractkit/plugin-python@0.9.0 test:ci /Users/robert/projects/contractkit/packages/plugin-python
4
- > vitest run --coverage
5
-
6
- [?25l
7
-  RUN  v4.1.5 /Users/robert/projects/contractkit/packages/plugin-python
8
- Coverage enabled with v8
9
-
10
- [?2026h
11
-  ❯ tests/codegen-models.test.ts [queued]
12
-
13
-  Test Files 0 passed (2)
14
-  Tests 0 passed (0)
15
-  Start at 08:51:08
16
-  Duration 308ms
17
- [?2026l[?2026h
18
-  ❯ tests/codegen-client.test.ts [queued]
19
-  tests/codegen-models.test.ts [queued]
20
-
21
-  Test Files 0 passed (2)
22
-  Tests 0 passed (0)
23
-  Start at 08:51:08
24
-  Duration 410ms
25
- [?2026l[?2026h
26
-  tests/codegen-client.test.ts [queued]
27
-  ❯ tests/codegen-models.test.ts 0/32
28
-
29
-  Test Files 0 passed (2)
30
-  Tests 0 passed (32)
31
-  Start at 08:51:08
32
-  Duration 750ms
33
- [?2026l[?2026h ✓ tests/codegen-models.test.ts (32 tests) 6ms
34
-
35
-  ❯ tests/codegen-client.test.ts 0/27
36
-
37
-  Test Files 1 passed (2)
38
-  Tests 32 passed (59)
39
-  Start at 08:51:08
40
-  Duration 951ms
41
- [?2026l ✓ tests/codegen-client.test.ts (27 tests) 9ms
42
-
43
-  Test Files  2 passed (2)
44
-  Tests  59 passed (59)
45
-  Start at  08:51:08
46
-  Duration  1.04s (transform 164ms, setup 0ms, import 968ms, tests 15ms, environment 0ms)
47
-
48
-  % Coverage report from v8
49
- --------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------
50
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
51
- --------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------
52
- All files  |  82.67 |  76.92 |  85.71 |  84.75 |  
53
-  src  |  82.36 |  77.14 |  83.33 |  84.2 |  
54
-  codegen-client.ts |  82.6 |  77.92 |  86.48 |  83.33 | 60-64,139,218,225,246,331-335,345,363-364,372-373,382,405,438,442,458-465,472-473,487-507,540-541
55
-  codegen-models.ts |  82.04 |  75.97 |  79.31 |  85.32 | 51,67-68,91,108-109,137-138,145-154,159-160,166-170,194-195,245,285,307,333,347-349,353 
56
-  tests  |  86.66 |  74.19 |  92 |  92.1 |  
57
-  helpers.ts  |  86.66 |  74.19 |  92 |  92.1 | 137-141,167 
58
- --------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------
59
- [?25h
1
+
2
+ > @contractkit/plugin-python@0.9.2 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-python
3
+ > vitest run --coverage
4
+
5
+
6
+  RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-python
7
+ Coverage enabled with v8
8
+
9
+ ✓ tests/codegen-models.test.ts (32 tests) 110ms
10
+ ✓ tests/codegen-client.test.ts (27 tests) 124ms
11
+
12
+  Test Files  2 passed (2)
13
+  Tests  59 passed (59)
14
+  Start at  17:30:30
15
+  Duration  4.62s (transform 726ms, setup 0ms, import 5.91s, tests 234ms, environment 2ms)
16
+
17
+  % Coverage report from v8
18
+ -------------------|---------|----------|---------|---------|-------------------
19
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
20
+ -------------------|---------|----------|---------|---------|-------------------
21
+ All files | 82.67 | 76.92 | 85.71 | 84.75 |
22
+ src | 82.36 | 77.14 | 83.33 | 84.2 |
23
+ ...gen-client.ts | 82.6 | 77.92 | 86.48 | 83.33 | ...87-507,540-541
24
+ ...gen-models.ts | 82.04 | 75.97 | 79.31 | 85.32 | ...33,347-349,353
25
+ tests | 86.66 | 74.19 | 92 | 92.1 |
26
+ helpers.ts | 86.66 | 74.19 | 92 | 92.1 | 137-141,167
27
+ -------------------|---------|----------|---------|---------|-------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @contractkit/contractkit-plugin-python
2
2
 
3
+ ## 0.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [876696f]
8
+ - @contractkit/core@0.12.0
9
+
3
10
  ## 0.9.1
4
11
 
5
12
  ### Patch Changes
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1777467070037" clover="3.2.0">
3
- <project timestamp="1777467070037" name="All files">
2
+ <coverage generated="1777656635596" clover="3.2.0">
3
+ <project timestamp="1777656635606" name="All files">
4
4
  <metrics statements="538" coveredstatements="456" conditionals="416" coveredconditionals="320" methods="91" coveredmethods="78" elements="1045" coveredelements="854" complexity="0" loc="538" ncloc="538" packages="2" files="3" classes="3"/>
5
5
  <package name="src">
6
6
  <metrics statements="500" coveredstatements="421" conditionals="385" coveredconditionals="297" methods="66" coveredmethods="55"/>
7
- <file name="codegen-client.ts" path="/Users/robert/projects/contractkit/packages/plugin-python/src/codegen-client.ts">
7
+ <file name="codegen-client.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-python/src/codegen-client.ts">
8
8
  <metrics statements="282" coveredstatements="235" conditionals="231" coveredconditionals="180" methods="37" coveredmethods="32"/>
9
9
  <line num="28" count="2" type="stmt"/>
10
10
  <line num="29" count="2" type="stmt"/>
@@ -289,7 +289,7 @@
289
289
  <line num="567" count="35" type="stmt"/>
290
290
  <line num="577" count="1" type="stmt"/>
291
291
  </file>
292
- <file name="codegen-models.ts" path="/Users/robert/projects/contractkit/packages/plugin-python/src/codegen-models.ts">
292
+ <file name="codegen-models.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-python/src/codegen-models.ts">
293
293
  <metrics statements="218" coveredstatements="186" conditionals="154" coveredconditionals="117" methods="29" coveredmethods="23"/>
294
294
  <line num="19" count="15" type="stmt"/>
295
295
  <line num="20" count="15" type="cond" truecount="2" falsecount="0"/>
@@ -513,7 +513,7 @@
513
513
  </package>
514
514
  <package name="tests">
515
515
  <metrics statements="38" coveredstatements="35" conditionals="31" coveredconditionals="23" methods="25" coveredmethods="23"/>
516
- <file name="helpers.ts" path="/Users/robert/projects/contractkit/packages/plugin-python/tests/helpers.ts">
516
+ <file name="helpers.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-python/tests/helpers.ts">
517
517
  <metrics statements="38" coveredstatements="35" conditionals="31" coveredconditionals="23" methods="25" coveredmethods="23"/>
518
518
  <line num="59" count="116" type="stmt"/>
519
519
  <line num="63" count="65" type="stmt"/>