Implementation:Mlflow Mlflow Docs Package Lock
| Knowledge Sources | |
|---|---|
| Domains | Documentation, Dependency Management |
| Last Updated | 2026-02-13 20:00 GMT |
Overview
NPM dependency lock file that pins exact versions and integrity hashes for all transitive dependencies of the MLflow documentation site built with Docusaurus.
Description
This is a standard package-lock.json file (lockfile version 3) generated by npm for the MLflow documentation project located in the docs/ directory. At over 25,000 lines, it records the complete dependency tree with exact versions and integrity checksums for every transitive npm package.
The documentation project uses Docusaurus (@docusaurus/core ^3.6.3) as the static site generator, along with:
- @docusaurus/preset-classic - Standard Docusaurus preset for docs, blog, and pages
- @docusaurus/theme-mermaid - Mermaid diagram support
- @docusaurus/plugin-client-redirects - Client-side URL redirects
- @docusaurus/faster - Build performance optimizations
- @mdx-js/react - MDX (Markdown + JSX) support
- Tailwind CSS v4 (tailwindcss ^4.1.8, @tailwindcss/postcss) - Utility-first CSS framework
- React 18 - Frontend framework
- prism-react-renderer - Syntax highlighting
- lucide-react - Icon library
- class-variance-authority and clsx - CSS class utilities
- tsx - TypeScript execution for build scripts
Development dependencies include TypeScript, ESLint (v9), Prettier, eslint-plugin-mdx, markdown-link-check, and remark-cli.
Usage
This file ensures reproducible documentation builds across different environments and CI systems. It is consumed automatically by npm install (or npm ci in CI) when setting up the documentation development environment. Developers should not edit this file manually -- it is regenerated by npm when dependencies in docs/package.json are added, removed, or updated.
Code Reference
Source Location
- Repository: Mlflow_Mlflow
- File: docs/package-lock.json
- Lines: 1-25438
Signature
{
"name": "docs",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "docs",
"version": "0.0.0",
"dependencies": {
"@docusaurus/core": "^3.6.3",
"@docusaurus/faster": "^3.9.2",
"@docusaurus/preset-classic": "^3.6.3",
"react": "^18.0.0",
"tailwindcss": "^4.1.8"
}
}
}
}
Import
# Install documentation dependencies using the lock file
cd docs && npm ci
# Or for development (allows updates)
cd docs && npm install
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| docs/package.json | JSON file | Yes | The source of declared dependencies; changes to this file trigger lock file regeneration via npm install |
Outputs
| Name | Type | Description |
|---|---|---|
| node_modules/ | Directory | The installed dependency tree matching the exact versions specified in the lock file |
| Deterministic builds | Side effect | Guarantees that all environments produce identical dependency installations |
Usage Examples
Setting Up Documentation Development
# Install exact locked dependencies for reproducible builds
cd docs
npm ci
# Start the documentation development server
npm start
# Build the documentation for production
npm run build
Updating Dependencies
cd docs
# Update a specific dependency (regenerates package-lock.json)
npm install @docusaurus/core@latest
# Update all dependencies to latest compatible versions
npm update