envelope-zero / frontend

Official frontend for Envelope Zero
Other
6 stars 2 forks source link

chore(deps): update dependency flowbite-react to v0.8.0 #1655

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
flowbite-react (source) 0.7.8 -> 0.8.0 age adoption passing confidence

Release Notes

themesberg/flowbite-react (flowbite-react) ### [`v0.8.0`](https://togithub.com/themesberg/flowbite-react/blob/HEAD/packages/ui/CHANGELOG.md#080) [Compare Source](https://togithub.com/themesberg/flowbite-react/compare/flowbite-react@0.7.8...flowbite-react@0.8.0) ##### Minor Changes - [#​1344](https://togithub.com/themesberg/flowbite-react/pull/1344) [`bf1bdb0`](https://togithub.com/themesberg/flowbite-react/commit/bf1bdb0e1bf303d830990b3bf7c5d1a46af3648f) Thanks [@​SutuSebastian](https://togithub.com/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 ```js {5,9} /** @​type {import('tailwindcss').Config} */ module.exports = { content: [ // ... "node_modules/flowbite-react/lib/esm/**/*.js", ], plugins: [ // ... require("flowbite/plugin"), ], }; ``` After ```js {1,7,11} const flowbite = require("flowbite-react/tailwind"); /** @​type {import('tailwindcss').Config} */ module.exports = { content: [ // ... flowbite.content(), ], plugins: [ // ... flowbite.plugin(), ], }; ```

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

đŸšĻ Automerge: Enabled.

â™ģ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

cypress[bot] commented 3 months ago

Passing run #1002 ↗ī¸Ž

0 32 0 0 Flakiness 0

Details:

Merge 2d565a0086f0e48459bb3c307433026c8b0a1fe0 into e5a90f0b346013632a84be2d23aa...
Project: frontend Commit: 5f9bc46b8b ℹī¸
Status: Passed Duration: 01:38 💡
Started: Apr 4, 2024 11:08 PM Ended: Apr 4, 2024 11:10 PM

Review all test suite changes for PR #1655 ↗ī¸Ž

cypress[bot] commented 3 months ago

Passing run #1006 ↗ī¸Ž

0 32 0 0 Flakiness 0

Details:

chore(deps): update dependency flowbite-react to v0.8.0
Project: frontend Commit: ebcda2be27
Status: Passed Duration: 01:49 💡
Started: Apr 4, 2024 11:17 PM Ended: Apr 4, 2024 11:19 PM

Review all test suite changes for PR #1655 ↗ī¸Ž