@contractkit/plugin-bruno 1.4.0 → 1.5.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.4.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.5.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.4.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
6
+ > @contractkit/plugin-bruno@1.5.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 26.68 KB
15
- ESM dist/index.js.map 68.11 KB
16
- ESM ⚡️ Build success in 158ms
14
+ ESM dist/index.js 27.11 KB
15
+ ESM dist/index.js.map 69.67 KB
16
+ ESM ⚡️ Build success in 154ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 4629ms
18
+ DTS ⚡️ Build success in 4860ms
19
19
  DTS dist/index.d.ts 2.95 KB
@@ -1,26 +1,26 @@
1
1
 
2
- > @contractkit/plugin-bruno@1.4.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.5.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 (116 tests) 847ms
9
+ ✓ tests/codegen-bruno.test.ts (116 tests) 332ms
10
10
 
11
11
   Test Files  1 passed (1)
12
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)
13
+  Start at  11:38:18
14
+  Duration  5.05s (transform 1.91s, setup 0ms, import 3.85s, tests 332ms, environment 0ms)
15
15
 
16
16
   % Coverage report from v8
17
17
  -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
18
18
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
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
20
+ All files | 79.78 | 74.46 | 80.85 | 80.52 |
21
+ src | 80.27 | 74.19 | 82.6 | 80.68 |
22
+ codegen-bruno.ts | 88.26 | 78.1 | 93.22 | 89.29 | 172,323-324,535-536,620,628,681-684,691-698,718,724,728-730,746,756,780,790-792,798-800,805,809-817,826,830
23
+ index.ts | 26.78 | 40 | 20 | 25.49 | 76-203
24
24
  tests | 75 | 77.41 | 76 | 78.94 |
25
25
  helpers.ts | 75 | 77.41 | 76 | 78.94 | 43-47,55-59,71,113,133,145
26
26
  -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @contractkit/contractkit-plugin-bruno
2
2
 
3
+ ## 1.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4ac6d4d: Move plugin incremental-build manifests under the CLI cache directory (default `.contractkit/cache/`, configurable via `config.cache.dir`). Bruno's `.contractkit-bruno-manifest.json` (in the bruno-collection dir), Python's `.contractkit-python-manifest.json` (in the python-sdk dir), and TypeScript's `.contractkit-typescript-manifest.json` (at rootDir) now all live as `bruno-manifest.json` / `python-manifest.json` / `typescript-manifest.json` under `ctx.cacheDir`, alongside the CLI's existing `build.json` and HTTP cache. Output dirs no longer contain build state.
8
+
9
+ `PluginContext` gains a `cacheDir: string` field. `runIncrementalCodegen` no longer takes a `manifestFilename` argument and no longer bundles the manifest into `filesToWrite` — the result's `manifest` is returned separately so plugins can persist it wherever they want. New helper `serializeIncrementalManifest(manifest)` produces the JSON form.
10
+
11
+ After upgrading, the old in-output manifests can be deleted manually (or with `--force`); plugins will simply do a full regen on the first run since they won't find a manifest at the new path.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [4ac6d4d]
16
+ - @contractkit/core@0.16.0
17
+
18
+ ## 1.4.1
19
+
20
+ ### Patch Changes
21
+
22
+ - 130d53b: Fix `stableStringify` (and therefore `hashFingerprint` / `runIncrementalCodegen`) crashing with "Do not know how to serialize a BigInt" when an AST payload contains a `bigint` default or literal. Bigints now serialize as a tagged string `"<bigint:VALUE>"` so they're stable in fingerprints and distinguishable from plain strings. `undefined` is also normalized to `null` so `{a: undefined}` and `{}` don't collide.
23
+ - Updated dependencies [130d53b]
24
+ - @contractkit/core@0.15.1
25
+
3
26
  ## 1.4.0
4
27
 
5
28
  ### Minor Changes