From 3471ca0c9079da24763360ca3238c40416a32ce3 Mon Sep 17 00:00:00 2001 From: Luke Walton Date: Thu, 10 Oct 2024 16:07:52 +0100 Subject: [PATCH] chore: Export version in web (#30) chore: Move release-please files --- ...ease-please-manifest.json => .release-please-manifest.json | 0 index.ts | 4 ++++ package-lock.json | 4 ++-- package.json | 4 ++-- .../release-please-config.json => release-please-config.json | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) rename .release-please/.release-please-manifest.json => .release-please-manifest.json (100%) rename .release-please/release-please-config.json => release-please-config.json (94%) diff --git a/.release-please/.release-please-manifest.json b/.release-please-manifest.json similarity index 100% rename from .release-please/.release-please-manifest.json rename to .release-please-manifest.json diff --git a/index.ts b/index.ts index 01d4ce21..57a80db8 100644 --- a/index.ts +++ b/index.ts @@ -8,3 +8,7 @@ export { convertedIconManifest as iconManifest }; export type { ZetaIconName } from "./outputs/web/icon-types.js"; export type * from "./scripts/types/customTypes.js"; + +// x-release-please-start-version +export const version = "0.5.6"; +// x-release-please-end diff --git a/package-lock.json b/package-lock.json index 8a4c23bd..3cb188f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@zebra-fed/zeta-icons", - "version": "0.5.2", + "version": "0.5.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@zebra-fed/zeta-icons", - "version": "0.5.2", + "version": "0.5.6", "license": "MIT", "devDependencies": { "@actions/core": "^1.10.0", diff --git a/package.json b/package.json index 3ddba269..b119ed86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zebra-fed/zeta-icons", - "version": "0.5.2", + "version": "0.5.6", "type": "module", "main": "index.js", "types": "dist/index.d.ts", @@ -74,4 +74,4 @@ "url": "https://github.com/zebratechnologies/zeta-icons/issues" }, "homepage": "https://github.com/zebratechnologies/zeta-icons#readme" -} +} \ No newline at end of file diff --git a/.release-please/release-please-config.json b/release-please-config.json similarity index 94% rename from .release-please/release-please-config.json rename to release-please-config.json index 888e1c88..41fb9d82 100644 --- a/.release-please/release-please-config.json +++ b/release-please-config.json @@ -6,7 +6,8 @@ }, "extra-files": [ "outputs/flutter/icons.g.dart", - "scripts/templates/icons.dart.template" + "scripts/templates/icons.dart.template", + "index.ts" ], "changelog-sections": [ {