66ac184a6f
Phase 0 of the e-invoicing migration plan (see the E-Rechnung planning session) — moves invoicePdf.tsx, correctionInvoicePdf.tsx, and taxBreakdown.ts into a new shared package, consumed as a git dependency by both this repo and the payload backend, instead of hand-duplicating the correction-invoice logic between them (see that package's own README for the three real drifts the duplication had already caused). Consumed as raw TS/TSX source via next.config.ts's transpilePackages, not a pre-built package. Needs `git` in the Docker deps stage and a project .npmrc (allow-git=root) to let npm ci fetch a git-URL dependency at all — npm 12+ disables that by default. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
35 lines
877 B
JSON
35 lines
877 B
JSON
{
|
|
"name": "einfach-produktiv",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"test:unit": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@einfach-produktiv/invoicing": "git+https://git.mk360.de/Marco/einfach-produktiv-invoicing.git#main",
|
|
"@payloadcms/live-preview-react": "^3.85.2",
|
|
"@react-pdf/renderer": "^4.5.1",
|
|
"motion": "^12.42.2",
|
|
"next": "16.2.9",
|
|
"nodemailer": "^9.0.3",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/nodemailer": "^8.0.1",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.9",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|