Skip to content

Commit a759df9

Browse files
committed
feat(create): add create package to proxy npx @pattern-lab/cli init via npm create @pattern-lab
1 parent f32bd4f commit a759df9

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

packages/create/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#! /usr/bin/env node
2+
const init = require('@pattern-lab/cli/bin/cli-actions/init');
3+
4+
init({});

packages/create/package.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "@pattern-lab/create",
3+
"version": "1.0.0",
4+
"description": "",
5+
"bin": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"dependencies": {
10+
"@pattern-lab/cli": "0.0.2-alpha.0"
11+
},
12+
"author": "",
13+
"license": "MIT"
14+
}

0 commit comments

Comments
 (0)