Skip to content

Commit 19901c6

Browse files
committed
Replan the directory structure.
1 parent 50df7ab commit 19901c6

File tree

229 files changed

+96
-42939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+96
-42939
lines changed

.autod.conf.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
'use strict';
2+
3+
module.exports = {
4+
write: true,
5+
prefix: '^',
6+
plugin: 'autod-egg',
7+
test: [
8+
'test',
9+
'benchmark',
10+
],
11+
dep: [
12+
'egg',
13+
'egg-scripts',
14+
],
15+
devdep: [
16+
'egg-ci',
17+
'egg-bin',
18+
'egg-mock',
19+
'autod',
20+
'autod-egg',
21+
'eslint',
22+
'eslint-config-egg',
23+
'webstorm-disable-index',
24+
],
25+
exclude: [
26+
'./test/fixtures',
27+
'./dist',
28+
],
29+
};
30+

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "eslint-config-egg"
3+
}

.gitignore

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
1+
build/
2+
logs/
3+
npm-debug.log
4+
yarn-error.log
5+
node_modules/
6+
package-lock.json
7+
yarn.lock
8+
coverage/
9+
.idea/
10+
run/
111
.DS_Store
2-
node_modules
3-
/dist
4-
/build
5-
6-
# local env files
7-
.env.local
8-
.env.*.local
9-
/run
10-
11-
# Log files
12-
/logs
13-
npm-debug.log*
14-
yarn-debug.log*
15-
yarn-error.log*
16-
17-
# Editor directories and files
18-
.idea
19-
.vscode
20-
*.suo
21-
*.ntvs*
22-
*.njsproj
23-
*.sln
2412
*.sw*
25-
26-
packgage-lock.json
13+
*.un~
14+
typings/
15+
.nyc_output/

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jscms-server
22

3-
jscms-server,jscms服务端,基于阿里的eggjs开发
3+
jscms-server,jscms服务端,基于阿里的 [eggjs](https://github.com/eggjs/egg) 开发
44

55
## 等待完善
66

@@ -11,9 +11,8 @@ jscms-server,jscms服务端,基于阿里的eggjs开发。
1111
1. 标签页 (完成
1212
1. 评论系统 (完成
1313
1. 搜索系统(完成
14-
1. 刺梨指数
1514
1. 链接全部替换为绝对路径
1615
1. 后台logo替换
1716
1. 搜索记录 (完成
1817
1. 访问记录 (完成
19-
1. 404页面
18+
1. 404页面 (完成

app/controller/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const Controller = require('egg').Controller;
4-
const publicModel = require('../public_model/index');
4+
const publicModel = require('../modelman/index');
55

66
class ModelController extends Controller {
77

app/management/.gitkeep

Whitespace-only changes.

app/model/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const Page = require('../public_model/Page.js')
3+
const Page = require('../modelman/Page.js')
44

55
module.exports = app => {
66
const mongoose = app.mongoose;
File renamed without changes.
File renamed without changes.
File renamed without changes.

app/theme/.gitkeep

Whitespace-only changes.

build/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)