Skip to content

Commit 5caeed6

Browse files
committed
Merge branch 'ryansolid-lit'
2 parents 95f6619 + 1d5711b commit 5caeed6

File tree

14 files changed

+407
-281
lines changed

14 files changed

+407
-281
lines changed

frameworks/keyed/lit-element/index.html renamed to frameworks/keyed/lit/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>lit-element</title>
5+
<title>Lit</title>
66
<link href="/css/currentStyle.css" rel="stylesheet"/>
77
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
88
<script async src="dist/main.js"></script>

frameworks/non-keyed/lit-element/package-lock.json renamed to frameworks/keyed/lit/package-lock.json

Lines changed: 187 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/keyed/lit-element/package.json renamed to frameworks/keyed/lit/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "js-framework-benchmark-lit-element",
3-
"version": "1.1.0",
4-
"description": "lit-element demo",
2+
"name": "js-framework-benchmark-lit",
3+
"version": "2.0.0",
4+
"description": "Lit demo",
55
"main": "index.js",
66
"js-framework-benchmark": {
7-
"frameworkVersionFromPackage": "lit-element",
7+
"frameworkVersionFromPackage": "lit",
88
"useShadowRoot": true
99
},
1010
"scripts": {
@@ -25,15 +25,15 @@
2525
},
2626
"homepage": "https://github.com/krausest/js-framework-benchmark#readme",
2727
"dependencies": {
28-
"lit-element": "^2.2.1"
28+
"lit": "^2.0.0-rc.1"
2929
},
3030
"devDependencies": {
31-
"@rollup/plugin-node-resolve": "^7.1.1",
32-
"rollup": "1.12.3",
33-
"rollup-plugin-minify-html-literals": "^1.2.2",
34-
"rollup-plugin-terser": "5.0.0",
35-
"rollup-plugin-typescript2": "^0.26.0",
36-
"tslib": "^1.11.1",
37-
"typescript": "^3.8.3"
31+
"@rollup/plugin-node-resolve": "^11.2.1",
32+
"rollup": "2.45.2",
33+
"rollup-plugin-minify-html-literals": "^1.2.6",
34+
"rollup-plugin-terser": "7.0.2",
35+
"rollup-plugin-typescript2": "^0.30.0",
36+
"tslib": "^2.2.0",
37+
"typescript": "^4.2.4"
3838
}
3939
}

frameworks/keyed/lit-element/src/main.ts renamed to frameworks/keyed/lit/src/main.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { LitElement, html, customElement, property } from 'lit-element';
2-
import { repeat } from 'lit-html/directives/repeat';
1+
import { LitElement, html } from "lit";
2+
import { property, customElement } from "lit/decorators.js";
3+
import { repeat } from "lit/directives/repeat.js";
34
import { Store } from './store';
45

56
const store = new Store();
@@ -19,7 +20,7 @@ export class MainElement extends LitElement {
1920
<div class="jumbotron">
2021
<div class="row">
2122
<div class="col-md-6">
22-
<h1>lit-element keyed</h1>
23+
<h1>Lit keyed</h1>
2324
</div>
2425
<div class="col-md-6">
2526
<div class="row">

frameworks/non-keyed/lit-element/index.html renamed to frameworks/non-keyed/lit/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>lit-element</title>
5+
<title>Lit</title>
66
<link href="/css/currentStyle.css" rel="stylesheet"/>
77
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
88
<script async src="dist/main.js"></script>

0 commit comments

Comments
 (0)