forked from cult-of-coders/redis-oplog
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
plb666
committed
Feb 3, 2024
1 parent
336abf5
commit 24e9543
Showing
1 changed file
with
57 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,64 @@ | ||
Package.describe({ | ||
name: 'cultofcoders:redis-oplog', | ||
version: '2.3.0', | ||
// Brief, one-line summary of the package. | ||
summary: "Replacement for Meteor's MongoDB oplog implementation", | ||
// URL to the Git repository containing the source code for this package. | ||
git: 'https://github.com/cult-of-coders/redis-oplog', | ||
// By default, Meteor will default to using README.md for documentation. | ||
// To avoid submitting documentation, set this field to null. | ||
documentation: 'README.md', | ||
}) | ||
name: 'cultofcoders:redis-oplog', | ||
version: '2.3.0', | ||
// Brief, one-line summary of the package. | ||
summary: 'Replacement for Meteor\'s MongoDB oplog implementation', | ||
// URL to the Git repository containing the source code for this package. | ||
git: 'https://github.com/cult-of-coders/redis-oplog', | ||
// By default, Meteor will default to using README.md for documentation. | ||
// To avoid submitting documentation, set this field to null. | ||
documentation: 'README.md', | ||
}); | ||
|
||
Npm.depends({ | ||
redis: '3.1.2', | ||
'deep-extend': '0.6.0', | ||
'lodash.clonedeep': '4.5.0', | ||
}) | ||
redis: '3.1.2', | ||
'deep-extend': '0.6.0', | ||
'lodash.clonedeep': '4.5.0', | ||
}); | ||
|
||
Package.onUse((api) => { | ||
api.versionsFrom(['3.0-beta.0']) | ||
api.use([ | ||
'underscore', | ||
'ecmascript', | ||
'ejson', | ||
'minimongo', | ||
'mongo', | ||
'random', | ||
'ddp-server', | ||
'diff-sequence', | ||
'id-map', | ||
'mongo-id', | ||
'tracker', | ||
]) | ||
|
||
api.mainModule('redis-oplog.js', 'server') | ||
api.mainModule('redis-oplog.client.js', 'client') | ||
}) | ||
api.versionsFrom(['3.0-beta.0']); | ||
api.use([ | ||
'underscore', | ||
'ecmascript', | ||
'ejson', | ||
'minimongo', | ||
'mongo', | ||
'random', | ||
// 'ddp-server', | ||
'diff-sequence', | ||
'id-map', | ||
'mongo-id', | ||
'tracker', | ||
]); | ||
|
||
api.mainModule('redis-oplog.js', 'server'); | ||
api.mainModule('redis-oplog.client.js', 'client'); | ||
}); | ||
|
||
Package.onTest((api) => { | ||
api.use('cultofcoders:redis-oplog') | ||
|
||
// extensions | ||
api.use('aldeed:collection2') | ||
api.use('reywood:publish-composite') | ||
api.use('natestrauser:publish-performant-counts') | ||
// api.use('socialize:[email protected]'); | ||
|
||
api.use('ecmascript') | ||
api.use('tracker') | ||
api.use('mongo') | ||
api.use('random') | ||
api.use('accounts-password') | ||
api.use('matb33:collection-hooks') | ||
api.use('alanning:roles') | ||
|
||
api.use(['meteortesting:mocha']) | ||
|
||
api.mainModule('testing/main.server.js', 'server') | ||
api.addFiles('testing/publishComposite/boot.js', 'server') | ||
api.addFiles('testing/optimistic-ui/boot.js', 'server') | ||
|
||
api.mainModule('testing/main.client.js', 'client') | ||
}) | ||
api.use('cultofcoders:redis-oplog'); | ||
|
||
// extensions | ||
api.use('aldeed:collection2'); | ||
api.use('reywood:publish-composite'); | ||
api.use('natestrauser:publish-performant-counts'); | ||
// api.use('socialize:[email protected]'); | ||
|
||
api.use('ecmascript'); | ||
api.use('tracker'); | ||
api.use('mongo'); | ||
api.use('random'); | ||
api.use('accounts-password'); | ||
api.use('matb33:collection-hooks'); | ||
api.use('alanning:roles'); | ||
api.use('ddp-server'); | ||
|
||
api.use(['meteortesting:mocha']); | ||
|
||
api.mainModule('testing/main.server.js', 'server'); | ||
api.addFiles('testing/publishComposite/boot.js', 'server'); | ||
api.addFiles('testing/optimistic-ui/boot.js', 'server'); | ||
|
||
api.mainModule('testing/main.client.js', 'client'); | ||
}); |