From b68fe1dec011b2e79b31cbd8b05ca89be3bfda69 Mon Sep 17 00:00:00 2001 From: "Tod E. Kurt" Date: Sun, 3 Dec 2017 11:43:52 -0800 Subject: [PATCH] small doc fixes --- NOTES.md | 2 ++ Publishing.md | 11 +++++------ package.json | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/NOTES.md b/NOTES.md index 2fe1dad..7b3fa18 100644 --- a/NOTES.md +++ b/NOTES.md @@ -2,7 +2,9 @@ ## NOTES Random notes / documentation while developing the app +=== +NOTE: consider this historical info. most of these are out-of-date as of Nov 2017 ### App capability changes / To-do's - TODO: Entirely rethink color pattern architecture diff --git a/Publishing.md b/Publishing.md index db948cc..572fdf8 100644 --- a/Publishing.md +++ b/Publishing.md @@ -1,17 +1,16 @@ ### Publishing Releases Steps: -- Update version in package.json +- Update version in package.json and app/package.json - Build release: ``` - npm install - npm run pack - npm run dist // this does the publish + npm run clean // removes node_modules so they get rebuilt + npm install // installs & builds node_modules + npm run pack // bundles app code using webpack to bundle.js + npm run dist // this does the publish ``` - - - - Create tag in git repository - Make release on github - Write release notes (changelog) diff --git a/package.json b/package.json index 72ce100..989cdd8 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "dist:draft": "electron-builder --publish=never", "dist": "electron-builder", "dist:win32bit": "electron-builder --ia32 --win --publish=never", - "clean": "rimraf app/node_modules node_modules package-lock.json", + "clean": "rimraf app/node_modules node_modules package-lock.json app/package-lock.json", "env": "env", "postinstall": "electron-builder install-app-deps", "test": "echo \"tested\""