Skip to content

Commit

Permalink
Migration 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
plb666 committed Feb 3, 2024
1 parent 336abf5 commit 24e9543
Showing 1 changed file with 57 additions and 56 deletions.
113 changes: 57 additions & 56 deletions package.js
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');
});

0 comments on commit 24e9543

Please sign in to comment.