Add support for JSR#973
Conversation
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Using |
|
they are working on fixes to it going full throttle without breaks rolldown/tsdown#940
|
|
They are still running tsc 80 times. |
|
fair, though jsr doesn't require it per-se, it's kinda node that requires it. if only |
|
@thetarnav Fantastic news, I figured out a solution. Using
|
|
@thetarnav does this full satisfy your concerns? :) if so can I get your blessing? |
|
The build takes 16s on ci again so I'm fine with that. |
|
Alright checked locally and it looks good. |
|
Your original build script did type checking via typescript, tsdown just strips the types. I thought yall had that there because that was part of your linting process. I can remove it if we deem it not necessary, removing |
Add root Deno workspace settings for JSR validation and publishing while preserving the Solid 2.0 import surface used by the next branch. Enable TypeScript source imports and no-emit checking in the root tsconfig so package source entries can be validated directly without generating output.
…e still supporting workspaces Signed-off-by: Okiki Ojo <hey@okikio.dev>
…` condition to subpath exports Signed-off-by: Okiki Ojo <hey@okikio.dev>
… (which both export .tsx files) Signed-off-by: Okiki Ojo <hey@okikio.dev>
…orage, utils, and workers packages Signed-off-by: Okiki Ojo <hey@okikio.dev>
…, fullscreen, mediastream, script-loader, sensors, and storage packages Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
…sions Signed-off-by: Okiki Ojo <hey@okikio.dev>
…Set, and ReactiveWeakSet classes Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
…sonc Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
- Updated FormControlContext to explicitly define its type. - Enhanced createFormControlInput to specify return type. - Improved type imports in async package and adjusted function signatures for better type safety. - Refined broadcast channel types for better generics handling. - Specified return types for clipboard functions. - Enhanced connectivity package to safely access navigator.connection. - Improved controlled signal functions to return appropriate signal types. - Specified return types for devices package functions. - Made event listener functions safer with optional chaining. - Updated fetch modifiers to specify return types. - Enhanced autofocus functions with explicit return types. - Improved gestures core functions to return structured types. - Specified return types for GraphQL gql function. - Enhanced input mask functions with explicit return types. - Improved JSX tokenizer with unique symbol typing. - Specified return types for keyboard event functions. - Enhanced media query functions with explicit return types. - Made media stream functions safer with optional chaining. - Improved mouse position functions with explicit return types. - Enhanced resource aggregation functions with explicit return types. - Improved scroll position functions with explicit return types. - Enhanced selection functions with explicit return types. - Improved web share function with explicit return types. - Enhanced number utility functions with explicit return types. - Improved string utility functions with explicit return types. - Enhanced spring functions with explicit return types. - Improved tauri storage function with explicit return type. - Enhanced storage tools with explicit return types. - Improved upload functions with explicit return types. - Enhanced immutable number functions with explicit return types. - Improved utils index with explicit return types. - Enhanced websocket functions with explicit return types. Signed-off-by: Okiki Ojo <hey@okikio.dev>
…dd explicit return types to makeTauriFileSystem Signed-off-by: Okiki Ojo <hey@okikio.dev>
using pnpm catalogs to ensure tsdown versions stay the same across all packages [pnpm.io/catalogs](https://pnpm.io/catalogs) Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
….yaml Signed-off-by: Okiki Ojo <hey@okikio.dev>
- Created tsdown.config.ts for the following packages: - mouse - mutable - mutation-observer - notification - orientation - page-utilities - pagination - permission - platform - pointer - presence - promise - props - queue - raf - range - refs - resize-observer - resource - rootless - scheduled - script-loader - scroll - selection - sensors - set - share - signal-builders - spring - sse - state-machine - static-store - storage - styles - timer - transition-group - trigger - tween - upload - utils - vibrate - video - virtual - websocket - workers Signed-off-by: Okiki Ojo <hey@okikio.dev>
- Updated the build script in the following packages to use "tsdown" instead of the previous node command: - mutation-observer - notification - orientation - page-utilities - pagination - permission - platform - pointer - presence - promise - props - queue - raf - range - refs - resize-observer - resource - rootless - scheduled - script-loader - scroll - selection - sensors - set - share - signal-builders - spring - sse - state-machine - static-store - storage - styles - timer - transition-group - trigger - tween - upload - utils - vibrate - video - virtual - websocket - workers Signed-off-by: Okiki Ojo <hey@okikio.dev>
…d steps in JSR CI workflows Signed-off-by: Okiki Ojo <hey@okikio.dev>
…ed-props and virtual packages JSR doesn't really know how to compile solidjs jsx, so I just take advantage of the tsdown compile step Signed-off-by: Okiki Ojo <hey@okikio.dev>
…packages Signed-off-by: Okiki Ojo <hey@okikio.dev>
- Removed unnecessary compilerOptions and references from tsconfig.json files in various packages. - Retained only the "include" property to streamline configuration. Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
…ves packages Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
…ed-props & virtual packages Signed-off-by: Okiki Ojo <hey@okikio.dev>
…rf. across multiple packages + use even stricter return types for variables, parameters & function Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
…king perf. Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
…ilds Signed-off-by: Okiki Ojo <hey@okikio.dev>
|
I actually misspoke earlier tsdown does type check, so |
Signed-off-by: Okiki Ojo <hey@okikio.dev>
Signed-off-by: Okiki Ojo <hey@okikio.dev>
use tsdown now, aka `pnpm -w tsdown` Signed-off-by: Okiki Ojo <hey@okikio.dev>
…tions Signed-off-by: Okiki Ojo <hey@okikio.dev>



allowImportingTsExtensions&noEmitto root tsconfig.jsonsrc&extendsin each packages tsconfig.jsonscripts/build.tsCloses #726