@storm-software/testing-tools 1.61.0 → 1.63.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 CHANGED
@@ -1,9 +1,23 @@
1
- ## 1.61.0 (2024-09-03)
1
+ ## 1.63.0 (2024-09-05)
2
+
3
+
4
+ ### Features
5
+
6
+ - **cloudflare-tools:** Added the `R2UploadPublish` executor ([e5495bdb](https://github.com/storm-software/storm-ops/commit/e5495bdb))
2
7
 
8
+ ## 1.62.0 (2024-09-03)
9
+
10
+ ### Features
11
+
12
+ - **linting-tools:** Taplo toml formatting improvements
13
+ ([1e84182b](https://github.com/storm-software/storm-ops/commit/1e84182b))
14
+
15
+ ## 1.61.0 (2024-09-03)
3
16
 
4
17
  ### Features
5
18
 
6
- - **storm-ops:** Upgrade the Nx workspace versions ([15cb7ee2](https://github.com/storm-software/storm-ops/commit/15cb7ee2))
19
+ - **storm-ops:** Upgrade the Nx workspace versions
20
+ ([15cb7ee2](https://github.com/storm-software/storm-ops/commit/15cb7ee2))
7
21
 
8
22
  ## 1.60.0 (2024-09-02)
9
23
 
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.60.0-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.62.0-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/testing-tools",
3
- "version": "1.61.0",
3
+ "version": "1.63.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": {
package/index.js DELETED
@@ -1,67 +0,0 @@
1
- // packages/testing-tools/src/jest/package.config.ts
2
- import { join } from "node:path";
3
- var getJestConfig = (projectDir, isNode = true, displayName) => ({
4
- displayName: displayName ? displayName : projectDir.replaceAll("\\", "-").replaceAll("/", "-"),
5
- preset: "@storm-software/testing-tools/jest/preset.js",
6
- testEnvironment: isNode ? "node" : "jsdom",
7
- transform: {
8
- "^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }]
9
- },
10
- moduleFileExtensions: ["ts", "js", "html"],
11
- coverageDirectory: join("../../coverage", projectDir)
12
- });
13
-
14
- // packages/testing-tools/src/jest/workspace.config.ts
15
- import { getJestProjects } from "@nx/jest";
16
- var workspace_config_default = {
17
- /**
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.
19
- * This is great for monorepos or when working on multiple projects at the same time.
20
- */
21
- projects: getJestProjects(),
22
- /**
23
- * Indicates whether the coverage information should be collected while executing the test. Because this retrofits all
24
- * executed files with coverage collection statements, it may significantly slow down your tests. Default: false
25
- */
26
- collectCoverage: process.env.CI ? true : false,
27
- /**
28
- * An array of glob patterns indicating a set of files for which coverage information should be collected.
29
- * If a file matches the specified glob pattern, coverage information will be collected for it even if no tests exist
30
- * for this file and it's never required in the test suite. Default: undefined
31
- */
32
- // collectCoverageFrom: ["**/*(!*.spec).tsx", "**/*(!*.spec).ts"],
33
- /**
34
- * The directory where Jest should output its coverage files. Default: undefined
35
- */
36
- coverageDirectory: "<rootDir>/coverage",
37
- /**
38
- * An array of regexp pattern strings that are matched against all file paths before executing the test. If the file path
39
- * matches any of the patterns, coverage information will be skipped.
40
- */
41
- coveragePathIgnorePatterns: [
42
- "\\.spec\\.ts$",
43
- "\\.test\\.ts$",
44
- "<rootDir>/dist",
45
- "<rootDir>/test",
46
- "<rootDir>/__generated__",
47
- "<rootDir>/node_modules"
48
- ],
49
- /**
50
- * The test environment that will be used for testing. The default environment in Jest is a Node.js environment.
51
- * If you are building a web app, you can use a browser-like environment through jsdom instead.
52
- */
53
- testEnvironment: "jest-environment-jsdom",
54
- /**
55
- * A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used.
56
- * Default: ["json", "lcov", "text"]
57
- */
58
- coverageReporters: ["lcov", "json"],
59
- setupFiles: ["@storm-software/testing-tools/jest/__mocks__/jest.setup.js"],
60
- moduleNameMapper: {
61
- "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "@storm-software/testing-tools/jest/__mocks__/file.mock.js",
62
- "\\.(css|less)$": "@storm-software/testing-tools/jest/__mocks__/style.mock.js"
63
- }
64
- };
65
- export {
66
- getJestConfig
67
- };