craigwh10 / dependency_install_swapper

Lightweight google chrome extension which changes the install field in npmjs.com or yarnpkg.com to your preferred package manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency Install Swapper (beta)

Lightweight google chrome extension which changes the install field in npmjs.com or yarnpkg.com to your preferred package manager.

Dependency Install Swapper - Effortlessly swap package managers on npmjs & yarnpkg sites. | Product Hunt

Chrome Web Store

TS-Standard - TypeScript Standard Style Guide Security by Snyk Canny Reliability Rating Maintainability Rating Security Rating Code Smells Vulnerabilities Bugs

trimmed-git-demo.mp4

Want to raise a bug or suggestion?

Please be patient with these and add as much detail as you can, for bugs add the wrong behavior and the proper behavior in a BDD structure if possible.

Suggestions are also appreciated heavily and please again give good detail with these, also feel free to raise pull requests.

Development information

This section contains detail on how you run this application locally, as well as how you get it to show as an extension in your browser and interface with npmjs.com pages.

Running locally

yarn && yarn run:chrome start

Running in "production"

yarn && yarn run:chrome build:test

Then once the output directory is generated:

  • Go to chrome://extensions
  • Load unpacked pointing at packages/chrome/output
  • Then you should see the extension

Notes

  • Using commit-lint standards for changelog generation, so use type(scope): msg.
  • For current active requirements see scenarios.md
  • "Safety nets not guardrails" for test coverage, coverage isn't enforced but we should produce valuable tests.

Milestones

  • Converting npm to yarn commands in npm website.
  • Adding pnpm support.
  • Controlled via a toggle on the popup.
  • Improve styling of the popup
  • Infer dev dependencies based on existence of command in readme
    • With warning on missing readme detail
    • No warning if readme contains regular install
  • Added bower support
  • Ensure popup meets accessibility criteria
  • Sonarcloud setup with webhook
  • Removing logs from deploy
  • Yarnpkg support
  • SSR support (npmjs)
  • CSR support (yarnpkg)
  • Active tab switching support

Tech tasks

  • Path aliases with parcel and tsc
  • Linting (ts-standard)
  • E2E Coverage via manual runs
  • Publishing with Semver and generating distribution zips
  • Pipelines including E2E run (needs help)
  • Automated compatibility coverage
    • Firefox
    • Brave
    • Edge

About

Lightweight google chrome extension which changes the install field in npmjs.com or yarnpkg.com to your preferred package manager.


Languages

Language:TypeScript 99.4%Language:HTML 0.5%Language:JavaScript 0.0%Language:Shell 0.0%