Skip to content

Commit

Permalink
Merge pull request #9782 from storybookjs/cleanup/addon-notes
Browse files Browse the repository at this point in the history
Examples: Remove addon-notes remnants
  • Loading branch information
shilman authored Feb 7, 2020
2 parents ec8a5d4 + 17a8ffc commit 2ea29dd
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 75 deletions.
58 changes: 0 additions & 58 deletions addons/notes/package.json

This file was deleted.

3 changes: 1 addition & 2 deletions docs/src/pages/addons/using-addons/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ We are going to use an addon called [Notes](https://github.com/storybookjs/story
First, we need to install the addons:

```sh
yarn add -D @storybook/addons @storybook/addon-actions @storybook/addon-knobs @storybook/addon-notes
yarn add -D @storybook/addons @storybook/addon-actions @storybook/addon-knobs
```

within `.storybook/main.js`:
Expand All @@ -24,7 +24,6 @@ module.exports = {
addons: [
'@storybook/addon-actions/register',
'@storybook/addon-knobs/register',
'@storybook/addon-notes/register',
],
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/addons/writing-addons/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ When you are developing your addon as a package, you can't use `npm link` to add
```json
{
"dependencies": {
"@storybook/addon-notes": "file:///home/username/myrepo"
"@storybook/addon-custom": "file:///home/username/myrepo"
}
}
```
Expand Down
1 change: 0 additions & 1 deletion examples/riot-kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@storybook/addon-centered": "6.0.0-alpha.6",
"@storybook/addon-knobs": "6.0.0-alpha.6",
"@storybook/addon-links": "6.0.0-alpha.6",
"@storybook/addon-notes": "6.0.0-alpha.6",
"@storybook/addon-options": "6.0.0-alpha.6",
"@storybook/addon-storyshots": "6.0.0-alpha.6",
"@storybook/addon-storysource": "6.0.0-alpha.6",
Expand Down
1 change: 0 additions & 1 deletion examples/server-kitchen-sink/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
'@storybook/addon-backgrounds',
'@storybook/addon-knobs',
'@storybook/addon-links',
'@storybook/addon-notes',
'@storybook/addon-options',
],
};
1 change: 0 additions & 1 deletion examples/server-kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"@storybook/addon-centered": "6.0.0-alpha.6",
"@storybook/addon-knobs": "6.0.0-alpha.6",
"@storybook/addon-links": "6.0.0-alpha.6",
"@storybook/addon-notes": "6.0.0-alpha.6",
"@storybook/node-logger": "6.0.0-alpha.6",
"@storybook/server": "6.0.0-alpha.6",
"concurrently": "^5.0.2",
Expand Down
1 change: 0 additions & 1 deletion examples/vue-kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"@storybook/addon-docs": "6.0.0-alpha.6",
"@storybook/addon-knobs": "6.0.0-alpha.6",
"@storybook/addon-links": "6.0.0-alpha.6",
"@storybook/addon-notes": "6.0.0-alpha.6",
"@storybook/addon-options": "6.0.0-alpha.6",
"@storybook/addon-storyshots": "6.0.0-alpha.6",
"@storybook/addon-storysource": "6.0.0-alpha.6",
Expand Down
1 change: 0 additions & 1 deletion lib/cli/generators/ANGULAR/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
async function addDependencies(npmOptions, { storyFormat }) {
const packages = [
'@storybook/angular',
'@storybook/addon-notes',
'@storybook/addon-actions',
'@storybook/addon-links',
'@storybook/addons',
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/generators/ANGULAR/template-csf/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
stories: ['../src/**/*.stories.ts'],
addons: ['@storybook/addon-actions', '@storybook/addon-links', '@storybook/addon-notes'],
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
};
7 changes: 1 addition & 6 deletions lib/cli/generators/ANGULAR/template-mdx/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
module.exports = {
stories: ['../src/**/*.stories.(ts|mdx)'],
addons: [
'@storybook/addon-docs',
'@storybook/addon-actions',
'@storybook/addon-links',
'@storybook/addon-notes',
],
addons: ['@storybook/addon-docs', '@storybook/addon-actions', '@storybook/addon-links'],
};
1 change: 0 additions & 1 deletion lib/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"@storybook/addon-graphql": "6.0.0-alpha.6",
"@storybook/addon-knobs": "6.0.0-alpha.6",
"@storybook/addon-links": "6.0.0-alpha.6",
"@storybook/addon-notes": "6.0.0-alpha.6",
"@storybook/addon-options": "6.0.0-alpha.6",
"@storybook/addon-storyshots": "6.0.0-alpha.6",
"@storybook/addons": "6.0.0-alpha.6",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19855,7 +19855,7 @@ markdown-table@^1.1.0:
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60"
integrity sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==

markdown-to-jsx@^6.10.3, markdown-to-jsx@^6.9.1, markdown-to-jsx@^6.9.3:
markdown-to-jsx@^6.9.1, markdown-to-jsx@^6.9.3:
version "6.10.3"
resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-6.10.3.tgz#7f0946684acd321125ff2de7fd258a9b9c7c40b7"
integrity sha512-PSoUyLnW/xoW6RsxZrquSSz5eGEOTwa15H5eqp3enmrp8esmgDJmhzd6zmQ9tgAA9TxJzx1Hmf3incYU/IamoQ==
Expand Down

0 comments on commit 2ea29dd

Please sign in to comment.