Describe the bug
The path to the @solidjs/web/storage types in
|
"types": "./storage/types/index.d.ts", |
is incorrect, leading to an error when e.g. trying to build @solidjs/start with the
upgrade-to-solid-2-beta branch:
src/fns/handler.ts(5,37): error TS7016: Could not find a declaration file for module '@solidjs/web/storage'. 'xyz/solid-start2/node_module…
│ If the '@solidjs/web' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '@solidjs/web/storage';`
│ src/fns/server.ts(2,37): error TS7016: Could not find a declaration file for module '@solidjs/web/storage'. 'xyz/solid-start2/node_modules…
│ If the '@solidjs/web' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '@solidjs/web/storage';`
│ src/server/fetchEvent.ts(2,37): error TS7016: Could not find a declaration file for module '@solidjs/web/storage'. 'xyz/solid-start2/node_…
│ If the '@solidjs/web' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '@solidjs/web/storage';`
Your Example Website or App
https://github.com/solidjs/solid-start/tree/upgrade-to-solid-2-beta
Steps to Reproduce the Bug or Issue
- Clone the start repo with the
upgrade-to-solid-2-beta branch
- pnpm dedupe
- pnpm build
Expected behavior
The path should be ./storage/types/storage/src/index.d.ts where the types currently can be found at (https://app.unpkg.com/@solidjs/web@2.0.0-beta.17/files/storage/types/storage/src/index.d.ts).
Screenshots or Videos
No response
Platform
- OS: Linux
- Browser: Firefox
- Version: 2.0.0-beta.17
Additional context
No response
Describe the bug
The path to the
@solidjs/web/storagetypes insolid/packages/solid-web/package.json
Line 125 in a51cac1
upgrade-to-solid-2-betabranch:Your Example Website or App
https://github.com/solidjs/solid-start/tree/upgrade-to-solid-2-beta
Steps to Reproduce the Bug or Issue
upgrade-to-solid-2-betabranchExpected behavior
The path should be
./storage/types/storage/src/index.d.tswhere the types currently can be found at (https://app.unpkg.com/@solidjs/web@2.0.0-beta.17/files/storage/types/storage/src/index.d.ts).Screenshots or Videos
No response
Platform
Additional context
No response