Some checks are pending
Go / build-and-release (push) Waiting to run
- Add standalone mode for dashboard to connect to any ORLY relay - Implement relay switcher dropdown in header for standalone mode - Add mobile drawer sidebar at 640px breakpoint with hamburger menu - Add dedicated fallback pool for profile/relay list/contact list fetches - Fix relay URL display to show host instead of NIP-11 name - Add filter validation and defensive checks in event fetching - Auto-expand search window from 30 days to 6 months on few results - Add CORS support for API endpoints with configurable origins - Fetch user relay list (NIP-65 kind 10002) and contact list on login - Fix light mode user name color visibility in header Files modified: - app/config/config.go: Add CORS configuration options - app/server.go: Add CORS middleware for API endpoints - app/handle-relayinfo.go: Include CORS in relay info - app/web/src/config.js: New config module for standalone mode - app/web/src/stores.js: Add relay URL and standalone mode stores - app/web/src/nostr.js: Add fallback pool, filter validation, relay/contact fetch - app/web/src/Header.svelte: Relay dropdown, mobile menu, static indicator - app/web/src/Sidebar.svelte: Mobile drawer mode with overlay - app/web/src/App.svelte: Relay switching, mobile menu state, NIP-65 fetch - app/web/src/api.js: Use configurable base URL - app/web/src/constants.js: Add fallback relays, dynamic relay URLs - cmd/dashboard-server/main.go: New standalone dashboard server Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
1018 B
JSON
37 lines
1018 B
JSON
{
|
|
"name": "svelte-app",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"fetch-kinds": "node scripts/fetch-kinds.js",
|
|
"prebuild": "npm run fetch-kinds",
|
|
"build": "rollup -c",
|
|
"build:standalone": "STANDALONE_MODE=true rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"start": "sirv public --no-clear --single"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
"@rollup/plugin-replace": "^5.0.0",
|
|
"@rollup/plugin-terser": "^0.4.0",
|
|
"rollup": "^3.15.0",
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
"rollup-plugin-css-only": "^4.3.0",
|
|
"rollup-plugin-livereload": "^2.0.0",
|
|
"rollup-plugin-svelte": "^7.1.2",
|
|
"svelte": "^3.55.0"
|
|
},
|
|
"dependencies": {
|
|
"@noble/curves": "^1.4.0",
|
|
"@noble/hashes": "^1.4.0",
|
|
"applesauce-core": "^4.4.2",
|
|
"applesauce-signers": "^4.2.0",
|
|
"hash-wasm": "^4.12.0",
|
|
"nostr-tools": "^2.17.0",
|
|
"qrcode": "^1.5.3",
|
|
"sirv-cli": "^2.0.0"
|
|
}
|
|
}
|