@contractkit/plugin-bruno 1.3.0 → 1.4.0

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,9 +1,9 @@
1
1
 
2
- > @contractkit/plugin-bruno@1.3.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.4.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
3
3
  > eslint --max-warnings=0 && pnpm run build
4
4
 
5
5
 
6
- > @contractkit/plugin-bruno@1.3.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
6
+ > @contractkit/plugin-bruno@1.4.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
7
7
  > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
8
8
 
9
9
  CLI Building entry: src/index.ts
@@ -11,9 +11,9 @@
11
11
  CLI tsup v8.5.1
12
12
  CLI Target: esnext
13
13
  ESM Build start
14
- ESM dist/index.js 23.43 KB
15
- ESM dist/index.js.map 56.92 KB
16
- ESM ⚡️ Build success in 174ms
14
+ ESM dist/index.js 26.68 KB
15
+ ESM dist/index.js.map 68.11 KB
16
+ ESM ⚡️ Build success in 158ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 3925ms
18
+ DTS ⚡️ Build success in 4629ms
19
19
  DTS dist/index.d.ts 2.95 KB
@@ -1,26 +1,26 @@
1
1
 
2
- > @contractkit/plugin-bruno@1.3.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.4.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
3
3
  > vitest run --coverage
4
4
 
5
5
 
6
6
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
7
7
  Coverage enabled with v8
8
8
 
9
- ✓ tests/codegen-bruno.test.ts (108 tests) 207ms
9
+ ✓ tests/codegen-bruno.test.ts (116 tests) 847ms
10
10
 
11
11
   Test Files  1 passed (1)
12
-  Tests  108 passed (108)
13
-  Start at  12:37:07
14
-  Duration  5.13s (transform 1.70s, setup 0ms, import 3.83s, tests 207ms, environment 0ms)
12
+  Tests  116 passed (116)
13
+  Start at  11:09:07
14
+  Duration  6.34s (transform 1.65s, setup 0ms, import 4.34s, tests 847ms, environment 0ms)
15
15
 
16
16
   % Coverage report from v8
17
- -------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------
18
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
- -------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------
20
- All files | 78.68 | 72.17 | 82.92 | 79.46 |
21
- src | 79.11 | 71.65 | 85.96 | 79.52 |
22
- codegen-bruno.ts | 87.31 | 76.72 | 92.15 | 88.58 | 98,337-338,422,430,483-486,493-500,520,526,530-532,548,558,582,592-594,600-602,607,611-619,628,632
23
- index.ts | 26.92 | 35.89 | 33.33 | 25 | 73-178
24
- tests | 75 | 77.41 | 76 | 78.94 |
25
- helpers.ts | 75 | 77.41 | 76 | 78.94 | 43-47,55-59,71,113,133,145
26
- -------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------
17
+ -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
18
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
+ -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
20
+ All files | 80.42 | 74.46 | 81.72 | 81.26 |
21
+ src | 80.98 | 74.19 | 83.82 | 81.5 |
22
+ codegen-bruno.ts | 88.26 | 78.1 | 93.22 | 89.29 | 166,318-319,530-531,615,623,676-679,686-693,713,719,723-725,741,751,775,785-787,793-795,800,804-812,821,825
23
+ index.ts | 27.45 | 40 | 22.22 | 26.08 | 72-186
24
+ tests | 75 | 77.41 | 76 | 78.94 |
25
+ helpers.ts | 75 | 77.41 | 76 | 78.94 | 43-47,55-59,71,113,133,145
26
+ -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @contractkit/contractkit-plugin-bruno
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 10ca07b: Add per-output incremental caching to the Bruno, Python, and TypeScript plugins. Editing a single contract or operation no longer regenerates every output file — only the units whose transitive inputs actually changed are re-rendered, with the rest reused from a per-plugin manifest. `@contractkit/core` exposes the shared utility (`runIncrementalCodegen`, `parseIncrementalManifest`, `hashFingerprint`, `collectTransitiveModelRefs`, manifest types) for plugin authors. `PluginContext` gains a `cacheEnabled` flag so plugins can honor `--force` / `cache: false`.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [10ca07b]
12
+ - @contractkit/core@0.15.0
13
+
3
14
  ## 1.3.0
4
15
 
5
16
  ### Minor Changes