Skip to content

Commit

Permalink
Merge pull request #318 from rharkor/rec
Browse files Browse the repository at this point in the history
Rec
  • Loading branch information
rharkor authored Nov 12, 2023
2 parents 35be0be + a4f9c3c commit 6313509
Show file tree
Hide file tree
Showing 8 changed files with 2,184 additions and 2,371 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

run:
runs-on: ubuntu-latest
needs: security

steps:
- name: Checkout code
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@ jobs:
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.MYBOT_APP_ID }}
private_key: ${{ secrets.MYBOT_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand Down
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ With this template, you get all the awesomeness you need:
- [🤝 Contribution](#-contribution)
- [Support](#support)
- [📜 License](#-license)
- [Contributors](#contributors)

## 🎯 Getting Started

Expand Down Expand Up @@ -228,23 +227,3 @@ For support, contact me on discord at `ryzer` or by email at `[email protected]`.
## 📜 License
This project is licensed under the MIT License. For more information, see the [LICENSE](./LICENSE) file.
## Contributors
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://bstefanski.com/"><img src="https://avatars.githubusercontent.com/u/28964599?v=4?s=100" width="100px;" alt="Bart Stefanski"/><br /><sub><b>Bart Stefanski</b></sub></a><br /><a href="https://github.com/Blazity/next-enterprise/commits?author=bmstefanski" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jjablonski-it"><img src="https://avatars.githubusercontent.com/u/51968772?v=4?s=100" width="100px;" alt="Jakub Jabłoński"/><br /><sub><b>Jakub Jabłoński</b></sub></a><br /><a href="#infra-jjablonski-it" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://louis.huort.com/"><img src="https://avatars.githubusercontent.com/u/70844594?v=4?s=100" width="100px;" alt="Louis Huort"/><br /><sub><b>Louis Huort</b></sub></a><br /><a href="https://github.com/rharkor/next-boilerplate/commits?author=rharkor" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
16 changes: 8 additions & 8 deletions env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ export const env = createEnv({
.enum(["true", "false"])
.optional()
.transform((value) => value === "true"),
PASSWORD_HASHER_SECRET: z.string().nonempty().min(16),
JWT_SECRET: z.string().nonempty().min(16),
DATABASE_PRISMA_URL: z.string().nonempty(),
PASSWORD_HASHER_SECRET: z.string().min(16),
JWT_SECRET: z.string().min(16),
DATABASE_PRISMA_URL: z.string().min(1),
DATABASE_URL_NON_POOLING: z.string().optional(),
NEXTAUTH_SECRET: z.string().nonempty().min(16),
NEXTAUTH_SECRET: z.string().min(16),
NEXTAUTH_URL: z.string().optional(),
GITHUB_CLIENT_ID: z.string().nonempty(),
GITHUB_CLIENT_SECRET: z.string().nonempty(),
AUTH_ADMIN_EMAIL: z.string().nonempty(),
AUTH_ADMIN_PASSWORD: z.string().nonempty(),
GITHUB_CLIENT_ID: z.string().min(1),
GITHUB_CLIENT_SECRET: z.string().min(1),
AUTH_ADMIN_EMAIL: z.string().min(1),
AUTH_ADMIN_PASSWORD: z.string().min(1),
REDIS_HOST: z.string().optional(),
REDIS_PORT: z
.string()
Expand Down
3 changes: 0 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ const config = withPlugins([[withBundleAnalyzer({ enabled: env.ANALYZE })]], {
{ source: "/api/ping", destination: "/api/health" },
]
},
compiler: {
styledComponents: true,
},
})

export default config
Loading

0 comments on commit 6313509

Please sign in to comment.