43081j / 43081j/lockparse

Add support for `npm-shrinkwrap` & Deno

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
25
Forks
3
Avg merge
8h 22m
Merged PRs (30d)
4

Description

- Deno: Parse the jsr section into a map keyed by `name@version`, link edges from `jsr[*].dependencies`, resolve `"jsr:@scope/name"` via specifiers, and build root from `workspace.dependencies`. This should be enough for most of the folks, but maybe needs more research.

- shrinkwrap: From what I understand we can reuse current npm parser (assuming we're targeting `lockfileVersion` >= 2/3)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue describes adding parsers for npm-shrinkwrap.json and Deno's jsr.json. Start by examining the existing npm parser in the codebase to understand the structure. For Deno, research the jsr specification and workspace dependencies. Implement parsing logic that outputs a consistent map format. Test with sample lockfiles to ensure compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.