diff --git a/.gitignore b/.gitignore index f860c867..b7ecfe95 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,9 @@ docs/api/ docs/.vitepress/cache/ docs/.vitepress/dist/ +# Claude Code agent worktrees, each a full checkout of the repo +.claude/worktrees/ + #### joe made this: http://goel.io/joe #####=== Archives ===##### diff --git a/eslint.config.mjs b/eslint.config.mjs index bc6c13a1..c8b6386a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -11,7 +11,8 @@ export default tseslint.config( '**/node_modules/**', '**/coverage/**', 'docs/api/**', - 'docs/.vitepress/cache/**' + 'docs/.vitepress/cache/**', + '.claude/worktrees/**' ] }, eslint.configs.recommended, diff --git a/jest.config.ts b/jest.config.ts index 9a7de494..22144a42 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -17,7 +17,14 @@ const config: Config = { testEnvironment: 'node', // Generated files import with a .js extension, which resolves to the .ts source moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' }, - testPathIgnorePatterns: ['node_modules/', 'dist/', '/docs/'], + // Agent worktrees in .claude/worktrees hold copies of every package + modulePathIgnorePatterns: ['/.claude/'], + testPathIgnorePatterns: [ + 'node_modules/', + 'dist/', + '/docs/', + '/.claude/' + ], transform: { '^.+\\.tsx?$': [ 'ts-jest',