@coze-arch/cli 0.0.23-alpha.75ff0b → 0.0.24-alpha.4aa4c4

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.
@@ -62,14 +62,8 @@ const config = {
62
62
  return context;
63
63
  },
64
64
 
65
- onAfterRender: async (_context, outputPath) => {
66
- console.log(`\nProject created at: ${outputPath}`);
67
- console.log('\nConfiguration:');
68
- console.log(' - Framework: Nuxt.js');
69
- console.log(' - TypeScript: enabled');
70
- console.log(' - Vue: 3.x');
71
- console.log(' - Build Tool: Vite');
72
- console.log(` - Port: ${_context.port}`);
65
+ onAfterRender: async (_context, _outputPath) => {
66
+ // 输出由 init 命令统一处理
73
67
  },
74
68
 
75
69
  onComplete: async (_context, _outputPath) => {
@@ -1,4 +1,5 @@
1
1
  node_modules
2
2
  dist
3
3
  .env
4
+ .cozeproj/reduction
4
5
  .preview
@@ -39,4 +39,5 @@ pnpm-debug.log*
39
39
 
40
40
  # Key
41
41
  # key/
42
+ .cozeproj/reduction
42
43
  .preview
@@ -54,14 +54,8 @@ const config = {
54
54
  console.log(`Creating Taro project: ${context.appName}`);
55
55
  return context;
56
56
  },
57
- onAfterRender: async (context, outputPath) => {
58
- console.log(`\nProject created at: ${outputPath}`);
59
- console.log('\nConfiguration:');
60
- console.log(' - Framework: Taro 4 + NestJS');
61
- console.log(' - TypeScript: enabled');
62
- console.log(' - Platforms: H5, WeChat Mini Program');
63
- console.log(` - H5 Port: ${context.port}`);
64
- console.log(` - Server Port: ${context.serverPort}`);
57
+ onAfterRender: async (_context, _outputPath) => {
58
+ // 输出由 init 命令统一处理
65
59
  },
66
60
  };
67
61
 
@@ -66,4 +66,5 @@ Thumbs.db
66
66
  .vite/
67
67
 
68
68
  .coze-logs
69
+ .cozeproj/reduction
69
70
  .preview
@@ -1,27 +1,10 @@
1
1
  import eslint from '@eslint/js';
2
- import pluginImport from 'eslint-plugin-import';
3
2
  import tseslint from 'typescript-eslint';
4
3
  import { defineConfig, globalIgnores } from 'eslint/config';
5
4
 
6
5
  export default defineConfig([
7
6
  eslint.configs.recommended,
8
7
  ...tseslint.configs.recommended,
9
- {
10
- settings: {
11
- 'import/extensions': ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs'],
12
- 'import/resolver': {
13
- node: {
14
- extensions: ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs'],
15
- },
16
- },
17
- },
18
- plugins: {
19
- import: pluginImport,
20
- },
21
- rules: {
22
- 'import/no-cycle': ['error', { ignoreExternal: true }],
23
- },
24
- },
25
8
  globalIgnores([
26
9
  'dist/**',
27
10
  'dist-server/**',
@@ -24,7 +24,6 @@
24
24
  "coze-coding-dev-sdk": "^0.7.16",
25
25
  "esbuild": "^0.24.2",
26
26
  "eslint": "^9",
27
- "eslint-plugin-import": "^2.32.0",
28
27
  "only-allow": "^1.2.2",
29
28
  "postcss": "^8.4.49",
30
29
  "tailwindcss": "^3.4.17",