Skip to content

fix: remove preinstall script#1176

Merged
JounQin merged 2 commits intomasterfrom
fix/only-allow
Apr 15, 2025
Merged

fix: remove preinstall script#1176
JounQin merged 2 commits intomasterfrom
fix/only-allow

Conversation

@JounQin
Copy link
Copy Markdown
Member

@JounQin JounQin commented Apr 15, 2025

close #1175


Important

Remove preinstall script and only-allow dependency from package.json.

  • Scripts:
    • Remove preinstall script from package.json which enforced npm usage via npx only-allow npm.
  • Dependencies:
    • Remove only-allow from devDependencies in package.json.

This description was created by Ellipsis for 7a5e675. It will automatically update as commits are pushed.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2025

🦋 Changeset detected

Latest commit: 8778400

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
prettier-eslint Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 7a5e675 in 31 seconds

More details
  • Looked at 20 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 drafted comments based on config settings.
1. package.json:29
  • Draft comment:
    Removed the preinstall script causing global install errors.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50%
    This comment is purely informative, stating what was done without providing any actionable feedback or suggestions. It doesn't ask for confirmation or suggest improvements.
2. package.json:71
  • Draft comment:
    Removed the unused dependency 'only-allow' after deleting the preinstall script.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50%
    This comment is purely informative, as it simply states what was done without providing any actionable feedback or suggestions. It doesn't ask for confirmation or suggest any improvements.
3. package.json:29
  • Draft comment:
    Removal of the preinstall script is correct. This avoids invoking npx only-allow npm during global installs, which resolves the CI issue.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50%
    This comment is purely informative, as it simply states that the removal of the preinstall script resolves a CI issue. It does not provide any actionable feedback or suggestions for improvement.
4. package.json:71
  • Draft comment:
    Removing the "only-allow" dependency is appropriate since its associated preinstall script has been removed.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50%
    This comment is purely informative and does not provide any actionable feedback or suggestions. It simply states that removing a dependency is appropriate, which is not necessary for the PR author to know.

Workflow ID: wflow_Jn0g5Iq5HLwR6m6q


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (be5d049) to head (8778400).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1176   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          303       303           
  Branches        84        84           
=========================================
  Hits           303       303           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JounQin JounQin merged commit 7f8db7c into master Apr 15, 2025
4 checks passed
@JounQin JounQin deleted the fix/only-allow branch April 15, 2025 13:11
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.

v16.3.1 (which was uploaded 1 hour ago) consistently fails on the following command: npm install -g prettier-eslint-cli

2 participants