@walkeros/config 1.0.0 → 1.0.2-next-1769158278557

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/jest/index.mjs CHANGED
@@ -92,7 +92,7 @@ const config = {
92
92
  testMatch: ['<rootDir>/**/*.test.(ts|tsx|js|jsx)'],
93
93
  moduleFileExtensions: ['js', 'ts', 'tsx', 'mjs', 'json'],
94
94
  rootDir: '.',
95
- moduleDirectories: ['node_modules', 'src'],
95
+ moduleDirectories: ['node_modules', 'src', path.join(packagesDir, 'node_modules')],
96
96
  extensionsToTreatAsEsm: ['.ts', '.tsx'],
97
97
  moduleNameMapper: getModuleMapper(),
98
98
  globals: getGlobals(),
@@ -105,13 +105,16 @@ const config = {
105
105
  restoreMocks: true,
106
106
  detectOpenHandles: true,
107
107
 
108
+ // Exclude from module resolution (prevents Haste collisions with cached packages)
109
+ modulePathIgnorePatterns: ['<rootDir>/.tmp', '/dist/'],
110
+
108
111
  // Enhanced ignore patterns
109
112
  testPathIgnorePatterns: [
110
113
  '/node_modules/',
111
114
  '/dist/',
112
115
  '/build/',
113
116
  '/coverage/',
114
- '.tmp'
117
+ '.tmp',
115
118
  ],
116
119
  };
117
120
 
@@ -3,6 +3,9 @@ import baseConfig from '@walkeros/config/jest';
3
3
  const config = {
4
4
  setupFilesAfterEnv: ['@walkeros/config/jest/web.setup'],
5
5
  testEnvironment: 'jsdom',
6
+ testEnvironmentOptions: {
7
+ url: 'https://example.com',
8
+ },
6
9
  };
7
10
 
8
11
  export default { ...baseConfig, ...config };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkeros/config",
3
- "version": "1.0.0",
3
+ "version": "1.0.2-next-1769158278557",
4
4
  "type": "module",
5
5
  "description": "Shared development configuration for walkerOS packages (TypeScript, ESLint, Jest, tsup)",
6
6
  "license": "MIT",