Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monorepo conversion (using
bun
) (#1264)
* monorepo init: - bun [runtime, package manager, task runner, test runner] - biome [format, lint] - removed `cypress` (to be replaced with `playwright`) - removed codecov - split into multiple packages and apps [web(docs), ui(library), storybook, cli] UNSTABLE * (web): remove unused packages * remove eslint disable rules comments * fix some linting errors * (web): link library to monorepo `ui` package * fix(web): build fix(ui): exports fix(root): sort `package.json` * package upgrade * fix(storybook): - replace `@vitejs/plugin-react-sw` -> `@vitejs/plugin-react` - fix build - add `.gitignore` - update stories path * move git related files in `.git` * cleanup: - remove `biome` and drop `bun:test` until stable - add `prettier` - imporve `.vscode` files and add extentions suggestions * - restore prettier config + add tailwind formatting support - remove more biome leftover - add package json sorter * upgrade all packages * refactor: - prettier config: add import sorting - format files * packages: up * packages: up storybook * fix: prettier plugin order * chore(ui): add `vitest`; add missing `Accordion.spec` import * chore(root): add turbo test commands and format `package.json` * fix: intellisense and tailwind support; add `eslint` * fix(lib): lint errors * feat(ui): add `createTheme` tailwindcss intellisense function * refactor(ui): use new tailwindcss shorthands * fix(storybook/banner): remove invalid tailwind classes * chore: add `.editorconfig` * refactor(ui): wrap all components `theme` with `createTheme` to gain class sorting, linting and apply fixes * fix: prettier config for root and for apps and packages; format code * refactor: move common eslint packages to root `package.json`; - add `eslint` to `web` - optimise onboarding flow - fix tailwind lint errors here and there * chore: up packages * refactor: (web) lint rules + fix examples * refactor: CI/CD improvements: - refactor github actions - setup github actions using `bun` - remove storybook github action (redo later) * fix: CI/CD setup action, add missing required property * fix(web): typecheck * fix(lib): type module for failing tests * fix(lib): `package.json` meta and npm tags; update peerDeps * fix(lib: tsconfig exclude * fix(lib): rename eslint config to cjs since `"type": "module"` * fix(web): eslint nextjs rule; supposably fixed flicker on reload * fix(lib): merge-deep test * chore(lib): eslint config updates * fix(lib): bypass `datepicker` test (unfinished) * refactor(lib): remove `toggleSwitchTheme` empty space * chore: up packages * fix(lib): failing tests due to concurrency * fix(lib): test coverage + format files * refactor(global): switch from `singleQuote` to double * refactor(lib): more tailwind shorthands * chore: up packages * chore: up packages * packages(cli): add first version general: update packages * packages(cli): fix typecheck * packages(cli): refactor - add [dir] argument - add [options] argument - `--template <name>` - `-h, --help` * packages(cli): add `-v, --version` in [options] * packages(cli): add `README.md` * fix: package.json repository.url * packages(cli): add `--git` option * packages(cli): up package version * packages(cli): update `README.md` * packages(cli): bump package version patch * config: sort and tidy up .vscode settings.json * fix(docs): navbar package version * fix(docs): mdx heading color * feat(docs): code demo: - add screen size controls (desktop/tablet/mobile) - add RTL control * feat(docs): code demo: - add tooltip to copy-to-clipboard - fix icon sizes * feat(docs): create `CLI` page * feat(docs): integratoin guides - add `CLI` and `Templates` sections * fix(web): homepage - components section hover styles; sidebar - more spacing (synced with @robert) * packages(cli): update `README.md` apps(web): update CLI page * packages(cli): bump package version patch * apps(web): update `README.md`, `CONTRIBUTING` files; change integration guides order based on popularity/category; remove redundant `typescript` page packages(cli): change integration guides order based on popularity/category; bump version (patch) * apps(web): fix, rewrite and simplify `introduction` and `quickstart` pages * apps(web): fix narrow context * apps(web): small style fixes * chore: up packages + format * apps(web): add `Editor Setup` page * apps(web): remix guide: add dark mode section * apps(web): refactor `Dark mode` page * fix: color flicker on reload + move background and text color to root layout * packages(ui): fix alert them blue color * apps(web): code demo: isolate dark/light mode * apps(web): inline code: add background * feat: add `changeset` * chore: move `CHANGELOG` to packages/ui * chore: add self to `FUNDING` * chore: add `@changesets/changelog-github` * chore: up packages * core improvements: - add `rimraf` for windows support - add `clean-package` for cleaner `package.json` file (used for `flowbite-react` and `create-flowbite-react` packages) * packages(cli): change intro color from `blue` to `cyan` + bump version (patch) * packages(cli): update package.json - add [homepage, bugs] links * chore: move root `README.md` to `packages/ui` + create symlink from it to root * core(ci): test build sync times * core(ci): test build async times * chore: format * fix: turbo.json configs and isolate using turbo workspaces * chore: CLI commands to use @latest for `pnpm` and `bun` * chore: version `packages/cli` * chore: remove random code example * chore: spacing * chore: up `packageManager` version * fix: storybook next dependency examples * chore: up packages, see if it fixes storybook build failure * fix: storybook types * fix: storybook warning * packages(ui): fix version * chore: up `packageManager` version * chore: up packages, see if it fixes storybook build failure * chore: rebuild lock file, check if storybook fails * chore: CI cache clear before install * chore: undo CI cache clear before install * chore: downgrade `packageManager` from `[email protected]` to stable `[email protected]` due to storybook failing; update some packages * chore: bump storybook packages * fix(ui): polymorphic component return type -> type casting * chore: simplify types * chore: bump package from merge conflict --------- Co-authored-by: SutuSebastian <[email protected]>
- Loading branch information