@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.
@@ -10,4 +10,5 @@ expo-env.d.ts
10
10
  logs/
11
11
  *.tsbuildinfo
12
12
  node-compile-cache/
13
+ .cozeproj/reduction
13
14
  .preview
@@ -42,11 +42,8 @@ const config = {
42
42
  console.log(`Creating Expo project: ${context.appName}`);
43
43
  return context;
44
44
  },
45
- onAfterRender: async (context, outputPath) => {
46
- console.log(`\nProject created at: ${outputPath}`);
47
- console.log(`\nConfiguration:`);
48
- console.log(` - Framework: Expo`);
49
- console.log(` - Port: ${context.port}`);
45
+ onAfterRender: async (_context, _outputPath) => {
46
+ // 输出由 init 命令统一处理
50
47
  },
51
48
  onComplete: async (_context, outputPath) => {
52
49
  // Skip pnpm update in test environment to avoid monorepo workspace issues
@@ -1 +1,2 @@
1
+ .cozeproj/reduction
1
2
  .preview
@@ -98,4 +98,5 @@ Desktop.ini
98
98
  .turbo
99
99
 
100
100
  .coze-logs
101
+ .cozeproj/reduction
101
102
  .preview
@@ -24,7 +24,6 @@ const eslintConfig = defineConfig([
24
24
  ...nextTs,
25
25
  {
26
26
  rules: {
27
- 'import/no-cycle': ['error', { ignoreExternal: true }],
28
27
  'react-hooks/set-state-in-effect': 'off',
29
28
  'no-restricted-syntax': ['error', ...syntaxRules],
30
29
  },
@@ -53,13 +53,8 @@ const config = {
53
53
  return context;
54
54
  },
55
55
 
56
- onAfterRender: async (_context, outputPath) => {
57
- console.log(`\nProject created at: ${outputPath}`);
58
- console.log('\nConfiguration:');
59
- console.log(' - Framework: Next.js');
60
- console.log(' - TypeScript: enabled');
61
- console.log(' - App Router: enabled');
62
- console.log(` - Port: ${_context.port}`);
56
+ onAfterRender: async (_context, _outputPath) => {
57
+ // 输出由 init 命令统一处理
63
58
  },
64
59
 
65
60
  onComplete: async (_context, outputPath) => {
@@ -28,4 +28,5 @@ logs
28
28
  .env
29
29
  .env.\*
30
30
  !.env.example
31
+ .cozeproj/reduction
31
32
  .preview
@@ -1,6 +1,5 @@
1
1
  import eslint from '@eslint/js';
2
2
  import tseslint from 'typescript-eslint';
3
- import pluginImport from 'eslint-plugin-import';
4
3
  import pluginVue from 'eslint-plugin-vue';
5
4
  import { defineConfig, globalIgnores } from 'eslint/config';
6
5
 
@@ -8,38 +7,6 @@ export default defineConfig([
8
7
  eslint.configs.recommended,
9
8
  ...tseslint.configs.recommended,
10
9
  ...pluginVue.configs['flat/recommended'],
11
- {
12
- settings: {
13
- 'import/extensions': [
14
- '.vue',
15
- '.ts',
16
- '.tsx',
17
- '.js',
18
- '.jsx',
19
- '.mjs',
20
- '.cjs',
21
- ],
22
- 'import/resolver': {
23
- node: {
24
- extensions: [
25
- '.vue',
26
- '.ts',
27
- '.tsx',
28
- '.js',
29
- '.jsx',
30
- '.mjs',
31
- '.cjs',
32
- ],
33
- },
34
- },
35
- },
36
- plugins: {
37
- import: pluginImport,
38
- },
39
- rules: {
40
- 'import/no-cycle': ['error', { ignoreExternal: true }],
41
- },
42
- },
43
10
  {
44
11
  files: ['**/*.vue'],
45
12
  languageOptions: {
@@ -28,7 +28,6 @@
28
28
  "autoprefixer": "^10.4.20",
29
29
  "coze-coding-dev-sdk": "^0.7.16",
30
30
  "eslint": "^9",
31
- "eslint-plugin-import": "^2.32.0",
32
31
  "eslint-plugin-vue": "^10",
33
32
  "only-allow": "^1.2.2",
34
33
  "postcss": "^8.4.49",