файл пакета→ .shtukbase/packages/lenses/actions/build.mjs
actions/build.mjs
11 строк, 427 Б.
Файл как есть в пакете: код и комментарии в нём не переводятся.
- // Action `build`: builds the project's lenses (lib/: data, kit, gallery) with the kit, then the data of the
- // service lenses "Project packages" and "Project checks" (lib/base/packages.data.js).
- import { lenses } from "./kit.mjs";
- import { writePackages } from "./packages.mjs";
- const code = lenses("build");
- if (code === 0) {
- const line = writePackages(process.cwd());
- if (line) console.log(line);
- }
- process.exit(code);