Luc Leray
|
8eaabe2fb0
|
Fix deploy buttons URLs (#20834)
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
```
|
2021-01-07 01:40:29 +00:00 |
|
Joe Haddad
|
b7e17e09e5
|
Update references to zeit/next.js (#13463)
|
2020-05-27 17:51:11 -04:00 |
|
Aleksander
|
f42055ccb0
|
Update snapshot in with-jest example (#12157)
|
2020-04-24 11:21:48 +02:00 |
|
Tim Neutkens
|
483bd3ddda
|
Rename ZEIT to Vercel (#12075)
* Find/replace
* Update more URLs
* More rename
* Fix remaining examples
* More updates
* Update create-next-app
* Update remaining text
* Update
Co-authored-by: Shu Uesugi <shu@chibicode.com>
|
2020-04-21 11:47:12 +02:00 |
|
Shu Uesugi
|
c57cdbb31d
|
Rename zeit.co/new → zeit.co/import (#10674)
* Replace zeit.co/new → zeit.co/import
* Update deployment.md
|
2020-02-24 19:08:34 -05:00 |
|
Joe Haddad
|
9a8c3100d2
|
New Jest Example (#10396)
* New Jest Example
* add missing zeit logo
* Revert zeit.svg
* remove old jest examples
* Update jest.config.js
|
2020-02-03 20:36:55 +01:00 |
|
Alejandro Garcia Anglada
|
874d3fdbb9
|
Updated with-jest example to latest versions (#9490)
* Updated with-jest example to latest versions
* Fix linting issue
* Updating snapshots
* Rollback snapshots change
|
2019-11-23 02:09:50 +01:00 |
|
Brice BERNARD
|
25005d158b
|
[with-jest] Fix tests (#3395)
* Fix tests
* Follow linting rules
|
2017-12-05 10:43:30 -08:00 |
|
Brikou CARRE
|
9f194677ec
|
Upgrade jest and simplify .babelrc (#1913)
* Upgrade jest and simplify .babelrc
* Fix linter
|
2017-05-09 09:00:25 -07:00 |
|
Arunoda Susiripala
|
57b6e9a71b
|
Using styled-jsx for with-jest example. (#1052)
|
2017-02-09 19:14:52 +05:30 |
|
Arunoda Susiripala
|
f1c6ea3248
|
Fix Jest example app (#458)
* Add a working JEST example app.
* Add README.md
* Move react-test-renderer to devDeps.
* Add a newline to the .babelrc
|
2016-12-21 23:06:24 +09:00 |
|