740fc1c63c
Pulls in 387 commits from ditto/main while preserving Agora-specific features. Where the two codebases diverged on the same concept, kept the Agora side per project direction. Kept Agora-specific: - SparkWallet stack (over Ditto's nostr-derived Bitcoin wallet) - Communities (NIP-72 + chat + members), Messages, Organizers, Actions, Verified, Appearance settings - DMProviderWrapper, country/organizer moderation in NoteMoreMenu - 'Agora' branding, pub.agora.app bundle ID, version 2.8.0 - Built-in theme system (src/themes.ts) only Rejected from Ditto: - All Blobbi virtual pet code (80+ files, route, provider, sidebar, kind labels, feed setting, NIP.md entries, CSS animations) - Custom theme events (kinds 36767/16767) — ThemesPage, ThemeContent, active profile themes, theme snapshot recovery - On-chain zaps (kind 8333) and the entire Bitcoin wallet implementation (useBitcoinWallet, bitcoin-signers, BitcoinContentHeader, bitcoinjs-lib / @bitcoinerlab/secp256k1 / ecpair / tiny-secp256k1) - ZapSuccessScreen (depended on dropped bitcoin lib) Pulled in from Ditto: - .agents/skills/* (12 new specialized skills, slim AGENTS.md) - @nostrify bumps to 0.52 / 0.6 / 0.37 - New routes/pages: Music, Podcasts, Videos, Vines, Wikipedia, Books, Bluesky, Archive, AIChat, Trends, Webxdc, Highlights, Decks, Emojis, Development, Treasures, Colors, Packs - Birdstar feed integration (kinds 2473, 12473, 30621) - Wikipedia/Wikidata/Scryfall lookup in ExternalContentPage - release-notes CI job + extract-release-notes.mjs script - nsite:// URI handling in feed/sidebar - iOS fastlane setup - src/lib/avatarShape.ts + Avatar shape prop (kept for new Music/People components that depend on it) Preserved Agora's ABSOLUTE 'NEVER COMMIT' rule at the top of AGENTS.md and dropped Ditto's contradicting 'Commit at the end of every task' section. Validation: npm run test passes (tsc, eslint, 40/40 vitest, vite build).
198 lines
7.0 KiB
JSON
198 lines
7.0 KiB
JSON
{
|
|
"name": "agora",
|
|
"private": true,
|
|
"version": "2.8.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "npm i --silent && vite",
|
|
"build": "npm i --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'Project built successfully!'",
|
|
"test": "npm i --silent && tsc --noEmit && eslint --cache && vitest run --reporter=dot --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'All tests passed!'",
|
|
"cap:sync": "npx cap sync && node scripts/patch-cap-config.mjs",
|
|
"keygen": "keytool -genkey -v -keystore android/app/my-upload-key.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias upload",
|
|
"icons": "bash scripts/generate-icons.sh"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"dependencies": {
|
|
"@breeztech/breez-sdk-spark": "^0.13.2-dev1",
|
|
"@capacitor/app": "^8.0.0",
|
|
"@capacitor/barcode-scanner": "^3.0.2",
|
|
"@capacitor/core": "^8.1.0",
|
|
"@capacitor/filesystem": "^8.1.2",
|
|
"@capacitor/haptics": "^8.0.2",
|
|
"@capacitor/keyboard": "^8.0.3",
|
|
"@capacitor/local-notifications": "^8.0.1",
|
|
"@capacitor/share": "^8.0.1",
|
|
"@capgo/capacitor-autofill-save-password": "^8.0.22",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@emoji-mart/data": "^1.2.1",
|
|
"@emoji-mart/react": "^1.1.1",
|
|
"@fontsource-variable/comfortaa": "^5.2.8",
|
|
"@fontsource-variable/dm-sans": "^5.2.8",
|
|
"@fontsource-variable/fredoka": "^5.2.10",
|
|
"@fontsource-variable/inter": "^5.2.6",
|
|
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
|
"@fontsource-variable/lora": "^5.2.8",
|
|
"@fontsource-variable/merriweather": "^5.2.6",
|
|
"@fontsource-variable/montserrat": "^5.2.8",
|
|
"@fontsource-variable/nunito": "^5.2.7",
|
|
"@fontsource-variable/outfit": "^5.2.8",
|
|
"@fontsource-variable/playfair-display": "^5.2.8",
|
|
"@fontsource/bungee-shade": "^5.2.7",
|
|
"@fontsource/caveat": "^5.2.8",
|
|
"@fontsource/cherry-bomb-one": "^5.2.7",
|
|
"@fontsource/comic-neue": "^5.2.7",
|
|
"@fontsource/comic-relief": "^5.2.2",
|
|
"@fontsource/courier-prime": "^5.2.8",
|
|
"@fontsource/creepster": "^5.2.7",
|
|
"@fontsource/luckiest-guy": "^5.2.8",
|
|
"@fontsource/noto-sans-nushu": "^5.2.6",
|
|
"@fontsource/pacifico": "^5.2.7",
|
|
"@fontsource/permanent-marker": "^5.2.7",
|
|
"@fontsource/pirata-one": "^5.2.8",
|
|
"@fontsource/press-start-2p": "^5.2.7",
|
|
"@fontsource/silkscreen": "^5.2.8",
|
|
"@fontsource/special-elite": "^5.2.8",
|
|
"@getalby/sdk": "^5.1.1",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@milkdown/core": "^7.20.0",
|
|
"@milkdown/ctx": "^7.20.0",
|
|
"@milkdown/plugin-clipboard": "^7.20.0",
|
|
"@milkdown/plugin-history": "^7.20.0",
|
|
"@milkdown/plugin-listener": "^7.20.0",
|
|
"@milkdown/plugin-upload": "^7.20.0",
|
|
"@milkdown/preset-commonmark": "^7.20.0",
|
|
"@milkdown/preset-gfm": "^7.20.0",
|
|
"@milkdown/prose": "^7.20.0",
|
|
"@milkdown/react": "^7.20.0",
|
|
"@milkdown/utils": "^7.20.0",
|
|
"@noble/curves": "^2.2.0",
|
|
"@noble/hashes": "^1.8.0",
|
|
"@nostrify/nostrify": "^0.52.0",
|
|
"@nostrify/react": "^0.6.0",
|
|
"@nostrify/types": "^0.37.0",
|
|
"@plausible-analytics/tracker": "^0.4.4",
|
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.0",
|
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
"@radix-ui/react-checkbox": "^1.1.1",
|
|
"@radix-ui/react-collapsible": "^1.1.0",
|
|
"@radix-ui/react-context-menu": "^2.2.16",
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-hover-card": "^1.1.15",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-menubar": "^1.1.16",
|
|
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-progress": "^1.1.0",
|
|
"@radix-ui/react-radio-group": "^1.2.0",
|
|
"@radix-ui/react-scroll-area": "^1.1.0",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.0",
|
|
"@radix-ui/react-slider": "^1.2.0",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-switch": "^1.1.0",
|
|
"@radix-ui/react-tabs": "^1.1.0",
|
|
"@radix-ui/react-toast": "^1.2.1",
|
|
"@radix-ui/react-toggle": "^1.1.0",
|
|
"@radix-ui/react-toggle-group": "^1.1.0",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@samthomson/nostr-messaging": "^0.17.1",
|
|
"@scure/bip39": "^1.6.0",
|
|
"@sentry/react": "^10.42.0",
|
|
"@tanstack/react-query": "^5.56.2",
|
|
"@unhead/addons": "^2.1.13",
|
|
"@unhead/react": "^2.1.13",
|
|
"blurhash": "^2.0.5",
|
|
"buffer": "^6.0.3",
|
|
"capacitor-secure-storage-plugin": "^0.13.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.0.0",
|
|
"d3-celestial": "^0.7.35",
|
|
"d3-scale": "^4.0.2",
|
|
"date-fns": "^3.6.0",
|
|
"dompurify": "^3.3.3",
|
|
"embla-carousel-react": "^8.3.0",
|
|
"emoji-mart": "^5.6.0",
|
|
"fflate": "^0.8.2",
|
|
"hls.js": "^1.6.15",
|
|
"html-to-image": "^1.11.13",
|
|
"i18next": "^26.0.5",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"idb": "^8.0.3",
|
|
"input-otp": "^1.2.4",
|
|
"iso-3166": "^4.4.0",
|
|
"leaflet": "^1.9.4",
|
|
"lucide-react": "^1.8.0",
|
|
"ngeohash": "^0.6.3",
|
|
"nostr-tools": "^2.13.0",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.2.4",
|
|
"react-blurhash": "^0.3.0",
|
|
"react-day-picker": "^9.14.0",
|
|
"react-dom": "^19.2.4",
|
|
"react-easy-crop": "^5.5.6",
|
|
"react-hook-form": "^7.71.1",
|
|
"react-i18next": "^17.0.4",
|
|
"react-intersection-observer": "^9.16.0",
|
|
"react-leaflet": "^4.2.1",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^2.1.3",
|
|
"react-router-dom": "^6.26.2",
|
|
"recharts": "^2.12.7",
|
|
"rehype-sanitize": "^6.0.0",
|
|
"slugify": "^1.6.8",
|
|
"smol-toml": "^1.6.0",
|
|
"tailwind-merge": "^2.5.2",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"uri-templates": "^0.2.0",
|
|
"vaul": "^1.1.2",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/android": "^8.1.0",
|
|
"@capacitor/cli": "^8.1.0",
|
|
"@capacitor/ios": "^8.2.0",
|
|
"@eslint/js": "^9.9.0",
|
|
"@html-eslint/eslint-plugin": "^0.41.0",
|
|
"@html-eslint/parser": "^0.41.0",
|
|
"@tailwindcss/typography": "^0.5.15",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/d3-scale": "^4.0.9",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/leaflet": "^1.9.21",
|
|
"@types/node": "^22.5.5",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"@webbtc/webln-types": "^3.0.0",
|
|
"@webxdc/types": "^2.1.2",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.9.0",
|
|
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
"eslint-plugin-react-refresh": "^0.4.9",
|
|
"globals": "^15.9.0",
|
|
"jsdom": "^26.1.0",
|
|
"postcss": "^8.4.47",
|
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
"tailwindcss": "^3.4.11",
|
|
"typescript": "^5.5.3",
|
|
"typescript-eslint": "^8.0.1",
|
|
"vite": "^8.0.3",
|
|
"vitest": "^3.1.4"
|
|
},
|
|
"overrides": {
|
|
"react": "$react",
|
|
"react-dom": "$react-dom"
|
|
}
|
|
}
|