MutterCorp
MutterCorpNotice · Notícias
Programação·

I counted the import sites of every dependency we declare, and one has had none since the first commit

Notifio is a desktop app plus a website. The app is Electron with a local React UI. The site, at notifio.app, is Next.js. Between them they declare 45 packages. I have written about what we pin and what the installer leaves out, but never asked the plainer question: for each name in package.json, how many files import it? I wrote a small script. For every package it searches from "x", require("x"), import("x") and CSS @import and @plugin across source, scripts and config, and prints a file coun…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes