diff --git a/.github/workflows/publish-page.yml b/.github/workflows/publish-page.yml index 2ead1f0915..06877b18b4 100644 --- a/.github/workflows/publish-page.yml +++ b/.github/workflows/publish-page.yml @@ -45,17 +45,17 @@ jobs: node-version: 16 registry-url: '${{env.github-registry}}' scope: '${{env.scope}}' - - name: Publish website + - name: Publish designer run: npm publish --access restricted || true working-directory: packages/designer env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Publish website + - name: Publish slidev run: npm publish --access restricted || true working-directory: packages/slidev env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Publish website + - name: Publish storybook run: npm publish --access restricted || true working-directory: packages/storybook env: diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 046ecf6872..b3d2c2b5bb 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -23,7 +23,7 @@ export const register = ( return coreRegister(themes, loaders, options); }; -export const getI18nService: () => II18nService | undefined = () => STORE?.I18n; +export const getI18nService: () => II18nService | undefined = () => STORE?.I18n as II18nService; // TODO: remove later export const getTranslationService = () => STORE?.I18n; diff --git a/packages/library/src/components/badge/component.tsx b/packages/library/src/components/badge/component.tsx index b5290eed80..982cff3850 100644 --- a/packages/library/src/components/badge/component.tsx +++ b/packages/library/src/components/badge/component.tsx @@ -29,7 +29,7 @@ type OptionalProps = { color: Stringified; icon: Stringified; iconOnly: boolean; - smarButton: Stringified; + smartButton: Stringified; }; export type Props = Generic.Element.Members;