Skip to content

chore: remove all old and un-needed files#10584

Merged
jasonsaayman merged 7 commits into
v1.xfrom
chore/remove-old-un-needed-files-and-folders
Mar 30, 2026
Merged

chore: remove all old and un-needed files#10584
jasonsaayman merged 7 commits into
v1.xfrom
chore/remove-old-un-needed-files-and-folders

Conversation

@jasonsaayman
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman commented Mar 30, 2026

Summary by cubic

Removed legacy bin/ tooling, templates, and the old test suite. Updated build and GitHub workflow paths to scripts/*; no changes to runtime or published axios outputs.

Description

A clear and concise description of the PR.

Use this section for review hints, explanations or discussion points.

  • Summary of changes
    • Deleted obsolete bin/ utilities and templates/, and removed the legacy test/ suites.
    • Replaced bin/githubAxios.js with scripts/axios-build-instance.js and dropped colorize usage/imports.
    • Moved sponsor updater to scripts/update-readme-sponsors.mjs, fixed its import to ../index.js, and updated .github/workflows/update-sponsor-block.yml to call the new path with normalized single quotes.
    • Updated gulpfile.js to import scripts/axios-build-instance.js.
  • Reasoning
    • Clean up unmaintained tooling/tests and fix broken references to match the current v1.x layout.
  • Additional context
    • No source, exports, or dist changes; axios behavior is unchanged.

Docs

  • No user-facing docs changes.
  • CI sponsor workflow now references scripts/update-readme-sponsors.mjs.

Testing

  • No new tests; removed obsolete suites.
  • Verify CI/build succeeds, gulp tasks run via scripts/axios-build-instance.js, and the sponsor update workflow uses the new script path and completes successfully.

Written for commit 5a22319. Summary will update on new commits.

@jasonsaayman jasonsaayman self-assigned this Mar 30, 2026
@jasonsaayman jasonsaayman added priority::low A low priority issue commit::chore The PR is related to a chore labels Mar 30, 2026
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.

3 issues found across 10 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="tests/module/cjs/tests/typings.module.test.cjs">

<violation number="1" location="tests/module/cjs/tests/typings.module.test.cjs:19">
P2: This test now references `tests/module/esm/tests/helpers/cjs-typing.ts`, but that file does not exist in the repository. The CJS typings test will fail when it tries to create the temp fixture from a missing source file.</violation>
</file>

<file name="tests/module/cjs/tests/ts-require-default.module.test.cjs">

<violation number="1" location="tests/module/cjs/tests/ts-require-default.module.test.cjs:23">
P2: The updated sourcePath points to `tests/module/esm/tests/helpers/ts-require-default.ts`, but that file doesn’t exist in the repo. This will break the test setup when it tries to create the fixture. Use the existing helper path instead.</violation>
</file>

<file name="tests/module/cjs/tests/ts-require.module.test.cjs">

<violation number="1" location="tests/module/cjs/tests/ts-require.module.test.cjs:23">
P2: The new ts-require source path points to a file that doesn’t exist, so this test will fail to create the fixture. Use the existing `tests/module/cjs/tests/helpers/ts-require.ts` path instead.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread tests/module/cjs/tests/typings.module.test.cjs Outdated
Comment thread tests/module/cjs/tests/ts-require-default.module.test.cjs Outdated
Comment thread tests/module/cjs/tests/ts-require.module.test.cjs Outdated
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.

1 issue found across 8 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="tests/module/cjs/tests/helpers/cjs-typing.ts">

<violation number="1" location="tests/module/cjs/tests/helpers/cjs-typing.ts:1">
P1: `// @ts-nocheck` disables all type validation in this typing test file, undermining the purpose of the CJS typing coverage.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread tests/module/cjs/tests/helpers/cjs-typing.ts
@jasonsaayman jasonsaayman merged commit a7f41f5 into v1.x Mar 30, 2026
25 of 26 checks passed
@jasonsaayman jasonsaayman deleted the chore/remove-old-un-needed-files-and-folders branch March 30, 2026 18:15
@ndzn
Copy link
Copy Markdown

ndzn commented Mar 31, 2026

yoo bro you're hacked

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::low A low priority issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants