create-egg 2.0.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -11
- package/bin/create-egg.js +0 -2
- package/package.json +10 -20
- package/History.md +0 -21
package/README.md
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
# create-egg
|
|
2
2
|
|
|
3
3
|
[![NPM version][npm-image]][npm-url]
|
|
4
|
-
[](https://github.com/eggjs/create-egg/actions/workflows/nodejs.yml)
|
|
5
5
|
[![Test coverage][codecov-image]][codecov-url]
|
|
6
|
-
[![David deps][david-image]][david-url]
|
|
7
|
-
[![Known Vulnerabilities][snyk-image]][snyk-url]
|
|
8
6
|
[![NPM download][download-image]][download-url]
|
|
9
7
|
|
|
10
8
|
[npm-image]: https://img.shields.io/npm/v/create-egg.svg?style=flat-square
|
|
11
9
|
[npm-url]: https://npmjs.org/package/create-egg
|
|
12
|
-
[travis-image]: https://img.shields.io/travis/eggjs/create-egg.svg?style=flat-square
|
|
13
|
-
[travis-url]: https://travis-ci.org/eggjs/create-egg
|
|
14
10
|
[codecov-image]: https://codecov.io/gh/eggjs/create-egg/branch/master/graph/badge.svg
|
|
15
11
|
[codecov-url]: https://codecov.io/gh/eggjs/create-egg
|
|
16
|
-
[david-image]: https://img.shields.io/david/eggjs/create-egg.svg?style=flat-square
|
|
17
|
-
[david-url]: https://david-dm.org/eggjs/create-egg
|
|
18
|
-
[snyk-image]: https://snyk.io/test/npm/create-egg/badge.svg?style=flat-square
|
|
19
|
-
[snyk-url]: https://snyk.io/test/npm/create-egg
|
|
20
12
|
[download-image]: https://img.shields.io/npm/dm/create-egg.svg?style=flat-square
|
|
21
13
|
[download-url]: https://npmjs.org/package/create-egg
|
|
22
14
|
|
|
@@ -27,8 +19,20 @@ Thanks to `npm init` feature introduced at npm@6, see [npm-init](https://docs.np
|
|
|
27
19
|
## Usage
|
|
28
20
|
|
|
29
21
|
```bash
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
npm init egg showcase
|
|
23
|
+
npm init egg showcase --type=simple
|
|
32
24
|
```
|
|
33
25
|
|
|
34
26
|
[MIT](LICENSE)
|
|
27
|
+
|
|
28
|
+
<!-- GITCONTRIBUTOR_START -->
|
|
29
|
+
|
|
30
|
+
## Contributors
|
|
31
|
+
|
|
32
|
+
|[<img src="https://avatars.githubusercontent.com/u/227713?v=4" width="100px;"/><br/><sub><b>atian25</b></sub>](https://github.com/atian25)<br/>|[<img src="https://avatars.githubusercontent.com/u/3297859?v=4" width="100px;"/><br/><sub><b>sinchang</b></sub>](https://github.com/sinchang)<br/>|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/106730421?v=4" width="100px;"/><br/><sub><b>jasonjiicloud</b></sub>](https://github.com/jasonjiicloud)<br/>|
|
|
33
|
+
| :---: | :---: | :---: | :---: |
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Tue Nov 28 2023 13:41:55 GMT+0800`.
|
|
37
|
+
|
|
38
|
+
<!-- GITCONTRIBUTOR_END -->
|
package/bin/create-egg.js
CHANGED
package/package.json
CHANGED
|
@@ -1,38 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-egg",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Alias for egg-init, so you could use `npm init egg showcase`.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"egg-init": "
|
|
6
|
+
"egg-init": "3"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"autod": "^3.0.1",
|
|
10
9
|
"coffee": "^5.1.0",
|
|
11
|
-
"egg-bin": "
|
|
12
|
-
"
|
|
13
|
-
"eslint": "
|
|
14
|
-
"
|
|
15
|
-
"webstorm-disable-index": "^1.2.0"
|
|
10
|
+
"egg-bin": "6",
|
|
11
|
+
"eslint": "8",
|
|
12
|
+
"eslint-config-egg": "13",
|
|
13
|
+
"git-contributor": "^2.1.5"
|
|
16
14
|
},
|
|
17
15
|
"bin": "./bin/create-egg.js",
|
|
18
16
|
"engines": {
|
|
19
|
-
"node": ">=
|
|
17
|
+
"node": ">=16.0.0"
|
|
20
18
|
},
|
|
21
19
|
"scripts": {
|
|
22
|
-
"autod": "autod",
|
|
23
20
|
"lint": "eslint .",
|
|
24
|
-
"test": "npm run lint -- --fix &&
|
|
21
|
+
"test": "npm run lint -- --fix && npm run test-local",
|
|
25
22
|
"test-local": "egg-bin test",
|
|
26
23
|
"cov": "egg-bin cov",
|
|
27
|
-
"ci": "npm run lint &&
|
|
28
|
-
"
|
|
29
|
-
},
|
|
30
|
-
"ci": {
|
|
31
|
-
"version": "10, 12",
|
|
32
|
-
"type": "github",
|
|
33
|
-
"license": {
|
|
34
|
-
"year": 2018
|
|
35
|
-
}
|
|
24
|
+
"ci": "npm run lint && npm run cov",
|
|
25
|
+
"contributor": "git-contributor"
|
|
36
26
|
},
|
|
37
27
|
"eslintIgnore": [
|
|
38
28
|
"coverage",
|
package/History.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
2.0.1 / 2020-08-04
|
|
3
|
-
==================
|
|
4
|
-
|
|
5
|
-
**fixes**
|
|
6
|
-
* [[`7fd4d4b`](http://github.com/eggjs/create-egg/commit/7fd4d4bb0a5eccf47f2a5cc624cb4acff7431025)] - fix: npm publish files (#6) (TZ | 天猪 <<atian25@qq.com>>)
|
|
7
|
-
|
|
8
|
-
2.0.0 / 2020-08-04
|
|
9
|
-
==================
|
|
10
|
-
|
|
11
|
-
**features**
|
|
12
|
-
* [[`08e69e2`](http://github.com/eggjs/create-egg/commit/08e69e22dbe309af648d01c46882415ac4ee785a)] - feat: update egg-init@2 (#5) (TZ | 天猪 <<atian25@qq.com>>),fatal: No names found, cannot describe anything.
|
|
13
|
-
|
|
14
|
-
**others**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
1.0.0 / 2018-09-28
|
|
18
|
-
==================
|
|
19
|
-
|
|
20
|
-
* feat: fist version (#1)
|
|
21
|
-
* feat: init
|