mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
A taste line's check now takes any of raea's checks by name or a project's own .ts check by path, with values and a level, beside the six forms. raea check reads the project's own taste.ts beside the person's and the workspace's, and raea context prints it. Removed: the controller schema, raea controller, raea spec --as controller, [controller] overrides in .raea/project, the registry's controller kind and its lints, controllers/ in new projects and shared/, and controller() in raea/brief. raea controller and raea doctor say where a controller's parts go; doctor moves or deletes nothing. The direction proof's five rules are lines in its taste.ts and it passes as before.
1.5 KiB
1.5 KiB
title, summary, order, sources
| title | summary | order | sources | |
|---|---|---|---|---|
| raea add | Add, remove and install npm packages for a project, with no Node or npm: raea.lock and node_modules. | 28 |
|
A composition can import npm packages. raea add resolves them, fetches each tarball once into a store every project
shares (~/.raea/npm/store, checked against the registry's hash) and lays out node_modules the way pnpm does. The
resolution is kept in raea.lock beside package.json, so an install with nothing new asks the registry nothing.
raea add d3-shape@^3 culori
raea add --dev @types/d3-shape
raea remove culori
raea install --offline
Install scripts never run, since there is no Node to run them; a package that needs one is named in the report.
Usage
raea add PKG[@RANGE]... [--dev] | remove NAME... | install [--offline] [--in DIR] (npm packages for the project: raea.lock, node_modules)
Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags.
Flags
| Flag | Takes | What it does |
|---|---|---|
--dev |
– | Add the packages as dev dependencies. |
--in |
DIR |
The project folder holding package.json (the current folder by default). |
--offline |
– | With install: use only what raea.lock and the store already have, asking the registry nothing. |