Skip to content

Commit

Permalink
Meteor Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sviande committed Sep 22, 2021
1 parent 1976b6e commit 7d1ae76
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ Package.describe({
git: "https://github.com/meteorhacks/zones.git"
});

Package.on_use(function (api) {
Package.onUse(function (api) {
addPackageFiles(api);
api.export('Zones', 'server');
});

Package.on_test(function (api) {
Package.onTest(function (api) {
addPackageFiles(api);

api.use([
'tinytest',
'test-helpers',
], 'client');

api.add_files([
api.addFiles([
'tests/_both.js'
], ['client', 'server']);

api.add_files([
api.addFiles([
'tests/_server.js'
], 'server');

api.add_files([
api.addFiles([
'tests/loader.js',
'tests/reporters.js',
'tests/hijacks/methods.js',
Expand All @@ -46,7 +46,7 @@ function addPackageFiles(api) {
api.use('inject-initial');
}

api.add_files([
api.addFiles([
'assets/utils.js',
'assets/before.js',
'assets/zone.js',
Expand All @@ -55,9 +55,9 @@ function addPackageFiles(api) {
'assets/tracer.js',
], 'client', {isAsset: true});

api.add_files(['server/inject.js'], 'server');
api.addFiles(['server/inject.js'], 'server');

api.add_files([
api.addFiles([
'client/hijack.js'
], 'client');

Expand Down

0 comments on commit 7d1ae76

Please sign in to comment.