- Update
package.jsonversion - Update
src/pptxgen.tsversion (eg:const VERSION = '3.3.1') - 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
- Ensure newest
pptxgen.bundle.jsis loaded using F12 > Sources tab - Run all tests in browser Demo Page
- Update
demos/node/package.jsonversion - Run various tests
$ cd ~/GitHub/PptxGenJS/demos/node
$ npm run demo
$ npm run demo-all
$ npm run demo-text
$ npm run demo-stream- Ensure newest
dist/pptxgen.es.jsandtypes/index.d.tsunder local node_modules - Note: Any updates to
node_modules/dist/pptxgen.es.jsare not picked up by the server (ctrl-C and restart) - Update
demos/react-demo/package.jsonversion - Open
demos/react-demo/src/tstest/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 React Test 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
- Note: DO NOT use the deploy script offered onscreen!
- Update
demos/browser/index.htmlhead to use "RELEASE (CDN)" - Is version updated in package.json and src/pptxgen.ts?
- 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/PptxGenJS
$ npm publish- Test CDN links on README.md
- Load gh-pages branch
- Update
installation.mdwith latest CDN version - Copy contents of the newest "build" folder (from above) into
./demo-reactfolder - Update API documentation if needed