@storm-software/testing-tools 1.104.24 → 1.104.26

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,3 +1,20 @@
1
+ ## 1.104.26 (2025-02-04)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **monorepo:** Resolve issue with inconsistent `chalk` versions ([e20742ea0](https://github.com/storm-software/storm-ops/commit/e20742ea0))
6
+
7
+ ## 1.104.25 (2025-02-04)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **monorepo:** Resolved issue with invalid `prettier` config used in hooks ([34974919d](https://github.com/storm-software/storm-ops/commit/34974919d))
12
+
13
+ ### Miscellaneous
14
+
15
+ - **monorepo:** Reformat the repo's files ([f33b07626](https://github.com/storm-software/storm-ops/commit/f33b07626))
16
+ - **monorepo:** Regenerate README markdown files ([d147539be](https://github.com/storm-software/storm-ops/commit/d147539be))
17
+
1
18
  ## 1.104.24 (2025-02-03)
2
19
 
3
20
  ### 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
- [![Version](https://img.shields.io/badge/version-1.104.23-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.104.25-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 -->
package/declarations.d.ts CHANGED
@@ -19,6 +19,6 @@ import type { Config } from "jest";
19
19
  declare function getJestConfig(
20
20
  projectDir: string,
21
21
  isNode?: boolean,
22
- displayName?: string
22
+ displayName?: string,
23
23
  ): Config;
24
24
  export { getJestConfig };
@@ -3,7 +3,7 @@ const path = require("path");
3
3
  module.exports = {
4
4
  process(sourceText, sourcePath, options) {
5
5
  return {
6
- code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`
6
+ code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`,
7
7
  };
8
- }
8
+ },
9
9
  };
@@ -20,7 +20,7 @@ import { join } from "node:path";
20
20
  export const getJestConfig = (
21
21
  projectDir: string,
22
22
  isNode = true,
23
- displayName?: string
23
+ displayName?: string,
24
24
  ): Config => ({
25
25
  displayName: displayName
26
26
  ? displayName
@@ -28,8 +28,8 @@ export const getJestConfig = (
28
28
  preset: "@storm-software/testing-tools/jest/preset.js",
29
29
  testEnvironment: isNode ? "node" : "jsdom",
30
30
  transform: {
31
- "^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }]
31
+ "^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }],
32
32
  },
33
33
  moduleFileExtensions: ["ts", "js", "html"],
34
- coverageDirectory: join("../../coverage", projectDir)
34
+ coverageDirectory: join("../../coverage", projectDir),
35
35
  });
package/jest/preset.js CHANGED
@@ -7,20 +7,20 @@ module.exports = {
7
7
  clearMocks: true,
8
8
  testMatch: ["**/+(*.)+(spec|test).+(ts|js)?(x)"],
9
9
  transform: {
10
- "^.+\\.(ts|js|html)$": "ts-jest"
10
+ "^.+\\.(ts|js|html)$": "ts-jest",
11
11
  },
12
12
  snapshotFormat: {
13
- printBasicPrototype: false
13
+ printBasicPrototype: false,
14
14
  },
15
15
  globals: {
16
16
  "ts-jest": {
17
17
  isolatedModules: true,
18
18
  diagnostics: {
19
- exclude: ["**"]
20
- }
21
- }
19
+ exclude: ["**"],
20
+ },
21
+ },
22
22
  },
23
23
  moduleFileExtensions: ["ts", "js", "html"],
24
24
  coverageReporters: ["json", "lcov", "text", "clover", "text-summary", "html"],
25
- maxWorkers: 1
25
+ maxWorkers: 1,
26
26
  };
@@ -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.104.24",
3
+ "version": "1.104.26",
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": {