@tiendanube/live-state 1.0.0-beta.1 → 1.0.0-beta.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.
Files changed (1) hide show
  1. package/package.json +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiendanube/live-state",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "description": "Generic React library for rendering live state notifications",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -29,7 +29,6 @@
29
29
  "test:coverage": "vitest run --coverage",
30
30
  "prepublishOnly": "yarn build",
31
31
  "check": "yarn lint && yarn format && yarn type-check && yarn test",
32
- "preinstall": "node -e \"const v = process.versions.node.split('.')[0]; if (v < 24) { console.error('\\nERROR: Node.js 24+ is required. Run: nvm use\\n'); process.exit(1); }\"",
33
32
  "setup": "./scripts/setup.sh",
34
33
  "verify:build": "./scripts/test-build.sh"
35
34
  },
@@ -95,6 +94,9 @@
95
94
  },
96
95
  "homepage": "https://github.com/TiendaNube/live-state#readme",
97
96
  "type": "module",
97
+ "engines": {
98
+ "node": ">=18.0.0"
99
+ },
98
100
  "publishConfig": {
99
101
  "access": "public",
100
102
  "registry": "https://registry.npmjs.org/"