Closed
Bug 1082289
Opened 11 years ago
Closed 11 years ago
Put Commonplace dependency in `package.json`
Categories
(Marketplace Graveyard :: Code Quality, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cvan, Assigned: kngo)
References
Details
(Whiteboard: [repoman])
Maybe this bug is already solved by bug 1072684, so feel free to dupe if so.
We should stop hardcoding specific commonplace versions in our `fabfile.py`:
https://github.com/mozilla/fireplace/blob/c9f5668/fabfile.py#L38
and then having developers (and Fabric) install Commonplace globally.
It's caused a bunch of confusion. And the current workaround is this:
https://github.com/mozilla/fireplace/commit/c9f5668
npm makes this very easy. So let's just add `commonplace` (pinned to a version) to the `dependencies` section in our `package.json`. That way when the user installs Fireplace (`npm install`), Commonplace will be installed (and the correct version that the project requires) in the project's `node_modules/` directory.
I realise it's convenient to be able to call just `commonplace includes`, etc. from the command line. Instead we forgo `damper`/`commonplace` commands in favour of `gulp` (or `npm`) commands.
Updated•11 years ago
|
Priority: -- → P3
Updated•11 years ago
|
Whiteboard: [repoman]
Assignee | ||
Comment 1•11 years ago
|
||
https://github.com/mozilla/fireplace/blob/master/package.json#L16
Commonplace no longer has much of a CLI anyways. We expose our CLI stuff through the Makefile.
Assignee: nobody → kngo
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•11 years ago
|
||
https://github.com/mozilla/fireplace/blob/master/package.json#L16
Why is `commonplace` not pinned to a version though? Shouldn't it match the version that we specify in the `fabfile.py`/`README.md`?
Assignee | ||
Comment 3•11 years ago
|
||
There is no version specified in the fabfile or the README. They both just run npm install.
You need to log in
before you can comment on or make changes to this bug.
Description
•