The code to trigger a rebuild on missing extension.js added in
https://github.com/continuedev/continue/pull/3276
turns out not to be entirely reliable because esbuild sometimes
falls back to full-contents comparison rather than using the modtime.
To fix this, include a buildTimestamp file in the input, and
rewrite that when we want to trigger a rebuild.
* added try catch on newly added code to buildjs that copies node_sqlite3 to a build directory that may not exist
* fix typo extensioins -> extensions
* added new npm command to build for all platforms
* started adding code to download the ripgrep binaries, will have to finish at a later date
* - added platforms global variable
- added check for --all parameter
- moved alpine check to utils
- moved all packaging code to package()
- added links to esbuild binaries
- chaged code in IIFE to either package for all or package for target
* moved alpine config to utils
* added the code that will download the ripgrep binaries
* added npm run script package-all which will run the package-all.js script
* added package-all script which will package all major builds
* - commented out old downloadEsbuildBinary and rewrote it
- finished the downloadRipgrepBinary() and exported it
* - added back some of the old code to make this script reusable
- commented out the esbuild download and install in favor of downloading the prebuilt binary
- download the ripgrep binary
- containerized the all of the package code into package() and call it in the IIFE
* added a check for the --target flag and append it to the vsce command
* removed unused variable