Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch ObjectID module to bson-objectid #131

Open
FossPrime opened this issue Jun 8, 2023 · 0 comments
Open

Switch ObjectID module to bson-objectid #131

FossPrime opened this issue Jun 8, 2023 · 0 comments

Comments

@FossPrime
Copy link
Contributor

FossPrime commented Jun 8, 2023

https://www.npmjs.com/package/bson-objectid

VS instead of https://www.npmjs.com/package/isomorphic-mongo-objectid

bson-objectid is clearly better in every way.

Helpful search and replace regex that works most of the time...
(import .*from '\.*/[A-z-_]*)(')
$1.js$2

That doesn't work if the file being imported is a folder... so fix those first.
tsc will be extremely helpful here, as there is no way to build if you get folder vs file wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant