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

@ -48,7 +48,6 @@ http@2.0.0
id-map@1.1.1
inter-process-messaging@0.1.1
jquery@3.0.0
konecty:mongo-counter@0.0.5_3
lmieulet:meteor-coverage@1.1.4
localstorage@1.2.0
logging@1.3.4