Skip to content

Commit f46bb24

Browse files
authored
Cross platform package.json (#546)
1 parent 5ecbebd commit f46bb24

File tree

4 files changed

+924
-3
lines changed

4 files changed

+924
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Fixed
1010
- [#539](https://github.com/equinor/webviz-config/pull/539) - Support using OAuth behind proxy. If silent refresh of OAuth token fails, fall back to loud refresh of token instead of raising internal server error.
1111
- [#550](https://github.com/equinor/webviz-config/pull/550) - Change user data directory on Windows from `Application Data` to `AppData` (both work on Windows 10, but only the latter works on Windows 11).
12+
- [#546](https://github.com/equinor/webviz-config/pull/546) - Replaced `cp` with `copyfiles` in `package.json`'s `postinstall` script and added note to `README`.
1213

1314
## [0.3.6] - 2021-11-08
1415

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ can do something along the lines of:
5252
```bash
5353
git clone git@github.com:equinor/webviz-config.git
5454
cd ./webviz-config
55-
npm ci --ignore-scripts && npm run postinstall
55+
npm ci --ignore-scripts
56+
# NOTE: If you are on Windows, make sure to first set `npm`'s default `script-shell` to `powershell` by running
57+
# npm config set script-shell powershell
58+
npm run postinstall
5659
pip install -e .
5760
```
5861

0 commit comments

Comments
 (0)