cdklabs / cdklabs/construct-hub

Construct Hub shows languages based on package.json even if they are not published

Open
#1,422 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
239
Forks
30
Avg merge
1d 9h
Merged PRs (30d)
11

Description

https://constructs.dev/packages/aws-bootstrap-kit/v/0.6.0?lang=python provides a command for installing the package in Python. But the package is not actually published to PyPI. The reason Construct Hub displays Python availability is because Python appears as a target in https://github.com/awslabs/aws-bootstrap-kit/blob/main/source/aws-bootstrap-kit/package.json#L14.

P.S.: The maintainer plans to publish the Python version soon, so this might not be reproducible once he does.

Contributor guide

Open the contributing guide

Research direction

First confirm whether the issue still reproduces, since the maintainer expected Python publication. Then inspect the Construct Hub logic that derives displayed languages from package metadata, compare it with the linked package.json target and actual PyPI availability, and verify that unpublished targets are not presented as installable for the example package.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.