-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b987f2c
commit 439d3f6
Showing
85 changed files
with
5,369 additions
and
4,897 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: monthly | ||
|
||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: monthly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Pull Request | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
assign-author: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- name: Assign author to PR | ||
uses: technote-space/assign-author@v1 | ||
|
||
approve-dependabot-pr: | ||
if: github.event.pull_request.user.login == 'dependabot[bot]' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Enable auto-merge | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
# If we'd use `secrets.GITHUB_TOKEN`, our CI isn't triggered on the | ||
# merge's push event. | ||
# https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow | ||
GITHUB_TOKEN: ${{ secrets.PR_AUTOMERGE_TOKEN }} | ||
- uses: dependabot/[email protected] | ||
id: dependabot-metadata | ||
- name: Approve patch and minor updates | ||
if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' | ||
run: gh pr review "$PR_URL" --approve | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
{ | ||
"recommendations": [ | ||
"astro-build.astro-vscode", | ||
"bradlc.vscode-tailwindcss", | ||
"esbenp.prettier-vscode" | ||
], | ||
"recommendations": ["astro-build.astro-vscode", "editorconfig.editorconfig"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { AstroI18nextConfig } from "astro-i18next"; | ||
|
||
const config: AstroI18nextConfig = { | ||
defaultLocale: "de", | ||
locales: ["de", "en"], | ||
load: ["client", "server"], | ||
i18nextClientPlugins: { | ||
"{initReactI18next}": "react-i18next", | ||
}, | ||
i18nextServerPlugins: { | ||
"{initReactI18next}": "react-i18next", | ||
}, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
// @ts-check | ||
import react from "@astrojs/react"; | ||
import tailwind from "@astrojs/tailwind"; | ||
import icon from "astro-icon"; | ||
import astroI18next from "astro-i18next"; | ||
import { defineConfig } from "astro/config"; | ||
import { defaultLang, languages } from "./src/i18n/constants"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
i18n: { | ||
defaultLocale: defaultLang, | ||
locales: Object.keys(languages), | ||
routing: "manual", // see: src/middleware.ts | ||
}, | ||
integrations: [tailwind(), react(), icon()], | ||
site: "https://blz-it.de", | ||
integrations: [tailwind(), astroI18next(), react()], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
{ | ||
"name": "@blz-it/blz-it.de", | ||
"name": "@example/basics", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build", | ||
"build": "astro build", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
"astro": "astro", | ||
"gen-i18n": "astro-i18next generate" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.9.4", | ||
"@astrojs/react": "^3.6.2", | ||
"@astrojs/tailwind": "^5.1.1", | ||
"@fontsource/poppins": "^5.1.0", | ||
"@headlessui/react": "^2.1.10", | ||
"@heroicons/react": "^2.1.5", | ||
"@iconify-json/mdi": "^1.2.1", | ||
"@tailwindcss/typography": "^0.5.15", | ||
"@types/react": "^18.3.11", | ||
"@types/react-dom": "^18.3.0", | ||
"astro": "^4.15.11", | ||
"astro-icon": "^1.1.1", | ||
"clsx": "^2.1.1", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-astro": "^0.14.1", | ||
"prettier-plugin-tailwindcss": "^0.6.8", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"tailwindcss": "^3.4.13", | ||
"typescript": "^5.6.2" | ||
"@astrojs/react": "^1.2.2", | ||
"@astrojs/tailwind": "^2.1.3", | ||
"@headlessui/react": "^1.7.19", | ||
"@heroicons/react": "^2.1.3", | ||
"@hookform/resolvers": "^3.3.4", | ||
"@tailwindcss/forms": "^0.5.7", | ||
"@tailwindcss/typography": "^0.5.13", | ||
"@types/react": "^18.2.78", | ||
"@types/react-dom": "^18.2.23", | ||
"astro": "^1.9.2", | ||
"astro-i18next": "^1.0.0-beta.21", | ||
"astro-icon": "^0.8.1", | ||
"classnames": "^2.5.1", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0", | ||
"react-hook-form": "^7.51.3", | ||
"react-i18next": "^12.1.4", | ||
"tailwindcss": "^3.4.3", | ||
"zod": "^3.23.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.