kjhoerr / pantry

Kitchen organizer and planner
Other
0 stars 0 forks source link

Bump flowbite-react from 0.7.5 to 0.8.0 in /src/main/webui #349

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps flowbite-react from 0.7.5 to 0.8.0.

Release notes

Sourced from flowbite-react's releases.

flowbite-react@0.8.0

Minor Changes

  • #1344 bf1bdb0 Thanks @​SutuSebastian! - Rework build process using rollup and tsc

    Summary

    In order to bring more performance to the build process of flowbite-react package, we have to consider transpiling the files using other tools rather than tsc, which is very slow.

    After evaluating various tools including tsup, tshy, and bun build, we chose rollup with the esbuild plugin for transpiling due to its performance and flexibility. We continue to use tsc solely for generating *.d.ts declaration files.

    Changes

    • added rollup + esbuild for transpiling files
      • all files in the cjs directory now have .cjs extension
      • all files in the esm directory now have .mjs extension
      • declaration file types (*.d.ts) have been moved from dist/esm to dist/types
    • changed the build output dir from lib to dist
    • created a facade layer for easier management of the content path as well as the plugin
    • fixed turbo repo dependency tree configs in order for apps/web to properly pipe and require the build output of packages/ui in certain script steps such as build and dev

    Breaking changes

    tailwind.config.js content path:

    old: "node_modules/flowbite-react/lib/esm/**/*.js"

    new: "node_modules/flowbite-react/dist/esm/**/*.mjs" - (flowbite.content() returns it)

    Before

    /** @type {import('tailwindcss').Config} */
    module.exports = {
      content: [
        // ...
        "node_modules/flowbite-react/lib/esm/**/*.js",
      ],
      plugins: [
        // ...
        require("flowbite/plugin"),
      ],
    };
    

    After

    const flowbite = require("flowbite-react/tailwind");
    

... (truncated)

Changelog

Sourced from flowbite-react's changelog.

0.8.0

Minor Changes

  • #1344 bf1bdb0 Thanks @​SutuSebastian! - ## Rework build process using rollup and tsc

    Summary

    In order to bring more performance to the build process of flowbite-react package, we have to consider transpiling the files using other tools rather than tsc, which is very slow.

    After evaluating various tools including tsup, tshy, and bun build, we chose rollup with the esbuild plugin for transpiling due to its performance and flexibility. We continue to use tsc solely for generating *.d.ts declaration files.

    Changes

    • added rollup + esbuild for transpiling files
      • all files in the cjs directory now have .cjs extension
      • all files in the esm directory now have .mjs extension
      • declaration file types (*.d.ts) have been moved from dist/esm to dist/types
    • changed the build output dir from lib to dist
    • created a facade layer for easier management of the content path as well as the plugin
    • fixed turbo repo dependency tree configs in order for apps/web to properly pipe and require the build output of packages/ui in certain script steps such as build and dev

    Breaking changes

    tailwind.config.js content path:

    old: "node_modules/flowbite-react/lib/esm/**/*.js"

    new: "node_modules/flowbite-react/dist/esm/**/*.mjs" - (flowbite.content() returns it)

    Before

    /** @type {import('tailwindcss').Config} */
    module.exports = {
      content: [
        // ...
        "node_modules/flowbite-react/lib/esm/**/*.js",
      ],
      plugins: [
        // ...
        require("flowbite/plugin"),
      ],
    };
    

    After

    const flowbite = require("flowbite-react/tailwind");
    

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)