ProjectVisBug
ProjectVisBug copied to clipboard
(maintenance) Cross platform dev environment
I couldn't get dev:extension to work on windows (it uses cp). When I tried using WSL (which does support cp), I got an error with sed.
sed: can't read s/{{NPM_VERSION}}/0.0.0/: No such file or directory
there's certainly some infra updates that could be done in the codebase to smooth out cross platform and cross IDE dev. need to block out some maintenance time. also need to update to manifest v3
Originally posted by @argyleink in https://github.com/GoogleChromeLabs/ProjectVisBug/issues/569#issuecomment-1267237851
Also (maybe unrelated):
- Running
npm installon latest version of node/npm recreates lockfile version 2 - Saving file with prettier installed in VSCode messes up formatting. Perhaps a
prettierrcor.vscode/settings.json(or both) is needed.
nice yeah, there's sed and cp and a few other unix commands in the scripts that could leverage a node package for cross platform support 👍🏻
regarding prettier, perhaps editor config's didnt age well and a migration from it to prettier could be helper. tho i think i'd go standardjs, as it's much more aligned with the style already in the repo.