- 19 3月, 2021 1 次提交
-
-
由 Lee Robinson 提交于
The packages referenced here were removed.
-
- 29 1月, 2021 1 次提交
-
-
由 Lee Robinson 提交于
-
- 25 1月, 2021 1 次提交
-
-
由 Robin 提交于
-
- 14 1月, 2021 1 次提交
-
-
由 Lee Robinson 提交于
-
- 07 1月, 2021 2 次提交
-
-
由 Luc Leray 提交于
-
由 Luc Leray 提交于
Fix all deploy button URLs in the Next.js repo to follow the following format: ``` https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/<EXAMPLE_NAME>&project-name=<EXAMPLE_NAME>&repository-name=<EXAMPLE_NAME> ``` The detailed docs for the Deploy Button can be found here: https://vercel.com/docs/more/deploy-button. Also updates legacy Vercel import flow URLs (starting with vercel.com/import or with vercel.com/new/project), to use the new vercel.com/new URLs. --- For example, for the `hello-world` example: The URL is https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world And the deploy button looks like this: [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world) --- For reference, I used the following regexes to search for the incorrect URLs ``` \(https://vercel.com/import/git\?s=https://github.com/vercel/next.js/tree/canary/examples/(.*)\) \(https://vercel.com/import/git\?c=1&s=https://github.com/vercel/next.js/tree/canary/examples/([^&]*)(.*)\) \(https://vercel.com/import/project\?template=https://github.com/vercel/next.js/tree/canary/examples/(.*)\) https://vercel.com/import/git https://vercel.com/import/select-scope https://vercel.com/import https://vercel.com/new/project ```
-
- 01 1月, 2021 1 次提交
-
-
由 Luke Harries 提交于
In order to get this example working, I needed to remove the invocation as described here: https://github.com/vercel/next-plugins/issues/309#issuecomment-674376348
-
- 18 12月, 2020 1 次提交
-
-
由 Vishnu Paduchuri 提交于
Build Fails due to Invalid Token error, adding SENTRY_URL fixed the issue.
-
- 01 12月, 2020 1 次提交
-
-
由 Vishnu Paduchuri 提交于
-
- 12 11月, 2020 1 次提交
-
-
由 Lucas Varela 提交于
* Add info about SENTRY_URL on source map uploading * Update examples/with-sentry/README.md Co-authored-by: NLee Robinson <me@leerob.io> Co-authored-by: NLuis Alvarez D <luis@vercel.com>
-
- 10 11月, 2020 1 次提交
-
-
由 Weston Thayer 提交于
## New features - Example of how to use `Sentry.captureException()` in API routes https://github.com/vercel/next.js/commit/5a35982717bc7f916022dd713b3b1f9e0921d503 ## Bug fixes - Server-side source maps now work in Sentry when deployed to Vercel https://github.com/vercel/next.js/commit/629a9ed5048629dc12670ef457fe6efaa2e8d3b6 - If uploading source maps, `Sentry.init()` now sets the `release`, so that exceptions are correctly associated with the source maps in that release ## Open issues ### `_error.js` is unused for `getServerSideProps` errors when deployed to Vercel Instead of rendering this example's overridden `_error.js` (like it does when testing locally with `NODE_ENV='production'`), when deployed to Vercel and an Error is thrown from `getServerSideProps`, this page is shown: ![Screenshot of Vercel Application Error page](https://user-images.githubusercontent.com/709153/90968889-aa3c3d00-e4a6-11ea-9eff-fafee3d1ff33.png) This confuses me because the Error is still successfully sent to Sentry, but I would've expected it to be sent by the call to `Sentry.captureException()` in `_error.js`. I'm not sure why it works. ### API test 2 & 3 don't work in the "server" build config They don't work when deployed to Vercel in the "serverless" config either, but that's expected because there aren't any handlers to flush the Sentry queue. I can't figure out why they don't work in the long-lived "server" config.
-
- 06 9月, 2020 1 次提交
-
-
由 Kristoffer K 提交于
**What's the problem this PR addresses?** A decent amount of the examples don't have a `name` field in `package.json` that matches their folder name, meaning they either lack a name or the names are duplicated. I was testing Yarn 2 workspaces using the entire examples directory and needed to get rid of the duplicates. **How did you fix it?** Updated the names to match the names of their folders
-
- 30 8月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 NorbertLuszkiewicz 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 24 8月, 2020 1 次提交
-
-
由 WeichienHung 提交于
Fix https://github.com/vercel/next.js/issues/16197 See my screenshot. Testing url is changed to http://localhost:3000/test and can find the source map. <img width="826" alt="圖片" src="https://user-images.githubusercontent.com/1462027/90737991-d74eeb00-e300-11ea-9675-f25aef6a4062.png">
-
- 12 8月, 2020 1 次提交
-
-
webpack://_N_E/由 Andrew Nagy 提交于
In with-sentry add stripPrefix of `webpack://_N_E/`. This removes the `webpack://_N_E/` prefix from the stack trace which will help Sentry to understand what is "App Only" vs "Full" I'll fully tested calling errors in browser and the stack traces are still aligned and linked correctly. This just gets rid of the extra data in the front which seems to be the same for everyone and I believe it comes from webpack 5 (?)
-
- 07 8月, 2020 1 次提交
-
-
由 Kazuhito Hokamura 提交于
In the Sentry example, sourcemaps is not enabled in server error. I solved this problem by using `RewriteFrames`. On the client side, the sourcemaps path is `~/_next`, but on the server side it needs to be `~/.next` (distDir), so I rewrite it using the `iteratee`. ref. https://docs.sentry.io/platforms/node/sourcemaps/#updating-sentry-sdk-configuration-to-support-source-maps ----- ## before <img width="983" alt="ss2" src="https://user-images.githubusercontent.com/39471/88479997-29188580-cf8e-11ea-8d16-10ccfa6fc1a4.png"> ## after <img width="989" alt="ss1" src="https://user-images.githubusercontent.com/39471/88479995-26b62b80-cf8e-11ea-8b1f-7784b32b9e6d.png">
-
- 30 7月, 2020 2 次提交
-
-
由 Luis Alvarez D 提交于
-
由 Stephen Cefali 提交于
This removes the server 4 example which breaks all server code since the error will happen when the file is sourced.
-
- 24 7月, 2020 1 次提交
-
-
由 Colleen O'Rourke 提交于
* Update Sentry example for use with Sentry/Vercel integration * update linting * Update link in readme * Update readme, add comment * Add step about commit SHA * Updated readme * Use if * dont call sentry webpack plugin w/o a commit sha present * Update examples/with-sentry/README.md Co-authored-by: NLuis Alvarez D. <luis@vercel.com> * update release value * prettier readme * Updated note Co-authored-by: NLuis Alvarez <luis@vercel.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 21 7月, 2020 1 次提交
-
-
由 Obed Marquez Parlapiano 提交于
-
- 19 7月, 2020 1 次提交
- 17 7月, 2020 1 次提交
-
-
由 Luis Alvarez D 提交于
The current readme has wrong instructions and it's not clear enough about how to get the app running, also added deploy to Vercel buttons.
-
- 16 7月, 2020 1 次提交
-
-
由 Tanmay Laud 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 18 6月, 2020 1 次提交
-
-
由 stefanprobst 提交于
this updates some links to the docs site to their new location
-
- 09 6月, 2020 1 次提交
-
-
由 Todor Totev 提交于
Co-authored-by: NLuis Alvarez D <luis@vercel.com> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 02 6月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
This updates old examples to the more universal `npx` command. Fixes https://github.com/vercel/next.js/discussions/12103
-
- 28 5月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 TodorTotev 提交于
1. I updated all the packages. 2. Refactored the home component from class to functional 3. Example now uses getServerSideProps instead of getInitialProps
-
- 22 5月, 2020 1 次提交
-
-
由 TodorTotev 提交于
Again, related to [12964](https://github.com/zeit/next.js/issues/12964) After checking all the other examples and the ongoing pull requests, I believe that with this PR being merged, all the examples should be free of redundant react imports. Let me know if you want me to edit anything that you don't like. Regards with-typescript with-atstroturf with-atlaskit with-styletron with-styled-components-rtl with-stylesheet with-stomp with-stitches-styled with-stitches with-slate with-sentry-simple with-sentry with-segment-analytics with-rematch with-relay-modern with-reflux with-redux-wrapper with-react-relay-network with-react-native with-react-multi-carousel with-react-jss with-react-helmet with-react-ga with-quill-js with-prefetching with-google-analytics-amp with-google-analytics with-framer-motion with-flow with-firebase-hosting with-firebase-cloud-messaging with-firebase-authentication with-expo with-dynamic-app-layout with-draft-js with-cxs with-cerebral with-ant-design-mobile with-algolia-react-instantsearch using-preact progressive-render
-
- 19 5月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
-
- 21 4月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
* Find/replace * Update more URLs * More rename * Fix remaining examples * More updates * Update create-next-app * Update remaining text * Update Co-authored-by: NShu Uesugi <shu@chibicode.com>
-
- 25 2月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
* Replace zeit.co/new → zeit.co/import * Update deployment.md
-
- 13 2月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
* Find/Replace "Deploy it to the cloud..." * Find/Replace "Deploy it to the cloud..." (no colon) * Find/Replace "Deploy it to the cloud..." for firebase * Convert remaining ones * Storybook deployment * Update with-stripe-typescript * Update contributing.md * Remove `now` * Update examples/with-stripe-typescript/README.md Co-Authored-By: NLuis Alvarez D. <luis@zeit.co>
-
- 17 1月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
* npx create → npm init * Fix inconsistent instructions * Update amp-first * Update with-graphql-react * with-firebase-cloud-messaging * Update with-higher-order-component * change create-next-app url * Update create-next-app instruction * Update instructions to use npm instead of npx * Move "the idea behind the example" to top * Rename * Rename * Update contributing.md with a README template
-
- 19 12月, 2019 1 次提交
-
-
由 James Russo 提交于
With an update to sentry-testkit to depend on native node modules this example no longer works in the browser. Sentry-testkit is made for a node server not to work in the browser. However, with this change we no longer require sentry-testkit in our setup for sentry. Before this change with the update of sentry-testkit to 3.1 we were encountering errors when trying to run the next.js local development server because it was trying to load sentry-testkit in the browser. Thank you to @ohana54 for his example found here https://github.com/wix/sentry-testkit/issues/43 this will now close this issue https://github.com/zeit/next.js/issues/9768 as well.
-
- 11 11月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Update `packages/` * Update examples * Update tests * Update bench * Update top level files * Fix build * trigger
-
- 11 10月, 2019 1 次提交
-
-
由 Luis Alvarez D 提交于
-
- 27 7月, 2019 1 次提交
-
-
由 Alexey Boklin 提交于
-
- 01 7月, 2019 1 次提交
-
-
由 Johnboy 提交于
The second line of this comment was removed in the previous commit due to the usage of process.browser. This meant the comment was incomplete and confusing https://github.com/zeit/next.js/commit/c03e94bebddff570e2181bf3b8c34adf0c704470#diff-a15b49cbb3a523d81a74e0fab7f08eb5
-