Description
Scripts using pulse do not start without installed tslib package. Instead they crash and show the error message "Error: Cannot find module 'tslib'".
To reproduce the error, just do the following in an empty folder:
npm init -y
npm install @pulsecron/pulse
echo "const p = require('@pulsecron/pulse')" > index.js
node index.js
With an additional npm install tslib the script runs without error.
Expected behavior
The script should run without error even without explicitely adding tslib as dependency.
Code example
No response
Additional context
Used versions:
- Node@20.18.0
- Node@22.11.0
- @pulsecron/pulse@1.6.3