Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Use LF for line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
elisee committed Apr 11, 2016
1 parent 1c29da2 commit 390e750
Show file tree
Hide file tree
Showing 128 changed files with 11,713 additions and 11,707 deletions.
18 changes: 12 additions & 6 deletions .gitignore
@@ -1,17 +1,23 @@
**/node_modules
*.sublime-*
npm-debug.log
/config.json
/settings.json

SupCore/**/*.js
SupClient/**/*.js
server/**/*.js
client/**/*.js
!gulpfile.js

public/*
!public/locales
!public/images
!public/fonts
!public/favicon.ico

workbench/
packages/
systems/
projects/
builds/
public/*
!public/locales
!public/images
config.json
settings.json
npm-debug.log
76 changes: 38 additions & 38 deletions .vscode/launch.json
@@ -1,38 +1,38 @@
{
"version": "0.1.0",
// List of configurations. Add new configurations or edit existing ones.
// ONLY "node" and "mono" are supported, change "type" to switch.
"configurations": [
{
// Name of configuration; appears in the launch configuration drop down menu.
"name": "Server",
// Type of configuration. Possible values: "node", "mono".
"type": "node",
// Workspace relative or absolute path to the program.
"program": "${workspaceRoot}/server/index.js",
// Automatically stop program after launch.
"stopOnEntry": false,
// Command line arguments passed to the program.
"args": ["start"],
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
"runtimeExecutable": null,
// Optional arguments passed to the runtime executable.
"runtimeArgs": ["--nolazy"],
// Environment variables passed to the program.
"env": {},
// Use JavaScript source maps (if they exist).
"sourceMaps": true,
// If JavaScript source maps are enabled, the generated code is expected in this directory.
"outDir": null
},
{
"name": "Attach",
"type": "node",
// TCP/IP address. Default is "localhost".
"address": "localhost",
// Port to attach to.
"port": 8000,
"sourceMaps": true
}
]
}
{
"version": "0.1.0",
// List of configurations. Add new configurations or edit existing ones.
// ONLY "node" and "mono" are supported, change "type" to switch.
"configurations": [
{
// Name of configuration; appears in the launch configuration drop down menu.
"name": "Server",
// Type of configuration. Possible values: "node", "mono".
"type": "node",
// Workspace relative or absolute path to the program.
"program": "${workspaceRoot}/server/index.js",
// Automatically stop program after launch.
"stopOnEntry": false,
// Command line arguments passed to the program.
"args": ["start"],
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
"runtimeExecutable": null,
// Optional arguments passed to the runtime executable.
"runtimeArgs": ["--nolazy"],
// Environment variables passed to the program.
"env": {},
// Use JavaScript source maps (if they exist).
"sourceMaps": true,
// If JavaScript source maps are enabled, the generated code is expected in this directory.
"outDir": null
},
{
"name": "Attach",
"type": "node",
// TCP/IP address. Default is "localhost".
"address": "localhost",
// Port to attach to.
"port": 8000,
"sourceMaps": true
}
]
}
44 changes: 22 additions & 22 deletions LICENSE.txt
@@ -1,22 +1,22 @@
Superpowers is distributed under the ISC license,
in the hope of making it as useful as possible for everyone.
https://en.wikipedia.org/wiki/ISC_license
We are a welcoming community and we'd love to have you contributing!
https://github.com/superpowers
------------------------------------------------------------------------------
Copyright © 2014-2016, Sparklin Labs
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Superpowers is distributed under the ISC license,
in the hope of making it as useful as possible for everyone.
https://en.wikipedia.org/wiki/ISC_license

We are a welcoming community and we'd love to have you contributing!
https://github.com/superpowers

------------------------------------------------------------------------------

Copyright © 2014-2016, Sparklin Labs

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
70 changes: 35 additions & 35 deletions README.md
@@ -1,35 +1,35 @@
## Superpowers — The extensible, real-time collaborative IDE

[![License](https://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/superpowers/superpowers-core/blob/master/LICENSE.txt)
[![Build Status](https://travis-ci.org/superpowers/superpowers-core.svg?branch=master)](https://travis-ci.org/superpowers/superpowers-core)
[![Gitter](https://img.shields.io/gitter/room/superpowers/dev.svg)](https://gitter.im/superpowers/dev)
[![Patreon](https://img.shields.io/badge/patreon-support%20us-brightgreen.svg)](https://www.patreon.com/SparklinLabs)
[![Twitter](https://img.shields.io/twitter/follow/SuperpowersDev.svg?style=social)](https://twitter.com/SuperpowersDev)

[Website](http://superpowers-html5.com/)
[Download](https://sparklinlabs.itch.io/superpowers)
[Documentation](http://docs.superpowers-html5.com/)
[Roadmap](http://docs.superpowers-html5.com/en/development/roadmap)
[How to contribute](http://docs.superpowers-html5.com/en/development/how-to-contribute)
[Build instructions](http://docs.superpowers-html5.com/en/development/building-superpowers)

### Powerful, extensible, collaborative game development.

Superpowers is a [downloadable HTML5 app](http://superpowers-html5.com/). You can use it solo like a regular offline game maker,
or setup a password and let friends join in on your project through their Web browser.
It's great for working together over long periods of time, for jamming over a weekend,
or just for helping each other out with debugging!

#### ... not just for making games!

Here's the cool thing: Superpowers itself is actually engine-agnostic.
It's just a piece of software for collaborating on projects that can be extended with new systems and plugins!

* [Superpowers Game](https://github.com/superpowers/superpowers-game) — Make 2D+3D games with TypeScript, powered by Three.js
* [Superpowers Web](http://github.com/superpowers/superpowers-web) — Make static websites with Jade and Stylus
* [Superpowers LÖVE](https://github.com/superpowers/superpowers-love2d) — Make LÖVE 2D games with Lua

Learn [how to extend Superpowers yourself](http://docs.superpowers-html5.com/en/development/extending-superpowers).
Use it to make games, websites, slideshows, blogs, movies, apps, mods... whatever you can come up with!

![](http://i.imgur.com/g4iNlEn.png)
## Superpowers — The extensible, real-time collaborative IDE

[![License](https://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/superpowers/superpowers-core/blob/master/LICENSE.txt)
[![Build Status](https://travis-ci.org/superpowers/superpowers-core.svg?branch=master)](https://travis-ci.org/superpowers/superpowers-core)
[![Gitter](https://img.shields.io/gitter/room/superpowers/dev.svg)](https://gitter.im/superpowers/dev)
[![Patreon](https://img.shields.io/badge/patreon-support%20us-brightgreen.svg)](https://www.patreon.com/SparklinLabs)
[![Twitter](https://img.shields.io/twitter/follow/SuperpowersDev.svg?style=social)](https://twitter.com/SuperpowersDev)

[Website](http://superpowers-html5.com/)
[Download](https://sparklinlabs.itch.io/superpowers)
[Documentation](http://docs.superpowers-html5.com/)
[Roadmap](http://docs.superpowers-html5.com/en/development/roadmap)
[How to contribute](http://docs.superpowers-html5.com/en/development/how-to-contribute)
[Build instructions](http://docs.superpowers-html5.com/en/development/building-superpowers)

### Powerful, extensible, collaborative game development.

Superpowers is a [downloadable HTML5 app](http://superpowers-html5.com/). You can use it solo like a regular offline game maker,
or setup a password and let friends join in on your project through their Web browser.
It's great for working together over long periods of time, for jamming over a weekend,
or just for helping each other out with debugging!

#### ... not just for making games!

Here's the cool thing: Superpowers itself is actually engine-agnostic.
It's just a piece of software for collaborating on projects that can be extended with new systems and plugins!

* [Superpowers Game](https://github.com/superpowers/superpowers-game) — Make 2D+3D games with TypeScript, powered by Three.js
* [Superpowers Web](http://github.com/superpowers/superpowers-web) — Make static websites with Jade and Stylus
* [Superpowers LÖVE](https://github.com/superpowers/superpowers-love2d) — Make LÖVE 2D games with Lua

Learn [how to extend Superpowers yourself](http://docs.superpowers-html5.com/en/development/extending-superpowers).
Use it to make games, websites, slideshows, blogs, movies, apps, mods... whatever you can come up with!

![](http://i.imgur.com/g4iNlEn.png)
12 changes: 6 additions & 6 deletions SupClient/SupClient.ts
@@ -1,6 +1,6 @@
/// <reference path="typings/tsd.d.ts" />
/// <reference path="SupClient.d.ts" />
/// <reference path ="../SupCore/SupCore.d.ts" />

import * as SupClient from "./src/index";
export = SupClient;
/// <reference path="typings/tsd.d.ts" />
/// <reference path="SupClient.d.ts" />
/// <reference path ="../SupCore/SupCore.d.ts" />

import * as SupClient from "./src/index";
export = SupClient;
78 changes: 39 additions & 39 deletions SupClient/gulpfile.js
@@ -1,39 +1,39 @@
"use strict";

const gulp = require("gulp");

// TypeScript
const ts = require("gulp-typescript");
const tsProject = ts.createProject("./tsconfig.json");
const tslint = require("gulp-tslint");

gulp.task("typescript", function() {
let failed = false;
const tsResult = tsProject.src()
.pipe(tslint())
.pipe(tslint.report("prose", { emitError: true }))
.on("error", (err) => { throw err; })
.pipe(ts(tsProject))
.on("error", () => { failed = true; })
.on("end", () => { if (failed) throw new Error("There were TypeScript errors."); });
return tsResult.js.pipe(gulp.dest("./"));
});

// Stylus
const stylus = require("gulp-stylus");
gulp.task("stylus", function() {
return gulp.src("./src/styles/*.styl").pipe(stylus({ errors: true, compress: true })).pipe(gulp.dest("../public/styles"));
});

// Browserify
const browserify = require("browserify");
const source = require("vinyl-source-stream");
gulp.task("browserify", [ "typescript" ], () =>
browserify("./src/index.js", { standalone: "SupClient" })
.transform("brfs").bundle()
.pipe(source("SupClient.js"))
.pipe(gulp.dest("../public"))
);

// All
gulp.task("default", [ "stylus", "typescript", "browserify" ]);
"use strict";

const gulp = require("gulp");

// TypeScript
const ts = require("gulp-typescript");
const tsProject = ts.createProject("./tsconfig.json");
const tslint = require("gulp-tslint");

gulp.task("typescript", function() {
let failed = false;
const tsResult = tsProject.src()
.pipe(tslint())
.pipe(tslint.report("prose", { emitError: true }))
.on("error", (err) => { throw err; })
.pipe(ts(tsProject))
.on("error", () => { failed = true; })
.on("end", () => { if (failed) throw new Error("There were TypeScript errors."); });
return tsResult.js.pipe(gulp.dest("./"));
});

// Stylus
const stylus = require("gulp-stylus");
gulp.task("stylus", function() {
return gulp.src("./src/styles/*.styl").pipe(stylus({ errors: true, compress: true })).pipe(gulp.dest("../public/styles"));
});

// Browserify
const browserify = require("browserify");
const source = require("vinyl-source-stream");
gulp.task("browserify", [ "typescript" ], () =>
browserify("./src/index.js", { standalone: "SupClient" })
.transform("brfs").bundle()
.pipe(source("SupClient.js"))
.pipe(gulp.dest("../public"))
);

// All
gulp.task("default", [ "stylus", "typescript", "browserify" ]);

0 comments on commit 390e750

Please sign in to comment.