Skip to content

Commit

Permalink
fix: remove references to v6 and watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Nov 19, 2024
1 parent 7e70005 commit 0b799cc
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 671 deletions.
2 changes: 0 additions & 2 deletions packages/react-native/bin/watcher.js

This file was deleted.

3 changes: 1 addition & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"license": "MIT",
"main": "dist/index.js",
"bin": {
"sb-rn-get-stories": "./bin/get-stories.js",
"sb-rn-watcher": "./bin/watcher.js"
"sb-rn-get-stories": "./bin/get-stories.js"
},
"exports": {
".": "./dist/index.js",
Expand Down
211 changes: 0 additions & 211 deletions packages/react-native/scripts/__snapshots__/loader.test.js.snap

This file was deleted.

9 changes: 2 additions & 7 deletions packages/react-native/scripts/get-stories.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
const { getArguments } = require('./handle-args');
const args = getArguments();

if (args.v6Store) {
const { writeRequires } = require('./loader');
writeRequires(args);
} else {
const { generate } = require('./generate');
generate(args);
}
const { generate } = require('./generate');
generate(args);
2 changes: 1 addition & 1 deletion packages/react-native/scripts/handle-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function getArguments() {
const { program } = require('commander');

program
.description('Getter and watcher for react native storybook')
.description('Generator for the storybook.requires file used in react native storybook')
.option(
'-c, --config-path <path>',
'The path to your config folder relative to your project-dir',
Expand Down
Loading

0 comments on commit 0b799cc

Please sign in to comment.