@guillotinaweb/react-gmi 0.34.2 → 0.35.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": "@guillotinaweb/react-gmi",
3
- "version": "0.34.2",
3
+ "version": "0.35.0",
4
4
  "description": "React framework for building Guillotina admin interfaces",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,6 +24,9 @@
24
24
  },
25
25
  "./css/style.css": "./dist/css/style.css"
26
26
  },
27
+ "sideEffects": [
28
+ "**/*.css"
29
+ ],
27
30
  "scripts": {
28
31
  "dev": "vite --config playground/vite.config.ts",
29
32
  "build": "vite build && pnpm build:css",
@@ -32,6 +35,11 @@
32
35
  "preview": "vite preview --config playground/vite.config.ts",
33
36
  "test": "vitest run",
34
37
  "test:e2e": "pnpm -C e2e playwright:test",
38
+ "e2e:install": "pnpm install -C e2e --frozen-lockfile && pnpm -C e2e exec playwright install --with-deps",
39
+ "guillotina:up": "docker compose -f guillotina_example/guillotina_react_app/docker-compose.yml up -d --build",
40
+ "guillotina:logs": "docker compose -f guillotina_example/guillotina_react_app/docker-compose.yml logs -f",
41
+ "guillotina:down": "docker compose -f guillotina_example/guillotina_react_app/docker-compose.yml down",
42
+ "guillotina:populate": "docker compose -f guillotina_example/guillotina_react_app/docker-compose.yml run --rm guillotina guillotina -c /app/config.yaml populate --container_id=container",
35
43
  "lint": "eslint src",
36
44
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
37
45
  "format:check": "prettier --check \"src/**/*.{js,ts,tsx}\"",
@@ -43,27 +51,25 @@
43
51
  "prepublishOnly": "pnpm build"
44
52
  },
45
53
  "dependencies": {
54
+ "@hello-pangea/dnd": "^18.0.1",
46
55
  "brace": "0.11.1",
47
56
  "bulma": "0.9.4",
48
57
  "jwt-decode": "3.1.2",
49
- "prop-types": "15.7.2",
50
- "react-beautiful-dnd": "13.1.1",
51
- "react-intl": "6.5.5",
52
- "react-useportal": "1.0.19",
53
58
  "uuid": "9.0.1"
54
59
  },
55
60
  "peerDependencies": {
56
61
  "react": "^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
57
- "react-dom": "^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
62
+ "react-dom": "^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
63
+ "react-intl": "^10.0.0"
58
64
  },
59
65
  "devDependencies": {
60
66
  "@formatjs/cli": "^6.2.4",
61
67
  "@formatjs/ts-transformer": "^3.13.11",
68
+ "@testing-library/dom": "^10.4.1",
62
69
  "@testing-library/jest-dom": "^6.4.2",
63
- "@testing-library/react": "^14.2.1",
70
+ "@testing-library/react": "^16.3.2",
64
71
  "@testing-library/user-event": "^14.5.2",
65
72
  "@types/react": "^19.0.0",
66
- "@types/react-beautiful-dnd": "^13.1.8",
67
73
  "@types/react-dom": "^19.0.0",
68
74
  "@types/uuid": "^9.0.8",
69
75
  "@typescript-eslint/eslint-plugin": "^7.0.0",
@@ -76,6 +82,7 @@
76
82
  "prettier": "^3.2.5",
77
83
  "react": "^19.0.0",
78
84
  "react-dom": "^19.0.0",
85
+ "react-intl": "10.1.6",
79
86
  "sass": "^1.71.1",
80
87
  "typescript": "^5.4.5",
81
88
  "vite": "^5.4.0",
@@ -100,8 +107,9 @@
100
107
  "semi": false,
101
108
  "singleQuote": true
102
109
  },
103
- "packageManager": "pnpm@9.15.0",
110
+ "packageManager": "pnpm@11.1.3",
104
111
  "engines": {
105
- "node": ">=20"
112
+ "node": ">=22.13",
113
+ "pnpm": ">=11.1.3"
106
114
  }
107
115
  }