Skip to content

Commit 97de8e9

Browse files
committed
chore: update typescript to 5.2.2
1 parent fd00d9a commit 97de8e9

File tree

6 files changed

+31
-20
lines changed

6 files changed

+31
-20
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ packages/plugin/webpack/test/fixtures/apps/native-modules/package-lock.json
2626
packages/plugin/fuses/test/fixture/app
2727
.links
2828
reports
29+
.idea

package.json

+5-7
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"@types/mime-types": "^2.1.0",
103103
"@types/minimist": "^1.2.0",
104104
"@types/mocha": "^9.0.0",
105-
"@types/node": "^18.0.3",
105+
"@types/node": "^20.8.10",
106106
"@types/node-fetch": "^2.5.5",
107107
"@types/progress": "^2.0.5",
108108
"@types/proxyquire": "^1.3.28",
@@ -145,7 +145,7 @@
145145
"typedoc": "^0.22.15",
146146
"typedoc-plugin-missing-exports": "^1.0.0",
147147
"typedoc-plugin-rename-defaults": "^0.6.4",
148-
"typescript": "^4.6.3",
148+
"typescript": "^5.2.2",
149149
"xvfb-maybe": "^0.2.1",
150150
"yaml-hook": "^1.0.0"
151151
},
@@ -164,11 +164,6 @@
164164
"@electron/fuses": ">=1.0.0"
165165
},
166166
"lint-staged": {
167-
"*.{html,json,md,yml}": "prettier --write",
168-
"*.{js,ts}": [
169-
"prettier --write",
170-
"eslint --fix"
171-
],
172167
"*.{json,lock}": "syncpack"
173168
},
174169
"prettier": {
@@ -185,5 +180,8 @@
185180
"packages/template/*",
186181
"packages/utils/*"
187182
]
183+
},
184+
"resolutions": {
185+
"@types/keyv": "3.1.4"
188186
}
189187
}

packages/api/core/src/util/forge-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const proxify = <T extends ProxiedObject>(buildIdentifier: string | (() => strin
4444
const envValue = process.env[`${envPrefix}_${underscoreCase(name)}`];
4545
if (envValue) return envValue;
4646
}
47-
const value = Reflect.get(target, name, receiver);
47+
const value = Reflect.get(target, name, receiver) as BuildIdentifierConfig<T>;
4848

4949
if (value && typeof value === 'object' && value.__isMagicBuildIdentifierMap) {
5050
const identifier = typeof buildIdentifier === 'function' ? buildIdentifier() : buildIdentifier;

packages/plugin/vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"devDependencies": {
1818
"@malept/cross-spawn-promise": "^2.0.0",
19-
"@types/node": "^18.0.3",
19+
"@types/node": "^20.8.10",
2020
"chai": "^4.3.3",
2121
"fs-extra": "^10.0.0",
2222
"mocha": "^9.0.1",

packages/plugin/webpack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"devDependencies": {
1414
"@malept/cross-spawn-promise": "^2.0.0",
15-
"@types/node": "^18.0.3",
15+
"@types/node": "^20.8.10",
1616
"chai": "^4.3.3",
1717
"electron-packager": "^17.1.2",
1818
"mocha": "^9.0.1",

yarn.lock

+22-10
Original file line numberDiff line numberDiff line change
@@ -3068,12 +3068,12 @@
30683068
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
30693069
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==
30703070

3071-
"@types/keyv@*":
3072-
version "4.2.0"
3073-
resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-4.2.0.tgz#65b97868ab757906f2dbb653590d7167ad023fa0"
3074-
integrity sha512-xoBtGl5R9jeKUhc8ZqeYaRDx04qqJ10yhhXYGmJ4Jr8qKpvMsDQQrNUvF/wUJ4klOtmJeJM+p2Xo3zp9uaC3tw==
3071+
"@types/keyv@*", "@types/[email protected]":
3072+
version "3.1.4"
3073+
resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6"
3074+
integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==
30753075
dependencies:
3076-
keyv "*"
3076+
"@types/node" "*"
30773077

30783078
"@types/listr@^0.14.2":
30793079
version "0.14.4"
@@ -3148,6 +3148,13 @@
31483148
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.3.tgz#463fc47f13ec0688a33aec75d078a0541a447199"
31493149
integrity sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==
31503150

3151+
"@types/node@^20.8.10":
3152+
version "20.8.10"
3153+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.10.tgz#a5448b895c753ae929c26ce85cab557c6d4a365e"
3154+
integrity sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==
3155+
dependencies:
3156+
undici-types "~5.26.4"
3157+
31513158
"@types/normalize-package-data@^2.4.0":
31523159
version "2.4.1"
31533160
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
@@ -8195,7 +8202,7 @@ just-extend@^4.0.2:
81958202
resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-4.2.1.tgz#ef5e589afb61e5d66b24eca749409a8939a8c744"
81968203
integrity sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==
81978204

8198-
keyv@*, keyv@^4.0.0:
8205+
keyv@^4.0.0:
81998206
version "4.5.0"
82008207
resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.0.tgz#dbce9ade79610b6e641a9a65f2f6499ba06b9bc6"
82018208
integrity sha512-2YvuMsA+jnFGtBareKqgANOEKe1mk3HKiXu2fRmAfyxG0MJAywNhi5ttWA3PMjl4NmpyjZNbFifR2vNjW1znfA==
@@ -12051,10 +12058,10 @@ typedoc@^0.22.15:
1205112058
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6"
1205212059
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==
1205312060

12054-
typescript@^4.6.3:
12055-
version "4.6.3"
12056-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c"
12057-
integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==
12061+
typescript@^5.2.2:
12062+
version "5.2.2"
12063+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
12064+
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
1205812065

1205912066
typescript@~4.2.4:
1206012067
version "4.2.4"
@@ -12081,6 +12088,11 @@ unbox-primitive@^1.0.2:
1208112088
has-symbols "^1.0.3"
1208212089
which-boxed-primitive "^1.0.2"
1208312090

12091+
undici-types@~5.26.4:
12092+
version "5.26.5"
12093+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
12094+
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
12095+
1208412096
unique-filename@^2.0.0:
1208512097
version "2.0.1"
1208612098
resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2"

0 commit comments

Comments
 (0)