kopia lustrzana https://github.com/c9/core
added some more templates
rodzic
7fc4048213
commit
68de616dab
|
@ -85,7 +85,9 @@ define(function(require, exports, module) {
|
|||
};
|
||||
var TEMPLATES = {
|
||||
"plugin.simple": "Empty Plugin",
|
||||
"plugin.default": "Full Plugin"
|
||||
"plugin.default": "Full Plugin",
|
||||
"plugin.installer": "Installer Plugin",
|
||||
"plugin.bundle": "Cloud9 Bundle"
|
||||
};
|
||||
|
||||
// @TODO add sorting
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
This is the Cloud9 bundle example
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "",
|
||||
"description": "",
|
||||
"version": "0.0.1",
|
||||
"author": "",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "",
|
||||
"email": ""
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": ""
|
||||
},
|
||||
"plugins": {},
|
||||
"categories": [
|
||||
"misc"
|
||||
],
|
||||
"licenses": []
|
||||
}
|
|
@ -1,3 +1 @@
|
|||
# c9.ide.example
|
||||
|
||||
This is the Cloud9 default plugin example
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "c9.ide.default",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"version": "0.0.1",
|
||||
"author": "",
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
This is the Cloud9 installer plugin example
|
|
@ -0,0 +1,57 @@
|
|||
define(function(require, exports, module) {
|
||||
|
||||
module.exports = function(session, options){
|
||||
// Dependencies for the collaboration features of Cloud9
|
||||
|
||||
session.install({
|
||||
"name": "SQLite",
|
||||
"description": "SQLite Database and NPM module",
|
||||
"cwd": "~/.c9",
|
||||
"optional": true
|
||||
}, [
|
||||
{
|
||||
"npm": ["sqlite3@3.0.5"]
|
||||
},
|
||||
{
|
||||
"tar.gz": {
|
||||
"url": "https://raw.githubusercontent.com/c9/install/master/packages/sqlite3/linux/sqlite3.tar.gz",
|
||||
"target": "~/.c9/lib/sqlite3",
|
||||
"dir": "sqlite3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"symlink": {
|
||||
"source": "~/.c9/lib/sqlite3/sqlite3",
|
||||
"target": "~/.c9/bin/sqlite3"
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
session.install({
|
||||
"name": "Sequalize",
|
||||
"description": "Sequalize NPM module",
|
||||
"cwd": "~/.c9",
|
||||
"optional": true
|
||||
}, {
|
||||
"npm": ["sequelize@2.0.0-beta.0"]
|
||||
});
|
||||
|
||||
session.install({
|
||||
"name": "Collab Server",
|
||||
"description": "A small Node.js collaboration server",
|
||||
"cwd": "~/.c9",
|
||||
"optional": true
|
||||
}, {
|
||||
"tar.gz": {
|
||||
"url": "https://raw.githubusercontent.com/c9/install/master/packages/extend/c9-vfs-extend.tar.gz",
|
||||
"target": "~/.c9"
|
||||
}
|
||||
});
|
||||
|
||||
// Show the installation screen
|
||||
session.start();
|
||||
};
|
||||
|
||||
module.exports.version = 1;
|
||||
|
||||
});
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "",
|
||||
"description": "",
|
||||
"version": "0.0.1",
|
||||
"author": "",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "",
|
||||
"email": ""
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": ""
|
||||
},
|
||||
"plugins": {},
|
||||
"installer": "install.js",
|
||||
"categories": [
|
||||
"misc"
|
||||
],
|
||||
"licenses": []
|
||||
}
|
|
@ -1,3 +1 @@
|
|||
# c9.ide.simple
|
||||
|
||||
This is the Cloud9 simple plugin example
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "c9.ide.simple",
|
||||
"name": "",
|
||||
"description": "",
|
||||
"version": "0.0.1",
|
||||
"author": "",
|
||||
|
|
Ładowanie…
Reference in New Issue