{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":353248485,"defaultBranch":"main","name":"vite","ownerLogin":"sodatea","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-03-31T06:20:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3277634?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1689089685.0","currentOid":""},"activityList":{"items":[{"before":"3f11b2f9c184aedbf29b2c3106faa582a6ecdeec","after":"1f93deccbfda4089155d60d2be1deaff5d298c8a","ref":"refs/heads/fix-merge-config-from-define-config","pushedAt":"2023-07-12T12:17:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sodatea","name":"Haoqun Jiang","path":"/sodatea","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3277634?s=80&v=4"},"commit":{"message":"fix: revert to overload defineConfig\n\nBased on #13792 but with slightly more verbose function style\nconfiguration types.\nWe can make the generic version pass the tests with some hack, but it\nis too permissive that it would allow users to pass in unknown fields.\nThe overload version is much more direct and simpler.\n\nThanks @xiaoxiangmoe for helping me debug this.","shortMessageHtmlLink":"fix: revert to overload defineConfig"}},{"before":"790cee29ce2636cf00a77ffd92954d3492f5092d","after":"3f11b2f9c184aedbf29b2c3106faa582a6ecdeec","ref":"refs/heads/fix-merge-config-from-define-config","pushedAt":"2023-07-11T16:09:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sodatea","name":"Haoqun Jiang","path":"/sodatea","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3277634?s=80&v=4"},"commit":{"message":"tests: remove unnecessary typecasts and `@ts-expect-error`s","shortMessageHtmlLink":"tests: remove unnecessary typecasts and @ts-expect-errors"}},{"before":null,"after":"790cee29ce2636cf00a77ffd92954d3492f5092d","ref":"refs/heads/fix-merge-config-from-define-config","pushedAt":"2023-07-11T15:34:45.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"sodatea","name":"Haoqun Jiang","path":"/sodatea","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3277634?s=80&v=4"},"commit":{"message":"fix(types): narrow down the return type of `defineConfig`\n\nFixes compatibility with `mergeConfig`, as reported in https://github.com/vuejs/create-vue/issues/313\n\nBefore the change, `defineConfig` would return `UserConfigExport`, which\nis a union type. This would cause `mergeConfig` to fail, as it doesn't\naccept the `UserConfigFn` type in the union. (https://github.com/vitejs/vite/pull/13135)\n\nAfter the change, `defineConfig` returns the same type that it receives,\nso it would exclude `UserConfigFn` from the return type whenever\npossible.","shortMessageHtmlLink":"fix(types): narrow down the return type of defineConfig"}},{"before":"2fbce9774ce2523e763fc157e3eacc18a2d437a9","after":"9310b3a52fb2a7d299a9cc6f43d88492d67e743a","ref":"refs/heads/main","pushedAt":"2023-07-06T07:30:42.821Z","pushType":"push","commitsCount":568,"pusher":{"login":"sodatea","name":"Haoqun Jiang","path":"/sodatea","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3277634?s=80&v=4"},"commit":{"message":"fix(pluginContainer): drop previous sourcesContent (#13722)","shortMessageHtmlLink":"fix(pluginContainer): drop previous sourcesContent (vitejs#13722)"}},{"before":"2fbce9774ce2523e763fc157e3eacc18a2d437a9","after":"9310b3a52fb2a7d299a9cc6f43d88492d67e743a","ref":"refs/heads/main","pushedAt":"2023-07-06T07:30:42.000Z","pushType":"push","commitsCount":568,"pusher":{"login":"sodatea","name":"Haoqun Jiang","path":"/sodatea","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3277634?s=80&v=4"},"commit":{"message":"fix(pluginContainer): drop previous sourcesContent (#13722)","shortMessageHtmlLink":"fix(pluginContainer): drop previous sourcesContent (vitejs#13722)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADU_ZktgA","startCursor":null,"endCursor":null}},"title":"Activity ยท sodatea/vite"}