Skip to content

Commit

Permalink
CLI: Add wrapper packages: sb & storybook (#8034)
Browse files Browse the repository at this point in the history
CLI: Add wrapper packages: sb & storybook
  • Loading branch information
shilman committed Sep 14, 2019
2 parents d5b0b78 + 9f4de9e commit dfe9eb7
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cli-sb/README.md
@@ -0,0 +1,3 @@
# Storybook CLI

This is a wrapper for https://www.npmjs.com/package/@storybook/cli
3 changes: 3 additions & 0 deletions lib/cli-sb/index.js
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('@storybook/cli/bin/index');
30 changes: 30 additions & 0 deletions lib/cli-sb/package.json
@@ -0,0 +1,30 @@
{
"name": "sb",
"version": "5.2.0-rc.9",
"description": "Storybook CLI",
"keywords": [
"storybook"
],
"homepage": "https://github.com/storybookjs/storybook/tree/master/lib/cli",
"bugs": {
"url": "https://github.com/storybookjs/storybook/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/storybookjs/storybook.git",
"directory": "lib/cli"
},
"bin": {
"sb": "./index.js"
},
"license": "MIT",
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "5.2.0-rc.9"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions lib/cli-storybook/README.md
@@ -0,0 +1,3 @@
# Storybook CLI

This is a wrapper for https://www.npmjs.com/package/@storybook/cli
3 changes: 3 additions & 0 deletions lib/cli-storybook/index.js
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('@storybook/cli/bin/index');
31 changes: 31 additions & 0 deletions lib/cli-storybook/package.json
@@ -0,0 +1,31 @@
{
"name": "storybook",
"version": "5.2.0-rc.9",
"description": "Storybook CLI",
"keywords": [
"storybook"
],
"homepage": "https://github.com/storybookjs/storybook/tree/master/lib/cli",
"bugs": {
"url": "https://github.com/storybookjs/storybook/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/storybookjs/storybook.git",
"directory": "lib/cli"
},
"bin": {
"sb": "./index.js",
"storybook": "./index.js"
},
"license": "MIT",
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/cli": "5.2.0-rc.9"
},
"publishConfig": {
"access": "public"
}
}
8 changes: 8 additions & 0 deletions scripts/verdaccio.yaml
Expand Up @@ -26,6 +26,14 @@ packages:
access: $all
publish: $all

'sb':
access: $all
publish: $all

'storybook':
access: $all
publish: $all

'@*/*':
access: $all
publish: $all
Expand Down

1 comment on commit dfe9eb7

@vercel
Copy link

@vercel vercel bot commented on dfe9eb7 Sep 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.