From e8b6bfc682bf7f9e4ed3a2cfd2ac43291014b2a7 Mon Sep 17 00:00:00 2001 From: enzonotario Date: Sun, 20 Oct 2024 20:04:50 -0300 Subject: [PATCH 1/4] chore(packages): set npm/yarn/pnpm versions --- package.json | 8 ++++---- packages/adapter-vercel/package.json | 6 +++--- packages/brisa-pandacss/package.json | 6 +++--- packages/brisa-tailwindcss/package.json | 6 +++--- packages/brisa/package.json | 6 +++--- packages/create-brisa/package.json | 6 +++--- packages/www/package.json | 6 +++--- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 3a51efed..55053c70 100644 --- a/package.json +++ b/package.json @@ -49,12 +49,12 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" }, "devDependencies": { "@biomejs/biome": "1.9.2", "husky": "9.1.6" } -} \ No newline at end of file +} diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index 4e6cd837..89336550 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -25,9 +25,9 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" }, "description": "A Brisa adapter that creates a Vercel app.", "bugs": { diff --git a/packages/brisa-pandacss/package.json b/packages/brisa-pandacss/package.json index 037a4207..665e25db 100644 --- a/packages/brisa-pandacss/package.json +++ b/packages/brisa-pandacss/package.json @@ -23,9 +23,9 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" }, "description": "A Brisa integration with Panda CSS.", "bugs": { diff --git a/packages/brisa-tailwindcss/package.json b/packages/brisa-tailwindcss/package.json index c6834676..ced32f76 100644 --- a/packages/brisa-tailwindcss/package.json +++ b/packages/brisa-tailwindcss/package.json @@ -24,9 +24,9 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" }, "description": "A Brisa integration with Tailwind CSS.", "bugs": { diff --git a/packages/brisa/package.json b/packages/brisa/package.json index 1363ddcf..ee6f7659 100644 --- a/packages/brisa/package.json +++ b/packages/brisa/package.json @@ -141,8 +141,8 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" } } diff --git a/packages/create-brisa/package.json b/packages/create-brisa/package.json index caa437a9..66326ae9 100644 --- a/packages/create-brisa/package.json +++ b/packages/create-brisa/package.json @@ -24,9 +24,9 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" }, "devDependencies": { "brisa": "latest" diff --git a/packages/www/package.json b/packages/www/package.json index 75adbd61..41de0a11 100644 --- a/packages/www/package.json +++ b/packages/www/package.json @@ -39,8 +39,8 @@ "packageManager": "bun@1.1.31", "engines": { "bun": ">= 1.1.31", - "npm": "please-use-bun", - "yarn": "please-use-bun", - "pnpm": "please-use-bun" + "npm": ">= 10.0.0", + "yarn": ">= 3.0.0", + "pnpm": ">= 9.8.0" } } From 24959a4389f6a9fadcdfb5379a990d8d0d260a0a Mon Sep 17 00:00:00 2001 From: enzonotario Date: Sun, 20 Oct 2024 20:14:10 -0300 Subject: [PATCH 2/4] change(publishAnyCommit action): install Brisa for build scripts --- .github/workflows/publish-commits.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-commits.yml b/.github/workflows/publish-commits.yml index 3f3a1aa2..115f5d74 100644 --- a/.github/workflows/publish-commits.yml +++ b/.github/workflows/publish-commits.yml @@ -21,6 +21,8 @@ jobs: bun-version: 1.1.30 - name: Install dependencies run: bun install + - name: Install Brisa globally + run: bun i -g brisa - name: Build project run: bun run build:all - name: Publish commits From e593c64001cf2e1ae3e04a2d3e001f739fc61630 Mon Sep 17 00:00:00 2001 From: enzonotario Date: Tue, 22 Oct 2024 21:43:25 -0300 Subject: [PATCH 3/4] chore(upgrade-bun): add npm/yarn/pnpm versions --- scripts/upgrade-bun.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade-bun.ts b/scripts/upgrade-bun.ts index 4f6d0ac6..868c518a 100644 --- a/scripts/upgrade-bun.ts +++ b/scripts/upgrade-bun.ts @@ -31,15 +31,15 @@ packageJSON.engines = brisaTailwindCSSPackageJSON.engines = { bun: `>= ${version}`, - npm: 'please-use-bun', - yarn: 'please-use-bun', - pnpm: 'please-use-bun', + npm: ">= 10.0.0", + yarn: ">= 3.0.0", + pnpm: ">= 9.8.0" }; brisaPandaCSSPackageJSON.engines = { bun: `>= ${version}`, - npm: 'please-use-bun', - yarn: 'please-use-bun', - pnpm: 'please-use-bun', + npm: ">= 10.0.0", + yarn: ">= 3.0.0", + pnpm: ">= 9.8.0" }; // Update all the package.json files fs.writeFileSync( From b4b57201d1520a1dfa2027a0b5dbfc3149e4f0ce Mon Sep 17 00:00:00 2001 From: enzonotario Date: Tue, 22 Oct 2024 21:45:41 -0300 Subject: [PATCH 4/4] chore: run upgrade-bun --- .github/workflows/test.yml | 4 ++-- docs/building-your-application/deploying/docker.md | 2 +- docs/getting-started/quick-start.md | 2 +- package.json | 6 +++--- packages/adapter-vercel/package.json | 10 ++++++---- packages/brisa-pandacss/package.json | 11 +++++++---- packages/brisa-tailwindcss/package.json | 11 +++++++---- packages/brisa/package.json | 10 ++++++---- packages/create-brisa/package.json | 12 ++++++++---- packages/www/package.json | 6 +++--- 10 files changed, 44 insertions(+), 30 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f93010c..a08d80c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Bun.js uses: oven-sh/setup-bun@v1 with: - bun-version: 1.1.31 + bun-version: 1.1.32 - name: Install dependencies run: bun install - name: Build project @@ -43,7 +43,7 @@ jobs: - name: Setup Bun.js uses: oven-sh/setup-bun@v1 with: - bun-version: 1.1.31 + bun-version: 1.1.32 - name: Install dependencies run: bun install - name: Build project diff --git a/docs/building-your-application/deploying/docker.md b/docs/building-your-application/deploying/docker.md index faf27b7c..414ff7f3 100644 --- a/docs/building-your-application/deploying/docker.md +++ b/docs/building-your-application/deploying/docker.md @@ -14,7 +14,7 @@ To _containerize_ our application, we define a `Dockerfile`. This file contains ```dockerfile # Adjust BUN_VERSION as desired -ARG BUN_VERSION=1.1.31 +ARG BUN_VERSION=1.1.32 FROM oven/bun:${BUN_VERSION}-slim AS base # Brisa app lives here diff --git a/docs/getting-started/quick-start.md b/docs/getting-started/quick-start.md index 54b37bdb..d261e586 100644 --- a/docs/getting-started/quick-start.md +++ b/docs/getting-started/quick-start.md @@ -11,7 +11,7 @@ related: ### System Requirements -- Bun [](https://bun.sh/) or later +- Bun [](https://bun.sh/) or later - macOS, Windows (including WSL), and Linux are supported. ### Automatic Installation diff --git a/package.json b/package.json index 55053c70..6ef7b42f 100644 --- a/package.json +++ b/package.json @@ -46,9 +46,9 @@ "www:deploy": "bun run build && bun run www:build && vercel --prod", "prepare": "husky" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" @@ -57,4 +57,4 @@ "@biomejs/biome": "1.9.2", "husky": "9.1.6" } -} +} \ No newline at end of file diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index 89336550..2cb0a058 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -18,13 +18,15 @@ "url": "git+https://github.com/brisa-build/brisa.git", "directory": "packages/adapter-vercel" }, - "files": ["dist"], + "files": [ + "dist" + ], "devDependencies": { "brisa": "workspace:*" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" @@ -34,4 +36,4 @@ "url": "https://github.com/brisa-build/brisa/issues" }, "homepage": "https://github.com/brisa-build/brisa#readme" -} +} \ No newline at end of file diff --git a/packages/brisa-pandacss/package.json b/packages/brisa-pandacss/package.json index 665e25db..fcc16822 100644 --- a/packages/brisa-pandacss/package.json +++ b/packages/brisa-pandacss/package.json @@ -15,14 +15,17 @@ "url": "git+https://github.com/brisa-build/brisa.git", "directory": "packages/brisa-pandacss" }, - "files": ["index.ts", "index.d.ts"], + "files": [ + "index.ts", + "index.d.ts" + ], "dependencies": { "@pandacss/dev": "0.46.1", "postcss": "8.4.47" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" @@ -32,4 +35,4 @@ "url": "https://github.com/brisa-build/brisa/issues" }, "homepage": "https://github.com/brisa-build/brisa#readme" -} +} \ No newline at end of file diff --git a/packages/brisa-tailwindcss/package.json b/packages/brisa-tailwindcss/package.json index ced32f76..27baa259 100644 --- a/packages/brisa-tailwindcss/package.json +++ b/packages/brisa-tailwindcss/package.json @@ -15,15 +15,18 @@ "url": "git+https://github.com/brisa-build/brisa.git", "directory": "packages/brisa-tailwindcss" }, - "files": ["index.ts", "index.d.ts"], + "files": [ + "index.ts", + "index.d.ts" + ], "dependencies": { "@tailwindcss/postcss": "4.0.0-alpha.25", "postcss": "8.4.47", "tailwindcss": "4.0.0-alpha.25" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" @@ -33,4 +36,4 @@ "url": "https://github.com/brisa-build/brisa/issues" }, "homepage": "https://github.com/brisa-build/brisa#readme" -} +} \ No newline at end of file diff --git a/packages/brisa/package.json b/packages/brisa/package.json index ee6f7659..edc542a3 100644 --- a/packages/brisa/package.json +++ b/packages/brisa/package.json @@ -100,7 +100,9 @@ "test", "cli.js" ], - "workspaces": ["packages/*"], + "workspaces": [ + "packages/*" + ], "scripts": { "build": "bun run clean && bun run build:jsx-runtime && bun run build:jsx-dev-runtime && bun run build:core && bun run build:core-client && bun run build:core-server && bun run build:core-macros && bun run build:core-test && bun run build:core-compiler", "build:cli": "bun build --minify --target=bun --outdir=./ cli.ts && bun run build:cli-utils", @@ -138,11 +140,11 @@ "brisa-tailwindcss": "workspace:*", "brisa-pandacss": "workspace:*" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" } -} +} \ No newline at end of file diff --git a/packages/create-brisa/package.json b/packages/create-brisa/package.json index 66326ae9..58d1f911 100644 --- a/packages/create-brisa/package.json +++ b/packages/create-brisa/package.json @@ -17,13 +17,17 @@ "url": "https://github.com/brisa-build/brisa.git", "directory": "packages/create-brisa" }, - "files": ["create-brisa.cjs", "basic-template", "examples"], + "files": [ + "create-brisa.cjs", + "basic-template", + "examples" + ], "bin": { "create-brisa": "./create-brisa.cjs" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" @@ -31,4 +35,4 @@ "devDependencies": { "brisa": "latest" } -} +} \ No newline at end of file diff --git a/packages/www/package.json b/packages/www/package.json index 41de0a11..a111f259 100644 --- a/packages/www/package.json +++ b/packages/www/package.json @@ -36,11 +36,11 @@ "@types/jsdom": "21.1.7", "sharp": "0.33.5" }, - "packageManager": "bun@1.1.31", + "packageManager": "bun@1.1.32", "engines": { - "bun": ">= 1.1.31", + "bun": ">= 1.1.32", "npm": ">= 10.0.0", "yarn": ">= 3.0.0", "pnpm": ">= 9.8.0" } -} +} \ No newline at end of file