Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Astro DB #304

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ continuation_indent_size = 2
trim_trailing_whitespace = false

# Set default charset
[*.{ts,js,mjs,astro,scss,css,json,md,svg}] # Matches multiple files with brace expansion notation
[*.{ts,tsx,js,jsx,mjs,cjs,astro,scss,css,json,md,svg,yml,yaml}] # Matches multiple files with brace expansion notation
charset = utf-8

# Denotes whether the left part of the curly bracket should be on the next line or not
[*.{ts,js,mjs,astro,json}]
[*.{ts,tsx,js,jsx,mjs,cjs,astro,json}]
curly_bracket_next_line = false
spaces_around_operators = true
spaces_around_brackets = inside
Expand Down
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ PUBLIC_APP_URL_PRODUCTION=https://resurse.dev

# @TODO 3rd party API: CAPTCHAs

# @TODO 3rd party API: database variables
# @TODO 3rd party API: AstroDB database
ASTRO_STUDIO_APP_TOKEN=

# @TODO 3rd party API: search (Algolia) variables

Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ node_modules/

# generated types
.astro/
!.astro/types.d.ts

# Optional npm cache directory
.npm
Expand Down Expand Up @@ -49,9 +50,19 @@ Thumbs.db
.netlify
.vercel
.vercel/*
.netlify
.turbo
lambda

# Yarn collateral
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Service worker
sw.*

Expand Down
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm build
pnpm lint --quiet
Expand Down
Loading
Loading