Convert to npm#45
Conversation
| "disklet": "^0.5.1", | ||
| "react": "17.0.2", | ||
| "react-native": "0.66.3" | ||
| "react-native": "0.76.0" |
There was a problem hiding this comment.
Incomplete React Native upgrade
Medium Severity
The demo app pins react-native at 0.76.0 but still depends on react 17.0.2, leaves metro-react-native-babel-preset at 0.66.x, and the Android project still applies react-native/react.gradle. RN 0.76 expects React 18, the new Gradle plugin, and matching Metro/Babel tooling, so the README’s npm run android / npm run ios flow is likely to fail after install.
Reviewed by Cursor Bugbot for commit 662782d. Configure here.
There was a problem hiding this comment.
Out of scope for this PR. The demo app's react@17.0.2, metro-react-native-babel-preset 0.66.x, and react.gradle usage pre-date this change and are not touched by the yarn→npm conversion. The RN 0.76 toolchain alignment is a separate upgrade concern.
e4541ae to
ce4dd47
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ce4dd47. Configure here.
socket fix --all --range-style preserve --minimum-release-age 7d --no-major-updates
|
CI status: Travis is red (Bugbot itself is clean). Verified from the build log: install and
After the yarn→npm conversion, mocha is no longer loading the TypeScript register, so |
…WN_FILE_EXTENSION in tests)
|
Applied in f026e19. Pinned |


CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneDescription
noneNote
Low Risk
Tooling and documentation only; no application or library runtime logic changes in the diff.
Overview
Switches the repo from Yarn to npm for installs, CI, and contributor docs.
CI (
.travis.yml) now runsnpm ci,npm run prepare,npm run lint, andnpm run testinstead of the Yarn equivalents..yarnrcis removed; root andReactNativeDiskletTestget.npmrcwithlegacy-peer-deps=trueandignore-scripts=true(same ignore-scripts behavior Yarn had)..gitignoreno longer ignorespackage-lock.json, so the npm lockfile can be tracked.README files are updated to tell people to use
npm install/npm runinstead ofyarn.Reviewed by Cursor Bugbot for commit f026e19. Bugbot is set up for automated code reviews on this repo. Configure here.