Skip to content

Commit 2c3b4f8

Browse files
authored
Merge pull request #318 from maxnorm/feat/add-pkg
update bin command
2 parents 2dbd23a + 04bfacb commit 2c3b4f8

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

cli/bin/compose.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require("../index.js");

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "CLI to scaffold Compose facet-based diamond projects",
55
"main": "index.js",
66
"bin": {
7-
"compose": "./index.js"
7+
"compose": "bin/compose.js"
88
},
99
"type": "commonjs",
1010
"scripts": {
@@ -68,7 +68,7 @@
6868
"license": "MIT",
6969
"repository": {
7070
"type": "git",
71-
"url": "https://github.com/Perfect-Abstractions/Compose.git"
71+
"url": "git+https://github.com/Perfect-Abstractions/Compose.git"
7272
},
7373
"homepage": "https://compose.diamonds",
7474
"bugs": {

cli/scripts/generate-templates-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-console */
21
const fs = require("fs");
32
const path = require("path");
43
const { validateTemplatesConfig } = require("../src/config/validateTemplatesConfig");

0 commit comments

Comments
 (0)