'cfx init FOLDERNAME' seems to use the current directory as the addon's name.

RESOLVED WONTFIX

Status

Add-on SDK
General
P2
normal
RESOLVED WONTFIX
5 years ago
4 years ago

People

(Reporter: KWierso, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
If I use 'cfx init someaddon', cfx creates a folder in the current directory named 'someaddon', and populates that folder with the template files for a basic Jetpack addon.
But in package.json, it appears to use the current directory for the name and fullName properties, not 'someaddon'.
(Reporter)

Comment 1

5 years ago
This can be a problem if the parent directory contains a period, as that is disallowed in package names.
Priority: -- → P2
can we wontfix this?
Flags: needinfo?(rFobic)
I think it's a valid bug, but with low priority of fixing. I think we can wontfix it only after we officially switch to JPM.
Flags: needinfo?(rFobic)
Sorry we won't be releasing any new versions of cfx, jpm is the replacement https://www.npmjs.com/package/jpm
Blocks: 840023
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.