@storm-software/testing-tools 1.110.43 → 1.111.2
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 +59 -0
- package/README.md +1 -1
- package/{index.cjs → index.js} +6 -32
- package/jest/workspace.config.ts +5 -5
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,65 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Testing Tools
|
|
4
4
|
|
|
5
|
+
## [1.111.1](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.111.1) (2025-07-31)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **git-tools:** Resolve issue with incorrect log formatting
|
|
10
|
+
([062583d84](https://github.com/storm-software/storm-ops/commit/062583d84))
|
|
11
|
+
|
|
12
|
+
### Miscellaneous
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([e5c02a04d](https://github.com/storm-software/storm-ops/commit/e5c02a04d))
|
|
16
|
+
|
|
17
|
+
## [1.111.0](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.111.0) (2025-07-31)
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
- **testing-tools:** Update build format to `esm` output
|
|
22
|
+
([d8e9db9b2](https://github.com/storm-software/storm-ops/commit/d8e9db9b2))
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- **testing-tools:** Resolve issue with invalid `@nx/jest` imports
|
|
27
|
+
([eb5481188](https://github.com/storm-software/storm-ops/commit/eb5481188))
|
|
28
|
+
|
|
29
|
+
### Miscellaneous
|
|
30
|
+
|
|
31
|
+
- **monorepo:** Update TypeScript to v5.9.2
|
|
32
|
+
([d4a90784d](https://github.com/storm-software/storm-ops/commit/d4a90784d))
|
|
33
|
+
- **monorepo:** Regenerate README markdown files
|
|
34
|
+
([18c227394](https://github.com/storm-software/storm-ops/commit/18c227394))
|
|
35
|
+
- **monorepo:** Resolve inconsistent dependency versions
|
|
36
|
+
([79c5ae240](https://github.com/storm-software/storm-ops/commit/79c5ae240))
|
|
37
|
+
- **monorepo:** Update workspace package links
|
|
38
|
+
([3ec10b48b](https://github.com/storm-software/storm-ops/commit/3ec10b48b))
|
|
39
|
+
- **monorepo:** Regenerate README markdown files
|
|
40
|
+
([8aeb77070](https://github.com/storm-software/storm-ops/commit/8aeb77070))
|
|
41
|
+
- **monorepo:** Regenerate workspace repository packages
|
|
42
|
+
([a78abe68e](https://github.com/storm-software/storm-ops/commit/a78abe68e))
|
|
43
|
+
- **monorepo:** Regenerate README markdown files
|
|
44
|
+
([b7b8fec51](https://github.com/storm-software/storm-ops/commit/b7b8fec51))
|
|
45
|
+
- **eslint:** Update package dependencies
|
|
46
|
+
([a6eaee75a](https://github.com/storm-software/storm-ops/commit/a6eaee75a))
|
|
47
|
+
- **monorepo:** Regenerate README markdown files
|
|
48
|
+
([d02c46b78](https://github.com/storm-software/storm-ops/commit/d02c46b78))
|
|
49
|
+
- **git-tools:** Ensure dependencies are marked `external` by default for `bin`
|
|
50
|
+
build
|
|
51
|
+
([b6c66aae5](https://github.com/storm-software/storm-ops/commit/b6c66aae5))
|
|
52
|
+
- **monorepo:** Regenerate README markdown files
|
|
53
|
+
([fa4b5a24f](https://github.com/storm-software/storm-ops/commit/fa4b5a24f))
|
|
54
|
+
|
|
55
|
+
## [1.110.43](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.110.43) (2025-07-14)
|
|
56
|
+
|
|
57
|
+
### Miscellaneous
|
|
58
|
+
|
|
59
|
+
- **monorepo:** Update workspace package links
|
|
60
|
+
([aa3c5e120](https://github.com/storm-software/storm-ops/commit/aa3c5e120))
|
|
61
|
+
- **monorepo:** Regenerate README markdown files
|
|
62
|
+
([11ac201a7](https://github.com/storm-software/storm-ops/commit/11ac201a7))
|
|
63
|
+
|
|
5
64
|
## [1.110.42](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.110.42) (2025-07-14)
|
|
6
65
|
|
|
7
66
|
### Miscellaneous
|
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/{index.cjs → index.js}
RENAMED
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// packages/testing-tools/src/index.ts
|
|
20
|
-
var index_exports = {};
|
|
21
|
-
__export(index_exports, {
|
|
22
|
-
getJestConfig: () => getJestConfig
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(index_exports);
|
|
25
|
-
|
|
26
1
|
// packages/testing-tools/src/jest/package.config.ts
|
|
27
|
-
|
|
2
|
+
import { join } from "node:path";
|
|
28
3
|
var getJestConfig = (projectDir, isNode = true, displayName) => ({
|
|
29
4
|
displayName: displayName ? displayName : projectDir.replaceAll("\\", "-").replaceAll("/", "-"),
|
|
30
5
|
preset: "@storm-software/testing-tools/jest/preset.js",
|
|
@@ -33,17 +8,17 @@ var getJestConfig = (projectDir, isNode = true, displayName) => ({
|
|
|
33
8
|
"^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }]
|
|
34
9
|
},
|
|
35
10
|
moduleFileExtensions: ["ts", "js", "html"],
|
|
36
|
-
coverageDirectory:
|
|
11
|
+
coverageDirectory: join("../../coverage", projectDir)
|
|
37
12
|
});
|
|
38
13
|
|
|
39
14
|
// packages/testing-tools/src/jest/workspace.config.ts
|
|
40
|
-
|
|
15
|
+
import { getJestProjectsAsync } from "@nx/jest";
|
|
41
16
|
var workspace_config_default = {
|
|
42
17
|
/**
|
|
43
18
|
* When the projects configuration is provided with an array of paths or glob patterns, Jest will run tests in all of the specified projects at the same time.
|
|
44
19
|
* This is great for monorepos or when working on multiple projects at the same time.
|
|
45
20
|
*/
|
|
46
|
-
projects:
|
|
21
|
+
projects: await getJestProjectsAsync(),
|
|
47
22
|
/**
|
|
48
23
|
* Indicates whether the coverage information should be collected while executing the test. Because this retrofits all
|
|
49
24
|
* executed files with coverage collection statements, it may significantly slow down your tests. Default: false
|
|
@@ -87,7 +62,6 @@ var workspace_config_default = {
|
|
|
87
62
|
"\\.(css|less)$": "@storm-software/testing-tools/jest/__mocks__/style.mock.js"
|
|
88
63
|
}
|
|
89
64
|
};
|
|
90
|
-
|
|
91
|
-
0 && (module.exports = {
|
|
65
|
+
export {
|
|
92
66
|
getJestConfig
|
|
93
|
-
}
|
|
67
|
+
};
|
package/jest/workspace.config.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getJestProjectsAsync } from "@nx/jest";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Config for Jest unit tests
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
* When the projects configuration is provided with an array of paths or glob patterns, Jest will run tests in all of the specified projects at the same time.
|
|
11
11
|
* This is great for monorepos or when working on multiple projects at the same time.
|
|
12
12
|
*/
|
|
13
|
-
projects:
|
|
13
|
+
projects: await getJestProjectsAsync(),
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Indicates whether the coverage information should be collected while executing the test. Because this retrofits all
|
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
"<rootDir>/dist",
|
|
41
41
|
"<rootDir>/test",
|
|
42
42
|
"<rootDir>/__generated__",
|
|
43
|
-
"<rootDir>/node_modules"
|
|
43
|
+
"<rootDir>/node_modules"
|
|
44
44
|
],
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -61,6 +61,6 @@ export default {
|
|
|
61
61
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
|
62
62
|
"@storm-software/testing-tools/jest/__mocks__/file.mock.js",
|
|
63
63
|
"\\.(css|less)$":
|
|
64
|
-
"@storm-software/testing-tools/jest/__mocks__/style.mock.js"
|
|
65
|
-
}
|
|
64
|
+
"@storm-software/testing-tools/jest/__mocks__/style.mock.js"
|
|
65
|
+
}
|
|
66
66
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/testing-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.111.2",
|
|
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": {
|
|
@@ -21,20 +21,19 @@
|
|
|
21
21
|
"types": "./declarations.d.ts",
|
|
22
22
|
"keywords": [
|
|
23
23
|
"monorepo",
|
|
24
|
-
"
|
|
24
|
+
"jest",
|
|
25
|
+
"playwright",
|
|
25
26
|
"storm",
|
|
26
27
|
"storm-ops",
|
|
27
|
-
"storm-stack",
|
|
28
|
-
"stormstack",
|
|
29
28
|
"sullivanpj"
|
|
30
29
|
],
|
|
31
|
-
"peerDependencies": { "@nx/jest": "21.
|
|
30
|
+
"peerDependencies": { "@nx/jest": "^21.3.10", "jest": "30.0.5" },
|
|
32
31
|
"devDependencies": {
|
|
33
|
-
"@nx/jest": "21.
|
|
32
|
+
"@nx/jest": "^21.3.10",
|
|
34
33
|
"@types/node": "^22.10.2",
|
|
35
|
-
"jest": "
|
|
36
|
-
"jest-resolve": "
|
|
34
|
+
"jest": "30.0.5",
|
|
35
|
+
"jest-resolve": "30.0.5"
|
|
37
36
|
},
|
|
38
37
|
"publishConfig": { "access": "public" },
|
|
39
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "cc140afa49466e39f555922878718b7cb860d73b"
|
|
40
39
|
}
|