From 7c223b43f5af3a5360535ade459130ee506a9718 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Mon, 16 May 2022 02:26:06 +0200 Subject: [PATCH] chore(release): 1.0.0 --- module.json | 10 +++++----- tools/bump-version.js | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/module.json b/module.json index fc277f2..44daaca 100644 --- a/module.json +++ b/module.json @@ -11,11 +11,11 @@ } ], "url": "https://git.f3l.de/dungeonslayers/tickwerk", - "license": "", - "readme": "", + "license": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.0.0/LICENSE.md", + "readme": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.0.0/README.md", "bugs": "https://git.f3l.de/dungeonslayers/tickwerk/-/issues", - "changelog": "", - "version": "", + "changelog": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.0.0", + "version": "1.0.0", "minimumCoreVersion": "9", "compatibleCoreVersion": "9", "esmodules": ["tickwerk.js"], @@ -33,6 +33,6 @@ } ], "manifest": "https://git.f3l.de/api/v4/projects/dungeonslayers%2Ftick-based-combat/packages/generic/tickwerk/latest/module.json", - "download": "", + "download": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.0.0/downloads/module.zip", "manifestPlusVersion": "1.2.0" } diff --git a/tools/bump-version.js b/tools/bump-version.js index fd585ba..168b8ae 100644 --- a/tools/bump-version.js +++ b/tools/bump-version.js @@ -66,13 +66,13 @@ function bumpVersion(release) { console.log(`Bumping version number to '${targetVersion}'`); packageJson.version = targetVersion; - fs.writeJSONSync('package.json', packageJson, { spaces: 4 }); + fs.writeJSONSync('package.json', packageJson, { spaces: 2 }); manifest.license = getLicenseURL(targetVersion); manifest.readme = getReadmeURL(targetVersion); manifest.changelog = getChangelogURL(targetVersion); manifest.version = targetVersion; manifest.download = getDownloadURL(targetVersion); - fs.writeJSONSync(manifestPath, manifest, { spaces: 4 }); + fs.writeJSONSync(manifestPath, manifest, { spaces: 2 }); } const argv = yargs(hideBin(process.argv)).usage('Usage: $0').option('release', {