Skip to content

Commit

Permalink
feat: react 19 (#81)
Browse files Browse the repository at this point in the history
- react 19
- replace `concurently` with custom `bun`-based script
- move clean to new `scripts` folder
- v0.0.36
  • Loading branch information
e-krebs authored Dec 15, 2024
1 parent 710a619 commit 427a6c5
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 deletions.
Binary file modified bun.lockb
Binary file not shown.
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@e-krebs/react-library",
"version": "0.0.35",
"version": "0.0.36",
"description": "A collection of components to be reused across personal projects",
"repository": "github.com/e-krebs/react-library",
"author": "Emmanuel Krebs <[email protected]>",
Expand All @@ -22,48 +22,49 @@
"node": ">= 20.0.0"
},
"scripts": {
"clean": "bun clean.sh",
"clean": "bun scripts/clean.sh",
"dev:library": "bun run --bun vite",
"build:library": "bun run --bun vite build",
"dev:doc": "ladle serve --viteConfig ./.ladle/vite.config.js",
"build:doc": "ladle build --viteConfig ./.ladle/vite.config.js",
"dev": "bun run clean && concurrently \"bun run dev:library\" \"bun run dev:doc\"",
"dev:parallel": "bun run scripts/parallel-dev.ts",
"dev": "bun run clean && bun run dev:parallel",
"lint": "eslint src .ladle",
"build": "bun run clean && bun run build:library && bun run build:doc",
"theme": "bun run src/scripts/theme.ts"
},
"peerDependencies": {
"@tailwindcss/typography": "^0.5.15",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@eslint/js": "^9.17.0",
"@ladle/react": "^4.1.2",
"@react-aria/utils": "^3.26.0",
"@tailwindcss/typography": "^0.5.15",
"@types/babel__template": "^7.4.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@types/bun": "^1.1.14",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"@vitejs/plugin-react": "^4.3.4",
"ajv": "^8.17.1",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"react": "^18.3.1",
"react": "^19.0.0",
"react-aria-components": "1.5.0",
"react-dom": "^18.3.1",
"react-dom": "^19.0.0",
"tailwindcss": "^3.4.16",
"tailwindcss-react-aria-components": "1.2.0",
"typescript": "^5.7.2",
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions scripts/parallel-dev.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { $ } from 'bun';

await Promise.all([$`bun run dev:library`, $`bun run dev:doc`]);
8 changes: 8 additions & 0 deletions scripts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"include": ["."],
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "es2017",
"module": "esnext"
}
}

0 comments on commit 427a6c5

Please sign in to comment.