It was not used and caused a version downgrade as a side effect when installing the plugin in an Elysia.js project with Bun or Yarn, as the following commands show:
With Bun v0.5.9 (or Yarn v1.22.19)
mkdir tmp-app && \
cd tmp-app && \
bun create elysia . && \
head -3 node_modules/raikiri/package.json && \
bun add @elysiajs/static && \
head -3 node_modules/raikiri/package.json
OR
mkdir tmp-app && \
cd tmp-app && \
bun init -y && \
bun add elysia && \
head -3 node_modules/raikiri/package.json && \
bun add @elysiajs/static && \
head -3 node_modules/raikiri/package.json
Raikiri
was listed as a dependency:https://github.com/elysiajs/elysia-static/blob/2c330cce74aadc6994b669f00a76bbbbc491e888/package.json#L48
I removed it.
It was not used and caused a version downgrade as a side effect when installing the plugin in an
Elysia.js
project withBun
orYarn
, as the following commands show:With
Bun
v0.5.9 (orYarn
v1.22.19)OR
Causes
node_modules/raikiri/package.json
Same command under
NPM
v9.5.1 (orPNPM
v8.3.1)"Works"
node_modules/raikiri/package.json