create-egg 2.0.0 → 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 CHANGED
@@ -1,22 +1,14 @@
1
1
  # create-egg
2
2
 
3
3
  [![NPM version][npm-image]][npm-url]
4
- [![build status][travis-image]][travis-url]
4
+ [![Node.js CI](https://github.com/eggjs/create-egg/actions/workflows/nodejs.yml/badge.svg)](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
- $ npm init egg showcase
31
- $ npm init egg showcase --type=simple
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 -->
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require('egg-init/bin/egg-init');
package/package.json CHANGED
@@ -1,38 +1,28 @@
1
1
  {
2
2
  "name": "create-egg",
3
- "version": "2.0.0",
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": "^2"
6
+ "egg-init": "3"
7
7
  },
8
8
  "devDependencies": {
9
- "autod": "^3.0.1",
10
9
  "coffee": "^5.1.0",
11
- "egg-bin": "^4.9.0",
12
- "egg-ci": "^1.10.0",
13
- "eslint": "^5.7.0",
14
- "eslint-config-egg": "^7.1.0",
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": ">=10.0.0"
17
+ "node": ">=16.0.0"
20
18
  },
21
19
  "scripts": {
22
- "autod": "autod",
23
20
  "lint": "eslint .",
24
- "test": "npm run lint -- --fix && egg-bin pkgfiles && npm run test-local",
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 && egg-bin pkgfiles --check && npm run cov",
28
- "pkgfiles": "egg-bin pkgfiles"
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",
@@ -46,7 +36,9 @@
46
36
  "url": "https://github.com/eggjs/egg/issues"
47
37
  },
48
38
  "homepage": "https://github.com/eggjs/create-egg",
49
- "files": [],
39
+ "files": [
40
+ "bin"
41
+ ],
50
42
  "author": "TZ <atian25@qq.com>",
51
43
  "license": "MIT"
52
44
  }
package/History.md DELETED
@@ -1,15 +0,0 @@
1
-
2
- 2.0.0 / 2020-08-04
3
- ==================
4
-
5
- **features**
6
- * [[`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.
7
-
8
- **others**
9
-
10
-
11
- 1.0.0 / 2018-09-28
12
- ==================
13
-
14
- * feat: fist version (#1)
15
- * feat: init