Merge pull request #9782 from storybookjs/cleanup/addon-notes

Examples: Remove addon-notes remnants
This commit is contained in:
Michael Shilman 2020-02-07 10:37:52 +08:00 committed by GitHub
commit 2ea29dd79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 5 additions and 75 deletions

View File

@ -1,58 +0,0 @@
{
"name": "@storybook/addon-notes",
"version": "6.0.0-alpha.6",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",
"notes",
"storybook"
],
"homepage": "https://github.com/storybookjs/storybook/tree/master/addons/notes",
"bugs": {
"url": "https://github.com/storybookjs/storybook/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/storybookjs/storybook.git",
"directory": "addons/notes"
},
"license": "MIT",
"main": "dist/public_api.js",
"types": "dist/public_api.d.ts",
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.0.0-alpha.6",
"@storybook/api": "6.0.0-alpha.6",
"@storybook/client-logger": "6.0.0-alpha.6",
"@storybook/components": "6.0.0-alpha.6",
"@storybook/core-events": "6.0.0-alpha.6",
"@storybook/router": "6.0.0-alpha.6",
"@storybook/theming": "6.0.0-alpha.6",
"core-js": "^3.0.1",
"global": "^4.3.2",
"markdown-to-jsx": "^6.10.3",
"memoizerific": "^1.11.3",
"prop-types": "^15.7.2",
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@types/prop-types": "^15.5.9",
"@types/util-deprecate": "^1.0.0",
"@types/webpack-env": "^1.15.1"
},
"peerDependencies": {
"react": "*"
},
"publishConfig": {
"access": "public"
},
"gitHead": "4b9d901add9452525135caae98ae5f78dd8da9ff"
}

View File

@ -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`:
@ -24,7 +24,6 @@ module.exports = {
addons: [
'@storybook/addon-actions/register',
'@storybook/addon-knobs/register',
'@storybook/addon-notes/register',
],
};
```

View File

@ -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"
}
}
```

View File

@ -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",

View File

@ -7,7 +7,6 @@ module.exports = {
'@storybook/addon-backgrounds',
'@storybook/addon-knobs',
'@storybook/addon-links',
'@storybook/addon-notes',
'@storybook/addon-options',
],
};

View File

@ -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",

View File

@ -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",

View File

@ -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',

View File

@ -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'],
};

View File

@ -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'],
};

View File

@ -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",

View File

@ -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==