Skip to content

Commit

Permalink
chore: pre-release 0.1.4-canary.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Oct 31, 2024
1 parent c741ad7 commit eb92c76
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion examples/with-api-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-elysia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3",
"brisa": "0.1.4-canary.1",
"elysia": "latest"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/with-external-web-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3",
"brisa": "0.1.4-canary.1",
"counter-wc": "0.1.1",
"calendar-native-web-component": "0.0.32"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/with-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-pandacss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@pandacss/dev": "0.46.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-sqlite-with-server-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-streaming-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-suspense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "brisa start"
},
"dependencies": {
"brisa": "0.1.3"
"brisa": "0.1.4-canary.1"
},
"devDependencies": {
"@types/bun": "latest",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"@tailwindcss/postcss": "4.0.0-alpha.25",
"brisa": "0.1.3",
"brisa-tailwindcss": "0.1.3",
"brisa": "0.1.4-canary.1",
"brisa-tailwindcss": "0.1.4-canary.1",
"postcss": "8.4.47",
"tailwindcss": "4.0.0-alpha.25"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/with-view-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"@tailwindcss/postcss": "4.0.0-alpha.25",
"brisa": "0.1.3",
"brisa-tailwindcss": "0.1.3",
"brisa": "0.1.4-canary.1",
"brisa-tailwindcss": "0.1.4-canary.1",
"postcss": "8.4.47",
"tailwindcss": "4.0.0-alpha.25"
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-monorepo",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"description": "The next-gen web framework.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,4 +57,4 @@
"@biomejs/biome": "1.9.2",
"husky": "9.1.6"
}
}
}
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-adapter-vercel",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/brisa-pandacss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-pandacss",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"license": "MIT",
"type": "module",
"main": "./index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/brisa-tailwindcss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa-tailwindcss",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"license": "MIT",
"type": "module",
"main": "./index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/brisa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brisa",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"description": "Brisa, the next-gen web framework.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-brisa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-brisa",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/www/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "www",
"version": "0.1.3",
"version": "0.1.4-canary.1",
"module": "src/pages/index.tsx",
"type": "module",
"scripts": {
Expand Down
7 changes: 4 additions & 3 deletions scripts/update-brisa-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ const version = prompt(
`Introduce the new version of Brisa (now ${currentVersion}): `,
);

if (
const isIncorrectVersion =
!version ||
currentVersion === version ||
!Bun.semver.satisfies(version, '>= 0.0.0') ||
[currentVersion, version].sort(Bun.semver.order)[0] !== currentVersion
) {
[currentVersion, version].sort(Bun.semver.order)[0] !== currentVersion;

if (isIncorrectVersion && !version?.includes('canary')) {
console.error('Invalid version, must be greater than the current one.');
process.exit(1);
}
Expand Down

0 comments on commit eb92c76

Please sign in to comment.