@agentic15.com/agentic15-claude-zen 4.0.2 → 4.0.4
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 +1 -1
- package/src/cli/CommitCommand.js +316 -331
- package/src/cli/UpgradeCommand.js +191 -189
- package/src/core/TemplateManager.js +0 -8
- package/templates/.claude/hooks/session-start-context.js +131 -128
- package/templates/.claude/settings.json +1 -81
- package/templates/package.json +1 -16
- package/templates/.babelrc +0 -6
- package/templates/.claude/hooks/post-merge.js +0 -163
- package/templates/.claude/hooks/validate-git-workflow.js +0 -74
- package/templates/__mocks__/fileMock.js +0 -9
- package/templates/jest.config.js +0 -48
- package/templates/jest.setup.js +0 -13
package/templates/jest.config.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Jest Configuration
|
|
3
|
-
* Framework-agnostic configuration supporting React, Vue, Angular, Svelte
|
|
4
|
-
*
|
|
5
|
-
* @version 1.4.4
|
|
6
|
-
* @package agentic15-claude-zen
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
module.exports = {
|
|
10
|
-
// Use jsdom for DOM testing (React, Vue, Svelte, Angular)
|
|
11
|
-
testEnvironment: 'jsdom',
|
|
12
|
-
|
|
13
|
-
// Transform JS/JSX/TS/TSX files with babel-jest
|
|
14
|
-
transform: {
|
|
15
|
-
'^.+\\.(js|jsx|ts|tsx)$': 'babel-jest',
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
// Support JS, JSX, TS, TSX file extensions
|
|
19
|
-
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json'],
|
|
20
|
-
|
|
21
|
-
// Find test files in tests/ directory
|
|
22
|
-
testMatch: [
|
|
23
|
-
'**/tests/**/*.test.{js,jsx,ts,tsx}',
|
|
24
|
-
'**/tests/**/*.spec.{js,jsx,ts,tsx}',
|
|
25
|
-
],
|
|
26
|
-
|
|
27
|
-
// Coverage collection
|
|
28
|
-
collectCoverageFrom: [
|
|
29
|
-
'Agent/src/**/*.{js,jsx,ts,tsx}',
|
|
30
|
-
'!Agent/src/**/*.d.ts',
|
|
31
|
-
'!Agent/src/index.{js,ts}',
|
|
32
|
-
],
|
|
33
|
-
|
|
34
|
-
// Setup files for different frameworks
|
|
35
|
-
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
|
36
|
-
|
|
37
|
-
// Module name mapper for CSS/asset imports
|
|
38
|
-
moduleNameMapper: {
|
|
39
|
-
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
|
|
40
|
-
'\\.(jpg|jpeg|png|gif|svg)$': '<rootDir>/__mocks__/fileMock.js',
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
// Ignore patterns
|
|
44
|
-
testPathIgnorePatterns: ['/node_modules/', '/test-site/'],
|
|
45
|
-
|
|
46
|
-
// Verbose output
|
|
47
|
-
verbose: true,
|
|
48
|
-
};
|
package/templates/jest.setup.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Jest Setup File
|
|
3
|
-
* Configures testing environment for UI components
|
|
4
|
-
*
|
|
5
|
-
* @version 1.4.4
|
|
6
|
-
* @package agentic15-claude-zen
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// Import jest-dom matchers for better assertions
|
|
10
|
-
import '@testing-library/jest-dom';
|
|
11
|
-
|
|
12
|
-
// Suppress console errors during tests (optional)
|
|
13
|
-
// global.console.error = jest.fn();
|