Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 Publish Mitosis #1656

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

📦 Publish Mitosis #1656

wants to merge 1 commit into from

Conversation

builderio-bot
Copy link
Contributor

@builderio-bot builderio-bot commented Jan 7, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@builder.io/[email protected]

Patch Changes

  • 995eb95: [All] Add new explicitBuildFileExtensions to MitosisConfig. This allows users to manage the extension of some components explicitly. This is very useful for plugins:

      /**
       * Can be used for cli builds. Preserves explicit filename extensions when regex matches, e.g.:
       * {
       *   explicitBuildFileExtension: {
       *     ".ts":/*.figma.lite.tsx/g,
       *     ".md":/*.docs.lite.tsx/g
       *   }
       * }
       */
      explicitBuildFileExtensions?: Record<string, RegExp>;

    [All] Add new pluginData object to MitosisComponent which will be filled during build via cli. Users get some additional information to use them for plugins:

      /**
       * This data is filled inside cli to provide more data for plugins
       */
    pluginData?: {
        target?: Target;
        path?: string;
        outputDir?: string;
        outputFilePath?: string;
    };
  • Updated dependencies [995eb95]

  • Updated dependencies [b387d21]

@builder.io/[email protected]

Patch Changes

  • 995eb95: [All] Add new explicitBuildFileExtensions to MitosisConfig. This allows users to manage the extension of some components explicitly. This is very useful for plugins:

      /**
       * Can be used for cli builds. Preserves explicit filename extensions when regex matches, e.g.:
       * {
       *   explicitBuildFileExtension: {
       *     ".ts":/*.figma.lite.tsx/g,
       *     ".md":/*.docs.lite.tsx/g
       *   }
       * }
       */
      explicitBuildFileExtensions?: Record<string, RegExp>;

    [All] Add new pluginData object to MitosisComponent which will be filled during build via cli. Users get some additional information to use them for plugins:

      /**
       * This data is filled inside cli to provide more data for plugins
       */
    pluginData?: {
        target?: Target;
        path?: string;
        outputDir?: string;
        outputFilePath?: string;
    };
  • b387d21: [React, Angular] fix: issue with state inside key attribute in Fragment.

    Example:

    <Fragment key={state.xxx + "abc"}... was generated in React with state.xxx and in Angular without this..

Copy link

cloudflare-workers-and-pages bot commented Jan 7, 2025

Deploying mitosis with  Cloudflare Pages  Cloudflare Pages

Latest commit: a5d0f6d
Status: ✅  Deploy successful!
Preview URL: https://5c7dcc6f.mitosis-9uh.pages.dev
Branch Preview URL: https://changeset-release-main.mitosis-9uh.pages.dev

View logs

Copy link

nx-cloud bot commented Jan 7, 2025

View your CI Pipeline Execution ↗ for commit a5d0f6d.

Command Status Duration Result
nx e2e @builder.io/e2e-app ✅ Succeeded 1m 4s View ↗
nx run-many --target test ✅ Succeeded 4m 32s View ↗
nx run-many --target build --exclude @builder.i... ✅ Succeeded 3m 45s View ↗
nx build @builder.io/mitosis-site ✅ Succeeded 2m 30s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-07 20:10:01 UTC

@builderio-bot builderio-bot force-pushed the changeset-release/main branch from de5b5fd to a5d0f6d Compare January 7, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant