Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit a5ea316

Browse files
author
Kamil Kisiela
committed
chore: add meteor dependencies
1 parent 32fcb8b commit a5ea316

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

package.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
/* global packageFix:true Package:false */
1+
/* global Package:false */
22
// package metadata file for AtmosphereJS
33

44
try {
5-
packageFix = Package
6-
7-
packageFix.describe({
5+
Package.describe({
86
name: 'formly:angular-formly',
97
summary: 'angular-formly (official): forms for AngularJS',
108
version: '0.0.0-semantically-released.0',
119
git: 'https://github.com/formly-js/angular-formly.git',
1210
})
1311

14-
packageFix.onUse((api) => {
12+
Package.onUse(function(api) {
1513
api.versionsFrom(['[email protected]'])
14+
// api-check
1615
api.use('wieldo:[email protected]')
16+
api.imply('wieldo:api-check')
17+
// angular
18+
api.use('angular:[email protected]')
1719
api.addFiles('dist/formly.js', 'client')
1820
})
19-
2021
} catch (e) {
21-
// little workaround...
22-
// ghooks compiles this file and throws ReferenceError because
23-
// Package is a global variable available only in Meteor environment
22+
//
2423
}

0 commit comments

Comments
 (0)