diff --git a/.yarn/versions/307bc8de.yml b/.yarn/versions/307bc8de.yml new file mode 100644 index 0000000..3fafb72 --- /dev/null +++ b/.yarn/versions/307bc8de.yml @@ -0,0 +1,2 @@ +releases: + theme-party: patch diff --git a/README.md b/README.md index d3fb493..81e816d 100644 --- a/README.md +++ b/README.md @@ -157,3 +157,14 @@ function Page() { ); } ``` + +## Releasing + +In pull request branch, run + +``` +yarn version [patch|minor|major] --deferred +``` + +and commit yarn version file. When PR is merged, the package version will +be updated accordingly. See [Yarn Release Workflow](https://yarnpkg.com/features/release-workflow) for more details. diff --git a/src/index.ts b/src/index.ts index 9de23d5..0b0b80f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,3 +3,4 @@ export { costumed } from "./react/costumed"; export { ThemeProvider } from "./react/ThemeProvider"; export { useTheme } from "./react/useTheme"; export { UserTheme } from "./types"; +export { ThemeExtract } from './ThemeParty.types';