Skip to content

Commit

Permalink
Update dependency version range to accept Lit v2 (#4299)
Browse files Browse the repository at this point in the history
Affected packages:
- '@lit-labs/scoped-registry-mixin': patch
- '@lit-labs/preact-signals': patch
- '@lit-labs/observers': patch
- '@lit/localize-tools': patch
- '@lit-labs/motion': patch
- '@lit-labs/router': patch
- '@lit/localize': patch
  • Loading branch information
augustjk committed Oct 18, 2023
1 parent c05767c commit fffa440
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 35 deletions.
11 changes: 11 additions & 0 deletions .changeset/thick-colts-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@lit-labs/scoped-registry-mixin': patch
'@lit-labs/preact-signals': patch
'@lit-labs/observers': patch
'@lit/localize-tools': patch
'@lit-labs/motion': patch
'@lit-labs/router': patch
'@lit/localize': patch
---

Update version range for `lit` dependency to include v2 (and/or `@lit/reactive-element` v1). This allows projects still on lit v2 to use this package without being forced to install lit v3.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/labs/motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
},
"author": "Google LLC",
"devDependencies": {
"@types/trusted-types": "^2.0.2",
"@lit-internal/scripts": "^1.0.1-pre.0"
"@lit-internal/scripts": "^1.0.1",
"@types/trusted-types": "^2.0.2"
},
"dependencies": {
"lit": "^3.0.0"
"lit": "^2.0.0 || ^3.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/labs/observers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@
},
"author": "Google LLC",
"devDependencies": {
"@types/trusted-types": "^2.0.2",
"@lit-internal/scripts": "^1.0.1-pre.0"
"@lit-internal/scripts": "^1.0.1",
"@types/trusted-types": "^2.0.2"
},
"dependencies": {
"@lit/reactive-element": "^2.0.0"
"@lit/reactive-element": "^1.0.0 || ^2.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/labs/preact-signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@
},
"author": "Google LLC",
"devDependencies": {
"@lit-internal/scripts": "^1.0.1-pre.0"
"@lit-internal/scripts": "^1.0.1"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"lit": "^3.0.0",
"@preact/signals-core": "^1.3.0"
"@preact/signals-core": "^1.3.0",
"lit": "^2.0.0 || ^3.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/labs/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@
},
"author": "Google LLC",
"devDependencies": {
"@lit-internal/scripts": "^1.0.1-pre.0",
"@lit-labs/testing": "^0.2.2-pre.0",
"@lit-internal/scripts": "^1.0.1",
"@lit-labs/testing": "^0.2.2",
"@types/trusted-types": "^2.0.2",
"urlpattern-polyfill": "^5.0.5"
},
"dependencies": {
"lit": "^3.0.0"
"lit": "^2.0.0 || ^3.0.0"
}
}
8 changes: 4 additions & 4 deletions packages/labs/scoped-registry-mixin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@
},
"author": "Google LLC",
"dependencies": {
"@lit/reactive-element": "^2.0.0",
"lit": "^3.0.0"
"@lit/reactive-element": "^1.0.0 || ^2.0.0",
"lit": "^2.0.0 || ^3.0.0"
},
"devDependencies": {
"@lit-internal/scripts": "^1.0.1",
"@types/trusted-types": "^2.0.2",
"@webcomponents/scoped-custom-element-registry": "^0.0.5",
"@lit-internal/scripts": "^1.0.1-pre.0"
"@webcomponents/scoped-custom-element-registry": "^0.0.5"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/localize-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@
],
"dependencies": {
"@lit/localize": "^0.12.0",
"@parse5/tools": "^0.3.0",
"@xmldom/xmldom": "^0.8.2",
"fast-glob": "^3.2.7",
"fs-extra": "^10.0.0",
"jsonschema": "^1.4.0",
"lit": "^3.0.0",
"lit": "^2.0.0 || ^3.0.0",
"minimist": "^1.2.5",
"@parse5/tools": "^0.3.0",
"parse5": "^7.1.1",
"source-map-support": "^0.5.19",
"typescript": "~5.2.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/localize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"/init/"
],
"dependencies": {
"@lit/reactive-element": "^2.0.0",
"lit": "^3.0.0"
"@lit/reactive-element": "^1.0.0 || ^2.0.0",
"lit": "^2.0.0 || ^3.0.0"
}
}

0 comments on commit fffa440

Please sign in to comment.