@storm-software/testing-tools 1.53.0 → 1.54.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,107 +1,118 @@
1
- ## 1.53.0 (2024-08-03)
1
+ ## 1.54.0 (2024-08-29)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- - **eslint:** Ignore `prefer-nullish-coalescing` for strings ([dbae2a58](https://github.com/storm-software/storm-ops/commit/dbae2a58))
6
+ - **workspace-tools:** Added base entry to package ([b0d3b788](https://github.com/storm-software/storm-ops/commit/b0d3b788))
7
7
 
8
- ## 1.52.0 (2024-08-03)
8
+ ## 1.53.0 (2024-08-03)
9
9
 
10
+ ### Features
11
+
12
+ - **eslint:** Ignore `prefer-nullish-coalescing` for strings
13
+ ([dbae2a58](https://github.com/storm-software/storm-ops/commit/dbae2a58))
14
+
15
+ ## 1.52.0 (2024-08-03)
10
16
 
11
17
  ### Features
12
18
 
13
- - **storm-ops:** Upgrade workspace's Nx package dependencies ([5f31f734](https://github.com/storm-software/storm-ops/commit/5f31f734))
19
+ - **storm-ops:** Upgrade workspace's Nx package dependencies
20
+ ([5f31f734](https://github.com/storm-software/storm-ops/commit/5f31f734))
14
21
 
15
22
  ## 1.51.1 (2024-08-03)
16
23
 
17
-
18
24
  ### Bug Fixes
19
25
 
20
- - **build-tools:** Resolved issue with the entry name parameter in unbuild config ([f5e5dbdd](https://github.com/storm-software/storm-ops/commit/f5e5dbdd))
26
+ - **build-tools:** Resolved issue with the entry name parameter in unbuild
27
+ config
28
+ ([f5e5dbdd](https://github.com/storm-software/storm-ops/commit/f5e5dbdd))
21
29
 
22
30
  ## 1.51.0 (2024-08-02)
23
31
 
24
-
25
32
  ### Features
26
33
 
27
- - **build-tools:** Update the unbuild configuration to get exports from `package.json` files ([bb2fc78f](https://github.com/storm-software/storm-ops/commit/bb2fc78f))
34
+ - **build-tools:** Update the unbuild configuration to get exports from
35
+ `package.json` files
36
+ ([bb2fc78f](https://github.com/storm-software/storm-ops/commit/bb2fc78f))
28
37
 
29
38
  ## 1.50.0 (2024-08-02)
30
39
 
31
-
32
40
  ### Features
33
41
 
34
- - **terraform-tools:** Initial check-in of project code ([c4ef4810](https://github.com/storm-software/storm-ops/commit/c4ef4810))
42
+ - **terraform-tools:** Initial check-in of project code
43
+ ([c4ef4810](https://github.com/storm-software/storm-ops/commit/c4ef4810))
35
44
 
36
45
  ## 1.49.0 (2024-08-02)
37
46
 
38
-
39
47
  ### Features
40
48
 
41
- - **eslint:** Reformatted the banner string whitespace ([2df75cbb](https://github.com/storm-software/storm-ops/commit/2df75cbb))
49
+ - **eslint:** Reformatted the banner string whitespace
50
+ ([2df75cbb](https://github.com/storm-software/storm-ops/commit/2df75cbb))
42
51
 
43
52
  ## 1.48.1 (2024-08-02)
44
53
 
45
-
46
54
  ### Bug Fixes
47
55
 
48
- - **eslint:** Resolve issue with duplicate plugins ([23c09494](https://github.com/storm-software/storm-ops/commit/23c09494))
56
+ - **eslint:** Resolve issue with duplicate plugins
57
+ ([23c09494](https://github.com/storm-software/storm-ops/commit/23c09494))
49
58
 
50
59
  ## 1.48.0 (2024-08-02)
51
60
 
52
-
53
61
  ### Features
54
62
 
55
- - **eslint:** Added a banner with `__filename` and `__dirname` to the distribution ([594c0e9a](https://github.com/storm-software/storm-ops/commit/594c0e9a))
63
+ - **eslint:** Added a banner with `__filename` and `__dirname` to the
64
+ distribution
65
+ ([594c0e9a](https://github.com/storm-software/storm-ops/commit/594c0e9a))
56
66
 
57
67
  ## 1.47.0 (2024-08-02)
58
68
 
59
-
60
69
  ### Features
61
70
 
62
- - **eslint:** Improved the logic around determining the banner ([4bbb321d](https://github.com/storm-software/storm-ops/commit/4bbb321d))
71
+ - **eslint:** Improved the logic around determining the banner
72
+ ([4bbb321d](https://github.com/storm-software/storm-ops/commit/4bbb321d))
63
73
 
64
74
  ## 1.46.0 (2024-08-01)
65
75
 
66
-
67
76
  ### Features
68
77
 
69
- - **eslint:** Added the `parserOptions` parameter to the preset's options ([344db07c](https://github.com/storm-software/storm-ops/commit/344db07c))
78
+ - **eslint:** Added the `parserOptions` parameter to the preset's options
79
+ ([344db07c](https://github.com/storm-software/storm-ops/commit/344db07c))
70
80
 
71
81
  ## 1.45.1 (2024-08-01)
72
82
 
73
-
74
83
  ### Bug Fixes
75
84
 
76
- - **eslint:** Resolved issues with invalid TypeScript flat configuration ([88166ab1](https://github.com/storm-software/storm-ops/commit/88166ab1))
85
+ - **eslint:** Resolved issues with invalid TypeScript flat configuration
86
+ ([88166ab1](https://github.com/storm-software/storm-ops/commit/88166ab1))
77
87
 
78
88
  ## 1.45.0 (2024-08-01)
79
89
 
80
-
81
90
  ### Features
82
91
 
83
- - **git-tools:** Ensure `.git/COMMIT_EDITMSG` exists before reading from disk ([7abae7ae](https://github.com/storm-software/storm-ops/commit/7abae7ae))
92
+ - **git-tools:** Ensure `.git/COMMIT_EDITMSG` exists before reading from disk
93
+ ([7abae7ae](https://github.com/storm-software/storm-ops/commit/7abae7ae))
84
94
 
85
95
  ## 1.44.2 (2024-07-31)
86
96
 
87
-
88
97
  ### Bug Fixes
89
98
 
90
- - **git-tools:** Resolved issue when `commitlint` is called without a `message` parameter ([624b24bc](https://github.com/storm-software/storm-ops/commit/624b24bc))
99
+ - **git-tools:** Resolved issue when `commitlint` is called without a `message`
100
+ parameter
101
+ ([624b24bc](https://github.com/storm-software/storm-ops/commit/624b24bc))
91
102
 
92
103
  ## 1.44.1 (2024-07-31)
93
104
 
94
-
95
105
  ### Bug Fixes
96
106
 
97
- - **build-tools:** Resolve issues with the output path provided to unbuild ([ee9c2353](https://github.com/storm-software/storm-ops/commit/ee9c2353))
107
+ - **build-tools:** Resolve issues with the output path provided to unbuild
108
+ ([ee9c2353](https://github.com/storm-software/storm-ops/commit/ee9c2353))
98
109
 
99
110
  ## 1.44.0 (2024-07-31)
100
111
 
101
-
102
112
  ### Features
103
113
 
104
- - **build-tools:** Added the CODEOWNERS linting tool ([63099b1b](https://github.com/storm-software/storm-ops/commit/63099b1b))
114
+ - **build-tools:** Added the CODEOWNERS linting tool
115
+ ([63099b1b](https://github.com/storm-software/storm-ops/commit/63099b1b))
105
116
 
106
117
  ## 1.43.0 (2024-07-17)
107
118
 
package/declarations.d.ts CHANGED
@@ -16,5 +16,9 @@ import type { Config } from "jest";
16
16
  * @param displayName The name to display in the Jest output
17
17
  * @returns The Jest configuration
18
18
  */
19
- declare function getJestConfig(projectDir: string, isNode?: boolean, displayName?: string): Config;
19
+ declare function getJestConfig(
20
+ projectDir: string,
21
+ isNode?: boolean,
22
+ displayName?: string
23
+ ): Config;
20
24
  export { getJestConfig };
@@ -1,5 +1,5 @@
1
- import { join } from "node:path";
2
1
  import type { Config } from "jest";
2
+ import { join } from "node:path";
3
3
 
4
4
  /**
5
5
  * Config for Jest unit tests
@@ -17,8 +17,14 @@ import type { Config } from "jest";
17
17
  * @param displayName The name to display in the Jest output
18
18
  * @returns The Jest configuration
19
19
  */
20
- export const getJestConfig = (projectDir: string, isNode = true, displayName?: string): Config => ({
21
- displayName: displayName ? displayName : projectDir.replaceAll("\\", "-").replaceAll("/", "-"),
20
+ export const getJestConfig = (
21
+ projectDir: string,
22
+ isNode = true,
23
+ displayName?: string
24
+ ): Config => ({
25
+ displayName: displayName
26
+ ? displayName
27
+ : projectDir.replaceAll("\\", "-").replaceAll("/", "-"),
22
28
  preset: "@storm-software/testing-tools/jest/preset.js",
23
29
  testEnvironment: isNode ? "node" : "jsdom",
24
30
  transform: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/testing-tools",
3
- "version": "1.53.0",
3
+ "version": "1.54.0",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A package containing various testing tools used by Storm workspaces to drive unit and e2e testing.",
6
6
  "repository": {
@@ -32,11 +32,11 @@
32
32
  "monorepo"
33
33
  ],
34
34
  "peerDependencies": {
35
- "@nx/jest": "^19.5.6",
35
+ "@nx/jest": "^19.6.2",
36
36
  "jest": "29.7.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@nx/jest": "^19.5.6",
39
+ "@nx/jest": "^19.6.2",
40
40
  "jest": "29.7.0",
41
41
  "jest-resolve": "29.7.0"
42
42
  },