Namespace Nite.Import
Classes
- LockfileReader
Reads the package versions a project currently uses out of its lockfile. Nite does not convert lockfiles: it resolves its own tree, preferring these versions wherever they satisfy the ranges, so an imported project keeps running what it ran before. Only registry versions are returned; file:, link:, workspace:, git and similar entries are skipped.
- ProjectImporter
Turns an existing npm/yarn/pnpm/bun web project (Vite, or Create React App) into the client half of a Nite project. Analyze(string) only reads and produces a plan, so
--dry-runis free; Apply(ImportPlan, string) copies files into a new project. The source is never modified.
Enums
- PackageManager
The package managers whose projects Nite can import.