Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/install-without-peer-autoinstall.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @reactivapp/cli

## 0.9.0

### Minor Changes

- 3ea83db: One `npm install` for the whole project, and no more peers arriving uninvited.

The app template now lists `app/` as an npm workspace of the project root, so `reactiv app init` and `reactiv app upgrade` run a single `npm install` at the root that installs the library's dependencies and the shell's platform into one `node_modules`. Adding a package is one command at the root; `app/package.json` pins the platform and declares nothing else, and the sync check reports a library package that still appears there instead of asking you to mirror it. The installed-version, nested-copy, podspec and lockfile checks read the root tree and the root `package-lock.json`.

Every install also runs with `--legacy-peer-deps`, and the managed block the CLI writes into the project's `.npmrc` files sets `legacy-peer-deps=true` so your own `npm install` behaves the same way: npm no longer pulls in packages that a transitive dependency names as a peer. A fresh scaffold was failing with ERESOLVE when such a peer's newest release conflicted with the platform's `react-native`, even though nothing in the project used it.

Projects scaffolded before this release do not list the workspace; the CLI says so and asks for a fresh `reactiv app init`, into which `src/` moves unchanged. This release needs an app template that carries the workspace; an older template is refused at `init` with the same hint.

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactivapp/cli",
"version": "0.8.0",
"version": "0.9.0",
"description": "Reactiv Plus CLI — scaffold, run, upgrade, and submit customizations for your Reactiv mobile app",
"license": "UNLICENSED",
"repository": {
Expand Down
Loading