Skip to content

Commit 5718691

Browse files
Fork samples so Lit 3 docs samples use Lit 3 pre-release (#1127)
Lit 3 pre-release docs now include samples that are using the Lit 3 pre-release, forked from v2 samples.
1 parent 9e86ce3 commit 5718691

File tree

277 files changed

+1991
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+1991
-119
lines changed
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"files": {
3-
"package.json": {
4-
"content": "{\n \"dependencies\": {\n \"lit\": \"^2.0.0\",\n \"@lit/reactive-element\": \"^1.0.0\",\n \"lit-element\": \"^3.0.0\",\n \"lit-html\": \"^2.0.0\"\n }\n}",
5-
"hidden": true
6-
}
7-
}
2+
"extends": "/samples/v2-base.json"
83
}

packages/lit-dev-content/samples/tsconfig.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@
1919
"examples/hello-world/simple-greeting.ts",
2020
// Comments in some locations get lost by TypeScript. See
2121
// https://github.com/lit/lit/issues/2158.
22-
"docs/templates/lists-arrays/my-element.ts",
23-
"docs/templates/lists-map/my-element.ts",
22+
"v2-docs/templates/lists-arrays/my-element.ts",
23+
"v2-docs/templates/lists-map/my-element.ts",
24+
"v3-docs/templates/lists-arrays/my-element.ts",
25+
"v3-docs/templates/lists-map/my-element.ts",
2426
// Mixin sample does not compile: https://github.com/lit/lit/issues/3865
25-
"docs/mixins/highlightable/**",
27+
"v2-docs/mixins/highlightable/**",
28+
"v3-docs/mixins/highlightable/**",
2629
// Intentionally doesn't compile for tutorial part.
2730
"tutorials/word-viewer/02/before/word-viewer.ts"
2831
]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"files": {
3+
"package.json": {
4+
"content": "{\n \"dependencies\": {\n \"lit\": \"^2.0.0\",\n \"@lit/reactive-element\": \"^1.0.0\",\n \"lit-element\": \"^3.0.0\",\n \"lit-html\": \"^2.0.0\"\n }\n}",
5+
"hidden": true
6+
}
7+
}
8+
}

packages/lit-dev-content/samples/docs/components/events/child/project.json renamed to packages/lit-dev-content/samples/v2-docs/components/events/child/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "/samples/base.json",
2+
"extends": "/samples/v2-base.json",
33
"files": {
44
"my-element.ts": {},
55
"index.html": {}

packages/lit-dev-content/samples/docs/components/events/comm/project.json renamed to packages/lit-dev-content/samples/v2-docs/components/events/comm/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "/samples/base.json",
2+
"extends": "/samples/v2-base.json",
33
"files": {
44
"my-dispatcher.ts": {},
55
"my-listener.ts": {},

0 commit comments

Comments
 (0)