Skip to content
Closed
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
17 changes: 17 additions & 0 deletions .cache/pages.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Type declaration for generated pages.json file
* This file is generated during the build process
*/

type PageData =
| string
| { articles: string[] }
| { 'case-studies': string[] }
| { downloads: string[] }
| { services: string[] }
| { 'social-shares': string[] }
| { stories: string[] }
| { tags: string[] }

declare const pagesData: PageData[]
export default pagesData
63 changes: 63 additions & 0 deletions .cache/pages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
[
"about",
{
"articles": [
"getting-started-with-astro",
"typescript-best-practices",
"useful-vs-code-extensions",
"writing-library-code"
]
},
{
"case-studies": [
"division-15",
"ecommerce-modernization",
"english-first",
"enterprise-api-platform",
"labcorp",
"us-logistics"
]
},
"contact",
"cookies",
{
"downloads": [
"api-tool-consolidation-whitepaper",
"identity-security-for-dummies",
"lakehouse-analytics-guide",
"observability-benefits-guide",
"ransomware-recovery-kit"
]
},
"offline",
"privacy",
{
"services": [
"create-custom-font-sets",
"overview"
]
},
{
"social-shares": [
"template"
]
},
{
"stories": [
"ISSUES"
]
},
{
"tags": [
"apiDesign",
"cms",
"code",
"crm",
"graphql",
"online-learning",
"react",
"services",
"typescript"
]
}
]
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ npm-debug.log*
# Optional eslint cache
.eslintcache

# Cache
.cache
# Cache - ignore all contents except type declarations and placeholder data
.cache/*
!.cache/*.d.ts
!.cache/pages.json

# Runtime data
pids
Expand Down
6 changes: 1 addition & 5 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ import {
import { callToActionValidator } from './src/integrations/CtaValidator/call-to-action-validator'
import { serializeSitemapItem, writePagesJson } from './src/lib/config/sitemap-serialize'

// Type guard for required environment variables (only in CI)
const IS_CI = process.env['CI'] === 'true'
// Check for Sentry auth token (optional - Sentry will be skipped if not available)
const SENTRY_AUTH_TOKEN = process.env['SENTRY_AUTH_TOKEN']
if (IS_CI && !SENTRY_AUTH_TOKEN) {
throw new Error('SENTRY_AUTH_TOKEN environment variable is required in CI but not set')
}

export default defineConfig({
adapter: vercelStatic(vercelConfig),
Expand Down
Loading