Update stripes-cli to v2
Description
Environment
None
Potential Workaround
None
relates to
Checklist
hideTestRail: Results
Activity
Show:

Michal Kuklis February 10, 2021 at 4:25 PM
I accidentally upgraded it while working on https://folio-org.atlassian.net/browse/UISP-23
Done
Details
Details
Assignee

Reporter
Priority
Development Team
None
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 8, 2021 at 1:52 PM
Updated February 24, 2021 at 10:48 PM
Resolved February 10, 2021 at 4:25 PM
TestRail: Cases
TestRail: Runs
Description: Update the
stripes-cli
dev-dep to^2.0.0
Details: This should be a low-effort upgrade, literally just bumping the major version in the
package.json
.stripes-cli
v1
had a direct dependency onstripes-core
and an undocumented, internal, peer-dependency onstripes-components
; both have been removed and replaced with a direct-dep onstripes-webpack
. The change in the peer-dependency is the cause for the major-version upgrade.Please note: if you use a global install of
stripes-cli
for serving or testing your app, e.g. viastripes serve
orstripes-test
, you should stop doing that and instead handle serving and testing via your app's stated dev-dependencies, i.e.yarn stripes serve
oryarn stripes test
. It is perfectly fine to installstripes-cli
globally and to use that install to, e.g. query okapi, but tasks related to app development must be handled via the app's dev-dependencies in order to be reliable.