@walkeros/config 0.1.3 → 1.0.0

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
@@ -90,17 +90,17 @@ const config = {
90
90
  },
91
91
  transformIgnorePatterns: ['/node_modules/(?!(@walkeros)/)'],
92
92
  testMatch: ['<rootDir>/**/*.test.(ts|tsx|js|jsx)'],
93
- moduleFileExtensions: ['js', 'ts', 'tsx', 'mjs'],
93
+ moduleFileExtensions: ['js', 'ts', 'tsx', 'mjs', 'json'],
94
94
  rootDir: '.',
95
95
  moduleDirectories: ['node_modules', 'src'],
96
96
  extensionsToTreatAsEsm: ['.ts', '.tsx'],
97
97
  moduleNameMapper: getModuleMapper(),
98
98
  globals: getGlobals(),
99
99
 
100
- // Performance settings - fixed values for consistent behavior
101
- maxWorkers: 4,
100
+ // Performance settings - reduced for devcontainer memory constraints
101
+ maxWorkers: 2,
102
102
  testTimeout: 30000,
103
- forceExit: true,
103
+ // forceExit disabled to allow proper cleanup and detect handle leaks
104
104
  clearMocks: true,
105
105
  restoreMocks: true,
106
106
  detectOpenHandles: true,
@@ -110,7 +110,8 @@ const config = {
110
110
  '/node_modules/',
111
111
  '/dist/',
112
112
  '/build/',
113
- '/coverage/'
113
+ '/coverage/',
114
+ '.tmp'
114
115
  ],
115
116
  };
116
117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkeros/config",
3
- "version": "0.1.3",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "description": "Shared development configuration for walkerOS packages (TypeScript, ESLint, Jest, tsup)",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "@swc/core": "^1.11.13",
30
30
  "@swc/jest": "^0.2.37",
31
31
  "@testing-library/jest-dom": "^6.6.3",
32
- "@types/jest": "^29.5.14",
32
+ "@types/jest": "^30.0.0",
33
33
  "@eslint/js": "^9.23.0",
34
34
  "@typescript-eslint/eslint-plugin": "^8.28.0",
35
35
  "@typescript-eslint/parser": "^8.28.0",
@@ -41,8 +41,8 @@
41
41
  "eslint-plugin-react-hooks": "^5.2.0",
42
42
  "eslint-plugin-turbo": "^2.4.4",
43
43
  "globals": "^16.0.0",
44
- "jest": "^29.7.0",
45
- "jest-environment-jsdom": "^29.7.0",
44
+ "jest": "^30.2.0",
45
+ "jest-environment-jsdom": "^30.2.0",
46
46
  "tsup": "^8.4.0",
47
47
  "terser": "^5.39.0",
48
48
  "typescript": "^5.8.2"
package/tsup/index.mjs CHANGED
@@ -22,7 +22,7 @@ const buildModules = (customConfig = {}) => {
22
22
 
23
23
  return {
24
24
  ...baseConfig,
25
- clean: true,
25
+ clean: false,
26
26
  format: ['cjs', 'esm'],
27
27
  outExtension({ format }) {
28
28
  return { js: format === 'esm' ? '.mjs' : '.js' };