Relative Content

Tag Archive for node.jsnpm

Disable npm commands in specific directory

I am working on a project that is being managed using the bun package manager. But I am habitual to use npm commands in directories, for installing deps or running the local server.

how to exclude npm sub dependencies or replace package in whole project with new package

I have already rewrite the @codemirror/autocomplete package and publish the modified package as rdcodemirror-autocomplete, and now using the modified package in my project. Now I found the rdcodemirror-autocomplete conflict with the @codemirror/autocomplete package, I just want to keep one of them. now the autocomplate event will trigger twice.This is the package.lock: