From e754c656027dbb214dd6005a24dcc85f43f036e2 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 19 Feb 2023 01:20:51 -0500 Subject: [PATCH] Increment patch without npm install --- app/package-lock.json | 4 ++-- app/package.json | 2 +- data/cfg.json | 6 +++--- package-lock.json | 4 ++-- package.json | 2 +- scripts/version.sh | 8 ++------ 6 files changed, 11 insertions(+), 15 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 896fa53..bc33ca4 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy-app", - "version": "1.7.1", + "version": "1.7.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy-app", - "version": "1.7.1", + "version": "1.7.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/app/package.json b/app/package.json index de12728..629c38f 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.1", + "version": "1.7.2", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 69aeaa4..d5626fb 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.1", + "version": "1.7.2", "ext_port": 1111, "profiles": { "mcopy": { @@ -185,8 +185,8 @@ "camera_capper_projectors_identifier": "0", "capper_on": "A", "capper_off": "B", - "takeup_forward" : "D", - "takeup_backward" : "E" + "takeup_forward": "D", + "takeup_backward": "E" } } } diff --git a/package-lock.json b/package-lock.json index cbe2456..8304240 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.7.1", + "version": "1.7.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.7.1", + "version": "1.7.2", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index 778da15..eadb60a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.7.1", + "version": "1.7.2", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/scripts/version.sh b/scripts/version.sh index 321946a..34c13dc 100644 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -6,14 +6,10 @@ npm version --no-git-tag-version ${1} version=$(jq -r '.version' ./package.json) echo "VERSION: $version" -declare -a fileArr=("./data/cfg.json" "./app/package.json") +declare -a fileArr=("./package-lock.json", "./data/cfg.json" "./app/package.json", "./app/package-lock.json") for i in "${fileArr[@]}" do tmp=$(mktemp) VERSION="$version" jq '.version = env.VERSION' "$i" > "$tmp" && mv "$tmp" "$i" -done - -npm i -cd app -npm i \ No newline at end of file +done \ No newline at end of file