@m4l/testing 0.0.14-beta.4 → 0.0.15-beta.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.
@@ -1,5 +1,13 @@
1
- import { M4LGetCypressDataGridColumnsConfig } from './export';
2
1
  declare global {
2
+ export type M4LDataGridCypressColumn = {
3
+
4
+ key: string;
5
+ value: any;
6
+ headerText: string;
7
+ visible: boolean;
8
+ }
9
+ export type M4LGetCypressDataGridColumnsConfig<T> = (data: T) => M4LDataGridCypressColumn[];
10
+
3
11
  namespace Cypress {
4
12
  interface Chainable {
5
13
  /**
package/e2e/cypress.d.ts CHANGED
@@ -8,7 +8,6 @@
8
8
  /// <reference path="./commands/components/Tab/types.d.ts" />
9
9
  /// <reference path="./commands/intercepts/noPrivileges/types.d.ts" />
10
10
 
11
- export type { M4LGetCypressDataGridColumnsConfig , M4LDataGridCypressColumn } from './commands/components/DataGrid/export';
12
11
 
13
12
  declare global {
14
13
  namespace Cypress {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/testing",
3
3
  "description": "Shared testing utilities for MFs",
4
- "version": "0.0.14-beta.4",
4
+ "version": "0.0.15-beta.1",
5
5
  "license": "UNLICENSED",
6
6
  "author": "M4L Team",
7
7
  "scripts": {
@@ -50,58 +50,66 @@
50
50
  "@vitest/coverage-v8": "^3.1.1",
51
51
  "@vitest/ui": "^3.1.1",
52
52
  "cypress": "^14.1.0",
53
- "cypress-vite": "^1.5.0",
53
+ "cypress-vite": "1.6.0",
54
54
  "happy-dom": "^17.1.9",
55
- "jest-environment-jsdom": "^29.7.0",
55
+ "jest-environment-jsdom": "29.7.0",
56
56
  "jsdom": "^25.0.1",
57
57
  "storybook": "^8.3.4"
58
58
  },
59
59
  "peerDependencies": {
60
- "@types/react": "^18.0.0",
61
- "react": "^18.0.0",
62
- "vitest": "^3.1.1"
60
+ "@types/react": "18.3.23",
61
+ "react": "18.3.1",
62
+ "vitest": "3.1.1"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@m4l/components": "^9.0.0",
66
66
  "@m4l/config": "^1.1.2",
67
67
  "@m4l/vite-plugins": "^1.1.5",
68
68
  "@types/node": "^22.7.3",
69
- "@types/react": "^18.0.0",
70
- "@types/react-dom": "^18.0.0",
71
- "eslint": "^9.0.0",
72
- "lefthook": "^1.7.18",
73
- "lint-staged": "^15.2.10",
74
- "react": "^18.0.0",
75
- "react-dom": "^18.0.0",
69
+ "@types/react": "18.3.23",
70
+ "@types/react-dom": "18.3.7",
71
+ "eslint": "9.28.0",
72
+ "lefthook": "1.11.13",
73
+ "lint-staged": "15.5.2",
74
+ "react": "18.3.1",
75
+ "react-dom": "18.3.1",
76
76
  "typescript": "^5.4.5",
77
- "vite": "^6.3.5",
77
+ "vite": "6.3.5",
78
78
  "vite-plugin-dts": "^4.2.1",
79
- "vitest": "^3.1.1"
79
+ "vitest": "3.1.1"
80
80
  },
81
81
  "resolutions": {
82
82
  "glob": "^10.4.5",
83
- "react": "^18.0.0",
84
- "@types/react": "^18.0.0",
85
- "@types/react-dom": "^18.0.0",
86
- "react-dom": "^18.0.0",
83
+ "react": "18.3.1",
84
+ "@types/react": "18.3.23",
85
+ "@types/react-dom": "18.3.7",
86
+ "react-dom": "18.3.1",
87
87
  "@vitejs/plugin-react": "^4.0.0"
88
88
  },
89
89
  "overrides": {
90
90
  "glob": "^10.4.5",
91
- "eslint": "^9.0.0",
92
- "react": "^18.0.0",
93
- "@types/react": "^18.0.0",
94
- "@types/react-dom": "^18.0.0",
95
- "react-dom": "^18.0.0"
91
+ "eslint": "9.28.0",
92
+ "react": "18.3.1",
93
+ "@types/react": "18.3.23",
94
+ "@types/react-dom": "18.3.7",
95
+ "react-dom": "18.3.1"
96
96
  },
97
97
  "files": [
98
98
  "*"
99
99
  ],
100
+ "type": "module",
100
101
  "source": "./index.js",
101
- "main": "src/index.ts",
102
+ "main": "./index.js",
102
103
  "module": "./index.js",
103
- "type": "module",
104
104
  "types": "./index.d.ts",
105
+ "sideEffects": false,
106
+ "publishConfig": {
107
+ "access": "public"
108
+ },
109
+ "engines": {
110
+ "node": ">=12.0.0"
111
+ },
112
+ "packageManager": "yarn@4.5.0",
105
113
  "exports": {
106
114
  ".": {
107
115
  "types": "./index.d.ts",
@@ -111,13 +119,5 @@
111
119
  "./cypress": {
112
120
  "types": "./e2e/cypress.d.ts"
113
121
  }
114
- },
115
- "sideEffects": false,
116
- "publishConfig": {
117
- "access": "public"
118
- },
119
- "engines": {
120
- "node": ">=12.0.0"
121
- },
122
- "packageManager": "yarn@4.5.0"
122
+ }
123
123
  }
@@ -1,7 +0,0 @@
1
- export type M4LDataGridCypressColumn = {
2
- key: string;
3
- value: any;
4
- headerText: string;
5
- visible: boolean;
6
- };
7
- export type M4LGetCypressDataGridColumnsConfig<T> = (data: T) => M4LDataGridCypressColumn[];