Skip to content
Open
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
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "dotenv/config";
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import sitemap from "@astrojs/sitemap";
Expand Down
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
"scripts"
],
"scripts": {
"astro": "node --env-file=.env node_modules/.bin/astro",
"astro": "astro",
"build": "bash scripts/build.sh",
"dev": "node --env-file=.env node_modules/.bin/astro dev",
"dev": "astro dev",
"format:check": "npm run format:code && npm run format:markdown && npm run format:prettier -- --check",
"format:code": "eslint .",
"format:fix": "npm run format:code -- --fix && npm run format:markdown -- --fix && npm run format:prettier -- --write",
"format:markdown": "npx -y markdownlint-cli --ignore node_modules --ignore dist --ignore tmp --ignore .astro --ignore src/content/docs --ignore src/content/versions --ignore scripts --ignore 090_community --ignore 100_contribute \"**/*.{md,mdx}\"",
"format:prettier": "prettier .",
"linkcheck": "bash .github/workflows/scripts/linkcheck.sh",
"prepare": "husky",
"preview": "node --env-file=.env node_modules/.bin/astro preview",
"start": "node --env-file=.env node_modules/.bin/astro dev",
"test": "node --env-file=.env ./node_modules/.bin/vitest run scripts/tests/ && npm run linkcheck",
"test:coverage": "node --env-file=.env ./node_modules/.bin/vitest run scripts/tests/ --coverage",
"test:watch": "node --env-file=.env ./node_modules/.bin/vitest"
"preview": "astro preview",
"start": "astro dev",
"test": "vitest run scripts/tests/ && npm run linkcheck",
"test:coverage": "vitest run scripts/tests/ --coverage",
"test:watch": "vitest"
},
"dependencies": {
"@astrojs/starlight": "^0.37.4",
Expand Down Expand Up @@ -49,6 +49,7 @@
"@astrojs/sitemap": "^3.7.0",
"@defenseunicorns/eslint-config": "^1.1.2",
"@vitest/coverage-v8": "^4.0.18",
"dotenv": "^17.2.3",
"esbuild": "^0.27.2",
"husky": "^9.1.7",
"linkinator": "^7.5.3",
Expand Down
1 change: 1 addition & 0 deletions vitest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "dotenv/config";
import { defineConfig } from "vitest/config";

export default defineConfig({
Expand Down