From 231fc13bb0b442f7547446738b2ac02f63e984c5 Mon Sep 17 00:00:00 2001 From: walkthunder Cooper Date: Sun, 6 Aug 2023 18:13:45 +0800 Subject: [PATCH] feat(script): Update scripts. --- bump.mjs | 4 ++-- manifest.json | 11 +---------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/bump.mjs b/bump.mjs index 42018e3..9466ddc 100644 --- a/bump.mjs +++ b/bump.mjs @@ -8,9 +8,9 @@ console.log(`Bumping version to ${targetVersion}`) const manifest = JSON.parse(readFileSync('manifest.json', 'utf8')) const { minAppVersion } = manifest manifest.version = targetVersion -writeFileSync('manifest.json', JSON.stringify(manifest, null, '\t')) +writeFileSync('manifest.json', JSON.stringify(manifest, null, '4')) // update versions.json with target version and minAppVersion from manifest.json const versions = JSON.parse(readFileSync('versions.json', 'utf8')) versions[targetVersion] = minAppVersion -writeFileSync('versions.json', JSON.stringify(versions, null, '\t')) \ No newline at end of file +writeFileSync('versions.json', JSON.stringify(versions, null, '4')) \ No newline at end of file diff --git a/manifest.json b/manifest.json index 407b9ff..ff1f342 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1 @@ -{ - "id": "invio", - "name": "Invio", - "version": "0.3.4", - "minAppVersion": "0.13.21", - "description": "Export docs as websites and deploy them to AWS S3 or compatible COS. Invio streamlines the process of publishing, enabling users to easily share their work online.", - "author": "frontend-engineering", - "authorUrl": "https://github.com/frontend-engineering", - "isDesktopOnly": true -} \ No newline at end of file +{"id":"invio","name":"Invio","version":"0.3.3","minAppVersion":"0.13.21","description":"Export docs as websites and deploy them to AWS S3 or compatible COS. Invio streamlines the process of publishing, enabling users to easily share their work online.","author":"frontend-engineering","authorUrl":"https://github.com/frontend-engineering","isDesktopOnly":true} \ No newline at end of file