Skip to content

Commit f9631fa

Browse files
committed
refactor: added a lit-functions workspace
1 parent aa475b8 commit f9631fa

12 files changed

+40
-9
lines changed

lit-functions/package.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "lit-functions",
3+
"version": "1.0.0",
4+
"description": "Functional components for lit-elements.",
5+
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"license": "MIT",
9+
"homepage": "https://github.com/icsaba/lit-functions",
10+
"repository": "https://github.com/icsaba/lit-functions.git",
11+
"files": [
12+
"dist"
13+
],
14+
"scripts": {
15+
"test:unit": "vitest --environment=jsdom",
16+
"build": "tsc"
17+
},
18+
"dependencies": {
19+
"lit": "^3.1.4"
20+
},
21+
"devDependencies": {
22+
"@open-wc/testing": "^4.0.0",
23+
"jsdom": "^24.1.0",
24+
"typescript": "^5.4.5",
25+
"vitest": "^1.6.0"
26+
},
27+
"keywords": [
28+
"webcomponents",
29+
"lit-element",
30+
"lit-hooks",
31+
"lit-functions",
32+
"lit function components"
33+
]
34+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
{
2-
"name": "lit-functions",
2+
"name": "lit-functions-repo",
33
"version": "1.0.0",
44
"description": "Functional components for lit-elements.",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
77
"types": "dist/index.d.ts",
88
"license": "MIT",
9+
"private": true,
910
"workspaces": [
1011
"ts-component-tests",
11-
"js-component-tests"
12-
],
13-
"homepage": "https://github.com/icsaba/lit-functions",
14-
"repository": "https://github.com/icsaba/lit-functions.git",
15-
"files": [
16-
"dist"
12+
"js-component-tests",
13+
"lit-functions"
1714
],
1815
"scripts": {
1916
"start:app:ts": "yarn workspace ts-component-tests dev",
2017
"start:app:js": "yarn workspace js-component-tests dev",
21-
"test:unit": "vitest --environment=jsdom",
22-
"build": "tsc"
18+
"test:unit": "yarn workspace lit-functions vitest --environment=jsdom",
19+
"build": "yarn workspace lit-functions build"
2320
},
2421
"dependencies": {
2522
"lit": "^3.1.4"

0 commit comments

Comments
 (0)