Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Broarr/decap #90

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ pnpm-debug.log*
# environment variables
.env
.env.production
.env.local

# macOS-specific files
.DS_Store
.idea
.firebase
*.log
*.cache
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "npm run dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
},
{
"command": "npm run build",
"name": "Build",
"request": "launch",
"type": "node-terminal"
}
]
}
27 changes: 19 additions & 8 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config"
import mdx from "@astrojs/mdx"
import sitemap from "@astrojs/sitemap"
import tailwind from "@astrojs/tailwind"
import react from "@astrojs/react"
import node from "@astrojs/node"

import react from "@astrojs/react";
import decapCmsOauth from "astro-decap-cms-oauth"

// https://astro.build/config
export default defineConfig({
site: "https://example.com",
integrations: [mdx(), sitemap(), tailwind(), react()]
});
output: "server",
integrations: [
decapCmsOauth({ decapCMSVersion: "3.3.3", adminDisabled: false }),
mdx(),
sitemap(),
tailwind(),
react(),
],
adapter: node({
mode: "@astrojs/node",
}),
})
15 changes: 4 additions & 11 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
{
"hosting": {
"source": ".",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"frameworksBackend": {
"region": "us-east1"
}
},
"emulators": {
"hosting": {
Expand Down
Loading
Loading