Replace konecty:mongo-counter with inline implementation

Remove the konecty:mongo-counter Meteor package dependency and replace
it with a minimal inline incrementCounter function using raw MongoDB
findOneAndUpdate. Also exports an async version for future Meteor 3.0
migration. No data migration needed — uses the same next_val field.
This commit is contained in:
Harry Adel 2026-03-05 05:16:40 +02:00
parent ff7729fc35
commit 3ebeac6b30
5 changed files with 30 additions and 4 deletions

View file

@ -60,7 +60,6 @@ msavin:usercache
meteorhacks:subs-manager
meteorhacks:aggregate@1.3.0
wekan-markdown
konecty:mongo-counter
quave:synced-cron
ostrio:cookies
ostrio:files@2.3.0