Skip to content

Commit 231fc13

Browse files
committed
feat(script): Update scripts.
1 parent 06481f2 commit 231fc13

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

bump.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ console.log(`Bumping version to ${targetVersion}`)
88
const manifest = JSON.parse(readFileSync('manifest.json', 'utf8'))
99
const { minAppVersion } = manifest
1010
manifest.version = targetVersion
11-
writeFileSync('manifest.json', JSON.stringify(manifest, null, '\t'))
11+
writeFileSync('manifest.json', JSON.stringify(manifest, null, '4'))
1212

1313
// update versions.json with target version and minAppVersion from manifest.json
1414
const versions = JSON.parse(readFileSync('versions.json', 'utf8'))
1515
versions[targetVersion] = minAppVersion
16-
writeFileSync('versions.json', JSON.stringify(versions, null, '\t'))
16+
writeFileSync('versions.json', JSON.stringify(versions, null, '4'))

manifest.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
{
2-
"id": "invio",
3-
"name": "Invio",
4-
"version": "0.3.4",
5-
"minAppVersion": "0.13.21",
6-
"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.",
7-
"author": "frontend-engineering",
8-
"authorUrl": "https://github.com/frontend-engineering",
9-
"isDesktopOnly": true
10-
}
1+
{"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}

0 commit comments

Comments
 (0)