egg-boilerplate-framework
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -6,16 +6,15 @@ { | ||
"dependencies": { | ||
"egg": "^2.3.0" | ||
"egg": "^2" | ||
}, | ||
"devDependencies": { | ||
"autod": "^3.0.1", | ||
"autod-egg": "^1.0.0", | ||
"egg-bin": "^4.4.0", | ||
"egg-ci": "^1.8.0", | ||
"egg-mock": "^3.14.0", | ||
"eslint": "^4.18.0", | ||
"eslint-config-egg": "^7.0.0", | ||
"webstorm-disable-index": "^1.2.0" | ||
"autod": "^3", | ||
"autod-egg": "^1", | ||
"egg-bin": "^4", | ||
"egg-ci": "^1", | ||
"egg-mock": "^4", | ||
"eslint": "^7", | ||
"eslint-config-egg": "^8.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=8.0.0" | ||
"node": ">=12.0.0" | ||
}, | ||
@@ -26,3 +25,3 @@ "scripts": { | ||
"cov": "egg-bin cov", | ||
"lint": "eslint .", | ||
"lint": "eslint . --resolve-plugins-relative-to .", | ||
"ci": "npm run lint && egg-bin pkgfiles --check && npm run cov", | ||
@@ -33,3 +32,4 @@ "autod": "autod", | ||
"ci": { | ||
"version": "8, 9" | ||
"version": "12", | ||
"type": "github" | ||
}, | ||
@@ -48,2 +48,4 @@ "repository": { | ||
"lib", | ||
"app.js", | ||
"agent.js", | ||
"index.js" | ||
@@ -50,0 +52,0 @@ ], |
@@ -20,3 +20,2 @@ 'use strict'; | ||
'eslint-config-egg', | ||
'webstorm-disable-index', | ||
], | ||
@@ -23,0 +22,0 @@ exclude: [ |
@@ -12,11 +12,12 @@ # {{name}} | ||
publish your framework to npm, then change app's dependencies: | ||
publish your framework to npm, then change app's framework config: | ||
```js | ||
// {app_root}/index.js | ||
require('{{name}}').startCluster({ | ||
baseDir: __dirname, | ||
// port: 7001, // default to 7001 | ||
}); | ||
{ | ||
"name": "egg-showcase", | ||
"egg": { | ||
"framework": "yadan" | ||
} | ||
} | ||
``` | ||
@@ -23,0 +24,0 @@ |
@@ -15,7 +15,7 @@ 'use strict'; | ||
after(() => app.close()); | ||
after(() => app && app.close()); | ||
afterEach(mock.restore); | ||
it('should GET /', () => { | ||
it('should GET /', async () => { | ||
return app.httpRequest() | ||
@@ -22,0 +22,0 @@ .get('/') |
2.1.0 / 2020-07-03 | ||
================== | ||
**features** | ||
* [[`cbada9a`](http://github.com/eggjs/egg-boilerplate-framework/commit/cbada9aa9ed69b230f6b6677a567f686246714a5)] - feat: update ci (#18) (TZ | 天猪 <<atian25@qq.com>>) | ||
**others** | ||
* [[`0931082`](http://github.com/eggjs/egg-boilerplate-framework/commit/0931082ef0ac80f37432313c36ab915be3250423)] - chore: update travis.yml (#17) (TZ | 天猪 <<atian25@qq.com>>) | ||
2.0.1 / 2018-02-24 | ||
@@ -3,0 +12,0 @@ ================== |
{ | ||
"name": "egg-boilerplate-framework", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "boilerplate for egg framework", | ||
@@ -22,18 +22,22 @@ "scripts": { | ||
"author": "TZ <atian25@qq.com>", | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"autod": "^3.0.1", | ||
"egg-ci": "^1.8.0", | ||
"egg-init": "^1.13.0", | ||
"eslint": "^4.18.1", | ||
"eslint-config-egg": "^7.0.0", | ||
"npminstall": "^3.3.0", | ||
"webstorm-disable-index": "^1.2.0" | ||
"autod": "^3.1.0", | ||
"egg-ci": "^1.15.0", | ||
"egg-init": "^1.17.2", | ||
"eslint": "^7.3.1", | ||
"eslint-config-egg": "^8.0.1", | ||
"npminstall": "^3.27.0" | ||
}, | ||
"eslintIgnore": [ "coverage", "dist" ], | ||
"eslintIgnore": [ | ||
"coverage", | ||
"dist" | ||
], | ||
"ci": { | ||
"version": "8, 9" | ||
"version": "10, 12", | ||
"type": "github", | ||
"os": { | ||
"github": "ubuntu, macos" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36454
6
56
1001
1