diff --git a/examples/with-api-routes/package.json b/examples/with-api-routes/package.json index 546653a4..5c811041 100644 --- a/examples/with-api-routes/package.json +++ b/examples/with-api-routes/package.json @@ -11,7 +11,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@types/bun": "latest", diff --git a/examples/with-elysia/package.json b/examples/with-elysia/package.json index c8335679..d0dc6e19 100644 --- a/examples/with-elysia/package.json +++ b/examples/with-elysia/package.json @@ -11,7 +11,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3", + "brisa": "0.1.4-canary.1", "elysia": "latest" }, "devDependencies": { diff --git a/examples/with-external-web-component/package.json b/examples/with-external-web-component/package.json index 8d987136..95279285 100644 --- a/examples/with-external-web-component/package.json +++ b/examples/with-external-web-component/package.json @@ -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" }, diff --git a/examples/with-i18n/package.json b/examples/with-i18n/package.json index f9e8be76..c6521c43 100644 --- a/examples/with-i18n/package.json +++ b/examples/with-i18n/package.json @@ -11,7 +11,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@types/bun": "latest", diff --git a/examples/with-middleware/package.json b/examples/with-middleware/package.json index 90375966..921b6548 100644 --- a/examples/with-middleware/package.json +++ b/examples/with-middleware/package.json @@ -10,7 +10,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@types/bun": "latest", diff --git a/examples/with-pandacss/package.json b/examples/with-pandacss/package.json index f1e17649..f96aa73e 100644 --- a/examples/with-pandacss/package.json +++ b/examples/with-pandacss/package.json @@ -12,7 +12,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@pandacss/dev": "0.46.1", diff --git a/examples/with-sqlite-with-server-action/package.json b/examples/with-sqlite-with-server-action/package.json index 03accf82..802f53aa 100644 --- a/examples/with-sqlite-with-server-action/package.json +++ b/examples/with-sqlite-with-server-action/package.json @@ -11,7 +11,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@types/bun": "latest", diff --git a/examples/with-streaming-list/package.json b/examples/with-streaming-list/package.json index fab7806d..1e9a89f0 100644 --- a/examples/with-streaming-list/package.json +++ b/examples/with-streaming-list/package.json @@ -10,7 +10,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@types/bun": "latest", diff --git a/examples/with-suspense/package.json b/examples/with-suspense/package.json index 1dc3d7a8..7be971ff 100644 --- a/examples/with-suspense/package.json +++ b/examples/with-suspense/package.json @@ -10,7 +10,7 @@ "start": "brisa start" }, "dependencies": { - "brisa": "0.1.3" + "brisa": "0.1.4-canary.1" }, "devDependencies": { "@types/bun": "latest", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 1d726702..b1b6a18c 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -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" }, diff --git a/examples/with-view-transitions/package.json b/examples/with-view-transitions/package.json index bb9dde28..caa14667 100644 --- a/examples/with-view-transitions/package.json +++ b/examples/with-view-transitions/package.json @@ -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" }, diff --git a/package.json b/package.json index fe059e4a..9e3143eb 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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 bd84f00f..6624d738 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -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", diff --git a/packages/brisa-pandacss/package.json b/packages/brisa-pandacss/package.json index 12b07caa..cbb47a0a 100644 --- a/packages/brisa-pandacss/package.json +++ b/packages/brisa-pandacss/package.json @@ -1,6 +1,6 @@ { "name": "brisa-pandacss", - "version": "0.1.3", + "version": "0.1.4-canary.1", "license": "MIT", "type": "module", "main": "./index.ts", diff --git a/packages/brisa-tailwindcss/package.json b/packages/brisa-tailwindcss/package.json index 8db449bf..fdccd103 100644 --- a/packages/brisa-tailwindcss/package.json +++ b/packages/brisa-tailwindcss/package.json @@ -1,6 +1,6 @@ { "name": "brisa-tailwindcss", - "version": "0.1.3", + "version": "0.1.4-canary.1", "license": "MIT", "type": "module", "main": "./index.ts", diff --git a/packages/brisa/package.json b/packages/brisa/package.json index d4369d19..c6f2705a 100644 --- a/packages/brisa/package.json +++ b/packages/brisa/package.json @@ -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", diff --git a/packages/create-brisa/package.json b/packages/create-brisa/package.json index a53eca71..71549b2d 100644 --- a/packages/create-brisa/package.json +++ b/packages/create-brisa/package.json @@ -1,6 +1,6 @@ { "name": "create-brisa", - "version": "0.1.3", + "version": "0.1.4-canary.1", "license": "MIT", "type": "module", "scripts": { diff --git a/packages/www/package.json b/packages/www/package.json index 005bdb1e..d92c1075 100644 --- a/packages/www/package.json +++ b/packages/www/package.json @@ -1,6 +1,6 @@ { "name": "www", - "version": "0.1.3", + "version": "0.1.4-canary.1", "module": "src/pages/index.tsx", "type": "module", "scripts": { diff --git a/scripts/update-brisa-version.ts b/scripts/update-brisa-version.ts index 1d13f180..480c4d09 100644 --- a/scripts/update-brisa-version.ts +++ b/scripts/update-brisa-version.ts @@ -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); }