Skip to content

Commit

Permalink
Merge pull request #50 from one-aalam/release/2.0.0
Browse files Browse the repository at this point in the history
Release/2.0.0
  • Loading branch information
one-aalam authored Dec 18, 2023
2 parents 5e7a649 + 9914076 commit d265c41
Show file tree
Hide file tree
Showing 56 changed files with 2,767 additions and 876 deletions.
15 changes: 14 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
REDIS_URI=
# Site's URI or base URL
SITE_URI=

# Git credentials used by Git based apps like Decap Admin
OAUTH_GITHUB_CLIENT_ID=
OAUTH_GITHUB_CLIENT_SECRET=

# DB service details for views counter

## Redis
REDIS_URI=

# Turso
TURSO_DB_URL=
TURSO_DB_AUTH_TOKEN=
35 changes: 21 additions & 14 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,48 @@ import vercel from "@astrojs/vercel/serverless";
import markdoc from "@astrojs/markdoc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
import remarkCodeTitles from 'remark-code-titles'
import decapCmsOauth from "astro-decap-cms-oauth";

// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference

// https://astro.build/config
export default defineConfig( /** @type {import('astro').AstroUserConfig} */{
// root: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project.
// outDir: './dist', // When running `astro build`, path to final static output
// publicDir: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing.
output: 'server',
site: 'https://astro-ink.vercel.app',
// Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
site: 'https://astro-ink.vercel.app', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
server: {
// port: 3000, // The port to run the dev server on.
// port: 4321, // The port to run the dev server on.
},
markdown: {
syntaxHighlight: 'shiki',
shikiConfig: {
theme: 'css-variables',
},
remarkPlugins: [
remarkCodeTitles
]
},
integrations: [
mdx(),
markdoc(), // disabled now due to an issue with Vercel builds
mdx(),
markdoc(),
svelte(),
tailwind({
config: {
applyBaseStyles: false
}
applyBaseStyles: false,
}),
sitemap()],
sitemap(),
decapCmsOauth()
],
vite: {
plugins: [],
resolve: {
alias: {
'$': path.resolve(__dirname, './src')
$: path.resolve(__dirname, './src')
}
},
optimizeDeps: {
allowNodeBuiltins: true
}
},
adapter: vercel()
});
});
12 changes: 12 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
Loading

1 comment on commit d265c41

@vercel
Copy link

@vercel vercel bot commented on d265c41 Dec 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

astro-ink – ./

astro-ink-git-main-aalam.vercel.app
astro-ink.vercel.app
astro-ink-aalam.vercel.app
ilm.aalam.in

Please sign in to comment.