diff --git a/justfile b/justfile index 349bc23..706d795 100755 --- a/justfile +++ b/justfile @@ -9,6 +9,7 @@ clean-js: # Generate components and build the bundle build: clean-js + python scripts/make_version.py pnpm run build # Build the webpack bundle diff --git a/package.json b/package.json index 35773d3..1734eef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash_query_builder", - "version": "0.6.0", + "version": "1.0.0", "description": "Component for Dash based on react-awesome-query-builder", "main": "index.ts", "bugs": { diff --git a/scripts/make_version.py b/scripts/make_version.py index bc8c9a7..1b1cba7 100644 --- a/scripts/make_version.py +++ b/scripts/make_version.py @@ -14,4 +14,4 @@ _version = package["version"] with _version_file.open("w") as f: - f.write(f"__version__ = '{_version}'") + f.write(f'__version__ = "{_version}"')