From b74ac523985fcf8454f06db2c7a79ead3c16eb55 Mon Sep 17 00:00:00 2001 From: Meng-Yuan Huang Date: Tue, 12 Apr 2022 18:08:58 +0800 Subject: [PATCH] * Fix a script bug. --- package-lock.json | 11 +++-------- package.json | 3 +-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9eef82d..ade7e82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cbetar2", - "version": "18.0.0", + "version": "19.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cbetar2", - "version": "18.0.0", + "version": "19.0.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -33,7 +33,6 @@ "@types/react-router": "^5.1.16", "@types/react-router-dom": "^5.1.9", "@types/uuid": "^8.3.1", - "axios": "^0.21.4", "customize-cra": "^1.0.0", "electron": "^16.2.2", "electron-builder": "^23.0.4", @@ -5251,7 +5250,6 @@ "version": "0.21.4", "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dev": true, "dependencies": { "follow-redirects": "^1.14.0" } @@ -11667,7 +11665,6 @@ "version": "1.14.4", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz", "integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==", - "dev": true, "funding": [ { "type": "individual", @@ -31803,7 +31800,6 @@ "version": "0.21.4", "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dev": true, "requires": { "follow-redirects": "^1.14.0" } @@ -36952,8 +36948,7 @@ "follow-redirects": { "version": "1.14.4", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz", - "integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==", - "dev": true + "integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==" }, "for-in": { "version": "1.0.2", diff --git a/package.json b/package.json index 739c788..cdb5927 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "dist-rpm": "npm run build-electron && electron-builder -l rpm -c electronBuilderConfigs/rpm.json", "eb-dist-snap": "npm run build-electron && rm -f dist/*.snap && electron-builder -l snap -c electronBuilderConfigs/snap.json", "eb-dist-snap-arm64": "export SNAPCRAFT_BUILD_ENVIRONMENT=lxd && npm run build-electron-store && rm -f dist/*.snap && electron-builder -l snap -c electronBuilderConfigs/snap.json --arm64", - "dist-snap": "snapcraft snap --use-lxd -o dist", + "dist-snap": "mkdir -p dist && snapcraft snap --use-lxd -o dist", "publish-snap": "snapcraft upload --release=stable dist/*.snap", "prepare-flatpak": "tools/prepareFlatpak.sh", "dist-flatpak-dev": "cd flatpak && flatpak-builder build io.github.mrmyhuang.cbetar2.yml --install --force-clean --user", @@ -79,7 +79,6 @@ "@types/react-router": "^5.1.16", "@types/react-router-dom": "^5.1.9", "@types/uuid": "^8.3.1", - "axios": "^0.21.4", "customize-cra": "^1.0.0", "electron": "^16.2.2", "electron-builder": "^23.0.4",