Skip to content

Commit 1f26f38

Browse files
committed
fix: added lit-functions as a deps so we can use yarn link
1 parent 5569f2d commit 1f26f38

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

js-component-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"lit": "^3.1.2",
13-
"lit-functions": "../lit-functions-v1.0.0.tgz"
13+
"lit-functions": "^1.0.0"
1414
},
1515
"devDependencies": {
1616
"vite": "^5.2.0"

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@
66
"module": "dist/index.js",
77
"types": "dist/index.d.ts",
88
"license": "MIT",
9+
"private": true,
910
"workspaces": [
1011
"ts-component-tests",
1112
"js-component-tests"
1213
],
1314
"homepage": "https://github.com/icsaba/lit-functions",
14-
"repository": {
15-
"type": "git",
16-
"url": "git+https://github.com/icsaba/lit-functions.git"
17-
},
15+
"repository": "https://github.com/icsaba/lit-functions.git",
1816
"files": [
1917
"dist"
2018
],

ts-component-tests/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"lit": "^3.1.2"
12+
"lit": "^3.1.2",
13+
"lit-functions": "^1.0.0"
1314
},
1415
"devDependencies": {
1516
"typescript": "^5.2.2",

ts-component-tests/src/my-element.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { html, css, PropertyValues } from "lit";
22
import litLogo from './assets/lit.svg'
33
import viteLogo from '/vite.svg'
4-
import component, { Props } from "../../src";
4+
import component, { Props } from "lit-functions";
55

66
const style = css`
77
:host {

yarn.lock

+7
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,13 @@ lit-element@^4.0.4:
16371637
"@lit/reactive-element" "^2.0.4"
16381638
lit-html "^3.1.2"
16391639

1640+
lit-functions@^1.0.0:
1641+
version "1.0.0"
1642+
resolved "https://registry.yarnpkg.com/lit-functions/-/lit-functions-1.0.0.tgz#baec933f269d9213880af306f728507cee49231d"
1643+
integrity sha512-EPDPBy33kWuOjhuS1OLLcM9vfMCPB0wcGZWP+SHQPs3gj8r3ikZ0DxsesZIfwvgQZ0Xd2c7Aordsm5FTKmVkew==
1644+
dependencies:
1645+
lit "^3.1.4"
1646+
16401647
"lit-html@^2.0.0 || ^3.0.0", lit-html@^3.1.2:
16411648
version "3.1.4"
16421649
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.1.4.tgz#30ad4f11467a61e2f08856de170e343184e9034e"

0 commit comments

Comments
 (0)