This commit is contained in:
TheJaredWilcurt 2020-02-19 12:09:32 -05:00
parent f8d5c7c4f9
commit 079f0399fc
2 changed files with 11 additions and 8 deletions

View File

@ -6,9 +6,11 @@ NW.js + Vue-CLI 4 example
![A screenshot of the default app running on Windows](screenshot.png) ![A screenshot of the default app running on Windows](screenshot.png)
* NW.js * NW.js 0.44.2
* Vue-CLI 4 * Chrome 80
* Vue 2.6 * Node 13.8.0
* Vue-CLI 4.2.2
* Vue 2.6.11
* Vue-DevTools (latest) * Vue-DevTools (latest)
* Babel * Babel
* ESLint * ESLint
@ -88,5 +90,6 @@ This is not for those *using* this repo, but for those *maintaining* it.
* `tests/unit/setup.js` * `tests/unit/setup.js`
* `tests/unit/components/__snapshots__/HelloWorld.test.js.snap` * `tests/unit/components/__snapshots__/HelloWorld.test.js.snap`
* `.browserslistrc` * `.browserslistrc`
1. Update the version numbers at the top of the README
1. Bump the version number, and all the npm scripts that reference the version number 1. Bump the version number, and all the npm scripts that reference the version number
1. Run `npm run regression` after updating dependencies or other major changes to verify builds still work correctly 1. Run `npm run regression` after updating dependencies or other major changes to verify builds still work correctly

View File

@ -6,7 +6,7 @@
"To turn spell checking off, remove it from the chromium-args in this file" "To turn spell checking off, remove it from the chromium-args in this file"
], ],
"name": "nw-vue", "name": "nw-vue",
"version": "1.4.0", "version": "1.5.0",
"main": "http://localhost:8964", "main": "http://localhost:8964",
"node-remote": "http://localhost:8964", "node-remote": "http://localhost:8964",
"node-main": "", "node-main": "",
@ -27,10 +27,10 @@
"build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .", "build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
"build:win": "npm run build:win:clean && npm run build:vue && build --tasks win-x86 --mirror https://dl.nwjs.io/ .", "build:win": "npm run build:win:clean && npm run build:vue && build --tasks win-x86 --mirror https://dl.nwjs.io/ .",
"build:lin": "npm run build:lin:clean && npm run build:vue && build --tasks linux-x64 --mirror https://dl.nwjs.io/ .", "build:lin": "npm run build:lin:clean && npm run build:vue && build --tasks linux-x64 --mirror https://dl.nwjs.io/ .",
"build:win:clean": "rimraf ./dist-vue ./dist/nw-vue-1.4.0-win-x86 ./dist/nw-vue-1.4.0-win-x86.zip ./dist/nw-vue-1.4.0-win-x86.7z ./dist/nw-vue-1.4.0-win-x86-Setup.exe", "build:win:clean": "rimraf ./dist-vue ./dist/nw-vue-1.5.0-win-x86 ./dist/nw-vue-1.5.0-win-x86.zip ./dist/nw-vue-1.5.0-win-x86.7z ./dist/nw-vue-1.5.0-win-x86-Setup.exe",
"build:lin:clean": "rimraf ./dist-vue ./dist/nw-vue-1.4.0-linux-x64 ./dist/nw-vue-1.4.0-linux-x64.zip", "build:lin:clean": "rimraf ./dist-vue ./dist/nw-vue-1.5.0-linux-x64 ./dist/nw-vue-1.5.0-linux-x64.zip",
"run:win": "dist\\nw-vue-1.4.0-win-x86\\nw-vue.exe", "run:win": "dist\\nw-vue-1.5.0-win-x86\\nw-vue.exe",
"run:lin": "./dist/nw-vue-1.4.0-linux-x64/nw-vue", "run:lin": "./dist/nw-vue-1.5.0-linux-x64/nw-vue",
"regression": "rd /s /q node_modules & rd /s /q node_modules & rd /s /q node_modules & npm install && npm run lint && npm test && npm run build:win && npm run run:win", "regression": "rd /s /q node_modules & rd /s /q node_modules & rd /s /q node_modules & npm install && npm run lint && npm test && npm run build:win && npm run run:win",
"lint": "vue-cli-service lint --no-fix", "lint": "vue-cli-service lint --no-fix",
"fix": "vue-cli-service lint --fix", "fix": "vue-cli-service lint --fix",