-
Notifications
You must be signed in to change notification settings - Fork 978
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
NextJS 13.3 app directory & frameworks CTA #5691
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5691 +/- ##
=======================================
Coverage 55.21% 55.21%
=======================================
Files 327 328 +1
Lines 22326 22400 +74
Branches 4561 4570 +9
=======================================
+ Hits 12327 12368 +41
- Misses 8904 8933 +29
- Partials 1095 1099 +4
☔ View full report in Codecov by Sentry. |
if (!isNextImageImported && isUsingAppDirectory(dir)) { | ||
isNextImageImported = (await readFile(join(dir, "server", "client-reference-manifest.js"))) | ||
.toString() | ||
.includes("node_modules/next/dist/client/image.js"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO be smarter about this, should we read the json, require.resolve the client name?
* add static API to Next.js test app * use `emulators:exec 'exit 0'` instead of `deploy` * add `test:webframeworks-deploy` script to GH action * temporarily disable `needs: unit` * `..env.FBTOOLS_TARGET_PROJECT` for FIREBASE_PROJECT * source scripts/set-default-credentials.sh * pass "exit 0" as arg to the CLI * adjust tests to match project * rename test case * remove log * util to get build id * test static files * Revert "temporarily disable `needs: unit`" This reverts commit b9eb90a. * restore experiment flag * Rework expected files * Boolean fixes --------- Co-authored-by: James Daniels <jamesdaniels@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Handle Next 13 app directory—fixes firebase#5661, firebase#5522 * Actually pull static assets from app directory now that it's stabilizing, fixes firebase#5660 * Hack for detecting image optimization in app directory * Add frameworks CTA * Add integration test for frameworks back in * Add timeouts to NPM and bundle commands—fixes firebase#5661, firebase#5622 --------- Co-authored-by: Leonardo Ortiz <leo@monogram.io>
* Handle Next 13 app directory—fixes #5661, #5522 * Actually pull static assets from app directory now that it's stabilizing, fixes #5660 * Hack for detecting image optimization in app directory * Add frameworks CTA * Add integration test for frameworks back in * Add timeouts to NPM and bundle commands—fixes #5661, #5622 --------- Co-authored-by: Leonardo Ortiz <leo@monogram.io>
Next 13.3 app directory changed in a couple important ways:
This broke our integration, see #5661
While I'm mucking around in here: