Skip to content

chore: remove orphaned bower support#10746

Merged
jasonsaayman merged 1 commit intoaxios:v1.xfrom
shaanmajid:chore/remove-bower-v1x
Apr 18, 2026
Merged

chore: remove orphaned bower support#10746
jasonsaayman merged 1 commit intoaxios:v1.xfrom
shaanmajid:chore/remove-bower-v1x

Conversation

@shaanmajid
Copy link
Copy Markdown
Contributor

@shaanmajid shaanmajid commented Apr 17, 2026

The bower.json manifest has been broken since #7002 (v1.12.0, Sep 2025): it declares main: ./dist/axios.js, but dist/ is no longer in git, so bower install axios against any recent tag fails to resolve its entry point. Bower itself was deprecated in 2017 (bower/bower#2298). This PR removes the orphaned manifest along with its supporting gulp task and README install instructions, making the removal of bower as a distribution channel explicit rather than silently broken.


Summary by cubic

Remove orphaned Bower support by deleting bower.json, removing the related gulp task, and dropping Bower install docs. This prevents broken bower installs and clarifies that axios is distributed via npm/yarn only.

Description

  • Summary of changes
    • Removed bower.json.
    • Dropped the gulp bower task and updated the version series and exports.
    • Renamed a release workflow step to “Run preversion” (still runs npm run preversion).
    • Removed Bower install instructions from README.md.
  • Reasoning
    • bower is deprecated, and its manifest has been broken since v1.12.0 when dist/ stopped being tracked.
    • Avoids silently broken installs and reduces maintenance.
  • Additional context
    • No impact to users installing via npm or yarn.
    • Packaging and release flows remain unchanged aside from removing Bower steps.

Testing

  • No tests were added or changed.
  • None needed: this is a docs/config cleanup with no runtime behavior changes.
  • Optional smoke check: run npm run preversion to confirm the release step still completes.

Written for commit 30d1c7a. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@jasonsaayman jasonsaayman merged commit 0a73b7c into axios:v1.x Apr 18, 2026
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::chore The PR is related to a chore priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants