6e649df0af
lint wip
2026-01-13 17:23:28 +01:00
2116ee4ffc
lint wip
2026-01-13 15:56:14 +01:00
9ad602d100
lint wip
2026-01-13 14:49:19 +01:00
9e3d2c8742
lint fix wip
2026-01-09 02:26:48 +01:00
24d30eb5d0
lint fix wip
2026-01-07 17:09:07 +01:00
42e3e7e692
Update all dependencies to latest versions and fix compatibility issues
...
**Motivations:**
- Keep dependencies up to date for security and features
- Automate dependency updates in deployment script
- Fix compatibility issues with major version updates (React 19, Next.js 16, nostr-tools 2.x)
**Root causes:**
- Dependencies were outdated
- Deployment script did not update dependencies before deploying
- Major version updates introduced breaking API changes
**Correctifs:**
- Updated all dependencies to latest versions using npm-check-updates
- Modified deploy.sh to run npm-check-updates before installing dependencies
- Fixed nostr-tools 2.x API changes (generatePrivateKey -> generateSecretKey, signEvent -> finalizeEvent, verifySignature -> verifyEvent)
- Fixed React 19 ref types to accept null
- Fixed JSX namespace issues (JSX.Element -> React.ReactElement)
- Added proper types for event callbacks
- Fixed SimplePool.sub typing issues with type assertions
**Evolutions:**
- Deployment script now automatically updates dependencies to latest versions before deploying
- All dependencies updated to latest versions (Next.js 14->16, React 18->19, nostr-tools 1->2, etc.)
**Pages affectées:**
- package.json
- deploy.sh
- lib/keyManagement.ts
- lib/nostr.ts
- lib/nostrRemoteSigner.ts
- lib/zapVerification.ts
- lib/platformTrackingEvents.ts
- lib/sponsoringTracking.ts
- lib/articlePublisherHelpersVerification.ts
- lib/contentDeliveryVerification.ts
- lib/paymentPollingZapReceipt.ts
- lib/nostrPrivateMessages.ts
- lib/nostrSubscription.ts
- lib/nostrZapVerification.ts
- lib/markdownRenderer.tsx
- components/AuthorFilter.tsx
- components/AuthorFilterButton.tsx
- components/UserArticlesList.tsx
- types/nostr-tools-extended.ts
2025-12-28 21:49:19 +01:00
f182887c89
Update markdown renderer with dark theme styling
...
- Update headings with neon-cyan and font-mono
- Update paragraphs with cyber-accent color
- Update code blocks with dark background and neon-cyan text
- Update links with neon-green hover to neon-cyan
- Update inline code with dark background and border
- Update bold text with neon-green color
- Update lists with cyber-accent and neon-cyan markers
- All TypeScript checks pass
2025-12-27 23:02:30 +01:00
cf5ebeb6e9
\
2025-12-23 02:20:57 +01:00
3000872dbc
refactoring
...
- **Motivations :** Assurer passage du lint strict et clarifier la logique paiements/publications.
- **Root causes :** Fonctions trop longues, promesses non gérées et typages WebLN/Nostr incomplets.
- **Correctifs :** Refactor PaymentModal (handlers void), extraction helpers articlePublisher, simplification polling sponsoring/zap, corrections curly et awaits.
- **Evolutions :** Nouveau module articlePublisherHelpers pour présentation/aiguillage contenu privé.
- **Page affectées :** components/PaymentModal.tsx, lib/articlePublisher.ts, lib/articlePublisherHelpers.ts, lib/paymentPolling.ts, lib/sponsoring.ts, lib/nostrZapVerification.ts et dépendances liées.
2025-12-22 17:56:00 +01:00
40fe3e9389
Initial commit
2025-12-22 09:48:57 +01:00