Closed Fermain closed 1 year ago
It's a mess, but it's a temporary measure. Eventually this will be internalised into the CLI.
{ "scripts": { "init": "npm run link && npm run update-lms && npm run install-lms && npm run build", "link": "ln -s ../../../../../content .mollify/packages/lms/src/routes/content & ln -s ../../../static .mollify/packages/lms/static", "update-lms": "git -C .mollify pull origin master", "update": "npm run update-lms && git submodule update --init --recursive", "install-lms": "npm --prefix .mollify install", "build": "npm --prefix .mollify run build --workspaces", "dev": "npm --prefix .mollify run dev --workspace @mollify/lms" }, }
The main change is the expectation that mollify will be a submodule instead of an npm package.
It's a mess, but it's a temporary measure. Eventually this will be internalised into the CLI.