bump deps

This commit is contained in:
NilsUeter
2025-02-25 18:36:11 +01:00
parent 37acc15f4a
commit 5ec2743f3e
4 changed files with 831 additions and 2056 deletions
+804 -2043
View File
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -10,18 +10,18 @@
},
"dependencies": {
"jszip": "^3.10.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@vitejs/plugin-react": "^4.1.0",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.6",
"tailwindcss": "^3.3.3",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"postcss": "^8.5.3",
"prettier": "^3.5.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"tailwindcss": "^3.4.17",
"vite": "^4.5.0"
},
"prettier": {
+17 -2
View File
@@ -550,14 +550,29 @@ const checkAbilitiesForInvul = (abilitiesMap, name) => {
return "6+";
case "models in this unit have a 2+ invulnerable save against ranged weapons.":
case "models in this unit have a 2+ invulnerable save against ranged attacks.":
case "this model has a 2+ invulnerable save against ranged weapons.":
case "this model has a 2+ invulnerable save against ranged attacks.":
return "2+*";
case "models in this unit have a 3+ invulnerable save against ranged weapons.":
case "models in this unit have a 3+ invulnerable save against ranged attacks.":
case "this model has a 3+ invulnerable save against ranged attacks.":
case "this model has a 3+ invulnerable save against ranged weapons.":
return "3+*";
case "models in this unit have a 4+ invulnerable save against ranged weapons.":
case "models in this unit have a 4+ invulnerable save against ranged attacks.":
case "this model has a 4+ invulnerable save against ranged attacks.":
case "this model has a 4+ invulnerable save against ranged weapons.":
return "4+*";
case "models in this unit have a 5+ invulnerable save against ranged weapons.":
case "models in this unit have a 5+ invulnerable save against ranged attacks.":
case "this model has a 5+ invulnerable save against ranged attacks.":
case "this model has a 5+ invulnerable save against ranged weapons.":
return "5+*";
case "models in this unit have a 6+ invulnerable save against ranged weapons.":
case "models in this unit have a 6+ invulnerable save against ranged attacks.":
case "this model has a 6+ invulnerable save against ranged attacks.":
case "this model has a 6+ invulnerable save against ranged weapons.":
return "6+*";
case "while this model is leading a unit, models in that unit have a 2+ invulnerable save.":
@@ -653,6 +668,7 @@ const InvulRow = ({ hasInvul }) => {
<span
className="font-semibold uppercase"
style={{
marginTop: -2,
marginLeft: "-6rem",
paddingLeft: "6.4rem",
paddingRight: "1.2rem",
@@ -894,10 +910,9 @@ const FancyShield = ({ children, className, style }) => {
fontSize: "1.6em",
fontWeight: 800,
alignItems: "center",
}}
>
<div style={{ marginTop: -4 }}>{children}</div>
<div style={{ marginTop: -5 }}>{children}</div>
</div>
</div>
);
-1
View File
@@ -106,7 +106,6 @@ function App() {
if (rosterName) {
document.title = `FancyScribe ${rosterName}`;
}
console.log(doc);
let roster;
if (gameType == "Warhammer 40,000 9th Edition") {