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:Nightwatchjs Nightwatch Package Lock Manifest

From Leeroopedia
Revision as of 11:41, 16 February 2026 by Admin (talk | contribs) (Auto-imported from implementations/Nightwatchjs_Nightwatch_Package_Lock_Manifest.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Sources
Domains Dependency_Management, Build_Configuration
Last Updated 2026-02-12 00:00 GMT

Overview

Auto-generated NPM dependency lock file that pins the exact versions of all direct and transitive dependencies for the Nightwatch test framework.

Description

The package-lock.json file is automatically generated by npm and records the exact version of every installed package and its dependency tree. For Nightwatch, this ensures deterministic installs across environments. The file is 9746 lines and locks dependencies including selenium-webdriver, mocha, and other core packages.

Usage

This file is consumed automatically by npm during `npm ci` or `npm install`. Users do not import or reference it directly. It ensures that all contributors and CI systems use identical dependency versions.

Code Reference

Source Location

Signature

{
  "name": "nightwatch",
  "lockfileVersion": 3,
  "requires": true,
  "packages": { ... }
}

Import

# Not imported directly; consumed by npm
npm ci

I/O Contract

Inputs

Name Type Required Description
package.json JSON Yes Declares direct dependencies and version ranges

Outputs

Name Type Description
node_modules/ Directory Installed package tree matching locked versions
Deterministic builds Guarantee All installs produce identical dependency tree

Usage Examples

Install from Lock File

# Clean install using exact locked versions (recommended for CI)
npm ci

# Regular install (updates lock file if package.json changed)
npm install

Related Pages

Page Connections

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