Skip to content

Commit 7bbea72

Browse files
committed
chore: update nodejs version to 18.x
1 parent 3761205 commit 7bbea72

File tree

8 files changed

+21
-5
lines changed

8 files changed

+21
-5
lines changed

.github/actions/setup-node/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
- name: Setup Node
1414
uses: buildjet/setup-node@v3
1515
with:
16-
node-version: 16.20.1
16+
node-version: 18.17.0
1717
# See https://github.com/actions/setup-node#caching-global-packages-data
1818
cache: "yarn"
1919
cache-dependency-path: ${{ inputs.directory }}/yarn.lock

dogfood/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygi
190190
# Install frontend utilities
191191
RUN apt-get update && \
192192
# Node.js (from nodesource) and Yarn (from yarnpkg)
193+
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
193194
apt-get install --yes --quiet \
194195
nodejs yarn \
195196
# Install browsers for e2e testing

offlinedocs/.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
save-exact=true
2+
engine-strict=true

offlinedocs/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,18 @@
3232
"remark-gfm": "3.0.1"
3333
},
3434
"devDependencies": {
35-
"@react-native-community/eslint-config": "^3.2.0",
36-
"@react-native-community/eslint-plugin": "^1.3.0",
35+
"@react-native-community/eslint-config": "3.2.0",
36+
"@react-native-community/eslint-plugin": "1.3.0",
3737
"@types/node": "18.0.0",
3838
"@types/react": "18.2.15",
3939
"@types/react-dom": "18.2.7",
4040
"eslint": "8.45.0",
4141
"eslint-config-next": "13.4.10",
4242
"prettier": "3.0.0",
4343
"typescript": "4.7.3"
44+
},
45+
"engines" : {
46+
"npm" : ">=9.0.0 <10.0.0",
47+
"node" : ">=18.0.0 <19.0.0"
4448
}
4549
}

offlinedocs/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@
13771377
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f"
13781378
integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==
13791379

1380-
"@react-native-community/eslint-config@^3.2.0":
1380+
"@react-native-community/eslint-config@3.2.0":
13811381
version "3.2.0"
13821382
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-config/-/eslint-config-3.2.0.tgz#42f677d5fff385bccf1be1d3b8faa8c086cf998d"
13831383
integrity sha512-ZjGvoeiBtCbd506hQqwjKmkWPgynGUoJspG8/MuV/EfKnkjCtBmeJvq2n+sWbWEvL9LWXDp2GJmPzmvU5RSvKQ==
@@ -1396,7 +1396,7 @@
13961396
eslint-plugin-react-hooks "^4.6.0"
13971397
eslint-plugin-react-native "^4.0.0"
13981398

1399-
"@react-native-community/eslint-plugin@^1.1.0", "@react-native-community/eslint-plugin@^1.3.0":
1399+
"@react-native-community/eslint-plugin@1.3.0", "@react-native-community/eslint-plugin@^1.1.0":
14001400
version "1.3.0"
14011401
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.3.0.tgz#9e558170c106bbafaa1ef502bd8e6d4651012bf9"
14021402
integrity sha512-+zDZ20NUnSWghj7Ku5aFphMzuM9JulqCW+aPXT6IfIXFbb8tzYTTOSeRFOtuekJ99ibW2fUCSsjuKNlwDIbHFg==

site/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
save-exact=true
2+
engine-strict=true

site/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,9 @@
170170
"resolutions": {
171171
"optionator": "0.9.3",
172172
"semver": "7.5.3"
173+
},
174+
"engines" : {
175+
"npm" : ">=9.0.0 <10.0.0",
176+
"node" : ">=18.0.0 <19.0.0"
173177
}
174178
}

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+

0 commit comments

Comments
 (0)