storybookjs / addon-react-native-web

Build react-native-web projects in Storybook for React
MIT License
83 stars 24 forks source link

Upgrade `package.json` #58

Closed JReinhold closed 1 year ago

JReinhold commented 1 year ago

This PR does a few things to the package.json. I don't know much about this addon, but I did ensure that the build and build-storybook script still worked, and that all the stories after start worked as expected.

  1. Removes the unused peer dependencies on Storybook. I did a project wide search for each of them, and none of them were used anywhere. Some of them are deprecated in v7 like @storybook/addons so it would be nice to clean them up. But maybe I'm missing some aspect here?
  2. Widen the devDeps on SB pacakges, so it supports the released 7.0.0.
  3. Fix the start script by removing the removed --no-manager-cache flag.

storybook

📦 Published PR as canary version: 0.0.20--canary.58.da0bae1.0
:sparkles: Test out this PR locally via: ```bash npm install @storybook/addon-react-native-web@0.0.20--canary.58.da0bae1.0 # or yarn add @storybook/addon-react-native-web@0.0.20--canary.58.da0bae1.0 ```
socket-security[bot] commented 1 year ago

New dependency changes detected. Learn more about Socket for GitHub ↗︎


🚨 Potential security issues found in this pull request. To accept the risk, merge this PR and you will not be notified again.

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore @auto-it/core@10.43.0
  • @SocketSecurity ignore @auto-it/npm@10.43.0
  • @SocketSecurity ignore @aw-web-design/x-default-browser@1.4.88
  • @SocketSecurity ignore @expo/cli@0.6.2
  • @SocketSecurity ignore @expo/dev-server@0.2.3
  • @SocketSecurity ignore @expo/devcert@1.1.0
  • @SocketSecurity ignore @expo/package-manager@1.0.1
  • @SocketSecurity ignore @react-native-community/cli@10.2.2
  • @SocketSecurity ignore @react-native-community/cli-platform-ios@10.2.1
  • @SocketSecurity ignore babel-plugin-istanbul@6.1.1
  • @SocketSecurity ignore better-opn@3.0.2
  • @SocketSecurity ignore command-exists@1.2.9
  • @SocketSecurity ignore commander@2.13.0
  • @SocketSecurity ignore commander@2.20.3
  • @SocketSecurity ignore commander@7.2.0
  • @SocketSecurity ignore commander@9.5.0
  • @SocketSecurity ignore cross-spawn@7.0.3
  • @SocketSecurity ignore envinfo@7.8.1
  • @SocketSecurity ignore esbuild@0.17.14
  • @SocketSecurity ignore exec-async@2.2.0
  • @SocketSecurity ignore execa@5.1.1
  • @SocketSecurity ignore fb-watchman@2.0.2
  • @SocketSecurity ignore gitlog@4.0.4
  • @SocketSecurity ignore jake@10.8.5
  • @SocketSecurity ignore jest-haste-map@28.1.3
  • @SocketSecurity ignore jest-worker@27.5.1
  • @SocketSecurity ignore jscodeshift@0.14.0
  • @SocketSecurity ignore logkitty@0.7.1
  • @SocketSecurity ignore metro-file-map@0.73.9
  • @SocketSecurity ignore open@8.4.2
  • @SocketSecurity ignore osenv@0.1.5
  • @SocketSecurity ignore ps-tree@1.2.0
  • @SocketSecurity ignore requireg@0.2.2
  • @SocketSecurity ignore shelljs@0.8.5
  • @SocketSecurity ignore sudo-prompt@8.2.5
  • @SocketSecurity ignore sudo-prompt@9.1.1
  • @SocketSecurity ignore sudo-prompt@9.2.1
  • @SocketSecurity ignore temp@0.8.3
  • @SocketSecurity ignore tree-kill@1.2.2
  • @SocketSecurity ignore ts-node@10.9.1
  • @SocketSecurity ignore typescript@4.9.5
  • @SocketSecurity ignore update-browserslist-db@1.0.10
  • @SocketSecurity ignore xcode@3.0.1
  • @SocketSecurity ignore @yarnpkg/lockfile@1.1.0
  • @SocketSecurity ignore ajv@8.12.0
  • @SocketSecurity ignore depd@2.0.0
  • @SocketSecurity ignore ejs@3.1.9
  • @SocketSecurity ignore handlebars@4.7.7
  • @SocketSecurity ignore is-callable@1.2.7
  • @SocketSecurity ignore jest-diff@27.5.1
⚠️ Shell access

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

Package Module Location Source
@auto-it/core@10.43.0 (upgraded) child_process dist/tests/auto-make-changelog.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/tests/auto.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/tests/get-current-branch.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/tests/get-remote.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/tests/release.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/auto.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/release.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/utils/tests/load-plugin.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/utils/tests/verify-auth.test.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/utils/exec-promise.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/utils/get-current-branch.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/utils/load-plugins.js package.json via auto@10.43.0
@auto-it/core@10.43.0 (upgraded) child_process dist/utils/verify-auth.js package.json via auto@10.43.0
@auto-it/npm@10.43.0 (upgraded) child_process dist/index.js package.json via auto@10.43.0
@aw-web-design/x-default-browser@1.4.88 (added) child_process src/detect-linux.js package.json via storybook@7.0.0
@aw-web-design/x-default-browser@1.4.88 (added) child_process src/detect-windows.js package.json via storybook@7.0.0
@aw-web-design/x-default-browser@1.4.88 (added) child_process src/detect-windows10.js package.json via storybook@7.0.0
@expo/cli@0.6.2 (added) child_process build/src/run/ios/XcodeBuild.js package.json via expo-linear-gradient@11.4.0
@expo/cli@0.6.2 (added) child_process build/src/start/doctor/apple/XcodePrerequisite.js package.json via expo-linear-gradient@11.4.0
@expo/cli@0.6.2 (added) child_process build/src/start/doctor/apple/XcrunPrerequisite.js package.json via expo-linear-gradient@11.4.0
@expo/cli@0.6.2 (added) child_process build/src/start/platforms/android/activateWindow.js package.json via expo-linear-gradient@11.4.0
@expo/cli@0.6.2 (added) child_process build/src/start/platforms/android/ADBServer.js package.json via expo-linear-gradient@11.4.0
@expo/cli@0.6.2 (added) child_process build/src/start/platforms/ios/simctlLogging.js package.json via expo-linear-gradient@11.4.0
@expo/cli@0.6.2 (added) child_process build/src/utils/getRunningProcess.js package.json via expo-linear-gradient@11.4.0
@expo/dev-server@0.2.3 (added) child_process build/LaunchBrowserImplMacOS.js package.json via expo-linear-gradient@11.4.0
@expo/devcert@1.1.0 (added) child_process dist/platforms/shared.js package.json via expo-linear-gradient@11.4.0
@expo/devcert@1.1.0 (added) child_process dist/utils.js package.json via expo-linear-gradient@11.4.0
@expo/package-manager@1.0.1 (added) child_process build/utils/yarn.js package.json via expo-linear-gradient@11.4.0
@react-native-community/cli@10.2.2 (upgraded) child_process build/index.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
@react-native-community/cli@10.2.2 (upgraded) child_process build/tools/yarn.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
@react-native-community/cli-platform-ios@10.2.1 (upgraded) child_process build/commands/buildIOS/buildProject.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
@react-native-community/cli-platform-ios@10.2.1 (upgraded) child_process build/commands/runIOS/index.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
@react-native-community/cli-platform-ios@10.2.1 (upgraded) child_process build/tools/getDestinationSimulator.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
babel-plugin-istanbul@6.1.1 (added) child_process lib/index.js package.json via @storybook/addon-essentials@7.0.0, babel-jest@28.1.3, jest@28.1.3
better-opn@3.0.2 (upgraded) child_process dist/index.js package.json via expo-linear-gradient@11.4.0
command-exists@1.2.9 (added) child_process lib/command-exists.js package.json via expo-linear-gradient@11.4.0, native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
command-exists@1.2.9 (added) child_process lib/command-exists.js package.json via expo-linear-gradient@11.4.0, native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
commander@2.13.0 (upgraded) child_process index.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
commander@2.20.3 (upgraded) child_process index.js package.json via @storybook/react-webpack5@7.0.0, babel-loader@9.1.2, native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0, webpack@5.77.0
commander@7.2.0 (upgraded) child_process index.js package.json via expo-linear-gradient@11.4.0
commander@9.5.0 (upgraded) child_process lib/command.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
cross-spawn@7.0.3 (added) child_process index.js package.json via @react-native-community/eslint-config@3.2.0, @storybook/react-webpack5@7.0.0, auto@10.43.0, chromatic@6.17.2, eslint@8.37.0, eslint-plugin-ft-flow@2.0.3, eslint-plugin-prettier@4.2.1, eslint-plugin-storybook@0.6.11, jest@28.1.3, storybook@7.0.0
envinfo@7.8.1 (added) child_process dist/envinfo.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0, storybook@7.0.0
esbuild@0.17.14 (upgraded) child_process install.js package.json via @storybook/addon-essentials@7.0.0, @storybook/react@7.0.0, @storybook/react-webpack5@7.0.0, storybook@7.0.0
esbuild@0.17.14 (upgraded) child_process lib/main.js package.json via @storybook/addon-essentials@7.0.0, @storybook/react@7.0.0, @storybook/react-webpack5@7.0.0, storybook@7.0.0
exec-async@2.2.0 (added) child_process index.js package.json via expo-linear-gradient@11.4.0
execa@5.1.1 (added) child_process index.js package.json via auto@10.43.0, jest@28.1.3, storybook@7.0.0
fb-watchman@2.0.2 (added) child_process index.js package.json via @storybook/addon-essentials@7.0.0, babel-jest@28.1.3, jest@28.1.3, native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
gitlog@4.0.4 (added) child_process dist/gitlog.cjs.development.js package.json via auto@10.43.0
gitlog@4.0.4 (added) child_process dist/gitlog.cjs.production.min.js package.json via auto@10.43.0
gitlog@4.0.4 (added) child_process dist/gitlog.esm.js package.json via auto@10.43.0
jake@10.8.5 (added) child_process jake-v10.8.5/jakefile.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/lib/package_task.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/lib/publish_task.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/lib/utils/index.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/concurrent.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/file_task.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/file.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/helpers.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/jakelib/rule.jake.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/publish_task.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/rule.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/selfdep.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/task_base.js package.json via storybook@7.0.0
jake@10.8.5 (added) child_process jake-v10.8.5/test/integration/task_base.js package.json via storybook@7.0.0
jest-haste-map@28.1.3 (upgraded) child_process build/crawlers/node.js package.json via babel-jest@28.1.3, jest@28.1.3
jest-haste-map@28.1.3 (upgraded) child_process build/lib/isWatchmanInstalled.js package.json via babel-jest@28.1.3, jest@28.1.3
jest-worker@27.5.1 (upgraded) child_process build/workers/ChildProcessWorker.js package.json via @storybook/react-webpack5@7.0.0, babel-loader@9.1.2, native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0, webpack@5.77.0
jscodeshift@0.14.0 (upgraded) child_process dist/Runner.js package.json via storybook@7.0.0
jscodeshift@0.14.0 (upgraded) child_process src/Runner.js package.json via storybook@7.0.0
logkitty@0.7.1 (added) child_process build/android/adb.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
logkitty@0.7.1 (added) child_process build/ios/simulator.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
metro-file-map@0.73.9 (upgraded) child_process src/crawlers/node.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
metro-file-map@0.73.9 (upgraded) child_process src/lib/checkWatchmanCapabilities.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
open@8.4.2 (upgraded) child_process index.js package.json via expo-linear-gradient@11.4.0
osenv@0.1.5 (added) child_process osenv.js package.json via expo-linear-gradient@11.4.0
ps-tree@1.2.0 (added) child_process index.js package.json via zx@6.2.5
requireg@0.2.2 (added) child_process lib/resolvers.js package.json via auto@10.43.0, expo-linear-gradient@11.4.0
shelljs@0.8.5 (added) child_process src/exec-child.js package.json via storybook@7.0.0
shelljs@0.8.5 (added) child_process src/exec.js package.json via storybook@7.0.0
sudo-prompt@8.2.5 (added) child_process index.js package.json via expo-linear-gradient@11.4.0
sudo-prompt@8.2.5 (added) child_process test-concurrent.js package.json via expo-linear-gradient@11.4.0
sudo-prompt@8.2.5 (added) child_process test.js package.json via expo-linear-gradient@11.4.0
sudo-prompt@9.1.1 (added) child_process index.js package.json via expo-linear-gradient@11.4.0
sudo-prompt@9.1.1 (added) child_process test-concurrent.js package.json via expo-linear-gradient@11.4.0
sudo-prompt@9.1.1 (added) child_process test.js package.json via expo-linear-gradient@11.4.0
sudo-prompt@9.2.1 (added) child_process index.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
sudo-prompt@9.2.1 (added) child_process test-concurrent.js package.json via native-base@3.4.28, react-native@0.71.5, react-native-gesture-handler@2.9.0, react-native-paper@4.12.5, react-native-reanimated@2.14.4, react-native-safe-area-context@4.5.0, react-native-screens@3.20.0, react-native-svg@13.9.0
sudo-prompt@9.2.1 (added) child_process [test.js](https://socket.dev/npm/package/sudo-prompt/f
dannyhw commented 1 year ago

Thanks @JReinhold 🙏

JReinhold commented 1 year ago

Two of the stories seems to be 1px higher than the baseline in Chromatic? 😵‍💫