-
Notifications
You must be signed in to change notification settings - Fork 117
Restructure typescript #3930
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
Merged
Merged
Restructure typescript #3930
Conversation
This file contains hidden or 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
c51f860 to
b163d9d
Compare
b163d9d to
aba5546
Compare
aba5546 to
102a504
Compare
a45f578 to
fe9647c
Compare
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
219c13a to
6fefec8
Compare
6 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug 🐞
Something isn't working
CI/CD ⚒️
CI/CD related
node 🐢
Node.js wrapper
Users Pain
An issue known to cause users pain, generaly open by the user.
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.
User Pain, Motivation, and Impact of the TS glide binding Restructure
Background: Why This Restructure Was Needed
Over the past months, users of glide have reported multiple pain points related to packaging, deployment, TypeScript support, and cross-platform use—especially when working with serverless environments, monorepos, and multiple package managers (npm, yarn, pnpm). The issues are well-documented across #3195, #3147, #2812, #2680, and #3599, and have become a recurring friction point for adoption and productivity.
What Was Broken & User Pain Points
1. Native Binaries and Packaging Complexity
.nodebinaries (for every OS/arch/libc), leading to:2. TypeScript and Module Resolution Failures
Cannot find module 'glide-rs' or its corresponding type declarations.3. Package Manager Compatibility Issues
file:dependencies and non-standard package layout.npm lsand tools like esbuild/serverless-esbuild would fail pre-bundle due to dependency resolution errors.4. Redundant and Unused Dependencies
save) were present but unused, causing spurious errors and unnecessary bloat.5. Documentation and Onboarding Confusion
Direct User Feedback (Examples)
npm lsand CI/CD pipelines failed due to non-standard dependencies.How This PR (Restructure) Solves the Problems
Structural Overhaul
@valkey/valkey-glidepackage.@valkey/valkey-glide-linux-arm64-gnu), eliminating redundant code and bloat.TypeScript and Exports
package.jsonuses theexportsfield, improving module resolution for all modern Node.js tools and editors.Package Manager Compatibility
file:Dependencies: All package dependencies are now standard, so npm, yarn, and pnpm work reliably.Clean Dependency Tree
Documentation & CI/CD
Impact: How It Helps Users
Key Files to Review
Package Structure:
CI/CD:
/.github/workflows/npm-cd.yml/.github/workflows/node.ymlDocumentation:
Tests:
Testing
All CI checks are passing.
References