@cocojs/cli 0.0.1-alpha202511162103 → 0.0.1-alpha202511172047

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.
@@ -347,7 +347,7 @@ function genIndexTsx(project, iocComponents) {
347
347
  }
348
348
  function appendExport(importStatements) {
349
349
  var pre = "";
350
- var append = "\nimport { Application } from \"coco-mvc\";\nimport applicationJson from \"./application.json\";\nexport { Application };\n\n".concat(process__namespace.env.NODE_ENV === 'test' ? "\n// \u6D4B\u8BD5\u65F6\u7531\u6D4B\u8BD5\u7528\u4F8B\u542F\u52A8Application\n" : "\nconst application = new Application(applicationJson);\napplication.start();\n ", "\n ");
350
+ var append = "\nimport { Application } from \"@cocojs/mvc\";\nimport applicationJson from \"./application.json\";\nexport { Application };\n\n".concat(process__namespace.env.NODE_ENV === 'test' ? "\n// \u6D4B\u8BD5\u65F6\u7531\u6D4B\u8BD5\u7528\u4F8B\u542F\u52A8Application\n" : "\nconst application = new Application(applicationJson);\napplication.start();\n ", "\n ");
351
351
  return pre.concat(importStatements.join('\n')).concat(append);
352
352
  }
353
353
 
package/dist/index.js CHANGED
@@ -412,7 +412,7 @@ var build = function build() {
412
412
  paths: [path$1.resolve(__dirname, '..', '../node_modules')]
413
413
  }), {
414
414
  runtime: 'automatic',
415
- importSource: 'coco-mvc'
415
+ importSource: '@cocojs/mvc'
416
416
  }]]
417
417
  })]
418
418
  });
@@ -256,7 +256,7 @@ var buildInConfig = {
256
256
  version: '2023-11'
257
257
  }], [require.resolve('@babel/plugin-transform-react-jsx'), {
258
258
  runtime: 'automatic',
259
- importSource: 'coco-mvc'
259
+ importSource: '@cocojs/mvc'
260
260
  }]]
261
261
  }
262
262
  }, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cocojs/cli",
3
3
  "description": "命令行工具,支持开发和构建功能",
4
- "version": "0.0.1-alpha202511162103",
4
+ "version": "0.0.1-alpha202511172047",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {