- Update
package.jsonversion - Update
src/pptxgen.tsversion - Update
CHANGELOG.mdwith new date - Update
README.mdwith new CDN links - 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
Run all tests in browser
- Local Demo
Node Test
- Update
demos/node/package.jsonversion
$ 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 demo tests
- Go to http://192.168.1.x:3000 on iPhone, run demo tests
- Go to http://192.168.1.x:3000 on Android, run demo tests
- Open exports on each device to ensure MIME type is correct, looks right, etc.
$ cd ~/GitHub/PptxGenJS/demos/react-demo
$ 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)
- Update
demos/browser/index.htmlversion and CDN links - 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
- 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