@storm-software/testing-tools 1.60.0 → 1.62.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,14 +1,29 @@
1
- ## 1.60.0 (2024-09-02)
1
+ ## 1.62.0 (2024-09-03)
2
+
3
+ ### Features
4
+
5
+ - **linting-tools:** Taplo toml formatting improvements
6
+ ([1e84182b](https://github.com/storm-software/storm-ops/commit/1e84182b))
2
7
 
8
+ ## 1.61.0 (2024-09-03)
3
9
 
4
10
  ### Features
5
11
 
6
- - **terraform-modules:** Added the `aws/karpenter` and `cloudflare/r2-bucket` modules ([09deea18](https://github.com/storm-software/storm-ops/commit/09deea18))
12
+ - **storm-ops:** Upgrade the Nx workspace versions
13
+ ([15cb7ee2](https://github.com/storm-software/storm-ops/commit/15cb7ee2))
14
+
15
+ ## 1.60.0 (2024-09-02)
16
+
17
+ ### Features
7
18
 
19
+ - **terraform-modules:** Added the `aws/karpenter` and `cloudflare/r2-bucket`
20
+ modules
21
+ ([09deea18](https://github.com/storm-software/storm-ops/commit/09deea18))
8
22
 
9
23
  ### Bug Fixes
10
24
 
11
- - **terraform-modules:** Resolved issue with applying tags to resources ([a0fd5e19](https://github.com/storm-software/storm-ops/commit/a0fd5e19))
25
+ - **terraform-modules:** Resolved issue with applying tags to resources
26
+ ([a0fd5e19](https://github.com/storm-software/storm-ops/commit/a0fd5e19))
12
27
 
13
28
  ## 1.59.0 (2024-09-01)
14
29
 
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.59.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.61.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 -->
@@ -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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/testing-tools",
3
- "version": "1.60.0",
3
+ "version": "1.62.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
- };