App dev help: Use local node dependency

Hey I’m hacking on the calendar app and wanted to change a dependency in package.json to a local path: "@nextcloud/calendar-js": "file:/home/onny/projects/calendar-js".

Now I get: Module not found: Error: Can't resolve '@nextcloud/calendar-js' in ....
I rerun npm ci and also tried to add an resolve alias to the webpack config without any luck.

How do you configure local dependencies?

Hi @onny :slight_smile:

Be careful ! If you would change a dependency from nextcloud/server all dependencies are managed by Dependabot :point_right: https://github.com/nextcloud/server/blob/master/.github/dependabot.yml

Usually, it’s Dependabot that manages this part.

Can you explain in details your needs, please ?