xedonium 0.2.0 → 0.4.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": "xedonium",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Minimal, theme-aware React + Tailwind UI components extracted from Boot Bridge",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -43,14 +43,18 @@
43
43
  "./tailwind-preset": "./tailwind-preset.js"
44
44
  },
45
45
  "scripts": {
46
- "dev": "vite --config playground/vite.config.js",
46
+ "docs": "vite --config docs/vite.config.js",
47
47
  "build": "vite build && npm run build:types && node scripts/copy-css.js",
48
48
  "build:types": "tsc -p tsconfig.build.json",
49
49
  "lint": "eslint .",
50
+ "docs:build": "vite build --config docs/vite.config.js && node scripts/spa-fallback.mjs",
51
+ "docs:preview": "vite preview --config docs/vite.config.js",
52
+ "docs:check": "node scripts/check-docs.mjs",
50
53
  "prepublishOnly": "npm run lint && npm run build",
51
- "docs": "yarn --cwd docs start",
52
- "docs:build": "yarn --cwd docs build",
53
- "format": "prettier --write ."
54
+ "format": "prettier --write .",
55
+ "test": "vitest run",
56
+ "test:watch": "vitest",
57
+ "test:coverage": "vitest run --coverage"
54
58
  },
55
59
  "peerDependencies": {
56
60
  "react": ">=18",
@@ -59,19 +63,26 @@
59
63
  },
60
64
  "devDependencies": {
61
65
  "@eslint/js": "^9",
66
+ "@testing-library/jest-dom": "^7.0.1",
67
+ "@testing-library/react": "^14",
68
+ "@testing-library/user-event": "^14.6.7",
62
69
  "@types/react": "^18.2.0",
63
70
  "@vitejs/plugin-react": "^4.2.1",
71
+ "@vitest/coverage-v8": "^2",
64
72
  "autoprefixer": "^10.4.19",
65
73
  "eslint": "^9",
66
74
  "eslint-plugin-react": "^7.37.5",
67
75
  "eslint-plugin-react-hooks": "^5",
68
76
  "globals": "^17.12.0",
77
+ "happy-dom": "^20.14.5",
69
78
  "postcss": "^8.4.38",
70
79
  "prettier": "^3.9.9",
71
80
  "react": "^18.2.0",
72
81
  "react-dom": "^18.2.0",
82
+ "react-router-dom": "^6",
73
83
  "tailwindcss": "^3.4.3",
74
84
  "typescript": "^5.4.0",
75
- "vite": "^5.2.0"
85
+ "vite": "^5.2.0",
86
+ "vitest": "^2"
76
87
  }
77
88
  }