From bbc8a3cd3ea092aaf274cd3acfe186e1fae6b562 Mon Sep 17 00:00:00 2001 From: Ivan S Glazunov Date: Mon, 22 Jul 2024 13:20:15 +0000 Subject: [PATCH] 0.0.24 --- electron/package.json | 2 +- package.json | 4 ++-- sync-version.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/electron/package.json b/electron/package.json index 8164880..ffd9a9e 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "@deep-foundation/perception-app", - "version": "0.0.23", + "version": "0.0.24", "description": "Your second memory.", "homepage": "https://deep.foundation/", "author": { diff --git a/package.json b/package.json index 7d45f8a..430e37c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@deep-foundation/perception-app", - "version": "0.0.23", + "version": "0.0.24", "description": "", "license": "Unlicense", "main": "./bin/server.js", @@ -25,7 +25,7 @@ "export": "(cross-env NEXT_PUBLIC_EXPORT=1 NEXT_PUBLIC_I18N_DISABLE=1 next build)", "build": "rimraf app && next build", "start": "next start", - "dev": "(cd ./perception-imports; npm run package:app:sync); NEXT_PUBLIC_GRAPHQL_URL=https://deeplinks.deep.foundation/gql next dev", + "dev": "(cd ./perception-imports; npm run app:sync); NEXT_PUBLIC_GRAPHQL_URL=https://deeplinks.deep.foundation/gql next dev", "run-ios": "npx cap run ios", "open-ios": "npx cap open ios", "build-ios": "npm version prerelease --no-git-tag-version --no-commit-hook && rimraf app && NEXT_PUBLIC_BUILD=\"ios\" npm run export && npx cap sync ios", diff --git a/sync-version.js b/sync-version.js index 76e950e..9dace1e 100644 --- a/sync-version.js +++ b/sync-version.js @@ -3,4 +3,4 @@ const path = require('path'); const nextPckg = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json'), 'utf8')); const electronPckg = JSON.parse(fs.readFileSync(path.join(__dirname, 'electron', 'package.json'), 'utf8')); electronPckg.version = nextPckg.version; -fs.writeFileSync(path.join(__dirname, 'electron', 'package.json'), JSON.stringify(electronPckg)); \ No newline at end of file +fs.writeFileSync(path.join(__dirname, 'electron', 'package.json'), JSON.stringify(electronPckg, null, 2)); \ No newline at end of file