
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
gatsby-theme-direct-democracy
Advanced tools
Frontend for Volksinitiativen Platform for Expedition Grundeinkommen.
Stack:
npm i
npm start
You can either rebase when merging if it is important to keep the commits of the pr. When merging pull requests (without rebasing) merge commit messages should have the following structure: Merged #155: Short description
A .prettierrc
file is included. You can install a Prettier plugin in your text editor, it will automatically detect the .prettierrc
. It can be set to format according to these settings on save (in VS Code this is enabled by default).
The frontend interacts with Content APIs (run at build time), and with our own APIs, as defined in our backend.
None of the integrations have a local development environment. The development environment gets this data from development instances of the hosted services.
Content APIS are loaded at build time. Their configurations are defined in gatsby-config.js
.
The general pipeline of static data loading and querying in Gatsby is as follows:
gatsby-config.js
, which queries the content.gatsby-node.js
. This builds the static pages from the content.useStaticQuery
is used in the Layout component in order to get data from the Gatsby data layer.rich-text-react-renderer
can check they type of the content inside of embeds and then conditionally return components for that embedded content.useStaticQuery
when you need to query something that comes from contentful.Section
component, which render all the possible configurations of a section.The API runs on the Serverless Framework, deployed on AWS. The URL for accessing the API is configured in aws-config.js
, which uses the dev or prod endpoints depending on the environment variable.
Use the endpoints like this:
import CONFIG from '../../../aws-config';
const url = `${CONFIG.API.INVOKE_URL}/analytics/signatures`,
fetch(url, {...});
FAQs
Expedition Grundeinkommen Website
We found that gatsby-theme-direct-democracy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.