makeswift

The official Makeswift CLI

MIT License

Downloads
1.6K
Stars
103
Committers
16

Bot releases are visible (Hide)

makeswift - @makeswift/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • c414fd5: Fix Text component not working on Chrome 105.
  • bbbf781: Avoid using next/link with relative paths. next/link pre-pends the current page's path to
    relative paths and this is often undesirable.
makeswift - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • f53dd00: Make name an optional parameter
makeswift - @makeswift/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • b9ee340: Fix: revert builtin components width control back to use Styled Components.
makeswift - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • dc5f977: Added support for running makeswift init in existing Next.js applications
makeswift - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • b4bdb21: Fix directory name in npx
makeswift - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 15ddfc6: Fix TS build issue
makeswift - @makeswift/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • e6338a7: Fix Twitter Cards meta tags.
makeswift - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 216bbf7: Release initial version of init command
makeswift - @makeswift/[email protected]

Published by migueloller about 2 years ago

Patch Changes

  • e2b16ee: Fix not-found components not being selectable in the builder.
  • a449fd9: Fix issue where links to deleted pages would cause 500 errors.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 5083814: Add Link Control. This control lets you add links to your custom components, like links to other pages, links to other websites, or scroll to other elements.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 8c7cc26: Improve error messages when provided invalid environment variables. Also removes the need for the MAKESWIFT_API_HOST environment variable.
  • 587a0f8: Improve error handling for getServerSideProps and getStaticProps.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 21f9e8b: Add TextStyle option to Style control
  • 4e0e38d: Fix console.error stack overflow.
  • 1058fb2: Avoid passing an empty string to next/link href prop.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • fb7cae9: Fix issue where Form component built output wasn't a proper ES module resulting in an issue with code-splitting and component registration.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

⚠️ BREAKING CHANGE ⚠️

Our new Next.js plugin is available at @makeswift/runtime/next/plugin. It enables code-splitting
via next/dynamic and also removes the need to manually configure next/image domains.

All builtin components now use next/dynamic so make sure to configure the Makeswift Next.js plugin
when upgrading to 0.1.0. You can read more about code-splitting on our
docs.

How to upgrade

Make the following changes to your Next.js config file:

+ const withMakeswift = require('@makeswift/runtime/next/plugin')()

  /** @type {import('next').NextConfig} */
  const nextConfig = {
    reactStrictMode: true,
-   images: {
-     domains: ['s.mkswft.com'],
-   },
  }

- module.exports = nextConfig
+ module.exports = withMakeswift(nextConfig)

Minor Changes

  • b6fecc0: Add code-splitting to all builtin components.

  • 32129c0: Add @makeswift/next-plugin to @makeswift/runtime.

    Our new Next.js plugin is available at @makeswift/runtime/next/plugin. It enables code-splitting
    via next/dynamic and also removes the need to manually configure next/image domains.

    const withMakeswift = require("@makeswift/runtime/next/plugin")();
    
    /**
     * @type {import('next').NextConfig}
     */
    const nextConfig = {
      /* config options here */
    };
    
    module.exports = withMakeswift(nextConfig);
    

Patch Changes

  • 28eb919: Fix text selection is preserved even after we change the focus to other text.
  • Updated dependencies [0e26971]
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Minor Changes

  • 0e26971: Release @makeswift/next-plugin.

    This plugin automatically configures the Makeswift domain for next/image and also enables code-splitting via next/dynamic.

makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 9914800: Check for potentially missing typography values when prefetching page data using introspection.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • f2f90a8: Add new format for Image Control: WithDimensions. Now you can pass WithDimensions format to Image Control's config. This will make the prop of the Image control have dimensions of the image. See the documentation for further details.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • 44afd95: Fix error on introspection function when there's a null on Typography value.
  • a8f037e: Add Discord icon to Social Links component.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • d4f61e6: Fix regression introduced in 0.0.18 where link wasn't working on Image component.
makeswift - @makeswift/[email protected]

Published by github-actions[bot] over 2 years ago

Patch Changes

  • b9dc1ee: Add batching to ApolloClient.
  • c57fb67: Use introspection for SSR. This would solve the issues that were happening when using next/image or useRouter.
  • 6aca0b1: Filter props out of HTML attributes
  • 1683722: Fix useLayoutEffect SSR warning.