Skip to content

[Before PR] Would you accept the PR about auto update CUDA version and massive changes? #439

@mzwing

Description

@mzwing

Hi Jimver,

I made some interesting changes in my fork MZWNET/cuda-toolkit:

  1. Move the links into JSON files to allow automated updates.
  2. Add a TypeScript script in scripts/update-links to automatically check for CUDA Toolkit updates and sync them to the JSON file. I also backfilled versions down to v7.5 and restored some previously missing versions (such as v11.1.0).
  3. Leverage jiti to write the ESLint configuration in TypeScript, bringing the repository's language stats to 100% TypeScript :)
  4. Migrate to pnpm as the package manager to boost installation speed.
  5. Replace the build tool with esbuild and enabled minify option, which significantly improves build speed and reduces the bundle size.
  6. Migrate from jest to vitest as the testing framework, leading to much faster test execution and more convenient mock method.
  7. Fix several bugs in GitHub Actions (such as incorrect branch names) and added new workflows for testing.
  8. Add more test cases, improving overall test coverage.
  9. Made tests OS-agnostic to ensure they run successfully across all platforms.
  10. Add CUDA Toolkit v13.1.1 and v13.2.0.
  11. Add a GitHub Action to automatically build the dist directory, eliminating the need for manual compilation and commits.
  12. Integrate knip to detect unused dependencies and exports.
  13. Update the Node.js version to 24 LTS.
  14. Remove the usage of npx in package.json scripts.
  15. Add a typecheck command to verify TypeScript type definitions.
  16. Switch ESLint rules to @antfu/eslint-config. I also removed prettier, markdownlint, and yaml-lint since they are already handled out-of-the-box by @antfu/eslint-config.

Because these are massive changes, and some of them might not align with your preferences for the project, I'd love to hear your thoughts first instead of submitting a PR directly. You can pick and choose the changes you'd like to adopt, and you are more than welcome to check out MZWNET/cuda-toolkit directly to leave some comments.

BTW I'm not familiar with licensed, so I just delete the license check for now. I won't do that if I PR here, but I'm not sure how to fix that check, help is wanted.

Thank you so much for your great work on this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions