Skip to content
Merged
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
10 changes: 10 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ PUBLIC_SENTRY_DSN="https://examplePublicKey@o0.ingest.sentry.io/0"
# Environment secret
SENTRY_AUTH_TOKEN="<token_here>"

##
# Upstash Search database
##

UPSTASH_SEARCH_REST_URL="<YOUR_SEARCH_REST_URL>"
UPSTASH_SEARCH_REST_TOKEN="<YOUR_SEARCH_REST_TOKEN>"
# Client-side use:
PUBLIC_UPSTASH_SEARCH_REST_URL="<YOUR_SEARCH_REST_URL>"
PUBLIC_UPSTASH_SEARCH_READONLY_TOKEN="<YOUR_SEARCH_READONLY_TOKEN>"

##
# Vercel deployment vars
##
Expand Down
2 changes: 1 addition & 1 deletion .husky/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import { existsSync } from 'node:fs'
import { join } from 'node:path'
import { execSync } from 'node:child_process'
import { isCI } from '../src/lib/config/environmentServer'

const isCI = () => !!process.env['GITHUB_ACTIONS'] || !!process.env['VERCEL']
const projectRoot = process.cwd()

/** Don't need Husky in CI environment */
Expand Down
14 changes: 0 additions & 14 deletions _TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,6 @@ Implement mitigations in test/e2e/specs/07-performance/PERFORMANCE.md

Right now we're using string literals to define HTML email templates for site mails. We should use Nunjucks with the rule-checking for valid CSS in HTML emails like we have in the corporate email footer repo.

## Analytics

Vercel Analytics

- Highlighter component
- Social Shares component
- Social Embeds: Track embed interactions
- Cookie Consent
- Download Form component

npm i @vercel/analytics
import Analytics from '@vercel/analytics/astro'
https://vercel.com/docs/analytics/quickstart#add-the-analytics-component-to-your-app

## Set up webmentions

Needs to add real API key and test
Expand Down
4 changes: 0 additions & 4 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import AstroPWA from '@vite-pwa/astro'
import db from '@astrojs/db'
import directives from 'astro-directives'
import icon from 'astro-icon'
import linkValidator from 'astro-link-validator'
import lit from '@semantic-ui/astro-lit'
Expand Down Expand Up @@ -52,9 +51,6 @@ const standardIntegrations = [
/** Astro DB - uses Tursa for backing store in production */
db(),
...sharedTestIntegrations,
/**
* Adds client:click, client:hover, and client:scroll custom client directives for components */
directives(),
mdx(markdownConfig),
/** Generate favicons and PWA icons from source SVG */
faviconGenerator(),
Expand Down
Loading
Loading