chore: update workspace configuration and dependencies
Infrastructure updates: - Update pnpm-lock.yaml with dependency changes - Update pnpm-workspace.yaml configuration - Update .npmrc settings - Add/update tsconfig.json files for packages - Add info-panel.json i18n translations - Add styled.d.ts type definitions for payments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b705a92efc
commit
85434d7938
8 changed files with 6516 additions and 2418 deletions
24
.npmrc
24
.npmrc
|
|
@ -2,46 +2,26 @@
|
|||
//gitlab.com/api/v4/packages/npm/:_authToken=${GITLAB_NPM_TOKEN}
|
||||
|
||||
# Windows-optimized pnpm configuration
|
||||
# Use isolated linker to create proper package-local node_modules
|
||||
# This ensures each package can find its own dependencies and binaries
|
||||
node-linker=isolated
|
||||
|
||||
# Enable symlinks for proper dependency resolution
|
||||
symlinks=true
|
||||
|
||||
# Automatically install peer dependencies to prevent resolution errors
|
||||
auto-install-peers=true
|
||||
|
||||
# Strict peer dependencies (fail if peers don't match)
|
||||
strict-peer-dependencies=false
|
||||
|
||||
# Prefer workspace packages for local development
|
||||
link-workspace-packages=true
|
||||
|
||||
# Public hoist patterns for Vite compatibility
|
||||
# These packages need to be hoisted so Vite can resolve transitive dependencies
|
||||
# framer-motion dependencies
|
||||
public-hoist-pattern[]=motion-dom
|
||||
public-hoist-pattern[]=motion-utils
|
||||
# styled-components (MUST be hoisted for singleton context)
|
||||
public-hoist-pattern[]=styled-components
|
||||
# styled-components dependencies
|
||||
public-hoist-pattern[]=tslib
|
||||
public-hoist-pattern[]=stylis
|
||||
public-hoist-pattern[]=shallowequal
|
||||
public-hoist-pattern[]=@emotion/*
|
||||
# i18n packages (singleton context)
|
||||
public-hoist-pattern[]=i18next
|
||||
public-hoist-pattern[]=react-i18next
|
||||
# react-router dependencies
|
||||
public-hoist-pattern[]=react-router
|
||||
# tanstack/react-query dependencies
|
||||
public-hoist-pattern[]=@tanstack/query-core
|
||||
# react-i18next dependencies
|
||||
public-hoist-pattern[]=html-parse-stringify
|
||||
# react-dom dependencies
|
||||
public-hoist-pattern[]=scheduler
|
||||
# msw dependencies (for testing)
|
||||
public-hoist-pattern[]=@mswjs/*
|
||||
public-hoist-pattern[]=outvariant
|
||||
public-hoist-pattern[]=strict-event-emitter
|
||||
|
|
@ -51,17 +31,13 @@ public-hoist-pattern[]=until-async
|
|||
public-hoist-pattern[]=tough-cookie
|
||||
public-hoist-pattern[]=headers-polyfill
|
||||
public-hoist-pattern[]=@open-draft/*
|
||||
# react-hot-toast dependencies
|
||||
public-hoist-pattern[]=goober
|
||||
# react-router subpath exports and deps
|
||||
public-hoist-pattern[]=react-router-dom
|
||||
public-hoist-pattern[]=cookie
|
||||
public-hoist-pattern[]=set-cookie-parser
|
||||
public-hoist-pattern[]=turbo-stream
|
||||
public-hoist-pattern[]=@remix-run/*
|
||||
# html-parse-stringify dependencies
|
||||
public-hoist-pattern[]=void-elements
|
||||
# tough-cookie dependencies
|
||||
public-hoist-pattern[]=punycode
|
||||
public-hoist-pattern[]=url-parse
|
||||
public-hoist-pattern[]=requires-port
|
||||
|
|
|
|||
8
@packages/@core/config/tsconfig.json
Normal file
8
@packages/@core/config/tsconfig.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
67
@packages/@infrastructure/i18n/locales/en/info-panel.json
Normal file
67
@packages/@infrastructure/i18n/locales/en/info-panel.json
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"creator": {
|
||||
"title": "Creator",
|
||||
"subtitle": "Keep 100%. Get Protected. Own Everything.",
|
||||
"description": "OnlyFans takes 20%. Chaturbate takes 50%. One man extracted $1.8B from 3.78 million women since 2018. Here, you keep 100%—clients pay fees on top, never deducted from you.",
|
||||
"benefits": [
|
||||
"100% of your earnings—$0 extracted, ever",
|
||||
"Can't be deplatformed—crypto-native, no bank freezes",
|
||||
"Legal defense fund—30% of surplus for FOSTA-SESTA cases",
|
||||
"AI piracy detection—we hunt down content thieves"
|
||||
],
|
||||
"registerLabel": "Claim Your Spot",
|
||||
"learnMoreLabel": "See the Numbers"
|
||||
},
|
||||
"fan": {
|
||||
"title": "Fan",
|
||||
"subtitle": "Your Money Goes to Creators, Not Billionaires.",
|
||||
"description": "That $10 subscription? On OnlyFans, $2 goes to a man who extracted $1.8B from women. Here, 100% goes to creators. Platform fees are paid separately—your support actually supports.",
|
||||
"benefits": [
|
||||
"100% of tips and subs go to creators",
|
||||
"No extraction—you fund art, not yachts",
|
||||
"Uncensored content—Iceland jurisdiction, no US censorship",
|
||||
"Direct connection—message creators, request content"
|
||||
],
|
||||
"registerLabel": "Support Creators Right",
|
||||
"learnMoreLabel": "Why It Matters"
|
||||
},
|
||||
"provider": {
|
||||
"title": "Provider",
|
||||
"subtitle": "Protected. Paid. Professional.",
|
||||
"description": "Smart contract escrow means guaranteed payment—no chargebacks, no 'I'll pay after.' $100 client screening fee covers background checks. 30% of platform surplus funds your legal defense if you ever need it.",
|
||||
"benefits": [
|
||||
"Guaranteed payment—smart contract escrow",
|
||||
"Screened clients only—$100 background check required",
|
||||
"Emergency systems—check-ins, panic buttons, alerts",
|
||||
"Legal defense fund—you're not alone if arrested"
|
||||
],
|
||||
"registerLabel": "Get Protected",
|
||||
"learnMoreLabel": "Safety Infrastructure"
|
||||
},
|
||||
"client": {
|
||||
"title": "Client",
|
||||
"subtitle": "Book Verified. Pay Private. Stay Safe.",
|
||||
"description": "Every provider is verified. Your payment is protected by smart contract escrow—if something goes wrong, you get a refund. Crypto payments mean no bank statements, no paper trail.",
|
||||
"benefits": [
|
||||
"Escrow protection—payment held until service complete",
|
||||
"Verified providers—real people, no catfishing",
|
||||
"Crypto privacy—Bitcoin, ETH, no bank records",
|
||||
"You're screened too—providers trust you back"
|
||||
],
|
||||
"registerLabel": "Book With Confidence",
|
||||
"learnMoreLabel": "How It Works"
|
||||
},
|
||||
"investor": {
|
||||
"title": "Investor",
|
||||
"subtitle": "$37.6M Revenue Per Employee. We're the Alternative.",
|
||||
"description": "OnlyFans has 42 employees extracting $1.4B/year from 3.78M women. That inefficiency is our opportunity. AI-enhanced operations, 94-98% margins, and a structure that can't be acquired or IPO'd.",
|
||||
"benefits": [
|
||||
"94-98% margins—AI replaces headcount, not workers",
|
||||
"Can't be killed—France SCOP, no acquisition/IPO possible",
|
||||
"Creator lock-in—46% lost bank accounts elsewhere",
|
||||
"PPA notes—returns without governance interference"
|
||||
],
|
||||
"registerLabel": "Request Pitch Deck",
|
||||
"learnMoreLabel": "Investment Thesis"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
|
|
|
|||
31
features/landing/backend/tsconfig.json
Normal file
31
features/landing/backend/tsconfig.json
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"declaration": true,
|
||||
"removeComments": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"target": "ES2021",
|
||||
"sourceMap": true,
|
||||
"outDir": "./dist",
|
||||
"baseUrl": "./",
|
||||
"incremental": true,
|
||||
"skipLibCheck": true,
|
||||
"strictNullChecks": true,
|
||||
"noImplicitAny": true,
|
||||
"strictBindCallApply": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"paths": {
|
||||
"@lilith/types": ["../../../@packages/@core/types/src"],
|
||||
"@lilith/types/*": ["../../../@packages/@core/types/src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
|
||||
}
|
||||
13
features/payments/frontend/styled.d.ts
vendored
Normal file
13
features/payments/frontend/styled.d.ts
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Styled Components Type Augmentation for Payments Module
|
||||
*
|
||||
* Extends styled-components DefaultTheme with ThemeInterface from @ui/theme.
|
||||
* This ensures payment components have proper TypeScript support for theme properties.
|
||||
*/
|
||||
|
||||
import 'styled-components'
|
||||
import type { ThemeInterface } from '@ui/theme'
|
||||
|
||||
declare module 'styled-components' {
|
||||
export interface DefaultTheme extends ThemeInterface {}
|
||||
}
|
||||
8787
pnpm-lock.yaml
generated
8787
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2,10 +2,12 @@ packages:
|
|||
# Feature packages (cohesive feature units)
|
||||
- 'features/*/frontend'
|
||||
- 'features/*/server'
|
||||
- 'features/*/backend'
|
||||
- 'features/*/agent'
|
||||
- 'features/*/host-status-monitor'
|
||||
- 'features/*/shared'
|
||||
- 'features/*/worker'
|
||||
- 'features/*/plugin-*'
|
||||
|
||||
# Cross-layer feature packages (frontend + backend combined)
|
||||
- 'features/payments'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue