-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix: typescript definition of router.push #400
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sorrycc
added a commit
that referenced
this pull request
Jun 23, 2022
* feat(api-route): Add examples API routes to examples/boilerplate * feat(api-route): Add type declarations of API routes feature * feat(api-route): Add example API route middleware in example/boilerplate * feat(api-route): Generate tmpFiles of API routes on `umi build` * feat(api-route): Move api directory to "src/api" instead of "src/pages/api" * feat(api-route): Fix CI failed due to new example without update lock file * feat(api-route): Bundle generated files into final result for Vercel serverless function * feat(api-route): Change api route bundle output dir to ".output/server/pages/api" * feat(api-route): Add UmiApiRequest and UmiApiResponse * feat(api-route): Remove dynamic route from api-route-demo since it is not support currently * feat(api-route): Update gitignore path from "examples/*/api" to "examples/*/.output" * feat(api-route): Encapsulate api-route into a feature of preset-umi and add configuration * feat(api-route): "Import type instead of just import Co-authored-by: Yingci <[email protected]> * feat(api-route): Use English in warning messages * feat(api-route): Improve path expressions * feat(api-route): Move config checking into api.describe.enableBy * feat(api-route): Add API route adapter for Umi Dev Server (`umi dev`) * feat(api-route): Add esbuild plugin to ignore path prefix "@fs" * feat(api-route): Fix CI failed due to lock file problem * feat(api-route): Fix CI failed due to lock file problem * feat(api-route): Fix CI failed due to lock file problem * feat(api-route): Fix build failed due to recursive import * feat(api-route): Fix API route match problem with trailing slash * feat(api-route): Watch API route file changes in dev mode * feat(api-route): Add some API route example usages * feat(api-route): Remove unused function in bundler-esbuild Co-authored-by: Yingci <[email protected]> Co-authored-by: chencheng (云谦) <[email protected]>
xierenyuan
pushed a commit
to xierenyuan/umi
that referenced
this pull request
Jun 23, 2022
* feat(api-route): Add examples API routes to examples/boilerplate * feat(api-route): Add type declarations of API routes feature * feat(api-route): Add example API route middleware in example/boilerplate * feat(api-route): Generate tmpFiles of API routes on `umi build` * feat(api-route): Move api directory to "src/api" instead of "src/pages/api" * feat(api-route): Fix CI failed due to new example without update lock file * feat(api-route): Bundle generated files into final result for Vercel serverless function * feat(api-route): Change api route bundle output dir to ".output/server/pages/api" * feat(api-route): Add UmiApiRequest and UmiApiResponse * feat(api-route): Remove dynamic route from api-route-demo since it is not support currently * feat(api-route): Update gitignore path from "examples/*/api" to "examples/*/.output" * feat(api-route): Encapsulate api-route into a feature of preset-umi and add configuration * feat(api-route): "Import type instead of just import Co-authored-by: Yingci <[email protected]> * feat(api-route): Use English in warning messages * feat(api-route): Improve path expressions * feat(api-route): Move config checking into api.describe.enableBy * feat(api-route): Add API route adapter for Umi Dev Server (`umi dev`) * feat(api-route): Add esbuild plugin to ignore path prefix "@fs" * feat(api-route): Fix CI failed due to lock file problem * feat(api-route): Fix CI failed due to lock file problem * feat(api-route): Fix CI failed due to lock file problem * feat(api-route): Fix build failed due to recursive import * feat(api-route): Fix API route match problem with trailing slash * feat(api-route): Watch API route file changes in dev mode * feat(api-route): Add some API route example usages * feat(api-route): Remove unused function in bundler-esbuild Co-authored-by: Yingci <[email protected]> Co-authored-by: chencheng (云谦) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.