Menu

Tree [9030a5] main /
 History

HTTPS access


File Date Author Commit
 .github 2023-04-16 Craig White Craig White [16210e] chore(e2e): comment out job for e2e
 .husky 2023-04-06 Craig White Craig White [7d0a15] chore(setup): initial creation
 ci-test 2023-04-16 Craig White Craig White [b74417] test(performance): extension loadtime impact tests
 docs 2023-04-13 Craig White Craig White [f775cc] chore(bdd): added and updated scenarios
 packages 2023-04-16 Craig White Craig White [eaea09] chore(performance): use custom err over static ...
 .gitignore 2023-04-16 Craig White Craig White [f85814] chore(ci): add debug for chromium path
 commitlint.config.js 2023-04-14 Craig White Craig White [1a2f35] chore(lint): added ts-standard and monorepo docs
 jest.config.js 2023-04-14 Craig White Craig White [1a2f35] chore(lint): added ts-standard and monorepo docs
 package.json 2023-04-16 Craig White Craig White [ea408e] chore(ci): set up chrome binary step and ref in...
 readme.md 2023-04-20 Craig White Craig White [9030a5] chore(readme): add links to product on readme
 tsconfig.json 2023-04-07 Craig White Craig White [bbec21] chore(aliases): reduced path length on imports
 yarn.lock 2023-04-16 Craig White Craig White [ea408e] chore(ci): set up chrome binary step and ref in...

Read Me

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

https://user-images.githubusercontent.com/53788596/231875212-64be2a2c-63a8-472c-bca6-d6dd729aee0d.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