rsnext/packages
Ian Luca 3e25b06c32
Fix type plugin for NX workspaces (#47534)
The plugin was failing in NX monorepos due to a wrong import path.

#44363, https://github.com/nrwl/nx/issues/14558

```
nx build my-next

> nx run my-next:build:production

warn  - You have enabled experimental feature (appDir) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
info  - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback

info  - Creating an optimized production build  
info  - Compiled successfully
info  - Skipping linting
info  - Checking validity of types ..Failed to compile.

Type error: Cannot find module '../../../../app/layout' or its corresponding type declarations.


 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Ran target build for project my-next (2s)
 
    ✖    1/1 failed
```

---------

Co-authored-by: Ian Serpa <ian.serpa@imc.com>
Co-authored-by: Shu Ding <g@shud.in>
2023-04-04 01:21:01 +02:00
..
create-next-app v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
eslint-config-next v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
eslint-plugin-next v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
font v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next Fix type plugin for NX workspaces (#47534) 2023-04-04 01:21:01 +02:00
next-bundle-analyzer v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-codemod v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-env v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-mdx v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-plugin-storybook v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-polyfill-module v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-polyfill-nomodule v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
next-swc feat(turbopack): support transform options (#47365) 2023-04-03 10:32:13 -07:00
react-dev-overlay v13.2.5-canary.28 2023-04-03 07:16:33 +00:00
react-refresh-utils v13.2.5-canary.28 2023-04-03 07:16:33 +00:00