
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.
@gitcoin/types
Advanced tools
Shared TypeScript types and interfaces for the Gitcoin Core Design System.
Shared TypeScript types and interfaces for the Gitcoin Core Design System.
This package contains centralized TypeScript type definitions used across the Gitcoin monorepo to ensure type consistency between packages and applications.
.
├── src/
│ ├── button.ts # Button component types
│ └── index.ts # Public type exports
│
├── tsconfig.json # TypeScript configuration
└── tsup.config.ts # Build configuration
import { ButtonProps, ButtonSize, ButtonVariant } from '@gitcoin/types'
// Use in your components
interface MyButtonProps extends ButtonProps {
customProp?: string
}
// Use type unions
type Size = ButtonSize // 'sm' | 'md' | 'lg'
// Use variants
type Variant = ButtonVariant // 'primary' | 'secondary' | 'ghost'
ButtonProps
: Props interface for button components
size
: Size variantsvariant
: Style variants# Build types
pnpm build
# Watch mode
pnpm dev
# Type checking
pnpm lint
This package uses tsup
for building, which provides:
AGPL-3.0 - see the LICENSE file for details.
FAQs
Shared TypeScript types and interfaces for the Gitcoin Core Design System.
The npm package @gitcoin/types receives a total of 0 weekly downloads. As such, @gitcoin/types popularity was classified as not popular.
We found that @gitcoin/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.