Implementation:AI QL Tuui Docs Package Lock
| Knowledge Sources | |
|---|---|
| Domains | Dependency_Management, Documentation |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
Concrete tool for pinning the exact dependency tree of the tuui-docs VitePress documentation site, provided by the tuui repository.
Description
The docs/package-lock.json file is an NPM lockfile (lockfileVersion 3) for the docs/ subproject. It records every transitive dependency version and integrity hash for the documentation toolchain — VitePress, vitepress-i18n, vitepress-sidebar, Vue, and their transitive dependencies. It is consumed by npm ci / npm install run from the docs/ directory to install a reproducible documentation site toolchain.
Usage
Reference this file when installing documentation site dependencies in the docs/ directory, or when updating the documentation toolchain versions. Run npm ci inside docs/ to install the exact locked tree.
Code Reference
Source Location
- Repository: tuui
- File: docs/package-lock.json
- Lines: 1-2508
Signature
{
"name": "tuui-docs",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": { "dependencies": { "vitepress": "...", "vitepress-i18n": "...", ... } },
"node_modules/vitepress": { "version": "...", "integrity": "sha512-..." },
...
}
}
Import
# Consumed by npm; no code import. Install the locked docs toolchain:
cd docs && npm ci
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| docs/package.json | JSON manifest | Yes | Defines the docs site direct dependencies this lock pins |
| registry | npm registry | Yes | Source for resolving integrity hashes |
Outputs
| Name | Type | Description |
|---|---|---|
| node_modules/ | Directory | Reproducible docs dependency tree installed under docs/ |
| integrity | sha512 hashes | Per-package integrity verification |
Usage Examples
Install Locked Docs Toolchain
# From the repository root, install the docs site dependencies exactly as locked
cd docs
npm ci
# Then run the VitePress dev server for local docs authoring
npm run dev
Update a Docs Dependency
# Bump a docs dependency and regenerate the lockfile
cd docs
npm install vitepress@latest
# docs/package-lock.json is updated automatically