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": { "dependencies": {
"jszip": "^3.10.1", "jszip": "^3.10.1",
"react": "^18.2.0", "react": "^19.0.0",
"react-dom": "^18.2.0" "react-dom": "^19.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^18.2.31", "@types/react": "^18.3.18",
"@types/react-dom": "^18.2.14", "@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.1.0", "@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.20",
"postcss": "^8.4.31", "postcss": "^8.5.3",
"prettier": "^3.0.3", "prettier": "^3.5.2",
"prettier-plugin-tailwindcss": "^0.5.6", "prettier-plugin-tailwindcss": "^0.6.11",
"tailwindcss": "^3.3.3", "tailwindcss": "^3.4.17",
"vite": "^4.5.0" "vite": "^4.5.0"
}, },
"prettier": { "prettier": {
+17 -2
View File
@@ -550,14 +550,29 @@ const checkAbilitiesForInvul = (abilitiesMap, name) => {
return "6+"; 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 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+*"; 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 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+*"; 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 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+*"; 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 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+*"; 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 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+*"; return "6+*";
case "while this model is leading a unit, models in that unit have a 2+ invulnerable save.": 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 <span
className="font-semibold uppercase" className="font-semibold uppercase"
style={{ style={{
marginTop: -2,
marginLeft: "-6rem", marginLeft: "-6rem",
paddingLeft: "6.4rem", paddingLeft: "6.4rem",
paddingRight: "1.2rem", paddingRight: "1.2rem",
@@ -894,10 +910,9 @@ const FancyShield = ({ children, className, style }) => {
fontSize: "1.6em", fontSize: "1.6em",
fontWeight: 800, fontWeight: 800,
alignItems: "center",
}} }}
> >
<div style={{ marginTop: -4 }}>{children}</div> <div style={{ marginTop: -5 }}>{children}</div>
</div> </div>
</div> </div>
); );
-1
View File
@@ -106,7 +106,6 @@ function App() {
if (rosterName) { if (rosterName) {
document.title = `FancyScribe ${rosterName}`; document.title = `FancyScribe ${rosterName}`;
} }
console.log(doc);
let roster; let roster;
if (gameType == "Warhammer 40,000 9th Edition") { if (gameType == "Warhammer 40,000 9th Edition") {