@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
|
@@ -62,14 +62,8 @@ const config = {
|
|
|
62
62
|
return context;
|
|
63
63
|
},
|
|
64
64
|
|
|
65
|
-
onAfterRender: async (_context,
|
|
66
|
-
|
|
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) => {
|
|
@@ -54,14 +54,8 @@ const config = {
|
|
|
54
54
|
console.log(`Creating Taro project: ${context.appName}`);
|
|
55
55
|
return context;
|
|
56
56
|
},
|
|
57
|
-
onAfterRender: async (
|
|
58
|
-
|
|
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
|
|
|
@@ -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/**',
|