Skip to content

Commit 445ceb7

Browse files
committed
Update to TypeScript 5 and Inversify 6
Declare inversify as peerDependency
1 parent 394db1d commit 445ceb7

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"source-map-loader": "^4.0.1",
2121
"style-loader": "^3.3.1",
2222
"ts-loader": "^9.4.2",
23-
"typescript": "~4.8.4",
23+
"typescript": "~5.0.4",
2424
"webpack": "^5.75.0",
2525
"webpack-cli": "^5.0.1"
2626
},

examples/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const config = {
4040

4141
plugins: [
4242
new CircularDependencyPlugin({
43-
exclude: /node_modules\/inversify/,
43+
exclude: /inversify/,
4444
failOnError: true
4545
})
4646
],

packages/sprotty-elk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"sprotty-protocol": "^0.13.0"
4343
},
4444
"optionalDependencies": {
45-
"inversify": "^5.1.1"
45+
"inversify": "~6.0.1"
4646
},
4747
"devDependencies": {
4848
"@types/chai": "^4.3.4",
@@ -60,7 +60,7 @@
6060
"rimraf": "^3.0.2",
6161
"semver": "^7.3.8",
6262
"ts-mocha": "^10.0.0",
63-
"typescript": "~4.8.4"
63+
"typescript": "~5.0.4"
6464
},
6565
"scripts": {
6666
"prepare": "yarn run clean && yarn run build",

packages/sprotty-protocol/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"rimraf": "^3.0.2",
4242
"semver": "^7.3.8",
4343
"ts-mocha": "^10.0.0",
44-
"typescript": "~4.8.4"
44+
"typescript": "~5.0.4"
4545
},
4646
"scripts": {
4747
"prepare": "yarn run clean && yarn run build",

packages/sprotty/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@
5151
"url": "https://github.com/eclipse/sprotty",
5252
"directory": "packages/sprotty"
5353
},
54+
"peerDependencies": {
55+
"inversify": "~6.0.1"
56+
},
5457
"dependencies": {
5558
"autocompleter": "^7.0.1",
5659
"file-saver": "^2.0.5",
57-
"inversify": "^5.1.1",
5860
"snabbdom": "^3.5.1",
5961
"sprotty-protocol": "^0.13.0",
6062
"tinyqueue": "^2.0.3"
@@ -78,7 +80,7 @@
7880
"semver": "^7.3.8",
7981
"snabbdom-to-html": "^7.1.0",
8082
"ts-mocha": "^10.0.0",
81-
"typescript": "~4.8.4"
83+
"typescript": "~5.0.4"
8284
},
8385
"scripts": {
8486
"prepare": "yarn run clean && yarn run build",

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3310,10 +3310,10 @@ interpret@^3.1.1:
33103310
resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4"
33113311
integrity sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==
33123312

3313-
inversify@^5.1.1:
3314-
version "5.1.1"
3315-
resolved "https://registry.yarnpkg.com/inversify/-/inversify-5.1.1.tgz#6fbd668c591337404e005a1946bfe0d802c08730"
3316-
integrity sha512-j8grHGDzv1v+8T1sAQ+3boTCntFPfvxLCkNcxB1J8qA0lUN+fAlSyYd+RXKvaPRL4AGyPxViutBEJHNXOyUdFQ==
3313+
inversify@~6.0.1:
3314+
version "6.0.1"
3315+
resolved "https://registry.yarnpkg.com/inversify/-/inversify-6.0.1.tgz#b20d35425d5d8c5cd156120237aad0008d969f02"
3316+
integrity sha512-B3ex30927698TJENHR++8FfEaJGqoWOgI6ZY5Ht/nLUsFCwHn6akbwtnUAPCgUepAnTpe2qHxhDNjoKLyz6rgQ==
33173317

33183318
ip@^2.0.0:
33193319
version "2.0.0"
@@ -6094,10 +6094,10 @@ typedarray@^0.0.6:
60946094
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
60956095
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
60966096

6097-
typescript@~4.8.4:
6098-
version "4.8.4"
6099-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6"
6100-
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==
6097+
typescript@~5.0.4:
6098+
version "5.0.4"
6099+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
6100+
integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==
61016101

61026102
uglify-js@^3.1.4:
61036103
version "3.17.4"

0 commit comments

Comments
 (0)