Open patrick-rodgers opened 5 years ago
@olemp can you have a quick look please?
Oh, sorry, my bad @patrick-rodgers. It's gulp build
. We could add an npm task for build
aswell though.
I am not really concerned with exactly the commands to run, just that they are documented and understood. I am assuming when you tested you were using gulp build?
Yes, I did, haven't really done any edits to the build setup. We could create an issue for improving the build if you want.
Couple more questions:
gulp build
changes the files and git now sees uncommitted changes, is that expected? Do I ignore it? Do I need to commit those changes?I don't mean to tell anyone what to do, this is a community project. My only concern is ensuring once published it works as you (and consumers) expect. I am not going to go through and test things - so relying on folks contributing to ensure things are correct.
Edit: I will add that since this was branched (years ago?) we have made significant changes to how the build works in pnpjs. Some of it might be helpful here and other parts likely not as this is still a single library repo. But there are likely improvements that could be made to the build process, if you wanted.
No problem @patrick-rodgers. While developing this "lib", I've pushed lib to git to so I could include the git reference in other projects using this lib. We should probably ignore lib in .gitignore, and make sure lib is included for npm publish. Sorry for forgetting this step!
No worries, just want to have it be successful once published. Do you want to make a few changes and let me know and I'll re-pull and publish?
Will do @patrick-rodgers, thanks 👍
Fixed lib and build issue in https://github.com/pnp/sp-js-provisioning/pull/8.
Category
[ ] Enhancement [X] Bug [ ] Question
Expected / Desired Behavior / Question
Trying to execute a release following the instructions from #4.
Observed Behavior
Steps to Reproduce
npm run build
Also note there is no build script defined in the package.json.