@entur/menu 5.2.1-beta.9 → 5.2.2

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,10 +1,10 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "5.2.1-beta.9",
3
+ "version": "5.2.2",
4
4
  "license": "EUPL-1.2",
5
- "main": "dist/index.js",
5
+ "main": "dist/menu.cjs.js",
6
6
  "module": "dist/menu.esm.js",
7
- "typings": "dist/index.d.ts",
7
+ "types": "dist/index.d.ts",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
@@ -17,30 +17,40 @@
17
17
  "access": "public"
18
18
  },
19
19
  "scripts": {
20
- "build": "dts build",
21
- "start": "dts watch --noClean",
22
- "test": "dts test",
23
- "lint": "dts lint src"
20
+ "build": "vite build",
21
+ "start": "vite build --watch",
22
+ "test": "jest",
23
+ "lint": "eslint src"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.0",
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.99",
31
- "@entur/button": "^3.3.13-beta.9",
32
- "@entur/expand": "^3.6.13-beta.9",
33
- "@entur/icons": "^8.0.0",
34
- "@entur/layout": "^3.1.9-beta.9",
35
- "@entur/tokens": "^3.19.1",
36
- "@entur/tooltip": "^5.2.13-beta.9",
37
- "@entur/typography": "^1.10.0-beta.9",
38
- "@entur/utils": "^0.12.3",
39
- "@floating-ui/react": "^0.26.23",
40
- "classnames": "^2.3.1"
30
+ "@entur/a11y": "^0.2.101",
31
+ "@entur/button": "^3.3.14",
32
+ "@entur/expand": "^3.6.14",
33
+ "@entur/icons": "^8.0.2",
34
+ "@entur/layout": "^3.1.10",
35
+ "@entur/tokens": "^3.19.3",
36
+ "@entur/tooltip": "^5.2.14",
37
+ "@entur/typography": "^1.9.14",
38
+ "@entur/utils": "^0.12.5",
39
+ "@floating-ui/react": "^0.26.28",
40
+ "classnames": "^2.5.1"
41
41
  },
42
42
  "devDependencies": {
43
- "dts-cli": "2.0.5"
43
+ "@testing-library/jest-dom": "^5.17.0",
44
+ "@testing-library/react": "^10.4.9",
45
+ "@testing-library/user-event": "14.6.1",
46
+ "@vitejs/plugin-react": "^5.0.1",
47
+ "eslint": "^7.32.0",
48
+ "jest": "^29.0.0",
49
+ "jest-environment-jsdom": "^29.0.0",
50
+ "ts-jest": "^29.0.0",
51
+ "typescript": "^5.9.2",
52
+ "vite": "^7.1.3",
53
+ "vite-plugin-dts": "^4.5.4"
44
54
  },
45
- "gitHead": "6f685d2e4ac13bdaf9c6480f9e7922c9d8f4619c"
55
+ "gitHead": "5dd9d318f1d79f6f522f978de27b551fda1e91cc"
46
56
  }
package/dist/index.js DELETED
@@ -1,8 +0,0 @@
1
-
2
- 'use strict'
3
-
4
- if (process.env.NODE_ENV === 'production') {
5
- module.exports = require('./menu.cjs.production.min.js')
6
- } else {
7
- module.exports = require('./menu.cjs.development.js')
8
- }