Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
stripes-force Sprint 51, stripes-force Sprint 52
-
3
-
Stripes Force
Description
When creating an app or workspace, dynamically include the CLI as a devDependency of the app and workspace's package.json.
"devDependencies": { "@folio/stripes-cli": "^1.5.0" }
Dynamically apply the current CLI version to the template, rather than hard-coding it these areas:
The current CLI version can be obtained by the CLI's own package.json (see example of use in the status command). However, only use the major and minor version when applying to the app and workspace templates. Set the patch version to zero. This is to guard against inflated patch/build numbers like 1.6.1000132 present in the npm-folioci registry.
Examples:
Given package.json has version 1.6.0, use 1.6.0 in the template
Given package.json has version 1.6.1000132, use 1.6.0 in the template
TestRail: Results
Attachments
Issue Links
- relates to
-
STCLI-121 Workspace command cannot find module '../package.json'
-
- Closed
-
-
UXPROD-1293 Q4 2018 General UX Enhancements
-
- Closed
-