Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 83 additions & 83 deletions apps/stardew.app/package.json
Original file line number Diff line number Diff line change
@@ -1,85 +1,85 @@
{
"name": "stardew.app",
"version": "2.3.0",
"private": true,
"scripts": {
"build": "next build",
"build:turbo": "next build --turbopack",
"clean": "rimraf .next .turbo",
"dev": "next dev",
"dev:turbo": "next dev --turbopack",
"format": "bun run prettier . --check",
"lint": "next lint",
"start": "next start",
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@heroicons/react": "^2.0.18",
"@hookform/resolvers": "^3.9.1",
"@marsidev/react-turnstile": "^0.5.3",
"@next/bundle-analyzer": "^14.0.4",
"@planetscale/database": "^1.10.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.3",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-context-menu": "^2.1.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-scroll-area": "^1.0.4",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.4",
"@radix-ui/react-toggle": "^1.1.9",
"@radix-ui/react-toggle-group": "^1.1.10",
"@radix-ui/react-tooltip": "^1.0.6",
"@react-hook/media-query": "^1.1.1",
"@sentry/nextjs": "^10",
"@tabler/icons-react": "^2.30.0",
"@types/node": "20.4.0",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"@types/xxhashjs": "^0.2.4",
"autoprefixer": "10.4.14",
"axios": "^1.7.2",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"cmdk": "^0.2.0",
"cookies-next": "^2.1.2",
"drizzle-orm": "^0.31.2",
"eslint": "8.44.0",
"eslint-config-next": "13.4.12",
"fast-xml-parser": "^4.2.6",
"lucide-react": "^0.522.0",
"mysql2": "^3.10.1",
"next": "15.5.7",
"next-themes": "^0.2.1",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.45.4",
"semver": "^7.5.4",
"sonner": "^1.3.1",
"swr": "^2.2.1",
"tailwind-merge": "^1.13.2",
"tailwindcss": "3.3.2",
"tailwindcss-animate": "^1.0.6",
"typescript": "5.1.6",
"vaul": "^0.8.0",
"xxhashjs": "^0.2.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@0x57/prettier-config": "^1.0.0",
"drizzle-kit": "^0.22.7",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11"
}
"name": "stardew.app",
"version": "2.3.0",
"private": true,
"scripts": {
"build": "next build",
"build:turbo": "next build --turbopack",
"clean": "rimraf .next .turbo",
"dev": "next dev",
"dev:turbo": "next dev --turbopack",
"format": "bun run prettier . --check",
"lint": "next lint",
"start": "next start",
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@heroicons/react": "^2.0.18",
"@hookform/resolvers": "^3.9.1",
"@marsidev/react-turnstile": "^0.5.3",
"@next/bundle-analyzer": "^14.0.4",
"@planetscale/database": "^1.10.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.3",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-context-menu": "^2.1.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-scroll-area": "^1.0.4",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toast": "^1.1.4",
"@radix-ui/react-toggle": "^1.1.9",
"@radix-ui/react-toggle-group": "^1.1.10",
"@radix-ui/react-tooltip": "^1.0.6",
"@react-hook/media-query": "^1.1.1",
"@sentry/nextjs": "^10",
"@tabler/icons-react": "^2.30.0",
"@types/node": "20.4.0",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"@types/xxhashjs": "^0.2.4",
"autoprefixer": "10.4.14",
"axios": "^1.7.2",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"cmdk": "^0.2.0",
"cookies-next": "^2.1.2",
"drizzle-orm": "^0.31.2",
"eslint": "8.44.0",
"eslint-config-next": "13.4.12",
"fast-xml-parser": "^4.2.6",
"lucide-react": "^0.522.0",
"mysql2": "^3.10.1",
"next": "15.5.7",
"next-themes": "^0.2.1",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.45.4",
"semver": "^7.5.4",
"sonner": "^1.3.1",
"swr": "^2.2.1",
"tailwind-merge": "^1.13.2",
"tailwindcss": "3.3.2",
"tailwindcss-animate": "^1.0.6",
"typescript": "5.1.6",
"vaul": "^0.8.0",
"xxhashjs": "^0.2.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@0x57/prettier-config": "^1.0.0",
"drizzle-kit": "^0.22.7",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11"
}
}
3 changes: 3 additions & 0 deletions apps/stardew.app/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
import config from "@0x57/prettier-config";

delete config.tailwindStylesheet;

export default config;
14 changes: 7 additions & 7 deletions apps/stardew.app/sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
import * as Sentry from "@sentry/nextjs";

Sentry.init({
dsn: "https://2f557a537a56e11d3bdf60941649b239@o4506080157958144.ingest.us.sentry.io/4506080163790848",
dsn: "https://2f557a537a56e11d3bdf60941649b239@o4506080157958144.ingest.us.sentry.io/4506080163790848",

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,

// Enable logs to be sent to Sentry
enableLogs: true,
// Enable logs to be sent to Sentry
enableLogs: true,

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
14 changes: 7 additions & 7 deletions apps/stardew.app/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
import * as Sentry from "@sentry/nextjs";

Sentry.init({
dsn: "https://2f557a537a56e11d3bdf60941649b239@o4506080157958144.ingest.us.sentry.io/4506080163790848",
dsn: "https://2f557a537a56e11d3bdf60941649b239@o4506080157958144.ingest.us.sentry.io/4506080163790848",

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,

// Enable logs to be sent to Sentry
enableLogs: true,
// Enable logs to be sent to Sentry
enableLogs: true,

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
134 changes: 67 additions & 67 deletions apps/stardew.app/src/data/island_upgrades.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"Island_FirstParrot": {
"cost": "1",
"name": "Ginger Island North",
"description": "Unlock access to the north side of the island",
"location": "Leo's house"
},
"Island_Turtle": {
"cost": "10",
"name": "Ginger Island West",
"description": "Unlock access to the west side of the island",
"location": "Ginger Island South"
},
"Island_UpgradeHouse": {
"cost": "20",
"name": "Ginger Island Farmhouse",
"description": "Unlock the Farmhouse on the west side of the island, which can be used to sleep in to pass the day without leaving the island",
"location": "Ginger Island West"
},
"Island_UpgradeHouse_Mailbox": {
"cost": "5",
"name": "Farmhouse Mailbox",
"description": "Allow players to access their mail without leaving the island",
"location": "Ginger Island Farmhouse"
},
"Island_W_Obelisk": {
"cost": "20",
"name": "Farm Obelisk",
"description": "Allow players to teleport back to the farm, similar to a warp totem",
"location": "Ginger Island Farmhouse"
},
"Island_UpgradeBridge": {
"cost": "10",
"name": "Island Dig Site",
"description": "Repair the bridge to access the island dig site",
"location": "Ginger Island North"
},
"Island_UpgradeTrader": {
"cost": "10",
"name": "Island Trader",
"description": "Unlock the Island Trader shop",
"location": "Ginger Island North"
},
"Island_VolcanoBridge": {
"cost": "5",
"name": "Volcano Bridge",
"description": "Unlock a permanent bridge into the volcano so that players no longer have to have their watering can to get in",
"location": "Volcano Dungeon entrance"
},
"Island_VolcanoShortcutOut": {
"cost": "5",
"name": "Volcano Exit Shortcut",
"description": "Unlock an escape shortcut from level 5 of the Volcano Dungeon, allowing quick access to Island North",
"location": "Volcano Dungeon level 5"
},
"Island_Resort": {
"cost": "20",
"name": "Island Resort",
"description": "Unlock a beach resort. NPCs from the town will occasionally come to visit the resort. This also unlocks Island Southeast and the Pirate Cove",
"location": "Ginger Island South"
},
"Island_UpgradeParrotPlatform": {
"cost": "10",
"name": "Parrot Express",
"description": "Unlock a fast travel system to quickly get around the island",
"location": "Ginger Island"
}
}
"Island_FirstParrot": {
"cost": "1",
"name": "Ginger Island North",
"description": "Unlock access to the north side of the island",
"location": "Leo's house"
},
"Island_Turtle": {
"cost": "10",
"name": "Ginger Island West",
"description": "Unlock access to the west side of the island",
"location": "Ginger Island South"
},
"Island_UpgradeHouse": {
"cost": "20",
"name": "Ginger Island Farmhouse",
"description": "Unlock the Farmhouse on the west side of the island, which can be used to sleep in to pass the day without leaving the island",
"location": "Ginger Island West"
},
"Island_UpgradeHouse_Mailbox": {
"cost": "5",
"name": "Farmhouse Mailbox",
"description": "Allow players to access their mail without leaving the island",
"location": "Ginger Island Farmhouse"
},
"Island_W_Obelisk": {
"cost": "20",
"name": "Farm Obelisk",
"description": "Allow players to teleport back to the farm, similar to a warp totem",
"location": "Ginger Island Farmhouse"
},
"Island_UpgradeBridge": {
"cost": "10",
"name": "Island Dig Site",
"description": "Repair the bridge to access the island dig site",
"location": "Ginger Island North"
},
"Island_UpgradeTrader": {
"cost": "10",
"name": "Island Trader",
"description": "Unlock the Island Trader shop",
"location": "Ginger Island North"
},
"Island_VolcanoBridge": {
"cost": "5",
"name": "Volcano Bridge",
"description": "Unlock a permanent bridge into the volcano so that players no longer have to have their watering can to get in",
"location": "Volcano Dungeon entrance"
},
"Island_VolcanoShortcutOut": {
"cost": "5",
"name": "Volcano Exit Shortcut",
"description": "Unlock an escape shortcut from level 5 of the Volcano Dungeon, allowing quick access to Island North",
"location": "Volcano Dungeon level 5"
},
"Island_Resort": {
"cost": "20",
"name": "Island Resort",
"description": "Unlock a beach resort. NPCs from the town will occasionally come to visit the resort. This also unlocks Island Southeast and the Pirate Cove",
"location": "Ginger Island South"
},
"Island_UpgradeParrotPlatform": {
"cost": "10",
"name": "Parrot Express",
"description": "Unlock a fast travel system to quickly get around the island",
"location": "Ginger Island"
}
}
14 changes: 7 additions & 7 deletions apps/stardew.app/src/instrumentation.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import * as Sentry from '@sentry/nextjs';
import * as Sentry from "@sentry/nextjs";

export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
await import('../sentry.server.config');
}
if (process.env.NEXT_RUNTIME === "nodejs") {
await import("../sentry.server.config");
}

if (process.env.NEXT_RUNTIME === 'edge') {
await import('../sentry.edge.config');
}
if (process.env.NEXT_RUNTIME === "edge") {
await import("../sentry.edge.config");
}
}

export const onRequestError = Sentry.captureRequestError;
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
Loading
Loading