neo4j / neo4j-browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.
https://neo4j.com
GNU General Public License v3.0
671 stars 345 forks source link

How to pack Neo4j Browser and include the dist folder? #1969

Closed tweirick closed 2 months ago

tweirick commented 2 months ago

Description

I want to install a customized version of Neo4j Browser locally. From what I understand, I should be able to install a packed tgz file in Neo4j Desktop. I have tried npm pack and yarn pack. npm pack builds something similar to neo4j-browser-5.15.0.tgz, except that the dist/ folder is missing.

Are there arguments I am missing when running npm pack? I tried deleting dist from the .gitignore file and this did not change anything.

Reproduce Steps

yarn install

yarn start # Tested and works

npm pack

Environment

Ubuntu 22.04

OskarDamkjaer commented 2 months ago

I've not used the npm pack command, but at a quick glance it seems what's missing is running yarn build command as this creates the dist folder

tweirick commented 2 months ago

Thanks for your help. Running yarn build in the release tar file 5.15.0 built dist successfully.

Note: I initially had trouble with the latest version of yarn. Using yarn@1.22.16 built the dist successfully.