rsnext/test/development
OJ Kwon 9d5f62eb4a
refactor(analysis): rust based page-static-info, deprecate js parse interface in next-swc (#59300)
### Description

This PR refactors existing `analysis/get-static-page-info`, moves over
most of parse / ast visiting logic into next-swc's rust codebase. By
having this, turbopack can reuse same logic to extract info for the
analysis. Also as a side effect, this removes JS side parse which is
known to be inefficient due to serialization / deserialization.

The entrypoint `getPageStaticInfo` is still in the existing
`get-page-static-info`, only for extracting / visiting logic is moved.
There are some JS specific context to postprocess extracted information
which would require additional effort to move into.


Closes PACK-2088
2024-01-22 14:42:28 -08:00
..
acceptance Use snapshots for component-stack tests (#60768) 2024-01-18 13:44:03 +01:00
acceptance-app Use snapshots for component-stack tests (#60768) 2024-01-18 13:44:03 +01:00
api-cors-with-rewrite fix(#11930): rewritten api routes can correctly handle cors in dev mode (#38937) 2022-07-29 21:39:43 -05:00
app-dir Add hasRedbox fix (#60522) 2024-01-15 09:36:44 +01:00
app-hmr remove HMR polling in favor of more targeted events (#54406) 2023-08-23 16:25:57 -07:00
app-render-error-log Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
basic Report HMR latency as trace spans for Turbopack (#60799) 2024-01-19 15:34:17 -08:00
client-dev-overlay fix: error overlay hijacking application focus (safari) (#53693) 2023-08-08 21:45:03 +02:00
correct-tsconfig-defaults chore(test): fix flaky tsconfig.json test (#53132) 2023-07-24 14:33:55 -07:00
dotenv-default-expansion Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
duplicate-pages Remove extra duplicate pages warning (#60113) 2024-01-02 14:55:55 +01:00
experimental-https-server test(integration): fix --turbo tests fixture setup (#55293) 2023-09-18 17:46:07 +00:00
gssp-notfound Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
jsconfig-path-reloading Add hasRedbox fix (#60522) 2024-01-15 09:36:44 +01:00
middleware-errors refactor(analysis): rust based page-static-info, deprecate js parse interface in next-swc (#59300) 2024-01-22 14:42:28 -08:00
middleware-warnings refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
next-font Add hasRedbox fix (#60522) 2024-01-15 09:36:44 +01:00
pages-dir Add hasRedbox fix (#60522) 2024-01-15 09:36:44 +01:00
project-directory-with-styled-jsx-suffix fix: allow user directory with styled-jsx prefix in next dev (#41484) 2022-10-19 19:01:48 +00:00
repeated-dev-edits Add test checking that repeated edits won't cause hydration issues (#44189) 2022-12-21 14:17:50 +01:00
tsconfig-path-reloading Add hasRedbox fix (#60522) 2024-01-15 09:36:44 +01:00
typescript-auto-install Remove installCommand on typescript-auto-install and pnpm-support (#58039) 2023-11-05 18:32:10 +01:00
watch-config-file Logging improvements (#55298) 2023-09-13 15:27:02 +02:00
webpack-issuer-deprecation-warning More Turbopack fixes (#56275) 2023-10-02 09:42:32 +02:00