Version 2.1.0

This commit is contained in:
Bambus Control 2025-08-20 21:39:27 +02:00
parent 2c1fbaf840
commit 9cd07e43b0
4 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
{
"id": "chronotyper",
"name": "Chronotyper",
"version": "0.2.0-NEXT",
"version": "2.1.0",
"minAppVersion": "1.8.7",
"description": "Track how long you edit notes directly in the note properties",
"author": "BambusControl",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "obsidian-chronotyper",
"version": "0.2.0-NEXT",
"version": "2.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "obsidian-chronotyper",
"version": "0.2.0-NEXT",
"version": "2.1.0",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^18",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-chronotyper",
"version": "0.2.0-NEXT",
"version": "2.1.0",
"description": "Obsidian plugin for tracking note edit time.",
"main": "main.js",
"scripts": {

View file

@ -6,12 +6,12 @@
*/
export type PluginVersion
= "0.2.0"
| "0.2.0-NEXT"
| "2.1.0"
// Update every release only if plugin version changed
;
export type CurrentPluginVersion = "0.2.0-NEXT" & PluginVersion;
export const CURRENT_PLUGIN_VERSION: CurrentPluginVersion = "0.2.0-NEXT";
export type CurrentPluginVersion = "2.1.0" & PluginVersion;
export const CURRENT_PLUGIN_VERSION: CurrentPluginVersion = "2.1.0";
/**
* Version of the save data schema.
@ -23,10 +23,10 @@ export const CURRENT_PLUGIN_VERSION: CurrentPluginVersion = "0.2.0-NEXT";
* @see {@link PluginVersion}
*/
export type SaveDataVersion = PluginVersion &
( "0.2.0"
| "0.2.0-NEXT"
// Update only if save data schema changed
("0.2.0"
| "2.1.0"
// Update only if save data schema changed
);
export type CurrentSaveDataVersion = "0.2.0-NEXT" & SaveDataVersion;
export const CURRENT_DATA_VERSION: CurrentPluginVersion = "0.2.0-NEXT";
export type CurrentSaveDataVersion = "2.1.0" & SaveDataVersion;
export const CURRENT_DATA_VERSION: CurrentPluginVersion = "2.1.0";