Skip to content

Commit

Permalink
Core: Release 0.2.0
Browse files Browse the repository at this point in the history
move core library to an extra single folder
  • Loading branch information
experdot committed Sep 18, 2019
1 parent 427f873 commit 49f7346
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To check out live examples created with general-engine, please visit [gallery][r
## Install
Download a [stable release][repo-releases] and include the script in your web page:
``` html
<script src="general-engine.js" type="text/javascript"></script>
<script src="general-engine.core.js" type="text/javascript"></script>
```
You can also install using the package manager [NPM][npm-url].
``` bash
Expand All @@ -33,7 +33,7 @@ $ npm install general-engine
The following is a simple hello-world example.

```ts
import { GeneralInterface, GeneralObject } from "../src/Engine/Core/GeneralObject";
import { GeneralInterface, GeneralObject } from "../src/Core/GeneralObject";

class IPrintInterface extends GeneralInterface {
print = [];
Expand Down
12 changes: 6 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ const config = {
release: {
dest: "release/",
suffix: ".min",
bundle: "general-engine.js",
bundle_minfify: "general-engine.min.js",
bundle: "general-engine.core.js",
bundle_minfify: "general-engine.core.min.js",
browserify: {
entries: "src/Engine/_General.ts",
entries: "src/Core/GeneralNode.ts",
standalone: "General",
transform: [
[babelify, {
Expand All @@ -134,8 +134,8 @@ const config = {
src: [
"CHANGELOG.md",
"LICENSE",
"release/general-engine.js",
"release/general-engine.min.js"
"release/general-engine.core.js",
"release/general-engine.core.min.js"
]
}
},
Expand All @@ -144,7 +144,7 @@ const config = {
suffix: ".min",
bundle: "index.js",
browserify: {
entries: "src/Engine/_General.ts",
entries: "src/Core/GeneralNode.ts",
standalone: "General",
transform: [
[babelify, {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "general-engine",
"version": "0.1.8",
"version": "0.2.0",
"lockfileVersion": 1,
"main": "lib/index.js",
"author": "experdot",
"description": "An experimental framework to build apps or games.",
"description": "Implementation of general system",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -19,7 +19,7 @@
],
"files": [
"lib/",
"src/scripts/Engine",
"src/Core",
"CHANGELOG.md"
],
"dependencies": {},
Expand Down
2 changes: 1 addition & 1 deletion quickstart/helloworld.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralInterface, GeneralObject } from "../src/Engine/Core/GeneralObject";
import { GeneralInterface, GeneralObject } from "../src/Core/GeneralObject";

class IPrintInterface extends GeneralInterface {
print = [];
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Identifier } from "../Common/Identifier";
import { Identifier } from "../Engine/Common/Identifier";
import { GeneralProcess } from "./GeneralProcess";

export class GeneralInterface {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Engine/Application/AppInterface/AppInterface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralInterface } from "../../Core/GeneralObject";
import { GeneralInterface } from "../../../Core/GeneralObject";

export class AppInterface extends GeneralInterface {
load = [HTMLCollection];
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Application/AppObject/App.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralObject } from "../../Core/GeneralObject";
import { GeneralObject } from "../../../Core/GeneralObject";
import { AppInterface } from "../AppInterface/AppInterface";

export class App extends GeneralObject<AppInterface> {
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Game/GameComponents/Effect/Effect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralObject } from "../../../Core/GeneralObject";
import { GeneralObject } from "../../../../Core/GeneralObject";
import { ColorHelper, Colors, Color } from "../../../UI/Color";
import { GameVisual } from "../../GameObject/GameVisual";
import { GameEffectInterface } from "../../GameInterface/GameInterface";
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Game/GameInterface/GameInterface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralInterface } from "../../Core/GeneralObject";
import { GeneralInterface } from "../../../Core/GeneralObject";

export class GameObjectInterface extends GeneralInterface {
start = [];
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Game/GameObject/GameGUI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralObject } from "../../Core/GeneralObject";
import { GeneralObject } from "../../../Core/GeneralObject";
import { GameGUIInterface } from "../GameInterface/GameInterface";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Game/GameObject/GameView.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralObject } from "../../Core/GeneralObject";
import { GeneralObject } from "../../../Core/GeneralObject";
import { GameViewInterface } from "../GameInterface/GameInterface";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Engine/Game/GameObject/GameVisual.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GeneralNode } from "../../Core/GeneralNode";
import { GeneralNode } from "../../../Core/GeneralNode";
import { GameVsiualInterface } from "../GameInterface/GameInterface";
import { Events } from "../../Common/Events";
import { GameWorld } from "../GameWorld/GameWorld";
Expand Down

0 comments on commit 49f7346

Please sign in to comment.