@contractkit/plugin-bruno 1.4.1 → 1.5.1

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.1 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.5.1 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.1 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
6
+ > @contractkit/plugin-bruno@1.5.1 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 171ms
14
+ ESM dist/index.js 27.11 KB
15
+ ESM dist/index.js.map 69.67 KB
16
+ ESM ⚡️ Build success in 142ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 3959ms
18
+ DTS ⚡️ Build success in 3957ms
19
19
  DTS dist/index.d.ts 2.95 KB
@@ -1,26 +1,26 @@
1
1
 
2
- > @contractkit/plugin-bruno@1.4.1 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.5.1 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) 449ms
9
+ ✓ tests/codegen-bruno.test.ts (116 tests) 342ms
10
10
 
11
11
   Test Files  1 passed (1)
12
12
   Tests  116 passed (116)
13
-  Start at  11:16:36
14
-  Duration  6.07s (transform 1.88s, setup 0ms, import 4.36s, tests 449ms, environment 0ms)
13
+  Start at  13:02:54
14
+  Duration  5.35s (transform 1.46s, setup 0ms, import 3.92s, tests 342ms, 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,27 @@
1
1
  # @contractkit/contractkit-plugin-bruno
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [79af33b]
8
+ - @contractkit/core@0.17.0
9
+
10
+ ## 1.5.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 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.
15
+
16
+ `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.
17
+
18
+ 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.
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [4ac6d4d]
23
+ - @contractkit/core@0.16.0
24
+
3
25
  ## 1.4.1
4
26
 
5
27
  ### Patch Changes