Skip to content

Commit

Permalink
Removes storybook package and related code (opensearch-project#1172)
Browse files Browse the repository at this point in the history
In order to address potential licensing issues as well as resolve related CVEs, 
all storybook code is removed. The storybook features have been broken
since the fork and the work to fix everything was greater than removing it. 
Alternatives will be considered in the future.

Resolves opensearch-project#1130 
Resolves opensearch-project#1171

Signed-off-by: Tommy Markley <markleyt@amazon.com>
  • Loading branch information
Tommy Markley committed Feb 9, 2022
1 parent 588cb4d commit 6db875f
Show file tree
Hide file tree
Showing 27 changed files with 257 additions and 4,641 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ module.exports = {
*/
{
files: [
'**/*.stories.tsx',
'test/*/config.ts',
'test/*/config_open.ts',
'test/*/{tests,test_suites,apis,apps}/**/*',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@
"build:types": "rm -rf ./target/types && tsc --p tsconfig.types.json",
"docs:acceptApiChanges": "node --max-old-space-size=6144 scripts/check_published_api_changes.js --accept",
"osd:bootstrap": "node scripts/build_ts_refs && node scripts/register_git_hook",
"spec_to_console": "node scripts/spec_to_console",
"storybook": "node scripts/storybook"
"spec_to_console": "node scripts/spec_to_console"
},
"repository": {
"type": "git",
"url": "https://github.com/opensearch-project/opensearch-dashboards.git"
},
"resolutions": {
"**/@types/node": "^14.17.32",
"**/@types/react": "^16.14.23",
"**/ejs": "^3.1.6",
"**/front-matter": "^4.0.2",
"**/glob-parent": "^6.0.0",
Expand Down Expand Up @@ -303,7 +303,7 @@
"@types/pngjs": "^3.4.0",
"@types/prop-types": "^15.7.3",
"@types/reach__router": "^1.2.6",
"@types/react": "^16.9.36",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.8",
"@types/react-grid-layout": "^0.16.7",
"@types/react-redux": "^7.1.9",
Expand Down
41 changes: 0 additions & 41 deletions packages/osd-storybook/README.md

This file was deleted.

34 changes: 0 additions & 34 deletions packages/osd-storybook/index.ts

This file was deleted.

37 changes: 0 additions & 37 deletions packages/osd-storybook/lib/constants.ts

This file was deleted.

41 changes: 0 additions & 41 deletions packages/osd-storybook/lib/default_config.ts

This file was deleted.

49 changes: 0 additions & 49 deletions packages/osd-storybook/lib/register.ts

This file was deleted.

88 changes: 0 additions & 88 deletions packages/osd-storybook/lib/run_storybook_cli.ts

This file was deleted.

0 comments on commit 6db875f

Please sign in to comment.