Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:PrefectHQ Prefect UI Legacy Package Lock

From Leeroopedia


Knowledge Sources
Domains Frontend, Dependency_Management, Build_System
Last Updated 2026-02-09 22:00 GMT

Overview

NPM dependency lock file that pins exact versions of all direct and transitive dependencies for the legacy Vue-based Prefect UI.

Description

The ui/package-lock.json is an auto-generated file produced by npm that records the resolved version, integrity hash, and complete dependency tree for every installed package in the legacy Prefect UI project. This Vue-based application uses the prefect-design shared component library and Tailwind CSS. The lock file ensures reproducible builds by pinning exact versions of all direct and transitive dependencies across all environments.

Usage

This file is consumed automatically by `npm install` (or `npm ci` in CI). It should be committed to version control and never edited manually. It is regenerated when dependencies in the legacy UI's `package.json` change.

Code Reference

Source Location

Signature

{
  "name": "prefect-ui",
  "lockfileVersion": 3,
  "packages": {
    "": {
      "dependencies": { ... },
      "devDependencies": { ... }
    }
  }
}

Import

# Not importable; consumed by npm automatically
cd ui
npm ci  # Install exact locked versions (preferred for CI)
npm install  # Install and potentially update lock file

I/O Contract

Inputs

Name Type Required Description
package.json file Yes Declares desired dependency ranges for the legacy UI
npm registry network Yes Source for resolving package versions

Outputs

Name Type Description
node_modules/ directory Installed packages matching locked versions
Deterministic builds guarantee Identical dependency tree across all environments

Usage Examples

Clean Install in CI

cd ui
npm ci  # Uses package-lock.json for deterministic install
npm run build  # Build the legacy Vue UI with locked dependencies

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment