Hi Yadd,
On 2023-10-11 09:39, Yadd wrote:
Better view of dependencies (`npm2deb depends` is often false):
$ pkgjs-depends vite
# vite@4.4.11
# 13 missing npm module(s)
DEPENDENCIES:
esbuild (esbuild)
node-chokidar (chokidar)
node-immutable (immutable)
node-less (less)
node-postcss (postcss, source-map-js)
node-pre-gyp (detect-libc)
node-stylus (stylus)
node-terser (terser)
nodejs (@types/node)
rollup (rollup)
MISSING:
vite@4.4.11
└── fsevents (2.3.3) # BANNED (not compatible with linux)
└── lightningcss (1.22.0)
└── lightningcss-darwin-arm64 (1.22.0)
└── lightningcss-darwin-x64 (1.22.0)
└── lightningcss-freebsd-x64 (1.22.0)
└── lightningcss-linux-arm-gnueabihf (1.22.0)
└── lightningcss-linux-arm64-gnu (1.22.0)
└── lightningcss-linux-arm64-musl (1.22.0)
└── lightningcss-linux-x64-gnu (1.22.0)
└── lightningcss-linux-x64-musl (1.22.0)
└── lightningcss-win32-x64-msvc (1.22.0)
└── sass (1.69.2) # easy to replace by node-sass
└── sugarss (4.0.1)
The "lignthningcss-*" are prebuilt objects, lightningcss should build
only required package
Thanks, this gives much more optimism than npm2deb generated list. It
seems that fsevents are not needed at all, thus lightningcss and sugarss
seem to be the only lacking dependencies.
Best,
Andrius