Files
zeekayandHanzo Dev 7543364826 Let the test suite run, and point the sitemap at our own host
jest.config.js has named jest-environment-jsdom since the Jest 28 upgrade
split it out of core, but it was never added to devDependencies, so `jest`
refused to start and the two suites had not run in a long time. Installing it
at 29.7.0 alongside the jest already here exposed the next layer: jest.setup.js
imports @testing-library/jest-dom/extend-expect, an entry point v6 dropped in
favour of the package root.

The tests also read as untyped to tsc, which has no idea what describe or
expect are without @types/jest. Its matchers still came up short afterwards:
jest-dom registers toBeInTheDocument from jest.setup.js, a file outside the
program, so the reference now sits in additional-types.d.ts where tsc will see
it and the tests type-check against the matchers they run against.

siteUrl was still the starter template's, so robots.txt handed crawlers
tsnext-tw.thcl.dev as the canonical host and every URL in the sitemap pointed
somewhere we do not own. public/CNAME and the README both say the site is
foundation.zoo.ngo. The regenerated sitemap also drops /team/, a page removed
in 4a3543a that the committed copy still advertised.

The three .tsx.orig files were merge leftovers. Nothing imports them, and the
versions they held are in history.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-04 00:29:49 -07:00

104 lines
3.2 KiB
JSON

{
"name": "@zoolabs/foundation",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"export": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "eslint src --fix && yarn format",
"lint:strict": "eslint --max-warnings=0 src",
"typecheck": "tsc --noEmit --incremental false",
"test:watch": "jest --watch",
"test": "jest",
"format": "prettier -w .",
"format:check": "prettier -c .",
"postbuild": "next-sitemap --config next-sitemap.config.js"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0",
"@fontsource/poppins": "^5.0.8",
"@google/model-viewer": "^3.4.0",
"@mui/material": "^7.0.2",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"@ramonak/react-progress-bar": "^5.3.0",
"@stripe/react-stripe-js": "^2.5.1",
"@stripe/stripe-js": "^3.0.8",
"@supabase/auth-helpers-nextjs": "^0.10.0",
"@supabase/supabase-js": "^2.58.0",
"@types/cookie": "^0.6.0",
"@types/react-slick": "^0.23.13",
"axios": "^1.6.8",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"cmdk": "^0.2.1",
"date-fns": "^3.3.1",
"lucide-react": "^0.354.0",
"next": "^15.1.0",
"next-themes": "^0.3.0",
"react": "^19.0.0",
"react-card-flip": "^1.2.2",
"react-day-picker": "^8.10.1",
"react-dom": "^19.0.0",
"react-globe.gl": "^2.27.2",
"react-icons": "^5.2.1",
"react-slick": "^0.30.2",
"react-switch": "^7.1.0",
"react-toastify": "^10.0.5",
"slick-carousel": "^1.8.1",
"stripe": "^14.20.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@babel/runtime": "^7.24.4",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.30",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react-slick": "^0.23.13",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"autoprefixer": "^10.4.18",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-tailwindcss": "^3.15.1",
"eslint-plugin-unused-imports": "^3.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"next-router-mock": "^0.9.12",
"next-sitemap": "^4.2.3",
"postcss": "^8.4.36",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.12",
"tailwindcss": "^3.4.17",
"typescript": "^5.4.3"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0",
"prettier -w"
],
"**/*.{json,css,scss,md,webmanifest}": [
"prettier -w"
]
}
}