@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.
- package/lib/__templates__/expo/_gitignore +1 -0
- package/lib/__templates__/expo/template.config.js +2 -5
- package/lib/__templates__/native-static/_gitignore +1 -0
- package/lib/__templates__/nextjs/_gitignore +1 -0
- package/lib/__templates__/nextjs/eslint.config.mjs +0 -1
- package/lib/__templates__/nextjs/template.config.js +2 -7
- package/lib/__templates__/nuxt-vue/_gitignore +1 -0
- package/lib/__templates__/nuxt-vue/eslint.config.mjs +0 -33
- package/lib/__templates__/nuxt-vue/package.json +0 -1
- package/lib/__templates__/nuxt-vue/pnpm-lock.yaml +9 -1013
- package/lib/__templates__/nuxt-vue/template.config.js +2 -8
- package/lib/__templates__/pi-agent/_gitignore +1 -0
- package/lib/__templates__/taro/_gitignore +1 -0
- package/lib/__templates__/taro/template.config.js +2 -8
- package/lib/__templates__/vite/_gitignore +1 -0
- package/lib/__templates__/vite/eslint.config.mjs +0 -17
- package/lib/__templates__/vite/package.json +0 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +0 -1007
- package/lib/__templates__/vite/template.config.js +2 -7
- package/lib/cli.js +66 -30
- package/package.json +3 -3
|
@@ -42,11 +42,8 @@ const config = {
|
|
|
42
42
|
console.log(`Creating Expo project: ${context.appName}`);
|
|
43
43
|
return context;
|
|
44
44
|
},
|
|
45
|
-
onAfterRender: async (
|
|
46
|
-
|
|
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
|
|
@@ -53,13 +53,8 @@ const config = {
|
|
|
53
53
|
return context;
|
|
54
54
|
},
|
|
55
55
|
|
|
56
|
-
onAfterRender: async (_context,
|
|
57
|
-
|
|
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) => {
|
|
@@ -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: {
|