added some more templates

pull/85/head
Ruben Daniels 2015-04-27 16:25:37 +00:00 zatwierdzone przez nightwing
rodzic 7fc4048213
commit 68de616dab
10 zmienionych plików z 107 dodań i 7 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -0,0 +1 @@
This is the Cloud9 bundle example

Wyświetl plik

@ -0,0 +1,21 @@
{
"name": "",
"description": "",
"version": "0.0.1",
"author": "",
"contributors": [
{
"name": "",
"email": ""
}
],
"repository": {
"type": "git",
"url": ""
},
"plugins": {},
"categories": [
"misc"
],
"licenses": []
}

Wyświetl plik

@ -1,3 +1 @@
# c9.ide.example
This is the Cloud9 default plugin example

Wyświetl plik

@ -1,5 +1,5 @@
{
"name": "c9.ide.default",
"name": "",
"description": "",
"version": "0.0.1",
"author": "",

Wyświetl plik

@ -0,0 +1 @@
This is the Cloud9 installer plugin example

Wyświetl plik

@ -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;
});

Wyświetl plik

@ -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": []
}

Wyświetl plik

@ -1,3 +1 @@
# c9.ide.simple
This is the Cloud9 simple plugin example

Wyświetl plik

@ -1,5 +1,5 @@
{
"name": "c9.ide.simple",
"name": "",
"description": "",
"version": "0.0.1",
"author": "",