This repository has been archived by the owner on Apr 30, 2018. It is now read-only.
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
Kamil Kisiela
committed
Dec 30, 2015
1 parent
32fcb8b
commit a5ea316
Showing
1 changed file
with
8 additions
and
9 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,24 +1,23 @@ | |||
/* global packageFix:true Package:false */ | /* global Package:false */ | ||
// package metadata file for AtmosphereJS | // package metadata file for AtmosphereJS | ||
|
|
||
try { | try { | ||
packageFix = Package | Package.describe({ | ||
|
|||
packageFix.describe({ | |||
name: 'formly:angular-formly', | name: 'formly:angular-formly', | ||
summary: 'angular-formly (official): forms for AngularJS', | summary: 'angular-formly (official): forms for AngularJS', | ||
version: '0.0.0-semantically-released.0', | version: '0.0.0-semantically-released.0', | ||
git: 'https://github.com/formly-js/angular-formly.git', | git: 'https://github.com/formly-js/angular-formly.git', | ||
}) | }) | ||
|
|
||
packageFix.onUse((api) => { | Package.onUse(function(api) { | ||
api.versionsFrom(['METEOR@1.0']) | api.versionsFrom(['METEOR@1.0']) | ||
// api-check | |||
api.use('wieldo:api-check@7.5.5') | api.use('wieldo:api-check@7.5.5') | ||
api.imply('wieldo:api-check') | |||
// angular | |||
api.use('angular:angular@1.4.0') | |||
api.addFiles('dist/formly.js', 'client') | api.addFiles('dist/formly.js', 'client') | ||
}) | }) | ||
|
|||
} catch (e) { | } catch (e) { | ||
// little workaround... | // | ||
// ghooks compiles this file and throws ReferenceError because | |||
// Package is a global variable available only in Meteor environment | |||
} | } |