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

Make mongodb a peer dependency #55

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
e1edcae
Add support for `mongodb@6`
sebamarynissen Jan 31, 2024
52b99f6
Use promise for `toArray()`
sebamarynissen Jan 31, 2024
937be77
Make `mongodb@6` the default
sebamarynissen Jan 31, 2024
9783325
Use various mongodb clients in tests
sebamarynissen Jan 31, 2024
a9ac53c
Fix flakey tests
sebamarynissen Jan 31, 2024
2bb883f
Restore setting up mongo on GitHub actions
sebamarynissen Jan 31, 2024
84bf56a
Run tests with various mongo versions
sebamarynissen Jan 31, 2024
6617943
Update test.yml
sebamarynissen Jan 31, 2024
df75618
Update README.md
sebamarynissen Jan 31, 2024
61340ca
Update package.json
sebamarynissen Jan 31, 2024
5f7a012
Update .gitignore
sebamarynissen Jan 31, 2024
9bc27b6
Add publish to npm workflow
sebamarynissen Jan 31, 2024
ff51fea
Update test.yml
sebamarynissen Jan 31, 2024
89f8f55
Run eslint fix
sebamarynissen Jan 31, 2024
df1bd10
Fix linting errors
sebamarynissen Jan 31, 2024
35de37a
Run less tests
sebamarynissen Jan 31, 2024
b7fcc0e
Delete docs.yml
sebamarynissen Jan 31, 2024
651dc93
Run tests for 5 and 6 again
sebamarynissen Jan 31, 2024
98a6eca
Update test.yml
sebamarynissen Jan 31, 2024
b977212
Make mongodb a peer dependency
sebamarynissen Jan 31, 2024
a441cb9
Gtfo TypeScript
sebamarynissen Jan 31, 2024
495fdf3
Add mongodb as peer dependency
sebamarynissen Jan 31, 2024
308c7ce
Require mongodb for development
sebamarynissen Jan 31, 2024
b240f8f
End the TypeScript madness plz
sebamarynissen Jan 31, 2024
ecfd5b6
Revert "End the TypeScript madness plz"
sebamarynissen Jan 31, 2024
d2bb446
Update test.yml
sebamarynissen Jan 31, 2024
bc11d10
Limit tests for `mongodb@6`
sebamarynissen Jan 31, 2024
d686a8a
Update README.md
sebamarynissen Jan 31, 2024
74f0127
Output native esm
sebamarynissen Jan 31, 2024
0d10c68
Fix tests for esm output
sebamarynissen Jan 31, 2024
206f332
Set TypeScript target to es2022 again
sebamarynissen Jan 31, 2024
d743a72
Don't rely on `import.meta.dirname`
sebamarynissen Jan 31, 2024
08bde7d
Fix linting errors
sebamarynissen Jan 31, 2024
c128f41
Update README.md
sebamarynissen Jan 31, 2024
c7a8aa3
Update README.md
sebamarynissen Jan 31, 2024
6cc0685
Update README.md
sebamarynissen Jan 31, 2024
36e6e18
Merge pull request #1 from whisthub/feature/publish-to-npm
sebamarynissen Jan 31, 2024
ec89cef
Drop ts-node as dependency
sebamarynissen Jan 31, 2024
6d3e5a9
Run `npm audit fix`
sebamarynissen Jan 31, 2024
8d3deb9
Merge pull request #2 from whisthub/feature/update-deps
sebamarynissen Jan 31, 2024
24e5d89
Update npm-publish.yml
sebamarynissen Jan 31, 2024
a3cf79e
Fix flakey tests
sebamarynissen Jan 31, 2024
3ec70e3
Merge pull request #3 from whisthub/feature/fix-npm-publish
sebamarynissen Jan 31, 2024
47419f1
Update npm-publish.yml
sebamarynissen Jan 31, 2024
859ddd6
Install dependencies before tagging
sebamarynissen Jan 31, 2024
53268e5
Merge pull request #4 from whisthub/feature/fix-npm-publish
sebamarynissen Jan 31, 2024
3942c67
Ensure type declarations end up in dist
sebamarynissen Jan 31, 2024
93d1348
Merge pull request #5 from whisthub/feature/fix-output
sebamarynissen Jan 31, 2024
64b50ac
Modify for merging upstream
sebamarynissen Feb 1, 2024
ad1e5b2
Update package.json
sebamarynissen Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
sebamarynissen authored Jan 31, 2024
commit d686a8aac42a8d234f713e782ddc525eac9cb3f8
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
**DISCLAIMER**: I **do not** intend to actively maintain this repository.
I forked it from https://github.com/hokify/agenda because I desperately needed support for [mongodb@6](https://www.npmjs.com/package/mongodb) for my website www.whisthub.com, but the original repository doesn't seem very active anymore.
Ideally this gets merged back into [@hokify/agenda](https://github.com/hokify/agenda), or even better in [agenda/agenda](https://github.com/agenda/agenda).
I forked it from https://github.com/hokify/agenda because I desperately needed support for [mongodb@6](https://www.npmjs.com/package/mongodb) for my website www.whisthub.com, and tailored it to my own needs.
Ideally this gets merged back eventuallyinto [@hokify/agenda](https://github.com/hokify/agenda), or even better in [agenda/agenda](https://github.com/agenda/agenda).

However, I *do* intend to keep this up to date with the latest version of the [mongodb](https://www.npmjs.com/package/mongodb) package, but that's all.
Agenda is a great library and I would hate to see it dying because new mongodb versions are not supported.

Key differences with the [original repo](https://github.com/hokify/agenda) are:

- MongoDB is now a peer dependency, so it must be installed separately.
- The library is only tested against version 6, but it should work for version 5 and even 4.

# Agenda

<p align="center">