Skip to content

Add pnpm enforcement and config#182

Merged
Olmo Maldonado (ibolmo) merged 1 commit intomainfrom
sec-disallow-npm
Apr 2, 2026
Merged

Add pnpm enforcement and config#182
Olmo Maldonado (ibolmo) merged 1 commit intomainfrom
sec-disallow-npm

Conversation

@ibolmo
Copy link
Copy Markdown
Collaborator

Introduces a GitHub Actions workflow to reject pull requests containing package-lock.json.
Adds an .npmrc file to enforce strict engine versions. Modifies package.json to include a preinstall script that checks for pnpm usage and sets up devEngines to specify the required package manager.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Braintrust eval report

Autoevals (sec-disallow-npm-1775006180)

Score Average Improvements Regressions
NumericDiff 79.3% (+2pp) 11 🟢 7 🔴
Time_to_first_token 9.21tok (-0.62tok) 69 🟢 50 🔴
Llm_calls 1.09 (+0) - -
Tool_calls 0 (+0) - -
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 317.7tok (+0tok) - -
Prompt_cached_tokens 0tok (+0tok) - -
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 247.89tok (-5.32tok) 55 🟢 54 🔴
Completion_reasoning_tokens 0tok (+0tok) - -
Total_tokens 565.59tok (-5.32tok) 55 🟢 54 🔴
Estimated_cost 0$ (0$) 54 🟢 51 🔴
Duration 8.86s (-0.57s) 125 🟢 94 🔴
Llm_duration 10.56s (-0.64s) 70 🟢 49 🔴

Introduces a GitHub Actions workflow to reject pull requests containing
`package-lock.json`.
Adds an `.npmrc` file to enforce strict engine versions.
Modifies `package.json` to include a `preinstall` script that checks for
`pnpm` usage and sets up `devEngines` to specify the required package
manager.
@ibolmo Olmo Maldonado (ibolmo) merged commit 398ded6 into main Apr 2, 2026
11 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Braintrust eval report

Autoevals (main-1775092262)

Score Average Improvements Regressions
NumericDiff 78.9% (0pp) 11 🟢 7 🔴
Time_to_first_token 8.61tok (+0.1tok) 55 🟢 63 🔴
Llm_calls 1.09 (+0) - -
Tool_calls 0 (+0) - -
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 316.56tok (-1.14tok) 1 🟢 -
Prompt_cached_tokens 0tok (+0tok) - -
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 246.1tok (+3.22tok) 54 🟢 45 🔴
Completion_reasoning_tokens 0tok (+0tok) - -
Total_tokens 562.65tok (+2.08tok) 54 🟢 45 🔴
Estimated_cost 0$ (+0$) 46 🟢 41 🔴
Duration 8.86s (+0.24s) 90 🟢 128 🔴
Llm_duration 9.98s (-0.24s) 54 🟢 64 🔴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants