@coze-arch/cli 0.0.24 → 0.0.26

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.
@@ -49,8 +49,8 @@ importers:
49
49
  specifier: ^7.0.14
50
50
  version: 7.1.28(react-native@0.81.5(@babel/core@7.28.6)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0)
51
51
  dayjs:
52
- specifier: ^1.11.19
53
- version: 1.11.19
52
+ specifier: ^1.11.20
53
+ version: 1.11.20
54
54
  expo:
55
55
  specifier: 54.0.33
56
56
  version: 54.0.33(patch_hash=oibatoworxrl4npxv627d5aa3e)(@babel/core@7.28.6)(@expo/metro-runtime@6.1.2)(expo-router@6.0.23)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.6)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.6)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0)
@@ -272,8 +272,8 @@ importers:
272
272
  specifier: ^0.7.16
273
273
  version: 0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0)
274
274
  dayjs:
275
- specifier: ^1.11.19
276
- version: 1.11.19
275
+ specifier: ^1.11.20
276
+ version: 1.11.20
277
277
  dotenv:
278
278
  specifier: ^17.2.3
279
279
  version: 17.2.4
@@ -2711,8 +2711,8 @@ packages:
2711
2711
  resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}
2712
2712
  engines: {node: '>= 0.4'}
2713
2713
 
2714
- dayjs@1.11.19:
2715
- resolution: {integrity: sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==}
2714
+ dayjs@1.11.20:
2715
+ resolution: {integrity: sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ==}
2716
2716
 
2717
2717
  debug@2.6.9:
2718
2718
  resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
@@ -9190,7 +9190,7 @@ snapshots:
9190
9190
  es-errors: 1.3.0
9191
9191
  is-data-view: 1.0.2
9192
9192
 
9193
- dayjs@1.11.19: {}
9193
+ dayjs@1.11.20: {}
9194
9194
 
9195
9195
  debug@2.6.9:
9196
9196
  dependencies:
@@ -24,6 +24,7 @@ const eslintConfig = defineConfig([
24
24
  ...nextTs,
25
25
  {
26
26
  rules: {
27
+ 'import/no-cycle': ['error', { ignoreExternal: true }],
27
28
  'react-hooks/set-state-in-effect': 'off',
28
29
  'no-restricted-syntax': ['error', ...syntaxRules],
29
30
  },
@@ -1,5 +1,6 @@
1
1
  import eslint from '@eslint/js';
2
2
  import tseslint from 'typescript-eslint';
3
+ import pluginImport from 'eslint-plugin-import';
3
4
  import pluginVue from 'eslint-plugin-vue';
4
5
  import { defineConfig, globalIgnores } from 'eslint/config';
5
6
 
@@ -7,6 +8,38 @@ export default defineConfig([
7
8
  eslint.configs.recommended,
8
9
  ...tseslint.configs.recommended,
9
10
  ...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
+ },
10
43
  {
11
44
  files: ['**/*.vue'],
12
45
  languageOptions: {
@@ -28,6 +28,7 @@
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",
31
32
  "eslint-plugin-vue": "^10",
32
33
  "only-allow": "^1.2.2",
33
34
  "postcss": "^8.4.49",