-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
169fb0b
commit 29c2a37
Showing
65 changed files
with
674 additions
and
524 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { NgModule } from 'nger-core'; | ||
import pages, { NgerInstallPage } from './template'; | ||
import incs from './inc'; | ||
import { NgerInstallTypeorm } from './typeorm'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
// 模板 | ||
...pages, | ||
// 控制器 | ||
...incs | ||
], | ||
providers: [], | ||
bootstrap: [ | ||
// 默认跳转页面 | ||
NgerInstallPage | ||
], | ||
imports: [ | ||
// 数据库 | ||
NgerInstallTypeorm | ||
] | ||
}) | ||
export class NgerInstallAdminModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { NgModule } from 'nger-core'; | ||
import pages, { NgerInstallPage } from './template'; | ||
import incs from './inc'; | ||
import { NgerInstallTypeorm } from './typeorm'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
// 模板 | ||
...pages, | ||
// 控制器 | ||
...incs | ||
], | ||
providers: [], | ||
bootstrap: [ | ||
// 默认跳转页面 | ||
NgerInstallPage | ||
], | ||
imports: [ | ||
// 数据库 | ||
NgerInstallTypeorm | ||
] | ||
}) | ||
export class NgerInstallAppModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { NgerInstallController } from './install' | ||
|
||
|
||
export default []; | ||
export default [ | ||
NgerInstallController | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Controller } from 'nger-core' | ||
import { NgerInstallService } from './services/install' | ||
@Controller({ | ||
path: '/' | ||
}) | ||
export class NgerInstallController { | ||
constructor(public service: NgerInstallService){} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { Injectable } from 'nger-core' | ||
|
||
@Injectable() | ||
export class NgerInstallService { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
import { NgModule } from 'nger-core'; | ||
import pages, { NgerInstallPage } from './template'; | ||
import incs from './inc'; | ||
import { NgerInstallTypeorm } from './typeorm'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
// 模板 | ||
...pages, | ||
// 控制器 | ||
...incs | ||
], | ||
providers: [], | ||
bootstrap: [ | ||
// 默认跳转页面 | ||
NgerInstallPage | ||
], | ||
imports: [ | ||
// 数据库 | ||
NgerInstallTypeorm | ||
] | ||
}) | ||
export class NgerInstallModule { } | ||
export * from './admin' | ||
export * from './app' | ||
export * from './pc' | ||
export * from './server' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
{ | ||
"name": "nger-install" | ||
"name": "nger-install", | ||
"description": "系统安装", | ||
"version": "1.0", | ||
"author": { | ||
"email": "1037483576@qq.com", | ||
"name": "nger" | ||
}, | ||
"nger": { | ||
"server": "./server", | ||
"admin": "./admin", | ||
"app": "./app", | ||
"pc": "./pc" | ||
}, | ||
"icon": "./icon.png" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { NgModule } from 'nger-core'; | ||
import pages, { NgerInstallPage } from './template'; | ||
import incs from './inc'; | ||
import { NgerInstallTypeorm } from './typeorm'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
// 模板 | ||
...pages, | ||
// 控制器 | ||
...incs | ||
], | ||
providers: [], | ||
bootstrap: [ | ||
// 默认跳转页面 | ||
NgerInstallPage | ||
], | ||
imports: [ | ||
// 数据库 | ||
NgerInstallTypeorm | ||
] | ||
}) | ||
export class NgerInstallPcModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { NgModule } from 'nger-core'; | ||
import pages, { NgerInstallPage } from './template'; | ||
import incs from './inc'; | ||
import { NgerInstallTypeorm } from './typeorm'; | ||
|
||
@NgModule({ | ||
declarations: [ | ||
// 模板 | ||
...pages, | ||
// 控制器 | ||
...incs | ||
], | ||
providers: [], | ||
bootstrap: [ | ||
// 默认跳转页面 | ||
NgerInstallPage | ||
], | ||
imports: [ | ||
// 数据库 | ||
NgerInstallTypeorm | ||
] | ||
}) | ||
export class NgerInstallServerModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
h2{ | ||
font-size: 14px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Page } from 'nger-core'; | ||
import { View, Swiper, SwiperItem } from 'nger-ui'; | ||
|
||
@Page({ | ||
path: '/app/install', | ||
title: 'nger系统安装', | ||
type: ['app'] | ||
}) | ||
export class NgerInstallPage { | ||
title: string; | ||
show: boolean; | ||
items: { title: string }[] = []; | ||
render() { | ||
return <View | ||
style={{ height: '10px', width: '100px' }} | ||
> | ||
<Swiper className=""> | ||
{this.items.map(itme => <SwiperItem>{itme.title}</SwiperItem>)} | ||
</Swiper> | ||
</View> | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
0 silly argv { _: [ 'create' ], | ||
0 silly argv lernaVersion: '3.13.1', | ||
0 silly argv '$0': 'lerna', | ||
0 silly argv name: 'nger-compiler-client' } | ||
1 notice cli v3.13.1 | ||
2 verbose rootPath /Volumes/imeepos/nger | ||
3 error Error: canceled | ||
3 error at Interface.<anonymous> (/usr/local/lib/node_modules/lerna/node_modules/read/lib/read.js:66:13) | ||
3 error at Interface.emit (events.js:189:13) | ||
3 error at Interface._ttyWrite (readline.js:783:16) | ||
3 error at ReadStream.onkeypress (readline.js:168:10) | ||
3 error at ReadStream.emit (events.js:189:13) | ||
3 error at emitKeys (internal/readline.js:424:14) | ||
3 error at emitKeys.next (<anonymous>) | ||
3 error at ReadStream.onData (readline.js:1022:36) | ||
3 error at ReadStream.emit (events.js:189:13) | ||
3 error at addChunk (_stream_readable.js:284:12) | ||
3 error at readableAddChunk (_stream_readable.js:265:11) | ||
3 error at ReadStream.Readable.push (_stream_readable.js:220:10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# `nger-compiler-client` | ||
|
||
> 客户端编译 | ||
> TODO: description | ||
## Usage | ||
|
||
``` | ||
const ngerCompilerClient = require('nger-compiler-client'); | ||
// TODO: DEMONSTRATE API | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { createPlatformFactory, NgModule } from 'nger-core' | ||
import ngerPlatformNode from 'nger-platform-node' | ||
import providers from '../lib' | ||
@NgModule() | ||
export class NgerCompilerTestModule { } | ||
createPlatformFactory(ngerPlatformNode, 'test', providers)([]).bootstrapModule(NgerCompilerTestModule) | ||
|
7 changes: 0 additions & 7 deletions
7
packages/nger-compiler-client/__tests__/nger-compiler-client.test.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.