@cocojs/cli 0.1.0-beta.25 → 0.1.0-beta.27

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,3 +1,3 @@
1
- # coconut-framework [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/cocojs-org/coconut-framework/blob/main/LICENSE)
1
+ # coconut-framework [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/cocojsdev/coconut-framework/blob/main/LICENSE)
2
2
 
3
- `@cocojs/cli`属于[coconut-framework](https://github.com/cocojs-org/coconut-framework)代码仓,更多内容见[cocojs.dev](https://cocojs.dev)。
3
+ `@cocojs/cli`属于[coconut-framework](https://github.com/cocojsdev/coconut-framework)代码仓,更多内容见[cocojs.dev](https://cocojs.dev)。
@@ -266,7 +266,7 @@ _defineProperty(Project, "VIEW_DIR", 'view');
266
266
  _defineProperty(Project, "CONFIG_DIR", 'config');
267
267
  _defineProperty(Project, "PAGE_DIR", 'page');
268
268
  _defineProperty(Project, "LAYOUT_DIR", 'layout');
269
- _defineProperty(Project, "Flow_DIR", 'flow');
269
+ _defineProperty(Project, "SERVICE_DIR", 'service');
270
270
  _defineProperty(Project, "API_DIR", 'api');
271
271
  _defineProperty(Project, "STORE_DIR", 'store');
272
272
  _defineProperty(Project, "GLOBAL_DATA_DIR", 'global-data');
@@ -266,7 +266,7 @@ var buildInConfig = {
266
266
  }
267
267
  },
268
268
  plugins: [new HtmlWebpackPlugin({
269
- templateContent: "\n<!DOCTYPE html>\n<html lang=\"en\">\n<body>\n <div id=\"root\"></div>\n</body>\n</html>\n "
269
+ templateContent: "\n<!DOCTYPE html>\n<html lang=\"zh-CN\">\n<head>\n <meta charset=\"UTF-8\">\n</head>\n<body>\n <div id=\"root\"></div>\n</body>\n</html>\n "
270
270
  })]
271
271
  };
272
272
  function getWebpackConfig(_x2) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cocojs/cli",
3
3
  "description": "命令行工具,支持开发和构建功能",
4
- "version": "0.1.0-beta.25",
4
+ "version": "0.1.0-beta.27",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
@@ -12,10 +12,10 @@
12
12
  "runtime-config",
13
13
  "dist"
14
14
  ],
15
- "homepage": "https://github.com/cocojs-org/coconut-framework",
15
+ "homepage": "https://github.com/cocojsdev/coconut-framework",
16
16
  "repository": {
17
17
  "type": "git",
18
- "url": "https://github.com/cocojs-org/coconut-framework.git"
18
+ "url": "https://github.com/cocojsdev/coconut-framework.git"
19
19
  },
20
20
  "keywords": [
21
21
  "cocojs"
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
+ "@cocojs/bundle-rollup": "0.0.1-beta.13",
31
+ "@cocojs/bundle-webpack": "0.0.1-beta.11",
30
32
  "chokidar": "^4.0.3",
31
33
  "fs-extra": "^11.2.0",
32
- "html-webpack-plugin": "^5.6.3",
33
- "@cocojs/bundle-rollup": "0.0.1-beta.12",
34
- "@cocojs/bundle-webpack": "0.0.1-beta.10"
34
+ "html-webpack-plugin": "^5.6.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^22.15.18"
@@ -6,6 +6,6 @@
6
6
  "moduleResolution": "node",
7
7
  "allowSyntheticDefaultImports": true,
8
8
  "jsx": "preserve",
9
- "resolveJsonModule": true,
9
+ "resolveJsonModule": true
10
10
  }
11
11
  }