issues
search
FlowzPlatform
/
Sprint-User-Story-Board
0
stars
0
forks
source link
building with parceljs
#132
Open
mohit5540
opened
5 years ago
mohit5540
commented
5 years ago
explore Parcel.js for building html pages
check whether output files contain included js with autohash
output of metalsmith publish files should be built with parceljs
check for netlify integration with parcel.js
explore netlify API for dynamic deployment
gkumar9
commented
5 years ago
Parcel.js is found to be a good substitute for webpack in building html pages, js.
It is found that output files does contain included js with autohash.
Currently, minification is not supported by parcel.js.
netlify integration found to be possible and tested manually.
yes, api found and tested for creation, updation for public rep. But private repo shows error.
gkumar9
commented
5 years ago
As discussed, creation of new repo is formulated via API for netlify deployment.
API created for committing metalsmith output into repo. Changes in the directory structure.
Also, adding that gitlab repo into netlify via API (to be created).
Above operation to be done while creation of a new website.
As the website will be published, we only commit the output to gitlab. Automatically netlify deploys it.
chiragob
commented
5 years ago
Git Lab API Ref :
https://docs.gitlab.com/ee/api/commits.html
gkumar9
commented
5 years ago
138
working on changes to perform gitlab operation. To be done via API rather than command line using shell.
gkumar9
commented
5 years ago
Currently, working on resolving triggering of netlify build upon commit in gitlab repo. Checked and verified gitlab API.
Found out regarding webhooks in netlify to trigger build.
Creating a webhook via API and then use that generated webhook api to build after commit.
gkumar9
commented
5 years ago
Done building with netlify with API and triggering the build in netlify with webhook. Currently working on #138 to commit various files required with html files for successfully building.