TryGhost / TryGhost/gscan

Prefixed "name" property in package.json is not supported?

Open
#264 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
84
Forks
60
Avg merge
2h 18m
Merged PRs (30d)
34

Description

Hello!

When I name my theme @org/foo in package.json and check it with GScan, I get:

  • Error: package.json property "name" must be hyphenated

Ghost really does not support package name with organization prefix for themes? Or is it GScan-only issue?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the GScan validation for the package.json "name" property and reproduce the error with a name such as @org/foo. Determine whether prefixed theme names are supported by Ghost or whether the scanner's rule is incorrect. Done means the behavior is aligned with the supported naming convention and covered by an appropriate scanner test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.