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
Update package.json scripts, improve README author link, and upgrade GitHub Actions versions (#243)
Vlad Sazonaud85148679905
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 07bd805..50bc829 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -30,7 +30,7 @@ jobs:run: |echo "Environment URL - $ENVIRONMENT_URL"# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false@@ -40,7 +40,7 @@ jobs:with:mode: firewall-free- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0name: π Setup Node.jswith:node-version: lts/*diff --git a/.github/workflows/knip.yml b/.github/workflows/knip.ymlindex 171d1e6..d8f8aec 100644--- a/.github/workflows/knip.yml+++ b/.github/workflows/knip.yml@@ -16,7 +16,7 @@ jobs:runs-on: ubuntu-lateststeps:# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false@@ -26,7 +26,7 @@ jobs:with:mode: firewall-free- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0name: π Setup Node.jswith:node-version: lts/*diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex e35c71c..7aa9a45 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -16,7 +16,7 @@ jobs:runs-on: ubuntu-lateststeps:# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false@@ -26,7 +26,7 @@ jobs:with:mode: firewall-free- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0name: π Setup Node.jswith:node-version: lts/*diff --git a/.github/workflows/pnpm-policy.yml b/.github/workflows/pnpm-policy.ymlindex 4e3c717..19ce779 100644--- a/.github/workflows/pnpm-policy.yml+++ b/.github/workflows/pnpm-policy.yml@@ -15,12 +15,12 @@ jobs:runs-on: ubuntu-lateststeps:# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0name: π Setup Node.jswith:node-version: lts/*diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.ymlindex 786df91..901a38d 100644--- a/.github/workflows/type-check.yml+++ b/.github/workflows/type-check.yml@@ -16,7 +16,7 @@ jobs:runs-on: ubuntu-lateststeps:# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false@@ -26,7 +26,7 @@ jobs:with:mode: firewall-free- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0name: π Setup Node.jswith:node-version: lts/*diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.ymlindex 76f2b79..52fcf03 100644--- a/.github/workflows/unit-tests.yml+++ b/.github/workflows/unit-tests.yml@@ -16,7 +16,7 @@ jobs:runs-on: ubuntu-lateststeps:# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false@@ -26,7 +26,7 @@ jobs:with:mode: firewall-free- - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0name: π Setup Node.jswith:node-version: lts/*diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.ymlindex ddc704e..f645ce7 100644--- a/.github/workflows/zizmor.yml+++ b/.github/workflows/zizmor.yml@@ -18,7 +18,7 @@ jobs:actions: read # Needed for upload-sarif to read workflow run info.steps:# we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0name: ποΈ Checkout repositorywith:persist-credentials: false@@ -27,7 +27,7 @@ jobs:id: zizmorcontinue-on-error: true# https://github.com/zizmorcore/zizmor-action- uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3+ uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6env:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/README.md b/README.mdindex 47c1be9..06d0a45 100644--- a/README.md+++ b/README.md@@ -194,7 +194,7 @@ https://github.com/user-attachments/assets/d46c6e4e-b78a-4aa1-ab44-d20d6485b682Built by [Vlad Sazonau](https://x.com/vladsazonau)- π¦ Twitter: [@vladsazonau](https://twitter.com/vladsazonau)-- πΌ LinkedIn: [Vlad Sazonau](https://www.linkedin.com/in/vlad-sazonau-22a9a9126/)+- πΌ LinkedIn: [Vlad Sazonau](https://www.linkedin.com/in/vlad-sazonau/)- π Website: [vladsazon.com](https://vladsazon.com)## β€οΈ Support the Projectdiff --git a/lint-staged.config.js b/lint-staged.config.jsindex f78de0b..dac849f 100644--- a/lint-staged.config.js+++ b/lint-staged.config.js@@ -4,7 +4,7 @@ module.exports = {"*": () => [`pnpm run type-check:go`,`pnpm run lint`,- `zizmor .github/`, // zizmor is used to check the security of the GitHub Actions workflows https://docs.zizmor.sh/+ `pnpm run check-github-actions-security`, // zizmor is used to check the security of the GitHub Actions workflows https://docs.zizmor.sh/`pnpm run knip`,`pnpm run prettify --write`,],diff --git a/package.json b/package.jsonindex 40cfdb1..e558bfd 100644--- a/package.json+++ b/package.json@@ -11,7 +11,7 @@"build": "next build","start": "next start","type-check": "tsc --noEmit --diagnostics",- "type-check:go": "npx tsgo --diagnostics",+ "type-check:go": "tsgo --diagnostics","lint": "pnpm eslint . --cache","lint:fix": "pnpm eslint . --fix","prettify": "prettier --write --cache '**/*.{ts?(x),json,js,mjs,yml,yaml,md}'",@@ -25,7 +25,6 @@"e2e:update-snapshots": "pnpm e2e --update-snapshots","dedupe": "pnpm dedupe","lint-stage": "pnpm lint-staged --verbose",- "check-meta": "pnpx check-site-meta","dev:email": "email dev --dir src/emails","prepare": "husky","expose-to-internet": "cloudflared tunnel --url http://localhost:3000",@@ -33,6 +32,7 @@"corepack:enable": "corepack enable","corepack:prepare": "corepack prepare pnpm@latest","update-github-actions": "pnpm actions-up --min-age=7",+ "check-github-actions-security": "zizmor .","test-gh-action-locally:monthly-recurring-invoice": "act schedule -j recurring-invoice --secret-file .github/workflows/.secrets"},"dependencies": {diff --git a/src/config.ts b/src/config.tsindex cb7dcd2..6d2b2ef 100644--- a/src/config.ts+++ b/src/config.ts@@ -93,8 +93,7 @@ export const PROD_WEBSITE_URL = "https://easyinvoicepdf.com";export const GITHUB_URL = "https://github.com/VladSez/easy-invoice-pdf";-export const LINKEDIN_URL =- "https://www.linkedin.com/in/vlad-sazonau-22a9a9126/";+export const LINKEDIN_URL = "https://www.linkedin.com/in/vlad-sazonau/";export const TWITTER_URL = "https://x.com/vladsazonau";export const TWITTER_CREATOR = "@vlad_sazonau";