Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcd1cc1

Browse files
authored
Upgrade packages and Node versions. (trekhleb#989)
* Upgrade to Node 16* Upgrade packages and Node versions.
1 parent1d6249d commitbcd1cc1

File tree

7 files changed

+11859
-2368
lines changed

7 files changed

+11859
-2368
lines changed

‎.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"settings": {
1616
"react": {
17-
"version": "latest"
17+
"version": "18.2.0"
1818
}
1919
}
2020
}

‎.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on:ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version:[14.x ]
14+
node-version:[16.x ]
1515

1616
steps:
1717
-name:Checkout repository

‎.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14
1+
v16.15.0

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ rm -rf ./node_modules
287287
npm i
288288
```
289289

290-
Also make sure that you're using a correct Node version (`>=14.16.0`). If you're using[nvm](https://github.com/nvm-sh/nvm) for Node version management you may run`nvm use` from the root folder of the project and the correct version will be picked up.
290+
Also make sure that you're using a correct Node version (`>=16`). If you're using[nvm](https://github.com/nvm-sh/nvm) for Node version management you may run`nvm use` from the root folder of the project and the correct version will be picked up.
291291

292292
**Playground**
293293

‎jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ module.exports = {
2424
// This option sets the URL for the jsdom environment.
2525
// It is reflected in properties such as location.href.
2626
//@see: https://github.com/facebook/jest/issues/6769
27-
testURL:'http://localhost/',
27+
testEnvironmentOptions:{
28+
url:'http://localhost/',
29+
},
2830

2931
//@see: https://jestjs.io/docs/en/configuration#coveragethreshold-object
3032
coverageThreshold:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp