@mmb-digital/design-system-web 0.1.347-alpha.0 → 0.1.348-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmb-digital/design-system-web",
3
- "version": "0.1.347-alpha.0",
3
+ "version": "0.1.348-alpha.0",
4
4
  "description": "MMB design-system-web",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -21,35 +21,40 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
+ "files": [
25
+ "dist"
26
+ ],
24
27
  "engines": {
25
28
  "node": ">=20"
26
29
  },
27
30
  "scripts": {
28
- "build": "rollup -c --configPlugin typescript",
29
- "test": "yarn p && yarn tsc && yarn l && yarn sl && yarn j",
30
- "t": "yarn test",
31
- "test:ci": "yarn test",
32
- "l": "yarn eslint src",
33
- "lint:fix": "yarn eslint --fix",
34
- "lf": "yarn lint:fix",
35
- "prettier": "./node_modules/.bin/prettier --check \"src/**/*.tsx\" \"src/**/*.ts\"",
36
- "p": "yarn prettier",
37
- "prettier:fix": "yarn prettier --write",
38
- "pf": "yarn prettier:fix",
39
- "tsc": "./node_modules/.bin/tsc -p ./tsconfig.json --strict",
31
+ "build": "rollup -c",
32
+ "test": "pnpm p && pnpm tsc && pnpm l && pnpm sl && pnpm vi",
33
+ "t": "pnpm test",
34
+ "test:ci": "pnpm p && pnpm tsc && pnpm lint:ci && pnpm sl && pnpm vi",
35
+ "lint": "eslint . --cache",
36
+ "l": "pnpm lint",
37
+ "lint:ci": "eslint .",
38
+ "lint:fix": "pnpm eslint --fix",
39
+ "lf": "pnpm lint:fix",
40
+ "prettier": "prettier --check .",
41
+ "p": "pnpm prettier",
42
+ "prettier:fix": "pnpm prettier --write",
43
+ "pf": "pnpm prettier:fix",
44
+ "tsc": "tsc -b",
40
45
  "storybook": "storybook dev -p 6006 --no-open",
41
- "sb": "yarn storybook",
46
+ "sb": "pnpm storybook",
42
47
  "build-storybook": "NODE_OPTIONS=--max_old_space_size=1024 storybook build",
43
48
  "stylelint": "stylelint \"./src/**/*.ts\" \"./src/**/*.tsx\"",
44
- "sl": "yarn stylelint",
45
- "stylelint:fix": "yarn stylelint --fix",
46
- "slf": "yarn stylelint --fix",
47
- "jest": "jest",
48
- "j": "yarn jest",
49
- "jest:watch": "jest --watch",
50
- "jw": "yarn jest:watch",
51
- "deduplicate": "yarn yarn-deduplicate yarn.lock",
52
- "d": "yarn deduplicate"
49
+ "sl": "pnpm stylelint",
50
+ "stylelint:fix": "pnpm stylelint --fix",
51
+ "slf": "pnpm stylelint --fix",
52
+ "vitest": "vitest run",
53
+ "vitest:watch": "vitest",
54
+ "vitest:ui": "vitest --ui",
55
+ "vitest:coverage": "vitest run --coverage",
56
+ "vi": "yarn vitest",
57
+ "viw": "yarn vitest:watch"
53
58
  },
54
59
  "devDependencies": {
55
60
  "@babel/core": "^7.29.0",
@@ -59,7 +64,7 @@
59
64
  "@emotion/babel-plugin": "^11.13.5",
60
65
  "@emotion/react": "^11.14.0",
61
66
  "@emotion/styled": "^11.14.1",
62
- "@eslint/js": "^10.0.1",
67
+ "@eslint/js": "^9.39.4",
63
68
  "@rollup/plugin-alias": "^6.0.0",
64
69
  "@rollup/plugin-babel": "^7.0.0",
65
70
  "@rollup/plugin-commonjs": "^29.0.2",
@@ -77,11 +82,12 @@
77
82
  "@testing-library/jest-dom": "^6.9.1",
78
83
  "@testing-library/react": "^16.3.2",
79
84
  "@testing-library/user-event": "^14.6.1",
80
- "@types/jest": "^30.0.0",
81
85
  "@types/lodash-es": "^4.17.12",
82
86
  "@types/node": "^20.19.41",
83
87
  "@types/react": "^19.2.15",
84
88
  "@types/react-dom": "^19.2.3",
89
+ "@vitest/coverage-v8": "^4.1.7",
90
+ "@vitest/ui": "^4.1.7",
85
91
  "eslint": "^9.39.4",
86
92
  "eslint-plugin-import-x": "^4.16.2",
87
93
  "eslint-plugin-perfectionist": "^5.9.0",
@@ -90,8 +96,7 @@
90
96
  "eslint-plugin-storybook": "^10.4.0",
91
97
  "eslint-plugin-unicorn": "^64.0.0",
92
98
  "globals": "^17.6.0",
93
- "jest": "^30.4.2",
94
- "jest-environment-jsdom": "^30.4.1",
99
+ "happy-dom": "^20.9.0",
95
100
  "next-intl": "^4.12.0",
96
101
  "postcss-styled-syntax": "^0.7.1",
97
102
  "prettier": "^3.8.3",
@@ -109,18 +114,22 @@
109
114
  "ts-node": "^10.9.2",
110
115
  "typescript": "^6.0.3",
111
116
  "typescript-eslint": "^8.59.4",
112
- "yarn-deduplicate": "^6.0.2",
117
+ "vitest": "^4.1.7",
113
118
  "zod": "^4.4.3"
114
119
  },
115
120
  "dependencies": {
121
+ "@emotion/is-prop-valid": "^1.4.0",
116
122
  "@floating-ui/react": "^0.27.19",
123
+ "@formatjs/intl": "^4.1.12",
117
124
  "@google-recaptcha/core": "^1.1.3",
118
125
  "@hookform/resolvers": "^5.4.0",
119
- "afformative": "^0.7.0-beta.5",
126
+ "afformative": "^0.7.0",
127
+ "csstype": "^3.2.3",
120
128
  "date-fns": "^4.2.1",
121
129
  "downshift": "^9.3.3",
122
130
  "imask": "^7.6.1",
123
131
  "immer": "^11.1.8",
132
+ "intl-messageformat": "^11.2.7",
124
133
  "lodash-es": "^4.18.1",
125
134
  "rc-slider": "^11.1.9",
126
135
  "react-content-loader": "^7.1.2",
@@ -131,13 +140,18 @@
131
140
  "usehooks-ts": "^3.1.1"
132
141
  },
133
142
  "peerDependencies": {
134
- "@emotion/react": "^11.14.0",
135
- "@emotion/styled": "^11.14.1",
136
- "next-intl": "^4.1.0",
137
- "react": "^18.3.1 || ^19.0.0",
138
- "react-dom": "^18.3.1 || ^19.0.0",
139
- "react-hook-form": "^7.51.0",
140
- "react-intl": "^6.8.9 || ^10.0.0",
141
- "zod": "^3.25.76 || ^4.0.0"
143
+ "@emotion/react": "^11.0.0",
144
+ "@emotion/styled": "^11.0.0",
145
+ "next-intl": "^4.0.0",
146
+ "react": "^19.0.0",
147
+ "react-dom": "^19.0.0",
148
+ "react-hook-form": "^7.0.0",
149
+ "react-intl": "^10.0.0",
150
+ "zod": "^4.0.0"
151
+ },
152
+ "peerDependenciesMeta": {
153
+ "next-intl": {
154
+ "optional": true
155
+ }
142
156
  }
143
157
  }