Skip to content

Commit

Permalink
fix: upgrade to lit 2.0.0 (#11898) (#11909)
Browse files Browse the repository at this point in the history
* fix: upgrade to lit 2.0.0

* upgrade fusion and common packages

Co-authored-by: haijian <[email protected]>

Co-authored-by: Artur <[email protected]>
  • Loading branch information
haijian-vaadin and Artur- authored Sep 27, 2021
1 parent 30ba6bb commit 3dd1045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static Map<String, String> getDefaultDependencies() {

defaults.put("@polymer/polymer", POLYMER_VERSION);

defaults.put("lit", "2.0.0-rc.4");
defaults.put("lit", "2.0.0");

// Constructable style sheets is only implemented for chrome,
// polyfill needed for FireFox et.al. at the moment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public void generateVersionsJson_versionsGeneratedFromPackageJson_containsBothDe
"{"
+ "\"vaadin\": {"
+ "\"dependencies\": {"
+ "\"lit\": \"2.0.0-rc.4\","
+ "\"lit\": \"2.0.0\","
+ "\"@vaadin/router\": \"1.7.4\","
+ "\"@polymer/polymer\": \"3.2.0\","
+ "},"
Expand All @@ -429,7 +429,7 @@ public void generateVersionsJson_versionsGeneratedFromPackageJson_containsBothDe
+ "}"
+ "},"
+ "\"dependencies\": {"
+ "\"lit\": \"2.0.0-rc.4\","
+ "\"lit\": \"2.0.0\","
+ "\"@vaadin/router\": \"1.7.4\","
+ "\"@polymer/polymer\": \"3.2.0\","
+ "},"
Expand All @@ -450,8 +450,7 @@ public void generateVersionsJson_versionsGeneratedFromPackageJson_containsBothDe
final JsonObject versionsJson = Json.parse(FileUtils.readFileToString(
generatedVersionsFile, StandardCharsets.UTF_8));
Assert.assertEquals(
"{" + "\"lit\":\"2.0.0-rc.4\","
+ "\"@vaadin/router\":\"1.7.4\","
"{" + "\"lit\":\"2.0.0\"," + "\"@vaadin/router\":\"1.7.4\","
+ "\"@polymer/polymer\":\"3.2.0\","
+ "\"css-loader\":\"4.2.1\","
+ "\"file-loader\":\"6.1.0\"" + "}",
Expand Down

0 comments on commit 3dd1045

Please sign in to comment.