Skip to content

Add p alias for pnpm#6896

Merged
gonzaloriestra merged 18 commits intomainfrom
add-p-alias-for-pnpm
Feb 26, 2026
Merged

Add p alias for pnpm#6896
gonzaloriestra merged 18 commits intomainfrom
add-p-alias-for-pnpm

Conversation

@gonzaloriestra
Copy link
Contributor

WHY are these changes introduced?

In #6820 the p alias for pnpm command was removed

WHAT is this pull request doing?

Adds the alias back, as some of us are clumsy and were used to it.

It's added as a bin script as part of dev up, and it only works in this repo.

How to test your changes?

  • dev up
  • p lint

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

dependabot bot and others added 3 commits February 26, 2026 10:01
Bumps the oclif group with 1 update in the / directory: [oclif](https://github.com/oclif/oclif).


Updates `oclif` from 4.22.73 to 4.22.81
- [Release notes](https://github.com/oclif/oclif/releases)
- [Changelog](https://github.com/oclif/oclif/blob/main/CHANGELOG.md)
- [Commits](oclif/oclif@4.22.73...4.22.81)

---
updated-dependencies:
- dependency-name: oclif
  dependency-version: 4.22.81
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: oclif
...

Signed-off-by: dependabot[bot] <support@github.com>
@gonzaloriestra gonzaloriestra marked this pull request as ready for review February 26, 2026 10:19
@gonzaloriestra gonzaloriestra requested a review from a team as a code owner February 26, 2026 10:19
@github-actions
Copy link
Contributor

We detected some changes at packages/*/src and there are no updates in the .changeset.
If the changes are user-facing, run pnpm changeset add to track your changes and include them in the next release CHANGELOG.

Caution

DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 78.78% 14490/18392
🟡 Branches 73.11% 7203/9852
🟡 Functions 79.01% 3686/4665
🟡 Lines 79.12% 13698/17312

Test suite run success

3768 tests passing in 1448 suites.

Report generated by 🧪jest coverage report action from 0fe16e5

buggyFunction(otherVersion: string): boolean {
if (otherVersion === null) {
return false
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Impossible null-check on string parameter in buggyFunction

buggyFunction declares otherVersion: string, but then checks if (otherVersion === null). In TypeScript, string cannot be null (unless strictNullChecks is off or the caller uses any). This is dead code or indicates the parameter type is wrong. With strictNullChecks/lint rules, this can be flagged and break CI; without it, the check still doesn’t protect against undefined.

return true
}

return CLI_KIT_VERSION > otherVersion

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version comparison uses lexicographic string > instead of semver

return CLI_KIT_VERSION > otherVersion compares version strings lexicographically, not semver. Example: "10.0.0" > "9.9.9" is false lexicographically because '1' < '9' at the first character. This will produce incorrect results for many versions if used for gating behavior.

@binks-code-reviewer
Copy link

binks-code-reviewer bot commented Feb 26, 2026

🤖 Code Review · #projects-dev-ai for questions
React with 👍/👎 or reply — all feedback helps improve the agent.

Complete - 1 findings

📋 History

✅ 2 findings → ✅ 2 findings → ✅ No issues → ✅ 1 findings → ✅ No issues → ✅ 1 findings → ✅ No issues → ✅ 1 findings

@github-actions
Copy link
Contributor

Differences in type declarations

We detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:

  • Some seemingly private modules might be re-exported through public modules.
  • If the branch is behind main you might see odd diffs, rebase main into this branch.

New type declarations

We found no new type declarations in this PR

Existing type declarations

packages/cli-kit/dist/private/node/testing/ui.d.ts
@@ -45,7 +45,6 @@ export declare function waitForInputsToBeReady(): Promise<unknown>;
  * Wait for the last frame to change to anything.
  */
 export declare function waitForChange(func: () => void, getChangingValue: () => string | number | undefined): Promise<void>;
-export declare function waitFor(func: () => void, condition: () => boolean): Promise<void>;
 /**
  * Wait for the last frame to contain specific text.
  */

"**/{commands,hooks}/**/*.ts!",
"**/public/**/*.{ts,tsx}!"
"**/public/**/*.{ts,tsx}!",
"bin/**/*.ts"
Copy link
Contributor Author

@gonzaloriestra gonzaloriestra Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated changes to fix knip

@gonzaloriestra gonzaloriestra added this pull request to the merge queue Feb 26, 2026
Merged via the queue into main with commit dfa66e1 Feb 26, 2026
24 checks passed
@gonzaloriestra gonzaloriestra deleted the add-p-alias-for-pnpm branch February 26, 2026 12:55
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