Skip to content

Commit

Permalink
feat: upgrade to Vitest 3 and update other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thebuilder committed Feb 12, 2025
1 parent 74ad936 commit a2df13a
Show file tree
Hide file tree
Showing 7 changed files with 1,709 additions and 2,016 deletions.
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"coverage/**",
"storybook-static/**",
"pnpm-lock.yaml",
"examples/**"
"examples/**",
"package.json"
]
},
"organizeImports": {
Expand Down
16 changes: 8 additions & 8 deletions examples/UmbracoRichText/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
},
"dependencies": {
"@charlietango/react-umbraco": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-lazy-load-image-component": "^1.6.0"
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-lazy-load-image-component": "^1.6.3"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3",
"vite": "^5.4.10"
"typescript": "^5.7.3",
"vite": "^6.1.0"
}
}
52 changes: 32 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
"url": "git+https://github.com/charlie-tango/react-umbraco.git"
},
"bugs": "https://github.com/charlie-tango/react-umbraco/issues",
"keywords": ["umbraco", "react", "content delivery api", "headless cms"],
"keywords": [
"umbraco",
"react",
"content delivery api",
"headless cms"
],
"sideEffects": false,
"exports": {
".": {
Expand All @@ -27,10 +32,15 @@
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": ["./dist/*", "./dist/index.d.ts"]
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
Expand All @@ -52,24 +62,24 @@
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/browser": "^2.1.4",
"bumpp": "^9.8.1",
"lint-staged": "^15.2.10",
"playwright": "^1.48.2",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/browser": "^3.0.5",
"bumpp": "^10.0.3",
"lint-staged": "^15.4.3",
"playwright": "^1.50.1",
"prettier": "^3.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"vite": "^5.4.10",
"vitest": "^2.1.4",
"vitest-browser-react": "^0.0.3"
"typescript": "^5.7.3",
"unbuild": "^3.3.1",
"vite": "^6.1.0",
"vitest": "^3.0.5",
"vitest-browser-react": "^0.1.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand All @@ -78,7 +88,9 @@
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
"biome check --apply --no-errors-on-unmatched"
],
"*.md": ["prettier --write"]
"*.md": [
"prettier --write"
]
},
"prettier": {
"proseWrap": "always",
Expand Down
Loading

0 comments on commit a2df13a

Please sign in to comment.