@cocojs/cli 0.0.1-alpha202511172053 → 0.0.1-alpha202511202111

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -390,7 +390,7 @@ var build = function build() {
390
390
  case 0:
391
391
  _context.n = 1;
392
392
  return rollup.rollup({
393
- input: path$1.join(process$1.cwd(), './src/lib.ts'),
393
+ input: path$1.join(process$1.cwd(), './src/index.ts'),
394
394
  plugins: [typescript({
395
395
  compilerOptions: {
396
396
  target: 'ESNext',
@@ -420,7 +420,7 @@ var build = function build() {
420
420
  result = _context.v;
421
421
  _context.n = 2;
422
422
  return result.write({
423
- file: path$1.join(process$1.cwd(), './dist/bundle.esm.js'),
423
+ file: path$1.join(process$1.cwd(), './dist/index.esm.js'),
424
424
  format: 'es'
425
425
  });
426
426
  case 2:
@@ -432,10 +432,8 @@ var build = function build() {
432
432
 
433
433
  var _test_helper;
434
434
 
435
- // TODO: 添加测试用例验证模版的基本功能都是正确的?
436
435
  /**
437
436
  * 应用项目命令
438
- * coco app create 搭建框架
439
437
  * coco app build 构建
440
438
  * coco app dev 开发
441
439
  */
@@ -460,7 +458,6 @@ function execAppCmd(action) {
460
458
  }
461
459
  /**
462
460
  * 组件库项目命令
463
- * coco lib create 搭建框架
464
461
  * coco lib build 构建
465
462
  */
466
463
  function execLibCmd(action) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cocojs/cli",
3
3
  "description": "命令行工具,支持开发和构建功能",
4
- "version": "0.0.1-alpha202511172053",
4
+ "version": "0.0.1-alpha202511202111",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {