@contractkit/plugin-bruno 1.1.0 → 1.2.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.1.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.2.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.1.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
6
+ > @contractkit/plugin-bruno@1.2.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 21.88 KB
15
- ESM dist/index.js.map 53.25 KB
16
- ESM ⚡️ Build success in 164ms
14
+ ESM dist/index.js 22.42 KB
15
+ ESM dist/index.js.map 54.71 KB
16
+ ESM ⚡️ Build success in 130ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 4541ms
18
+ DTS ⚡️ Build success in 3824ms
19
19
  DTS dist/index.d.ts 2.52 KB
@@ -1,25 +1,25 @@
1
1
 
2
- > @contractkit/plugin-bruno@1.1.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.2.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 (100 tests) 556ms
9
+ ✓ tests/codegen-bruno.test.ts (102 tests) 424ms
10
10
 
11
11
   Test Files  1 passed (1)
12
-  Tests  100 passed (100)
13
-  Start at  19:41:31
14
-  Duration  5.27s (transform 1.13s, setup 0ms, import 3.31s, tests 556ms, environment 0ms)
12
+  Tests  102 passed (102)
13
+  Start at  19:55:22
14
+  Duration  5.19s (transform 1.36s, setup 0ms, import 3.56s, tests 424ms, environment 0ms)
15
15
 
16
16
   % Coverage report from v8
17
- -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------
18
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
- -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------
20
- All files | 85.67 | 76.97 | 86.48 | 87.38 |
21
- src | 87.14 | 76.92 | 91.83 | 88.53 |
22
- codegen-bruno.ts | 87.14 | 76.92 | 91.83 | 88.53 | 318-319,403,411,464-467,474-481,501,507,511-513,529,539,563,573-575,581-583,588,592-600,609,613
23
- tests | 75 | 77.41 | 76 | 78.94 |
24
- helpers.ts | 75 | 77.41 | 76 | 78.94 | 43-47,55-59,71,113,133,145
25
- -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------
17
+ -------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------
18
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
+ -------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------
20
+ All files | 85.82 | 76.41 | 86.84 | 87.42 |
21
+ src | 87.27 | 76.29 | 92.15 | 88.54 |
22
+ codegen-bruno.ts | 87.27 | 76.29 | 92.15 | 88.54 | 98,334-335,419,427,480-483,490-497,517,523,527-529,545,555,579,589-591,597-599,604,608-616,625,629
23
+ tests | 75 | 77.41 | 76 | 78.94 |
24
+ helpers.ts | 75 | 77.41 | 76 | 78.94 | 43-47,55-59,71,113,133,145
25
+ -------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @contractkit/contractkit-plugin-bruno
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e54256e: Sort the Bruno collection alphabetically during codegen.
8
+
9
+ Top-level folders now order by area name (with subarea as a tiebreaker), and requests within a folder order by request name. The emitted `seq:` numbers — which drive Bruno's UI ordering — line up with that alphabetical sort, regardless of the order the source `.ck` files declare operations.
10
+
3
11
  ## 1.1.0
4
12
 
5
13
  ### Minor Changes