clwy-express-generator 5.1.0 → 5.1.2
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
|
@@ -49,7 +49,6 @@ $ npm start
|
|
|
49
49
|
-c, --css <engine> 添加样式表引擎 <engine> 支持 (less|stylus|compass|sass)(默认为纯 css)
|
|
50
50
|
--git 添加 .gitignore 文件
|
|
51
51
|
--es6 生成 ES6 代码和模块类型项目(需要Node 14.x或更高版本)
|
|
52
|
-
-o, --orm 使用 Prisma ORM
|
|
53
52
|
-f, --force 强制在非空目录上操作
|
|
54
53
|
-h, --help 输出使用信息
|
|
55
54
|
|
|
@@ -104,7 +103,6 @@ This generator can also be further configured with the following command line fl
|
|
|
104
103
|
-c, --css <engine> add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
|
|
105
104
|
--git add .gitignore
|
|
106
105
|
--es6 generate ES6 code and module-type project (requires Node 14.x or higher)
|
|
107
|
-
-o, --orm use the Prisma ORM
|
|
108
106
|
-f, --force force on non-empty directory
|
|
109
107
|
-h, --help output usage information
|
|
110
108
|
|
package/bin/express-cli.js
CHANGED
|
@@ -101,12 +101,12 @@ function createApplication (name, dir, options, done) {
|
|
|
101
101
|
format: 'prettier --write "**/*.{js,json,md}"'
|
|
102
102
|
},
|
|
103
103
|
dependencies: {
|
|
104
|
+
cors: '^2.8.5',
|
|
104
105
|
debug: '~4.4.0',
|
|
105
106
|
dotenv: '^16.5.0',
|
|
106
107
|
express: '~5.1.0'
|
|
107
108
|
},
|
|
108
109
|
devDependencies: {
|
|
109
|
-
cors: '^2.8.5',
|
|
110
110
|
nodemon: '^3.1.9',
|
|
111
111
|
prettier: '^3.5.3'
|
|
112
112
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "clwy-express-generator",
|
|
3
3
|
"description": "Express' application generator",
|
|
4
4
|
"homepage": "https://github.com/clwy-cn/clwy-express-generator",
|
|
5
|
-
"version": "5.1.
|
|
5
|
+
"version": "5.1.2",
|
|
6
6
|
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
|
7
7
|
"contributors": [
|
|
8
8
|
"Aaron Heckmann <aaron.heckmann+github@gmail.com>",
|