@procore/hammer-test-jest 0.10.0 → 0.11.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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @procore/hammer-test-jest
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 53a92fe: Upgrades dependencies.
8
+ - a07d0ff: Updates the node engines version ranges to support current, active, and maintenance versions of Node.
9
+ - e0b46f0: Extend `HammerConfig` interface for typed configuration.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [3843fbe]
14
+ - @procore/hammer-types@0.7.0
15
+
3
16
  ## 0.10.0
4
17
 
5
18
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -1,7 +1,15 @@
1
- import * as _procore_hammer_types from '@procore/hammer-types';
1
+ import { HammerConfig } from '@procore/hammer-types';
2
+ import { Config } from 'jest';
2
3
 
3
- declare const init: (rootDir: string, config: _procore_hammer_types.HammerConfig) => Promise<void>;
4
- declare const test: (rootDir: string, config: _procore_hammer_types.HammerConfig, options: {
4
+ type OverrideConfig = (config: Config) => Config;
5
+ declare module '@procore/hammer-types' {
6
+ interface HammerConfig {
7
+ testJest?: OverrideConfig;
8
+ }
9
+ }
10
+
11
+ declare const init: (rootDir: string, config: HammerConfig) => Promise<void>;
12
+ declare const test: (rootDir: string, config: HammerConfig, options: {
5
13
  watch: boolean;
6
14
  coverage: boolean;
7
15
  ci: boolean;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,15 @@
1
- import * as _procore_hammer_types from '@procore/hammer-types';
1
+ import { HammerConfig } from '@procore/hammer-types';
2
+ import { Config } from 'jest';
2
3
 
3
- declare const init: (rootDir: string, config: _procore_hammer_types.HammerConfig) => Promise<void>;
4
- declare const test: (rootDir: string, config: _procore_hammer_types.HammerConfig, options: {
4
+ type OverrideConfig = (config: Config) => Config;
5
+ declare module '@procore/hammer-types' {
6
+ interface HammerConfig {
7
+ testJest?: OverrideConfig;
8
+ }
9
+ }
10
+
11
+ declare const init: (rootDir: string, config: HammerConfig) => Promise<void>;
12
+ declare const test: (rootDir: string, config: HammerConfig, options: {
5
13
  watch: boolean;
6
14
  coverage: boolean;
7
15
  ci: boolean;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@procore/hammer-test-jest",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Hammer test runner, jest",
5
5
  "author": "Procore Technologies, Inc",
6
6
  "homepage": "https://github.com/procore/hammer/packages/test-jest",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/procore/hammer.git",
10
- "directory": "packages/lib-tsup"
10
+ "directory": "packages/test-jest"
11
11
  },
12
12
  "license": "SEE LICENSE IN LICENSE",
13
13
  "keywords": [],
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "engines": {
30
- "node": "^18.18.0 || ^20.9.0 || ^22.0.0"
30
+ "node": "^20.19.0 || ^22.12.0 || ^24.0.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsup",
@@ -43,11 +43,11 @@
43
43
  "test:watch": "vitest"
44
44
  },
45
45
  "dependencies": {
46
- "@babel/core": "^7.27.4",
47
- "@babel/preset-env": "^7.27.2",
46
+ "@babel/core": "^7.28.0",
47
+ "@babel/preset-env": "^7.28.0",
48
48
  "@babel/preset-react": "^7.27.1",
49
49
  "@babel/preset-typescript": "^7.27.1",
50
- "@procore/hammer-types": "^0.6.0",
50
+ "@procore/hammer-types": "^0.7.0",
51
51
  "babel-jest": "^29.7.0",
52
52
  "identity-obj-proxy": "^3.0.0",
53
53
  "jest": "^29.7.0",
@@ -58,12 +58,12 @@
58
58
  "@procore/eslint-config": "^15.2.1",
59
59
  "@procore/prettier-config": "^1.1.1",
60
60
  "@procore/typescript-config": "^2.0.0",
61
- "@types/node": "^20.19.1",
61
+ "@types/node": "^20.19.6",
62
62
  "@vitest/coverage-v8": "^3.2.4",
63
63
  "del-cli": "^6.0.0",
64
- "eslint": "^9.29.0",
64
+ "eslint": "^9.31.0",
65
65
  "pathe": "^2.0.3",
66
- "prettier": "^3.6.0",
66
+ "prettier": "^3.6.2",
67
67
  "tsup": "^8.5.0",
68
68
  "typescript": "~5.5.4",
69
69
  "vitest": "^3.2.4"