@storm-software/testing-tools 1.53.0 → 1.55.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 +48 -30
- package/README.md +1 -1
- package/declarations.d.ts +5 -1
- package/jest/package.config.ts +9 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,107 +1,125 @@
|
|
|
1
|
-
## 1.
|
|
1
|
+
## 1.55.0 (2024-08-29)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
- **
|
|
6
|
+
- **workspace-tools:** Added `nx-default.json` and `nx-cloud.json` files ([4bb13faa](https://github.com/storm-software/storm-ops/commit/4bb13faa))
|
|
7
7
|
|
|
8
|
-
## 1.
|
|
8
|
+
## 1.54.0 (2024-08-29)
|
|
9
|
+
|
|
10
|
+
### Features
|
|
9
11
|
|
|
12
|
+
- **workspace-tools:** Added base entry to package
|
|
13
|
+
([b0d3b788](https://github.com/storm-software/storm-ops/commit/b0d3b788))
|
|
14
|
+
|
|
15
|
+
## 1.53.0 (2024-08-03)
|
|
10
16
|
|
|
11
17
|
### Features
|
|
12
18
|
|
|
13
|
-
- **
|
|
19
|
+
- **eslint:** Ignore `prefer-nullish-coalescing` for strings
|
|
20
|
+
([dbae2a58](https://github.com/storm-software/storm-ops/commit/dbae2a58))
|
|
14
21
|
|
|
15
|
-
## 1.
|
|
22
|
+
## 1.52.0 (2024-08-03)
|
|
23
|
+
|
|
24
|
+
### Features
|
|
16
25
|
|
|
26
|
+
- **storm-ops:** Upgrade workspace's Nx package dependencies
|
|
27
|
+
([5f31f734](https://github.com/storm-software/storm-ops/commit/5f31f734))
|
|
28
|
+
|
|
29
|
+
## 1.51.1 (2024-08-03)
|
|
17
30
|
|
|
18
31
|
### Bug Fixes
|
|
19
32
|
|
|
20
|
-
- **build-tools:** Resolved issue with the entry name parameter in unbuild
|
|
33
|
+
- **build-tools:** Resolved issue with the entry name parameter in unbuild
|
|
34
|
+
config
|
|
35
|
+
([f5e5dbdd](https://github.com/storm-software/storm-ops/commit/f5e5dbdd))
|
|
21
36
|
|
|
22
37
|
## 1.51.0 (2024-08-02)
|
|
23
38
|
|
|
24
|
-
|
|
25
39
|
### Features
|
|
26
40
|
|
|
27
|
-
- **build-tools:** Update the unbuild configuration to get exports from
|
|
41
|
+
- **build-tools:** Update the unbuild configuration to get exports from
|
|
42
|
+
`package.json` files
|
|
43
|
+
([bb2fc78f](https://github.com/storm-software/storm-ops/commit/bb2fc78f))
|
|
28
44
|
|
|
29
45
|
## 1.50.0 (2024-08-02)
|
|
30
46
|
|
|
31
|
-
|
|
32
47
|
### Features
|
|
33
48
|
|
|
34
|
-
- **terraform-tools:** Initial check-in of project code
|
|
49
|
+
- **terraform-tools:** Initial check-in of project code
|
|
50
|
+
([c4ef4810](https://github.com/storm-software/storm-ops/commit/c4ef4810))
|
|
35
51
|
|
|
36
52
|
## 1.49.0 (2024-08-02)
|
|
37
53
|
|
|
38
|
-
|
|
39
54
|
### Features
|
|
40
55
|
|
|
41
|
-
- **eslint:** Reformatted the banner string whitespace
|
|
56
|
+
- **eslint:** Reformatted the banner string whitespace
|
|
57
|
+
([2df75cbb](https://github.com/storm-software/storm-ops/commit/2df75cbb))
|
|
42
58
|
|
|
43
59
|
## 1.48.1 (2024-08-02)
|
|
44
60
|
|
|
45
|
-
|
|
46
61
|
### Bug Fixes
|
|
47
62
|
|
|
48
|
-
- **eslint:** Resolve issue with duplicate plugins
|
|
63
|
+
- **eslint:** Resolve issue with duplicate plugins
|
|
64
|
+
([23c09494](https://github.com/storm-software/storm-ops/commit/23c09494))
|
|
49
65
|
|
|
50
66
|
## 1.48.0 (2024-08-02)
|
|
51
67
|
|
|
52
|
-
|
|
53
68
|
### Features
|
|
54
69
|
|
|
55
|
-
- **eslint:** Added a banner with `__filename` and `__dirname` to the
|
|
70
|
+
- **eslint:** Added a banner with `__filename` and `__dirname` to the
|
|
71
|
+
distribution
|
|
72
|
+
([594c0e9a](https://github.com/storm-software/storm-ops/commit/594c0e9a))
|
|
56
73
|
|
|
57
74
|
## 1.47.0 (2024-08-02)
|
|
58
75
|
|
|
59
|
-
|
|
60
76
|
### Features
|
|
61
77
|
|
|
62
|
-
- **eslint:** Improved the logic around determining the banner
|
|
78
|
+
- **eslint:** Improved the logic around determining the banner
|
|
79
|
+
([4bbb321d](https://github.com/storm-software/storm-ops/commit/4bbb321d))
|
|
63
80
|
|
|
64
81
|
## 1.46.0 (2024-08-01)
|
|
65
82
|
|
|
66
|
-
|
|
67
83
|
### Features
|
|
68
84
|
|
|
69
|
-
- **eslint:** Added the `parserOptions` parameter to the preset's options
|
|
85
|
+
- **eslint:** Added the `parserOptions` parameter to the preset's options
|
|
86
|
+
([344db07c](https://github.com/storm-software/storm-ops/commit/344db07c))
|
|
70
87
|
|
|
71
88
|
## 1.45.1 (2024-08-01)
|
|
72
89
|
|
|
73
|
-
|
|
74
90
|
### Bug Fixes
|
|
75
91
|
|
|
76
|
-
- **eslint:** Resolved issues with invalid TypeScript flat configuration
|
|
92
|
+
- **eslint:** Resolved issues with invalid TypeScript flat configuration
|
|
93
|
+
([88166ab1](https://github.com/storm-software/storm-ops/commit/88166ab1))
|
|
77
94
|
|
|
78
95
|
## 1.45.0 (2024-08-01)
|
|
79
96
|
|
|
80
|
-
|
|
81
97
|
### Features
|
|
82
98
|
|
|
83
|
-
- **git-tools:** Ensure `.git/COMMIT_EDITMSG` exists before reading from disk
|
|
99
|
+
- **git-tools:** Ensure `.git/COMMIT_EDITMSG` exists before reading from disk
|
|
100
|
+
([7abae7ae](https://github.com/storm-software/storm-ops/commit/7abae7ae))
|
|
84
101
|
|
|
85
102
|
## 1.44.2 (2024-07-31)
|
|
86
103
|
|
|
87
|
-
|
|
88
104
|
### Bug Fixes
|
|
89
105
|
|
|
90
|
-
- **git-tools:** Resolved issue when `commitlint` is called without a `message`
|
|
106
|
+
- **git-tools:** Resolved issue when `commitlint` is called without a `message`
|
|
107
|
+
parameter
|
|
108
|
+
([624b24bc](https://github.com/storm-software/storm-ops/commit/624b24bc))
|
|
91
109
|
|
|
92
110
|
## 1.44.1 (2024-07-31)
|
|
93
111
|
|
|
94
|
-
|
|
95
112
|
### Bug Fixes
|
|
96
113
|
|
|
97
|
-
- **build-tools:** Resolve issues with the output path provided to unbuild
|
|
114
|
+
- **build-tools:** Resolve issues with the output path provided to unbuild
|
|
115
|
+
([ee9c2353](https://github.com/storm-software/storm-ops/commit/ee9c2353))
|
|
98
116
|
|
|
99
117
|
## 1.44.0 (2024-07-31)
|
|
100
118
|
|
|
101
|
-
|
|
102
119
|
### Features
|
|
103
120
|
|
|
104
|
-
- **build-tools:** Added the CODEOWNERS linting tool
|
|
121
|
+
- **build-tools:** Added the CODEOWNERS linting tool
|
|
122
|
+
([63099b1b](https://github.com/storm-software/storm-ops/commit/63099b1b))
|
|
105
123
|
|
|
106
124
|
## 1.43.0 (2024-07-17)
|
|
107
125
|
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
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(
|
|
19
|
+
declare function getJestConfig(
|
|
20
|
+
projectDir: string,
|
|
21
|
+
isNode?: boolean,
|
|
22
|
+
displayName?: string
|
|
23
|
+
): Config;
|
|
20
24
|
export { getJestConfig };
|
package/jest/package.config.ts
CHANGED
|
@@ -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 = (
|
|
21
|
-
|
|
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.
|
|
3
|
+
"version": "1.55.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.
|
|
35
|
+
"@nx/jest": "^19.6.2",
|
|
36
36
|
"jest": "29.7.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@nx/jest": "^19.
|
|
39
|
+
"@nx/jest": "^19.6.2",
|
|
40
40
|
"jest": "29.7.0",
|
|
41
41
|
"jest-resolve": "29.7.0"
|
|
42
42
|
},
|