@lppx/nlearn 1.1.9 → 1.1.11

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.
@@ -129,7 +129,7 @@ async function selectFunctionWithFuzzySearch(functions) {
129
129
  async function executeDemoFunction(demoFunc) {
130
130
  try {
131
131
  console.log(`\n正在运行: ${demoFunc.displayName}\n`);
132
- console.log('='.repeat(50));
132
+ // console.log('='.repeat(50));
133
133
  // 构建模块路径(相对于 cli.ts 所在目录)
134
134
  const modulePath = (0, node_path_1.join)(__dirname, '..', 'demo', demoFunc.folder, `${demoFunc.file}.js`);
135
135
  // 动态导入模块
@@ -141,8 +141,8 @@ async function executeDemoFunction(demoFunc) {
141
141
  }
142
142
  // 执行函数
143
143
  await module[demoFunc.functionName]();
144
- console.log('\n' + '='.repeat(50));
145
- console.log('✓ 执行完成\n');
144
+ console.log('\n' + '='.repeat(50) + '用户选择的函数执行结束' + '='.repeat(50));
145
+ // console.log('✓ \n');
146
146
  }
147
147
  catch (error) {
148
148
  console.error('\n执行函数时出错:', error);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.1.9",
6
+ "version": "1.1.11",
7
7
  "description": "一个nodejs学习工具",
8
8
  "bin": {
9
9
  "nlearn": "dist/src/cli/index.js",
@@ -12,7 +12,8 @@
12
12
  "scripts": {
13
13
  "sync": "ts-node scripts/sync-repo.ts",
14
14
  "build": "tsc",
15
- "start": "node dist/src/cli/index.js"
15
+ "start": "node dist/src/cli/index.js",
16
+ "ccx": "npm version patch --force && npm run build && npm publish "
16
17
  },
17
18
  "author": "lipanpanx",
18
19
  "license": "MIT",