@storm-software/testing-tools 1.110.42 → 1.111.1

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
@@ -2,6 +2,60 @@
2
2
 
3
3
  # Changelog for Storm Ops - Testing Tools
4
4
 
5
+ ## [1.111.0](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.111.0) (2025-07-31)
6
+
7
+ ### Features
8
+
9
+ - **testing-tools:** Update build format to `esm` output
10
+ ([d8e9db9b2](https://github.com/storm-software/storm-ops/commit/d8e9db9b2))
11
+
12
+ ### Bug Fixes
13
+
14
+ - **testing-tools:** Resolve issue with invalid `@nx/jest` imports
15
+ ([eb5481188](https://github.com/storm-software/storm-ops/commit/eb5481188))
16
+
17
+ ### Miscellaneous
18
+
19
+ - **monorepo:** Update TypeScript to v5.9.2
20
+ ([d4a90784d](https://github.com/storm-software/storm-ops/commit/d4a90784d))
21
+ - **monorepo:** Regenerate README markdown files
22
+ ([18c227394](https://github.com/storm-software/storm-ops/commit/18c227394))
23
+ - **monorepo:** Resolve inconsistent dependency versions
24
+ ([79c5ae240](https://github.com/storm-software/storm-ops/commit/79c5ae240))
25
+ - **monorepo:** Update workspace package links
26
+ ([3ec10b48b](https://github.com/storm-software/storm-ops/commit/3ec10b48b))
27
+ - **monorepo:** Regenerate README markdown files
28
+ ([8aeb77070](https://github.com/storm-software/storm-ops/commit/8aeb77070))
29
+ - **monorepo:** Regenerate workspace repository packages
30
+ ([a78abe68e](https://github.com/storm-software/storm-ops/commit/a78abe68e))
31
+ - **monorepo:** Regenerate README markdown files
32
+ ([b7b8fec51](https://github.com/storm-software/storm-ops/commit/b7b8fec51))
33
+ - **eslint:** Update package dependencies
34
+ ([a6eaee75a](https://github.com/storm-software/storm-ops/commit/a6eaee75a))
35
+ - **monorepo:** Regenerate README markdown files
36
+ ([d02c46b78](https://github.com/storm-software/storm-ops/commit/d02c46b78))
37
+ - **git-tools:** Ensure dependencies are marked `external` by default for `bin`
38
+ build
39
+ ([b6c66aae5](https://github.com/storm-software/storm-ops/commit/b6c66aae5))
40
+ - **monorepo:** Regenerate README markdown files
41
+ ([fa4b5a24f](https://github.com/storm-software/storm-ops/commit/fa4b5a24f))
42
+
43
+ ## [1.110.43](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.110.43) (2025-07-14)
44
+
45
+ ### Miscellaneous
46
+
47
+ - **monorepo:** Update workspace package links
48
+ ([aa3c5e120](https://github.com/storm-software/storm-ops/commit/aa3c5e120))
49
+ - **monorepo:** Regenerate README markdown files
50
+ ([11ac201a7](https://github.com/storm-software/storm-ops/commit/11ac201a7))
51
+
52
+ ## [1.110.42](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.110.42) (2025-07-14)
53
+
54
+ ### Miscellaneous
55
+
56
+ - **monorepo:** Regenerate README markdown files
57
+ ([9c1c8c7cc](https://github.com/storm-software/storm-ops/commit/9c1c8c7cc))
58
+
5
59
  ## [1.110.41](https://github.com/storm-software/storm-ops/releases/tag/testing-tools%401.110.41) (2025-07-11)
6
60
 
7
61
  ### Bug Fixes
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
- [![Version](https://img.shields.io/badge/version-1.110.40-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.110.43-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm Testing Tools](#storm-testing-tools)
@@ -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
- var import_node_path = require("node:path");
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: (0, import_node_path.join)("../../coverage", projectDir)
11
+ coverageDirectory: join("../../coverage", projectDir)
37
12
  });
38
13
 
39
14
  // packages/testing-tools/src/jest/workspace.config.ts
40
- var import_jest = require("@nx/jest");
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: (0, import_jest.getJestProjects)(),
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
- // Annotate the CommonJS export names for ESM import in node:
91
- 0 && (module.exports = {
65
+ export {
92
66
  getJestConfig
93
- });
67
+ };
@@ -1,4 +1,4 @@
1
- import { getJestProjects } from "@nx/jest";
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: getJestProjects(),
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.110.42",
3
+ "version": "1.111.1",
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
- "open-system",
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.0.3", "jest": "29.7.0" },
30
+ "peerDependencies": { "@nx/jest": "^21.3.10", "jest": "30.0.5" },
32
31
  "devDependencies": {
33
- "@nx/jest": "21.0.3",
32
+ "@nx/jest": "^21.3.10",
34
33
  "@types/node": "^22.10.2",
35
- "jest": "29.7.0",
36
- "jest-resolve": "29.7.0"
34
+ "jest": "30.0.5",
35
+ "jest-resolve": "30.0.5"
37
36
  },
38
37
  "publishConfig": { "access": "public" },
39
- "gitHead": "0ffb491f3a2f70a81789ffde3dce3dd911bc12a6"
38
+ "gitHead": "b9674585a87f0811bb6c57f80975d83d7b9bce72"
40
39
  }