@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 +17 -0
- package/README.md +1 -1
- package/declarations.d.ts +1 -1
- package/jest/file-transformer.js +2 -2
- package/jest/package.config.ts +3 -3
- package/jest/preset.js +6 -6
- package/jest/workspace.config.ts +3 -3
- package/package.json +1 -1
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
|
-
[](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
package/jest/file-transformer.js
CHANGED
|
@@ -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
|
};
|
package/jest/package.config.ts
CHANGED
|
@@ -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
|
};
|
package/jest/workspace.config.ts
CHANGED
|
@@ -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