Skip to content

Commit 26fd73f

Browse files
committed
feat(create): make typo fallback for missing hyphen on "npm create pattern-lab"
1 parent 6e9e28b commit 26fd73f

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Typo Fallback for Create Pattern Lab
2+
3+
You probably meant to run this:
4+
5+
```bash
6+
npm create pattern-lab
7+
```
8+
9+
But you ran this:
10+
11+
```bash
12+
npm create patternlab
13+
```
14+
15+
No worries, this package has you, and is forwarding you on to the proper `npm create pattern-lab` package.
16+
17+
![](https://i.redd.it/homg0upn5xq01.jpg)
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#! /usr/bin/env node
2+
require('create-pattern-lab');
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "create-patternlab",
3+
"version": "1.0.4",
4+
"description": "Typo fallback for 'create pattern-lab' ",
5+
"bin": "index.js",
6+
"scripts": {},
7+
"dependencies": {
8+
"create-pattern-lab": "^1.0.4"
9+
},
10+
"author": "",
11+
"license": "MIT",
12+
"publishConfig": {
13+
"access": "public"
14+
}
15+
}

packages/create/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.4",
44
"description": "",
55
"bin": "index.js",
6+
"main": "index.js",
67
"scripts": {},
78
"dependencies": {
89
"@pattern-lab/cli": "^0.0.3-alpha.0"

0 commit comments

Comments
 (0)