Skip to content

Commit ed1488a

Browse files
committed
docs: update examples to use 0.4.x
1 parent 6c2e255 commit ed1488a

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121
- uses: actions/setup-node@v1
22-
- run: npm install && npm install -g @lhci/cli@0.3.x
22+
- run: npm install && npm install -g @lhci/cli@0.4.x
2323
- run: npm run build
2424
- run: lhci autorun --upload.target=temporary-public-storage
2525
```

docs/complex-setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
npm run deploy
2626

27-
npm install -g @lhci/cli@0.3.x
27+
npm install -g @lhci/cli@0.4.x
2828
lhci healthcheck --fatal
2929
lhci collect --url=http://localhost:9000/index.html
3030
lhci assert --preset="lighthouse:recommended"
@@ -121,7 +121,7 @@ Now that we have our environment ready, time to run Lighthouse CI. The `collect`
121121
122122
# Install Lighthouse CI
123123
# If you're already using node to manage your project, add it to your package.json `devDependencies` instead to skip this step.
124-
npm install -g @lhci/cli@0.3.x
124+
npm install -g @lhci/cli@0.4.x
125125

126126
# Run a healthcheck to make sure everything looks good before we run collection.
127127
lhci healthcheck --fatal

docs/getting-started.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
npm run build
9595
- name: run Lighthouse CI
9696
run: |
97-
npm install -g @lhci/cli@0.3.x
97+
npm install -g @lhci/cli@0.4.x
9898
lhci autorun
9999
```
100100
@@ -112,7 +112,7 @@ node_js: v12
112112
addons:
113113
chrome: stable
114114
before_install:
115-
- npm install -g @lhci/cli@0.3.x
115+
- npm install -g @lhci/cli@0.4.x
116116
script:
117117
- npm run build
118118
- lhci autorun
@@ -137,7 +137,7 @@ jobs:
137137
- checkout
138138
- run: npm install
139139
- run: npm run build
140-
- run: sudo npm install -g @lhci/cli@0.3.x
140+
- run: sudo npm install -g @lhci/cli@0.4.x
141141
- run: lhci autorun
142142
```
143143
@@ -172,7 +172,7 @@ lhci:
172172
script:
173173
- npm install
174174
- npm run build
175-
- npm install -g @lhci/cli@0.3.x
175+
- npm install -g @lhci/cli@0.4.x
176176
- lhci autorun --upload.target=temporary-public-storage --collect.settings.chromeFlags="--no-sandbox" || echo "LHCI failed!"
177177
```
178178

@@ -214,7 +214,7 @@ npm run build
214214
export CHROME_PATH=$(which google-chrome-stable)
215215
export LHCI_BUILD_CONTEXT__EXTERNAL_BUILD_URL="$BUILD_URL"
216216
217-
npm install -g @lhci/cli@0.3.x
217+
npm install -g @lhci/cli@0.4.x
218218
lhci autorun
219219
```
220220

@@ -380,8 +380,8 @@ Once the server is set up, _on your local laptop or desktop_, make sure you can
380380

381381
```bash
382382
$ curl https://your-lhci-server.example.com/version # Make sure you can connect to your server.
383-
0.3.13
384-
$ npm install -g @lhci/cli@0.3.x # Install the Lighthouse CI CLI.
383+
0.x.x
384+
$ npm install -g @lhci/cli@0.4.x # Install the Lighthouse CI CLI.
385385
Installing...
386386
$ lhci wizard # Use the wizard to create a project.
387387
? Which wizard do you want to run? new-project

docs/recipes/heroku-server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"main": "server.js",
55
"dependencies": {
6-
"@lhci/server": "0.3.x",
6+
"@lhci/server": "0.4.x",
77
"pg": "^7.12.1",
88
"pg-hstore": "^2.3.3"
99
}

packages/server/src/api/storage/auth.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
.replace(/[^a-z0-9]/gi, 'l');
1717
},
1818
/**
19-
* Hashes an admin token with a given salt. In v0.3.x, salt is the projectId.
19+
* Hashes an admin token with a given salt. In v0.4.x and earlier, salt is the projectId.
2020
* @param {string} token
2121
* @param {string} salt
2222
*/

0 commit comments

Comments
 (0)