diff --git a/templates/angular-example/juno.config.mjs b/templates/angular-example/juno.config.mjs index 9f05ce7..fe88ae1 100644 --- a/templates/angular-example/juno.config.mjs +++ b/templates/angular-example/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist/angular-example/browser", - predeploy: ["npm run build"], + hosting: { + source: "dist/angular-example/browser", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/angular-example/package.json b/templates/angular-example/package.json index 17cdbe5..1169dbe 100644 --- a/templates/angular-example/package.json +++ b/templates/angular-example/package.json @@ -23,8 +23,8 @@ "@angular/platform-browser": "^21.0.0", "@angular/platform-browser-dynamic": "^21.0.0", "@angular/router": "^21.0.0", - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5", "rxjs": "~7.8.2", "tslib": "^2.8.1", diff --git a/templates/angular-starter/juno.config.mjs b/templates/angular-starter/juno.config.mjs index 9f05ce7..fe88ae1 100644 --- a/templates/angular-starter/juno.config.mjs +++ b/templates/angular-starter/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist/angular-example/browser", - predeploy: ["npm run build"], + hosting: { + source: "dist/angular-example/browser", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/angular-starter/package.json b/templates/angular-starter/package.json index d1c40aa..be6b13b 100644 --- a/templates/angular-starter/package.json +++ b/templates/angular-starter/package.json @@ -23,8 +23,8 @@ "@angular/platform-browser": "^21.0.0", "@angular/platform-browser-dynamic": "^21.0.0", "@angular/router": "^21.0.0", - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "^0.15.1" diff --git a/templates/astro-starter/juno.config.mjs b/templates/astro-starter/juno.config.mjs index 62097f3..8b747bf 100644 --- a/templates/astro-starter/juno.config.mjs +++ b/templates/astro-starter/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/astro-starter/package.json b/templates/astro-starter/package.json index cd615da..8c7b045 100644 --- a/templates/astro-starter/package.json +++ b/templates/astro-starter/package.json @@ -15,7 +15,7 @@ "@astrojs/mdx": "^4.3.12", "@astrojs/rss": "^4.0.14", "@astrojs/sitemap": "^3.6.0", - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/vite": "^4.1.17", "astro": "^5.16.0", diff --git a/templates/nextjs-example/juno.config.mjs b/templates/nextjs-example/juno.config.mjs index afa3d95..4ab49bc 100644 --- a/templates/nextjs-example/juno.config.mjs +++ b/templates/nextjs-example/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "out", - predeploy: ["npm run build"], + hosting: { + source: "out", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/nextjs-example/package.json b/templates/nextjs-example/package.json index ab146cf..9fdc7f0 100644 --- a/templates/nextjs-example/package.json +++ b/templates/nextjs-example/package.json @@ -12,15 +12,15 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5", "next": "16.0.7", "react": "19.2.1", "react-dom": "19.2.1" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/nextjs-plugin": "^4.7.1", "@next/eslint-plugin-next": "16.0.0", "@tailwindcss/postcss": "^4.1.13", diff --git a/templates/nextjs-starter/juno.config.mjs b/templates/nextjs-starter/juno.config.mjs index afa3d95..4ab49bc 100644 --- a/templates/nextjs-starter/juno.config.mjs +++ b/templates/nextjs-starter/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "out", - predeploy: ["npm run build"], + hosting: { + source: "out", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/nextjs-starter/package.json b/templates/nextjs-starter/package.json index f1891b7..68b2914 100644 --- a/templates/nextjs-starter/package.json +++ b/templates/nextjs-starter/package.json @@ -12,14 +12,14 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "next": "16.0.7", "react": "19.2.1", "react-dom": "19.2.1" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/nextjs-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@types/node": "^24", diff --git a/templates/react-example/juno.config.mjs b/templates/react-example/juno.config.mjs index 62097f3..8b747bf 100644 --- a/templates/react-example/juno.config.mjs +++ b/templates/react-example/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/react-example/package.json b/templates/react-example/package.json index 162f9c8..c8d935f 100644 --- a/templates/react-example/package.json +++ b/templates/react-example/package.json @@ -13,15 +13,15 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5", "react": "^19.2.1", "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", diff --git a/templates/react-starter/juno.config.mjs b/templates/react-starter/juno.config.mjs index 62097f3..8b747bf 100644 --- a/templates/react-starter/juno.config.mjs +++ b/templates/react-starter/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/react-starter/package.json b/templates/react-starter/package.json index 61c334f..16cc1fc 100644 --- a/templates/react-starter/package.json +++ b/templates/react-starter/package.json @@ -13,14 +13,14 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "react": "^19.2.1", "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", diff --git a/templates/react-ts-example/juno.config.ts b/templates/react-ts-example/juno.config.ts index 9d0b4e1..adb78f5 100644 --- a/templates/react-ts-example/juno.config.ts +++ b/templates/react-ts-example/juno.config.ts @@ -6,7 +6,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/react-ts-example/package.json b/templates/react-ts-example/package.json index 043b149..642f3cc 100644 --- a/templates/react-ts-example/package.json +++ b/templates/react-ts-example/package.json @@ -13,15 +13,15 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5", "react": "^19.2.1", "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", diff --git a/templates/react-ts-starter/juno.config.ts b/templates/react-ts-starter/juno.config.ts index 9d0b4e1..adb78f5 100644 --- a/templates/react-ts-starter/juno.config.ts +++ b/templates/react-ts-starter/juno.config.ts @@ -6,7 +6,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/react-ts-starter/package.json b/templates/react-ts-starter/package.json index 1c06807..03d4aa3 100644 --- a/templates/react-ts-starter/package.json +++ b/templates/react-ts-starter/package.json @@ -13,14 +13,14 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "react": "^19.2.1", "react-dom": "^19.2.1" }, "devDependencies": { "@eslint/js": "^9.34.0", - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", diff --git a/templates/sveltekit-example/juno.config.ts b/templates/sveltekit-example/juno.config.ts index 99f1bb9..518ea28 100644 --- a/templates/sveltekit-example/juno.config.ts +++ b/templates/sveltekit-example/juno.config.ts @@ -6,7 +6,9 @@ export default defineConfig({ development: '', production: '' }, - source: 'build', - predeploy: ['npm run build'] + hosting: { + source: 'build', + predeploy: ['npm run build'] + } } }); diff --git a/templates/sveltekit-example/package.json b/templates/sveltekit-example/package.json index 39bf144..1cdc204 100644 --- a/templates/sveltekit-example/package.json +++ b/templates/sveltekit-example/package.json @@ -15,7 +15,7 @@ "postinstall": "npm run postinstall:copy-auth" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@sveltejs/adapter-static": "^3.0.9", "@sveltejs/kit": "^2.37.0", @@ -41,8 +41,8 @@ }, "type": "module", "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5" }, "overrides": { diff --git a/templates/sveltekit-starter/juno.config.ts b/templates/sveltekit-starter/juno.config.ts index 99f1bb9..518ea28 100644 --- a/templates/sveltekit-starter/juno.config.ts +++ b/templates/sveltekit-starter/juno.config.ts @@ -6,7 +6,9 @@ export default defineConfig({ development: '', production: '' }, - source: 'build', - predeploy: ['npm run build'] + hosting: { + source: 'build', + predeploy: ['npm run build'] + } } }); diff --git a/templates/sveltekit-starter/package.json b/templates/sveltekit-starter/package.json index 4b8a3f0..bcdb6a3 100644 --- a/templates/sveltekit-starter/package.json +++ b/templates/sveltekit-starter/package.json @@ -15,7 +15,7 @@ "postinstall": "npm run postinstall:copy-auth" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@sveltejs/adapter-static": "^3.0.9", "@sveltejs/kit": "^2.37.0", @@ -44,7 +44,7 @@ "cookie": "^0.7.0" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2" + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3" } } diff --git a/templates/vanilla-js-example/juno.config.mjs b/templates/vanilla-js-example/juno.config.mjs index 62097f3..8b747bf 100644 --- a/templates/vanilla-js-example/juno.config.mjs +++ b/templates/vanilla-js-example/juno.config.mjs @@ -7,7 +7,9 @@ export default defineConfig({ development: "", production: "", }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/vanilla-js-example/package.json b/templates/vanilla-js-example/package.json index d24e761..6c6dd2e 100644 --- a/templates/vanilla-js-example/package.json +++ b/templates/vanilla-js-example/package.json @@ -12,7 +12,7 @@ "postinstall": "npm run postinstall:copy-auth" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", @@ -22,8 +22,8 @@ "vite": "^7.1.4" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5" } } diff --git a/templates/vue-example/juno.config.ts b/templates/vue-example/juno.config.ts index 5ff67db..c374fc3 100644 --- a/templates/vue-example/juno.config.ts +++ b/templates/vue-example/juno.config.ts @@ -6,7 +6,9 @@ export default defineConfig({ development: "", production: '' }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/vue-example/package.json b/templates/vue-example/package.json index 2ee43e5..b73edc7 100644 --- a/templates/vue-example/package.json +++ b/templates/vue-example/package.json @@ -16,15 +16,15 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "nanoid": "^5.1.5", "pinia": "^3.0.3", "vue": "^3.5.21", "vue-router": "^4.5.1" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13", diff --git a/templates/vue-starter/juno.config.ts b/templates/vue-starter/juno.config.ts index 5ff67db..c374fc3 100644 --- a/templates/vue-starter/juno.config.ts +++ b/templates/vue-starter/juno.config.ts @@ -6,7 +6,9 @@ export default defineConfig({ development: "", production: '' }, - source: "dist", - predeploy: ["npm run build"], + hosting: { + source: "dist", + predeploy: ["npm run build"], + } }, }); diff --git a/templates/vue-starter/package.json b/templates/vue-starter/package.json index ff9d824..d44e47b 100644 --- a/templates/vue-starter/package.json +++ b/templates/vue-starter/package.json @@ -16,14 +16,14 @@ "postinstall": "npm run postinstall:copy-auth" }, "dependencies": { - "@junobuild/core": "^5.3.1", - "@junobuild/functions": "^0.8.2", + "@junobuild/core": "^5.4.0", + "@junobuild/functions": "^0.8.3", "pinia": "^3.0.3", "vue": "^3.5.21", "vue-router": "^4.5.1" }, "devDependencies": { - "@junobuild/config": "^2.15.1", + "@junobuild/config": "^3.0.0", "@junobuild/vite-plugin": "^4.7.1", "@tailwindcss/postcss": "^4.1.13", "@tailwindcss/vite": "^4.1.13",