Implementation:Guardrails ai Guardrails Docs Package Lock
| Knowledge Sources | |
|---|---|
| Domains | Documentation, Dependency Management, Node.js |
| Last Updated | 2026-02-14 00:00 GMT |
Overview
The package-lock.json file is the npm lockfile for the Guardrails documentation website, pinning exact versions of all Node.js dependencies required to build and serve the Docusaurus-based documentation site.
Description
This is a standard npm lockfile (lockfileVersion 3) for a project named "web" at version "0.0.0". It locks the entire transitive dependency tree to ensure reproducible builds of the Guardrails documentation website.
Project Configuration
The documentation project requires Node.js >= 20.0 and declares the following direct dependencies:
Runtime Dependencies
| Package | Version Range | Purpose |
|---|---|---|
@docusaurus/core |
^3.9.2 | Docusaurus framework core |
@docusaurus/preset-classic |
^3.9.2 | Classic Docusaurus preset with default theme and plugins |
@docusaurus/plugin-google-gtag |
^3.9.2 | Google Analytics integration |
@docusaurus/theme-mermaid |
^3.9.2 | Mermaid diagram support in documentation |
@mdx-js/react |
^3.1.1 | MDX (Markdown + JSX) rendering support |
clsx |
^2.1.1 | Utility for constructing className strings |
create-react-class |
^15.7.0 | Legacy React class component support |
docusaurus-plugin-image-zoom |
^3.0.1 | Image zoom functionality in docs |
htmltojsx |
^0.3.0 | HTML to JSX conversion utility |
plugin-image-zoom |
^1.2.0 | Additional image zoom plugin |
posthog-docusaurus |
^2.0.5 | PostHog analytics integration |
prism-react-renderer |
^2.4.1 | Syntax highlighting for code blocks |
react |
^19.2.0 | React framework |
react-dom |
^19.2.0 | React DOM rendering |
Dev Dependencies
| Package | Version Range | Purpose |
|---|---|---|
@docusaurus/module-type-aliases |
^3.9.2 | TypeScript type aliases for Docusaurus modules |
Scale
The lockfile contains 17,613 lines, reflecting the large transitive dependency tree typical of modern React/Docusaurus-based documentation sites. This includes hundreds of packages from the Docusaurus ecosystem, React, webpack, Babel, and various utility libraries.
Usage
This file is used by npm install (or npm ci for CI environments) to install exact versions of all dependencies for the documentation website build process. It should be committed to version control to ensure reproducible builds across development and CI environments.
Code Reference
Source Location
- Repository: Guardrails
- File:
docs/package-lock.json - Lines: 1-17,613
Key Metadata
{
"name": "web",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "web",
"version": "0.0.0",
"dependencies": {
"@docusaurus/core": "^3.9.2",
"@docusaurus/preset-classic": "^3.9.2",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"engines": {
"node": ">=20.0"
}
}
}
}
Statistics
| Metric | Value |
|---|---|
| Lockfile version | 3 |
| Total lines | 17,613 |
| Direct runtime dependencies | 14 |
| Direct dev dependencies | 1 |
| Minimum Node.js version | 20.0 |
| Docusaurus version | ^3.9.2 |
| React version | ^19.2.0 |