From 80de403a7d4425adf23bba80eb45b7305be4e3d1 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Fri, 26 Jun 2026 07:27:06 -0500 Subject: [PATCH] Update .nimble file to work Nimble 0.22+ --- update_version.nim | 2 +- update_version.nimble | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/update_version.nim b/update_version.nim index b38e656..bd0ca74 100644 --- a/update_version.nim +++ b/update_version.nim @@ -1,4 +1,4 @@ -import std/[dirs, json, paths, sequtils, strutils, syncio, tables] +import std/[dirs, json, paths, strutils, syncio, tables] import docopt, regex, zero_functional const USAGE = """Usage: diff --git a/update_version.nimble b/update_version.nimble index 199749c..cee7dae 100644 --- a/update_version.nimble +++ b/update_version.nimble @@ -1,6 +1,6 @@ # Package -version = "1.2.2" +version = "1.2.3" author = "Jonathan Bernard" description = "Small util to update version consistently for nim and node packages." license = "MIT" @@ -10,4 +10,7 @@ bin = @["update_version"] # Dependencies -requires @["nim >= 1.0.4", "docopt >= 0.7.1", "regex", "zero_functional"] +requires "nim >= 1.0.4" +requires "docopt >= 0.7.1" +requires "regex" +requires "zero_functional"