Increment patch without npm install
This commit is contained in:
parent
b672921c84
commit
e754c65602
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"description": "GUI for the mcopy small gauge film optical printer platform",
|
"description": "GUI for the mcopy small gauge film optical printer platform",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
@ -185,8 +185,8 @@
|
||||||
"camera_capper_projectors_identifier": "0",
|
"camera_capper_projectors_identifier": "0",
|
||||||
"capper_on": "A",
|
"capper_on": "A",
|
||||||
"capper_off": "B",
|
"capper_off": "B",
|
||||||
"takeup_forward" : "D",
|
"takeup_forward": "D",
|
||||||
"takeup_backward" : "E"
|
"takeup_backward": "E"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"arduino": "file:app/lib/arduino",
|
"arduino": "file:app/lib/arduino",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"description": "Small gauge film optical printer platform",
|
"description": "Small gauge film optical printer platform",
|
||||||
"main": "build.js",
|
"main": "build.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -6,14 +6,10 @@ npm version --no-git-tag-version ${1}
|
||||||
version=$(jq -r '.version' ./package.json)
|
version=$(jq -r '.version' ./package.json)
|
||||||
echo "VERSION: $version"
|
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[@]}"
|
for i in "${fileArr[@]}"
|
||||||
do
|
do
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
VERSION="$version" jq '.version = env.VERSION' "$i" > "$tmp" && mv "$tmp" "$i"
|
VERSION="$version" jq '.version = env.VERSION' "$i" > "$tmp" && mv "$tmp" "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
npm i
|
|
||||||
cd app
|
|
||||||
npm i
|
|
Loading…
Reference in New Issue