From 92e09165e8ade2136f892fed345fb1ff40aaa940 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 1 Jul 2023 12:01:10 -0400 Subject: [PATCH] feat(datasette-manager): Sync manager version with python version --- datasette/static/datasette-manager.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datasette/static/datasette-manager.js b/datasette/static/datasette-manager.js index 0e9716463d..d1780f9507 100644 --- a/datasette/static/datasette-manager.js +++ b/datasette/static/datasette-manager.js @@ -29,12 +29,13 @@ const DOM_SELECTORS = { /** * Monolith class for interacting with Datasette JS API * Imported with DEFER, runs after main document parsed + * For now, manually synced with datasette/version.py */ const datasetteManager = { - VERSION: 'TODO_INJECT_VERSION_OR_ENDPOINT_FROM_SERVER_OR_AT_BUILD_TIME', + VERSION: '1.0a2', - // TODO: Should order of registration matter? + // TODO: Should order of registration matter more? // Should plugins be allowed to clobber others or is it last-in takes priority? // Does pluginMetadata need to be serializable, or can we let it be stateful / have functions?