I published a package as a test, then created a new test directory (all node.js based):
mkdir test-proj
cd test-proj
npm init -y
Then tried to install my project:
npx jsr add @spooky/dom-fns
Which added them to the parent directory's package.json and the parent directory's node_modules folder. I attempted to create an empty node_modules in the cwd but that did not change things.
tldr; I think jsr add has issues with empty projects.
I published a package as a test, then created a new test directory (all node.js based):
Then tried to install my project:
Which added them to the parent directory's package.json and the parent directory's
node_modules
folder. I attempted to create an emptynode_modules
in the cwd but that did not change things.tldr; I think
jsr add
has issues with empty projects.