0.0.10 • Published 3 years ago
update-webpd v0.0.10
update-webpd
Install
- Install yarn
- Ubuntu
- should already be installed
- https://classic.yarnpkg.com/en/docs/install/#debian-stable
- Windows: https://classic.yarnpkg.com/en/docs/install/#windows-stable
Install Node.js
- https://nodejs.org/en/download/
- Ubuntu: should already be installed
Install update-webpd
yarn global add update-webpd
Usage
Update a toolkit's CSS in one command
update-webpd <toolkit> <thing being updated>
For example
update-webpd workplace css
Supported toolkits
workplace
(orwpt
)workstream-toolkit
(orrwft
)workstream-runtime-toolkit
(orrwfrt
)
Supported second parameter
css
(orless
)
Flags
--debug
(or-d
) for seeing what the script is doing- turns off Chrome headless mode
TODOS
- XML files (changing views)
- ask for the changed files (if not provided by a param) (multi select with search?) (nice to have, hardcode it at first)
- create a snapshot
- download it
- get the right XML file (look it up in package.xml)
- get the package
- Download the package from github.ibm.com instead of the public NPM repo
- npm i -g git+ssh://git@github.ibm.com:fullchee-zhang/update-webpd.git