File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
packages/app/src/app/store/modules/deployment Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 512512 "avatar_url" : " https://avatars1.githubusercontent.com/u/894149?v=4" ,
513513 "profile" : " http://manueldugue.de" ,
514514 "contributions" : [
515- " bug"
515+ " bug" ,
516+ " code"
516517 ]
517518 }
518519 ]
Original file line number Diff line number Diff line change @@ -44,5 +44,5 @@ Thanks goes to these wonderful people
4444| [<img src="https://avatars3.githubusercontent.com/u/6270048?v=4" width="100px;"/><br /><sub><b>Haroen Viaene</b></sub>](https://twitter.com/haroenv)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=haroenv "Code") [π¨](#design-haroenv "Design") | [<img src="https://avatars1.githubusercontent.com/u/293805?v=4" width="100px;"/><br /><sub><b>Nick Nisi</b></sub>](https://nicknisi.com)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=nicknisi "Code") | [<img src="https://avatars2.githubusercontent.com/u/9327315?v=4" width="100px;"/><br /><sub><b>Abhishek Jakhotiya</b></sub>](https://github.com/Jakhotiya)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=Jakhotiya "Code") [π](https://github.com/CompuIves/codesandbox-client/issues?q=author%3AJakhotiya "Bug reports") | [<img src="https://avatars2.githubusercontent.com/u/14299145?v=4" width="100px;"/><br /><sub><b>Tom KΓΌhl</b></sub>](http://twitter.com/tomkuehl_)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=tomkuehl "Code") | [<img src="https://avatars2.githubusercontent.com/u/1086461?v=4" width="100px;"/><br /><sub><b>br1anchen</b></sub>](https://github.com/br1anchen)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=br1anchen "Code") | [<img src="https://avatars3.githubusercontent.com/u/11952174?v=4" width="100px;"/><br /><sub><b>Daniel Hsing</b></sub>](https://arthelon.github.io)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=Arthelon "Code") | [<img src="https://avatars2.githubusercontent.com/u/5403694?v=4" width="100px;"/><br /><sub><b>Maciej Kasprzyk</b></sub>](https://twitter.com/_maciejka)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=maciej-ka "Code") |
4545| [<img src="https://avatars2.githubusercontent.com/u/596727?v=4" width="100px;"/><br /><sub><b>Robert Heessels</b></sub>](https://github.com/robertheessels)<br />[π](https://github.com/CompuIves/codesandbox-client/commits?author=robertheessels "Documentation") | [<img src="https://avatars3.githubusercontent.com/u/772937?v=4" width="100px;"/><br /><sub><b>Ryan P. C. McQuen</b></sub>](https://ryanpcmcquen.org)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=ryanpcmcquen "Code") | [<img src="https://avatars3.githubusercontent.com/u/613805?v=4" width="100px;"/><br /><sub><b>Chris</b></sub>](http://chrisrjones.com)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=ipatch "Code") | [<img src="https://avatars3.githubusercontent.com/u/595469?v=4" width="100px;"/><br /><sub><b>Drew Smith</b></sub>](https://github.com/drewsmith)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=drewsmith "Code") | [<img src="https://avatars2.githubusercontent.com/u/12481?v=4" width="100px;"/><br /><sub><b>Eric Berry</b></sub>](https://codesponsor.io)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=coderberry "Code") | [<img src="https://avatars1.githubusercontent.com/u/17228477?v=4" width="100px;"/><br /><sub><b>Hum4n01d</b></sub>](https://www.hum4n01d.me)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=Hum4n01d "Code") | [<img src="https://avatars3.githubusercontent.com/u/10888943?v=4" width="100px;"/><br /><sub><b>Malachi Willey</b></sub>](https://github.com/malwilley)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=malwilley "Code") |
4646| [<img src="https://avatars0.githubusercontent.com/u/1820292?v=4" width="100px;"/><br /><sub><b>Michel Weststrate</b></sub>](https://twitter.com/mweststrate)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=mweststrate "Code") | [<img src="https://avatars0.githubusercontent.com/u/52824?v=4" width="100px;"/><br /><sub><b>Oleg</b></sub>](https://kof.github.io)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=kof "Code") | [<img src="https://avatars0.githubusercontent.com/u/1127037?v=4" width="100px;"/><br /><sub><b>Paul Sherman</b></sub>](https://www.pshrmn.com)<br />[π](https://github.com/CompuIves/codesandbox-client/issues?q=author%3Apshrmn "Bug reports") [π»](https://github.com/CompuIves/codesandbox-client/commits?author=pshrmn "Code") | [<img src="https://avatars2.githubusercontent.com/u/9244507?v=4" width="100px;"/><br /><sub><b>Ro Savage</b></sub>](https://github.com/ro-savage)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=ro-savage "Code") | [<img src="https://avatars3.githubusercontent.com/u/13242392?v=4" width="100px;"/><br /><sub><b>Sam Denty</b></sub>](https://samdd.me)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=samdenty99 "Code") | [<img src="https://avatars1.githubusercontent.com/u/3087225?v=4" width="100px;"/><br /><sub><b>Zephraph</b></sub>](https://github.com/zephraph)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=zephraph "Code") | [<img src="https://avatars1.githubusercontent.com/u/1900735?v=4" width="100px;"/><br /><sub><b>Josh Waller</b></sub>](https://www.joshwaller.me)<br />[π](https://github.com/CompuIves/codesandbox-client/issues?q=author%3Amdxprograms "Bug reports") [π»](https://github.com/CompuIves/codesandbox-client/commits?author=mdxprograms "Code") [π](https://github.com/CompuIves/codesandbox-client/commits?author=mdxprograms "Documentation") |
47- | [ <img src =" https://avatars0.githubusercontent.com/u/1195863?v=4 " width =" 100px; " /><br /><sub ><b >Joe Ng'ethe</b ></sub >] ( http://joey.co.ke ) <br />[ π»] ( https://github.com/CompuIves/codesandbox-client/commits?author=joeynimu " Code ") | [ <img src =" https://avatars0.githubusercontent.com/u/576935?v=4 " width =" 100px; " /><br /><sub ><b >Carles Codony</b ></sub >] ( https://github.com/bitblitter ) <br />[ π»] ( https://github.com/CompuIves/codesandbox-client/commits?author=bitblitter " Code ") | [ <img src =" https://avatars2.githubusercontent.com/u/468006?v=4 " width =" 100px; " /><br /><sub ><b >Vytenis</b ></sub >] ( https://github.com/FDiskas ) <br />[ π»] ( https://github.com/CompuIves/codesandbox-client/commits?author=FDiskas " Code ") | [ <img src =" https://avatars1.githubusercontent.com/u/894149?v=4 " width =" 100px; " /><br /><sub ><b >Manuel DuguΓ©</b ></sub >] ( http://manueldugue.de ) <br />[ π] ( https://github.com/CompuIves/codesandbox-client/issues?q=author%3Amdugue " Bug reports ") |
47+ | [<img src="https://avatars0.githubusercontent.com/u/1195863?v=4" width="100px;"/><br /><sub><b>Joe Ng'ethe</b></sub>](http://joey.co.ke)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=joeynimu "Code") | [<img src="https://avatars0.githubusercontent.com/u/576935?v=4" width="100px;"/><br /><sub><b>Carles Codony</b></sub>](https://github.com/bitblitter)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=bitblitter "Code") | [<img src="https://avatars2.githubusercontent.com/u/468006?v=4" width="100px;"/><br /><sub><b>Vytenis</b></sub>](https://github.com/FDiskas)<br />[π»](https://github.com/CompuIves/codesandbox-client/commits?author=FDiskas "Code") | [<img src="https://avatars1.githubusercontent.com/u/894149?v=4" width="100px;"/><br /><sub><b>Manuel DuguΓ©</b></sub>](http://manueldugue.de)<br />[π](https://github.com/CompuIves/codesandbox-client/issues?q=author%3Amdugue "Bug reports") [π»](https://github.com/CompuIves/codesandbox-client/commits?author=mdugue "Code") |
4848<!-- ALL-CONTRIBUTORS-LIST:END -->
Original file line number Diff line number Diff line change 11import getTemplate from 'common/templates' ;
2+ import { omit } from 'lodash/fp' ;
3+
4+ // We'll omit the homepage-value from package.json as it creates wrong assumptions over the now deployment evironment.
5+ const omitHomepage = omit ( 'homepage' ) ;
26
37export function createZip ( { utils, state } ) {
48 const sandboxId = state . get ( 'editor.currentId' ) ;
@@ -27,7 +31,7 @@ export async function createApiData({ props, state }) {
2731 }
2832 }
2933
30- apiData . package = JSON . parse ( apiData [ 'package.json' ] ) ;
34+ apiData . package = omitHomepage ( JSON . parse ( apiData [ 'package.json' ] ) ) ;
3135 // We force the sandbox id, so ZEIT will always group the deployments to a
3236 // single sandbox
3337 apiData . package . name = `csb-${ sandbox . id } ` ;
You canβt perform that action at this time.
0 commit comments