Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.
TypeScript fintechinvoiceinvoice-generatorinvoice-pdfinvoice-templateinvoicesnextjsopen-sourcequotesreactreact-pdf-rendererself-hostedshadcn-uitailwindcsstypescript
feat: add typescript-plugin-directives and update configurations (#148)
Vlad Sazonauf744cf90870e
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 9c04177..c9f47b7 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -8,7 +8,7 @@ jobs:if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'name: Run e2e tests via ${{ github.event_name == 'deployment_status' && 'Vercel deployment' }}- timeout-minutes: 20+ timeout-minutes: 35runs-on: ubuntu-lateststeps:- run: |diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex a00580b..87d007a 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -1,4 +1,6 @@{"typescript.tsdk": "node_modules/typescript/lib",- "css.validate": false+ "css.validate": false,+ "editor.inlayHints.enabled": "on",+ "typescript.inlayHints.parameterNames.enabled": "all"}diff --git a/README.md b/README.mdindex a02bc3b..3d1959a 100644--- a/README.md+++ b/README.md@@ -50,6 +50,7 @@ https://github.com/user-attachments/assets/9e3194e0-3072-4c95-ae99-e66db1301dc6- Generate beautiful OG images: https://og.new- Analytics: https://umami.is/+- [typescript-plugin-directives](https://www.npmjs.com/package/typescript-plugin-directives)## Quick Startdiff --git a/package.json b/package.jsonindex 0a65422..18e1ff8 100644--- a/package.json+++ b/package.json@@ -116,6 +116,7 @@"tailwindcss": "3.4.14","typescript": "5.9.3","typescript-eslint": "8.40.0",+ "typescript-plugin-directives": "0.0.3","vitest": "3.2.4"}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 7e77968..41952e7 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -257,6 +257,9 @@ importers:typescript-eslint:specifier: 8.40.0+ typescript-plugin-directives:+ specifier: 0.0.3+ version: 0.0.3([email protected])vitest:specifier: 3.2.4version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])([email protected])@@ -10375,6 +10378,15 @@ packages:eslint: ^8.57.0 || ^9.0.0typescript: ">=4.8.4 <6.0.0"+ resolution:+ {+ integrity: sha512-QJyv9LqwoEGCHtpHe9keA5J731cMbwL3g0I3qsRzhnYlfrk3sMDwu7R8YkAOSdXtZ8V53zgp7OzX/RfbV0JURg==,+ }+ engines: { node: ">=24" }+ peerDependencies:+ typescript: ">=5.0.0"+resolution:{@@ -17913,6 +17925,10 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ typescript: 5.9.3+diff --git a/src/actions/fetch-github-stars.ts b/src/actions/fetch-github-stars.tsindex 2aace45..0dc46ba 100644--- a/src/actions/fetch-github-stars.ts+++ b/src/actions/fetch-github-stars.ts@@ -10,7 +10,7 @@ export async function fetchGithubStars(): Promise<number> {headers: {Authorization: `Bearer ${env.GITHUB_TOKEN}`,},- next: { revalidate: 1800 }, // 30 minutes in seconds+ next: { revalidate: 300 }, // 5 minutes in seconds},);diff --git a/tsconfig.json b/tsconfig.jsonindex 5aaaaa8..5358911 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -16,6 +16,9 @@"plugins": [{"name": "next"+ },+ {+ "name": "typescript-plugin-directives"}],"paths": {