@lark-apaas/coding-templates 0.1.34 → 0.1.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-templates",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "OpenClaw project templates for mclaw CLI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,6 +1,8 @@
1
1
  import { eslintPresets } from '@lark-apaas/coding-presets'
2
+ import { defineConfig, globalIgnores } from 'eslint/config'
2
3
 
3
- export default [
4
+ export default defineConfig([
5
+ globalIgnores(['dist', '**/components/ui/**']),
4
6
  // 客户端:React + TypeScript
5
7
  ...eslintPresets.client.map(config => config.ignores ? config : {
6
8
  ...config,
@@ -11,4 +13,4 @@ export default [
11
13
  ...config,
12
14
  files: ['server/**/*.ts', 'shared/**/*.ts'],
13
15
  }),
14
- ]
16
+ ])
@@ -6,7 +6,7 @@ import tseslint from 'typescript-eslint'
6
6
  import { defineConfig, globalIgnores } from 'eslint/config'
7
7
 
8
8
  export default defineConfig([
9
- globalIgnores(['dist']),
9
+ globalIgnores(['dist', '**/components/ui/**']),
10
10
  {
11
11
  files: ['**/*.{ts,tsx}'],
12
12
  extends: [