Skip to content

Commit 5868ef2

Browse files
committed
fix: poc stats plugin
1 parent f0a2a01 commit 5868ef2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1776489
-232
lines changed

.cursor/rules/general.mdc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
description: general coding instructions
3+
globs:
4+
alwaysApply: false
5+
---
6+
have good naming instead of comments, do not add comments to the code
7+
make the code very compact
8+
when writing tests keep them small and onl write 1 test

code-pushup.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'dotenv/config';
22
import { z } from 'zod';
33
import {
4+
bundleStatsCoreConfig,
45
coverageCoreConfigNx,
56
eslintCoreConfigNx,
67
jsDocsCoreConfig,
@@ -52,4 +53,5 @@ export default mergeConfigs(
5253
'!**/implementation/**',
5354
'!**/internal/**',
5455
]),
56+
await bundleStatsCoreConfig(),
5557
);

code-pushup.preset.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type {
33
CategoryConfig,
44
CoreConfig,
55
} from './packages/models/src/index.js';
6+
import bundleStatsPlugin from './packages/plugin-bundle-stats/src/index.js';
67
import coveragePlugin, {
78
getNxCoveragePaths,
89
} from './packages/plugin-coverage/src/index.js';
@@ -203,3 +204,7 @@ export const coverageCoreConfigNx = async (
203204
categories: coverageCategories,
204205
};
205206
};
207+
208+
export const bundleStatsCoreConfig = async (): Promise<CoreConfig> => ({
209+
plugins: [await bundleStatsPlugin()],
210+
});

cpu/CPU.20250618.024632.56789.0.001.cpuprofile

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

cpu/CPU.20250618.025422.56989.0.001.cpuprofile

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

cpu/CPU.20250618.025606.57094.0.001.cpuprofile

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)