Update dependencies and migrate to biome #3
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removes the ESLint package and project and replaces it with Biome to handle both formatting and linting.
I've modified the Biome config to use single quotes and 4 space indentation so as to minimise noise in the diff.
I tidied up the dependencies as they were quite outdated and several of them had been abandoned (mostly due to Node adopting or surpassing the functionality in modern releases).
Each of the commands runs after adding the 435 assets required - although not without some errors (not sure if that's expected / I missed some files - or - I broke something, hopefully not).
The TypeORM package needs to be updated to the latest >0.3 due to a number of security vulnerabilities. There is a breaking API change I'm not entirely sure how to resolve. You can read about it here (search for
you must explicitly define a column marked as primary
).Better-sqlite3 was a real PITA - not supporting Apple Silicon on any version officially supported by TypeORM - for this reason I had to add
legacy-peer-deps=true
to enablenpm install
to run with the latest version of the package. As far as I can tell - this works fine.