- Update
package.jsonversion - Update
src/pptxgen.tsversion - Build library: npm scripts >
ship - Consolidate new changes from
src/bld/*.tsintotypes/index.d.tsand update version in head comment - Open
dist/*.jsand check headers - Update
CHANGELOG.mdwith new date - Update
README.mdwith new CDN links - Update
demos/node/package.jsonversion
Run all tests in browser
- Local Demo
Run Node test
$ cd ~/GitHub/PptxGenJS/demos/node
$ npm run demo
$ npm run demo-all
$ npm run demo-text
$ npm run demo-streamReact Test
- Ensure newest
dist/pptxgen.es.jsandtypes/index.d.tsunder local node_modules - Update
demos/react-demo/package.jsonversion - Open
demos/react-demo/src/latest/Test.tsx - Check existing code
- Test defs by using auto-complete, "pptxgen.ChartType." etc.
$ cd ~/GitHub/PptxGenJS/demos/react-demo
$ npm run start- Go to http://localhost:3000 on iMac
- Run both demo tests
- Go to http://192.168.x.x:3000 on iPhone
- Run both demo tests
- Ensure each is viewable upon download
npm run build- copy entire "build" folder to Downloads for subsequently updating gh-pages with latest build (DO NOT use the deploy script offered onscreen!)
NOTE Any updates to node_modules/dist/pptxgen.es.js are not picked up by the server (ctrl-C and restart)
- Revert scripts in
./demos/browser/index.html - Is version updated in package.json and pptxgen.js?
- Are
index.d.tsdefs updated?
- Checkin all changes via GitHub Desktop
- Copy CHANGELOG entry and draft new release: Releases
- Use "Version X.x.x" as title and "v3.1.1" as tag
- Go back to Releases page, double-check title/tag, release when ready
cd ~/GitHub/PptxGenJSnpm publish
- Save output from all tests and html2ppt for this release
- Go test CDN links on README
- Load gh-pages branch
- Update
installation.mdwith latest CDN version - Update demo-react by copying contents of the newest "build" (from above) into
./demo-reactfolder - Update other documentation as needed