Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Local simulation; no credentials and no real charges.
PAYMENT_MODE=demo
PORT=4242
PUBLIC_BASE_URL=http://localhost:4242
DATABASE_PATH=./data/lucci-pay.sqlite

# Native payment-sheet testing also requires OpenAI beta access.
# PAYMENT_MODE=test
# CHATGPT_CHECKOUT_ENABLED=true
# STRIPE_SECRET_KEY=sk_test_...
# MERCHANTS_FILE=./config/merchants.json
# AUTH_ISSUER=https://your-identity-provider.example
# AUTH_JWKS_URL=https://your-identity-provider.example/.well-known/jwks.json
# AUTH_AUDIENCE=https://pay.your-domain.example/mcp
# PUBLIC_BASE_URL=https://pay.your-domain.example

# Live mode additionally requires approved commerce access.
# PAYMENT_MODE=live
# LIVE_PAYMENTS_APPROVED=true
# STRIPE_SECRET_KEY=sk_live_...
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Validate Lucci Pay
on:
push:
pull_request:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
cache: npm
- run: npm ci
- run: npm run check
43 changes: 6 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,9 @@
# Dependency directories
node_modules/
.npm

# Build artifacts
out/
dist/
*.vsix

# VS Code specific
.vscode-test/
.vscode/
*.vsix

# Logs
logs
*.log
npm-debug.log*

# Environment
data/
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Operating System Files
.DS_Store
Thumbs.db

# Test images that contain personal data
test-image/*.jpg
test-image/*.jpeg
test-image/*.png
test-image/*.gif
test-image/*.webp
test-image/*.tiff

# Exiftool temp files
*_original
.env.*
!.env.example
config/merchants.json
*.log
coverage/
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
data
package-lock.json
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "singleQuote": true, "trailingComma": "all", "printWidth": 100 }
5 changes: 0 additions & 5 deletions .vscode-test.mjs

This file was deleted.

21 changes: 0 additions & 21 deletions .vscodeignore

This file was deleted.

9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

215 changes: 0 additions & 215 deletions PUBLISHING.md

This file was deleted.

Loading
Loading