我在爲自動窗體https://github.com/aldeed/meteor-autoform-bs-datetimepicker這個日期選擇器包問題和修復是另一個回購https://github.com/stefanve/meteor-autoform-bs-datetimepicker,並且超過兩次提交https://github.com/aldeed/meteor-autoform-bs-datetimepicker/compare/master...stefanve:master安裝流星包,本地或github上
我去了我的包文件夾,裏面是空的,我git克隆包含修復的回購https://github.com/stefanve/meteor-autoform-bs-datetimepicker.git
我正在關注如何在本地安裝軟件包的這篇文章說明How to modify already installed Atmosphere packages。
我試着在軟件包目錄中安裝軟件包,但發現軟件包未知的錯誤。
我試圖編輯包文件,這
Package.describe({
name: 'stefanve:autoform-bs-datetimepicker',
summary: 'Custom bootstrap-datetimepicker input type with timezone support for AutoForm',
version: '1.0.6',
git: 'https://github.com/stefanve/meteor-autoform-bs-datetimepicker.git'
});
Package.onUse(function(api) {
api.use('[email protected]');
api.use('[email protected]');
api.use('aldeed:[email protected] || 5.0.0');
// Ensure momentjs packages load before this one if used
api.use('momentjs:[email protected]', 'client', {weak: true});
api.use('mrt:[email protected]', 'client', {weak: true});
api.addFiles([
'autoform-bs-datetimepicker.html',
'autoform-bs-datetimepicker.js'
], 'client');
});
,並安裝了我的包。
問題是,流星是否安裝了我從克隆的文件或從github獲得的文件?
好主意,我會改變版本,看看。 –