Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
65e0c59
Zip deploy fixes
annajowang Nov 22, 2025
ecbbe5e
Merge branch 'master' into zip-deploy
annajowang Dec 2, 2025
60adf94
use staging and specify uploading TAR
annajowang Dec 2, 2025
bcf0cd3
Improve docs
falahat Feb 2, 2026
4603750
Allow reading of simple env vars (not secrets) and passing them down …
falahat Feb 2, 2026
eb89f6b
Add some fixes for npm parsing issues
falahat Feb 3, 2026
9470c3d
Adding various local fixes/hacks to make local builds work. It includes:
falahat Feb 3, 2026
269da87
Follow-up fixes for ensuring we have account access for cloud storage…
falahat Feb 4, 2026
92a3f49
formatting fixes
falahat Feb 4, 2026
76ef53a
Merge branch 'main' of github.com:firebase/firebase-tools into zip-de…
falahat Feb 4, 2026
340020f
Get rid of env override
falahat Feb 11, 2026
d5343bd
Temporarily add a test app to easily test changes
falahat Feb 11, 2026
e17f55c
For local builds, explicitly check for apphosting.yaml files (and all…
falahat Feb 13, 2026
8341bc4
Add hono to packages
falahat Feb 13, 2026
4ed3b41
Merge branch 'main' of github.com:firebase/firebase-tools into zip-de…
falahat Feb 13, 2026
b76fa54
Merge branch 'main' of github.com:firebase/firebase-tools into zip-de…
falahat Feb 13, 2026
31fed5d
Merge branch 'zip-deploy' of github.com:firebase/firebase-tools into …
falahat Feb 13, 2026
2f653ca
Merge branch 'main' of github.com:firebase/firebase-tools into zip_de…
falahat Mar 9, 2026
b19b8bf
Get rid of test app
falahat Mar 9, 2026
611f258
Get rid of uniformBucketLevelAccess config which was not required
falahat Mar 9, 2026
37bb714
Fix tarball unit test
falahat Mar 9, 2026
1df73d7
Make local builds less hardcoded by checking if the build config is a…
falahat Mar 9, 2026
7d61148
Add a new experiment flag to control local builds (apphostinglocalbui…
falahat Mar 9, 2026
0ec1b92
Remove references to runtime flag
falahat Mar 9, 2026
2ea831d
Merge branch 'main' into zip_deploy_aryanf
falahat Mar 10, 2026
d20b46c
Merge branch 'main' of github.com:firebase/firebase-tools into zip_de…
falahat Mar 13, 2026
25262ac
Clean up the PR so that we gate by apphostinglocalbuilds experiment m…
falahat Mar 13, 2026
2f63f7a
Make the code for adding service account IAM permission more restrict…
falahat Mar 13, 2026
de4f95b
remove es2020 dependency
falahat Mar 13, 2026
7f122c2
feat: barebones local build implementation
falahat Mar 14, 2026
54e000c
Merge branch 'main' of github.com:firebase/firebase-tools into zip_de…
falahat Mar 14, 2026
28ae3b2
Parser fixes
falahat Mar 17, 2026
6c320d6
Merge github.com:firebase/firebase-tools into zip_deploy_barebones
falahat Mar 17, 2026
2e660e9
Undo some unintended changes
falahat Mar 18, 2026
19b19fd
Undo some unintended changes
falahat Mar 18, 2026
fd3ff29
Merge branch 'zip_deploy_barebones' of github.com:firebase/firebase-t…
falahat Mar 18, 2026
2bdc202
Linter fixes
falahat Mar 18, 2026
5ea4c68
Linter fixes
falahat Mar 18, 2026
6d9e1bb
Merge branch 'zip_deploy_barebones' of github.com:firebase/firebase-t…
falahat Mar 18, 2026
d973aaa
Merge branch 'zip_deploy_barebones' of github.com:firebase/firebase-t…
falahat Mar 18, 2026
2e79ebe
Merge branch 'zip_deploy_barebones' of github.com:firebase/firebase-t…
falahat Mar 18, 2026
4419ab3
improve unit tests
falahat Mar 18, 2026
038d80c
update npm shrinkwrap
falahat Mar 18, 2026
b2d3bae
Merge branch 'main' of github.com:firebase/firebase-tools into zip_de…
falahat Mar 18, 2026
7173b98
Merge branch 'main' of github.com:firebase/firebase-tools into zip_de…
falahat Mar 18, 2026
589155b
Update the shrinkwrap correctly using the correct npm versions
falahat Mar 18, 2026
0793e30
Remove env handling which wasn't used yet
falahat Mar 18, 2026
6bb552c
Merge branch 'main' into zip_deploy_barebones
falahat Mar 18, 2026
5aad619
Merge branch 'main' of github.com:firebase/firebase-tools into zip_de…
falahat Mar 19, 2026
c72da62
Merge branch 'zip_deploy_barebones' of github.com:firebase/firebase-t…
falahat Mar 19, 2026
ae4de0a
Address review comments
falahat Mar 19, 2026
e0c241b
Merge branch 'main' into zip_deploy_barebones
falahat Mar 19, 2026
8e9a6d5
Enforce experiment flag
falahat Mar 19, 2026
831b7d6
Merge branch 'zip_deploy_barebones' of github.com:firebase/firebase-t…
falahat Mar 19, 2026
a9ba3a4
Correct failure string
falahat Mar 19, 2026
ca2db00
linter/formatter
falahat Mar 19, 2026
ff52fdb
fix tests
falahat Mar 19, 2026
31b6670
Fix linter warnings
falahat Mar 20, 2026
cff6adc
Merge branch 'main' into zip_deploy_barebones
falahat Mar 23, 2026
b1b35bf
Merge branch 'main' into zip_deploy_barebones
falahat Mar 23, 2026
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
170 changes: 155 additions & 15 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
]
},
"dependencies": {
"@apphosting/build": "^0.1.6",
"@apphosting/build": "^0.1.7",
"@apphosting/common": "^0.0.8",
"@electric-sql/pglite": "^0.3.3",
"@electric-sql/pglite-tools": "^0.2.8",
Expand Down Expand Up @@ -167,6 +167,7 @@
"stream-chain": "^2.2.4",
"stream-json": "^1.7.3",
"superstatic": "^10.0.0",
"tar": "^7.5.11",
"tcp-port-used": "^1.0.2",
"tmp": "^0.2.3",
"triple-beam": "^1.3.0",
Expand Down
12 changes: 11 additions & 1 deletion src/apphosting/localbuilds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ import { BuildConfig, Env } from "../gcp/apphosting";
import { localBuild as localAppHostingBuild } from "@apphosting/build";

/**
* Triggers a local apphosting build.
* Triggers a local build of your App Hosting codebase.
*
* This function orchestrates the build process using the App Hosting build adapter.
* It detects the framework (though currently defaults/assumes 'nextjs' in some contexts),
* generates the necessary build artifacts, and returns metadata about the build.
* @param projectRoot - The root directory of the project to build.
* @param framework - The framework to use for the build (e.g., 'nextjs').
* @return A promise that resolves to the build output, including:
* - `outputFiles`: Paths to the generated build artifacts.
* - `annotations`: Metadata annotations relating to the build.
* - `buildConfig`: Configuration derived from the build process (e.g. run commands, environment variables).
*/
export async function localBuild(
projectRoot: string,
Expand Down
Loading
Loading