Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZPM load in dev mode will build the javascript application #283

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

isc-pbarton
Copy link
Collaborator

Resolves #37

write !, "In developer mode, building web UI:"
set webUIDirectory = ##class(%File).SubDirectoryName(rootDirectory, "git-webui")
write !, "npm install"
write !, $zf(-100, "/SHELL", "cd", webUIDirectory, "&&", "npm", "install")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be npm install --prefix webUIDirectory rather than using cd. (Same below, npm run --prefix)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least for me, npm install does not respect --prefix. But npm ci --prefix does work.

@isc-tleavitt
Copy link
Collaborator

As this is internal I don't think we need anything in changelog.md but feel free to add if you disagree.

@isc-pbarton isc-pbarton merged commit 3f092a7 into intersystems:main Sep 18, 2023
1 check passed
@isc-pbarton isc-pbarton deleted the automate-grunt branch September 18, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate npm install, grunt release for load -dev
2 participants