Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(packages): set npm/yarn/pnpm versions #570

Merged
merged 5 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/publish-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/building-your-application/deploying/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ related:

### System Requirements

- Bun [<w-badge type="tip" text="1.1.31" />](https://bun.sh/) or later
- Bun [<w-badge type="tip" text="1.1.32" />](https://bun.sh/) or later
- macOS, Windows (including WSL), and Linux are supported.

### Automatic Installation
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"www:deploy": "bun run build && bun run www:build && vercel --prod",
"prepare": "husky"
},
"packageManager": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.2",
Expand Down
16 changes: 9 additions & 7 deletions packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,22 @@
"url": "git+https://github.com/brisa-build/brisa.git",
"directory": "packages/adapter-vercel"
},
"files": ["dist"],
"files": [
"dist"
],
"devDependencies": {
"brisa": "workspace:*"
},
"packageManager": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
},
"description": "A Brisa adapter that creates a Vercel app.",
"bugs": {
"url": "https://github.com/brisa-build/brisa/issues"
},
"homepage": "https://github.com/brisa-build/brisa#readme"
}
}
17 changes: 10 additions & 7 deletions packages/brisa-pandacss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,24 @@
"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": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
},
"description": "A Brisa integration with Panda CSS.",
"bugs": {
"url": "https://github.com/brisa-build/brisa/issues"
},
"homepage": "https://github.com/brisa-build/brisa#readme"
}
}
17 changes: 10 additions & 7 deletions packages/brisa-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,25 @@
"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": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
},
"description": "A Brisa integration with Tailwind CSS.",
"bugs": {
"url": "https://github.com/brisa-build/brisa/issues"
},
"homepage": "https://github.com/brisa-build/brisa#readme"
}
}
16 changes: 9 additions & 7 deletions packages/brisa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -138,11 +140,11 @@
"brisa-tailwindcss": "workspace:*",
"brisa-pandacss": "workspace:*"
},
"packageManager": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
}
}
}
18 changes: 11 additions & 7 deletions packages/create-brisa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,22 @@
"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": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
},
"devDependencies": {
"brisa": "latest"
}
}
}
12 changes: 6 additions & 6 deletions packages/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"@types/jsdom": "21.1.7",
"sharp": "0.33.5"
},
"packageManager": "[email protected].31",
"packageManager": "[email protected].32",
"engines": {
"bun": ">= 1.1.31",
"npm": "please-use-bun",
"yarn": "please-use-bun",
"pnpm": "please-use-bun"
"bun": ">= 1.1.32",
"npm": ">= 10.0.0",
"yarn": ">= 3.0.0",
"pnpm": ">= 9.8.0"
}
}
}
12 changes: 6 additions & 6 deletions scripts/upgrade-bun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading