evikit 2.14.2 → 2.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.woodpecker/test.yaml +8 -2
- package/README.md +1 -0
- package/index.css +16 -11
- package/package.json +62 -62
package/.woodpecker/test.yaml
CHANGED
|
@@ -24,13 +24,19 @@ steps:
|
|
|
24
24
|
- (cd lanquiz/node_modules; git clone ../.. evikit)
|
|
25
25
|
- (cd lanquiz; npm run build)
|
|
26
26
|
- (cd lanquiz; npm test -- --test-concurrency=1)
|
|
27
|
-
# Do other real-world applications build? 1/
|
|
27
|
+
# Do other real-world applications build? 1/3
|
|
28
28
|
- git clone https://codeberg.org/nykula/mobhub
|
|
29
29
|
- (cd mobhub; npm i)
|
|
30
30
|
- rm -rf mobhub/node_modules/evikit
|
|
31
31
|
- (cd mobhub/node_modules; git clone ../.. evikit)
|
|
32
32
|
- (cd mobhub; npm run build)
|
|
33
|
-
# Do other real-world applications build? 2/
|
|
33
|
+
# Do other real-world applications build? 2/3
|
|
34
|
+
- git clone https://codeberg.org/nykula/powerup
|
|
35
|
+
- (cd powerup; npm i)
|
|
36
|
+
- rm -rf powerup/node_modules/evikit
|
|
37
|
+
- (cd powerup/node_modules; git clone ../.. evikit)
|
|
38
|
+
- (cd powerup; npm run build)
|
|
39
|
+
# Do other real-world applications build? 3/3
|
|
34
40
|
- git clone https://codeberg.org/nykula/yoself
|
|
35
41
|
- (cd yoself; npm i)
|
|
36
42
|
- rm -rf yoself/node_modules/evikit
|
package/README.md
CHANGED
|
@@ -934,6 +934,7 @@ There's a stylesheet with a CSS reset and a small number of utility classes name
|
|
|
934
934
|
|
|
935
935
|
- [EviKit's own landing page](https://codeberg.org/nykula/create-evikit)
|
|
936
936
|
- [Lanquiz trivia game](https://codeberg.org/nykula/lanquiz)
|
|
937
|
+
- [Powerup electricity availability check](https://codeberg.org/nykula/powerup)
|
|
937
938
|
- [Yoself container monitoring tool](https://codeberg.org/nykula/yoself)
|
|
938
939
|
|
|
939
940
|
The styles are written from scratch and aren't meant to replicate Tailwind exactly, just make apps look acceptable. In particular, they use a different palette, [X11 colors](https://www.w3.org/TR/css-color-3/) as provided by CSS itself; think late 90s, not web3.
|
package/index.css
CHANGED
|
@@ -109,16 +109,6 @@ summary {
|
|
|
109
109
|
width: 100%;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.table {
|
|
113
|
-
display: table;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@media (min-width: 992px) {
|
|
117
|
-
.lg\:table {
|
|
118
|
-
display: table;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
112
|
.table thead th,
|
|
123
113
|
.lg\:table thead th {
|
|
124
114
|
font-weight: 700;
|
|
@@ -127,7 +117,7 @@ summary {
|
|
|
127
117
|
|
|
128
118
|
.table tr > *,
|
|
129
119
|
.lg\:table tr > * {
|
|
130
|
-
padding: 0.75rem;
|
|
120
|
+
padding: 0.75rem 1rem;
|
|
131
121
|
}
|
|
132
122
|
|
|
133
123
|
.table-zebra tr:nth-child(even) {
|
|
@@ -198,6 +188,11 @@ summary {
|
|
|
198
188
|
margin-right: 0;
|
|
199
189
|
}
|
|
200
190
|
|
|
191
|
+
.-mx-4 {
|
|
192
|
+
margin-left: -1rem;
|
|
193
|
+
margin-right: -1rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
201
196
|
.mx-auto {
|
|
202
197
|
margin-left: auto;
|
|
203
198
|
margin-right: auto;
|
|
@@ -520,6 +515,16 @@ summary {
|
|
|
520
515
|
grid-row: span 2;
|
|
521
516
|
}
|
|
522
517
|
|
|
518
|
+
.table {
|
|
519
|
+
display: table;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
@media (min-width: 992px) {
|
|
523
|
+
.lg\:table {
|
|
524
|
+
display: table;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
523
528
|
.text-center {
|
|
524
529
|
text-align: center;
|
|
525
530
|
}
|
package/package.json
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "evikit",
|
|
3
|
-
"description": "Preact/SQLite SSR framework for small web apps",
|
|
4
|
-
"version": "2.14.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": "./index.js",
|
|
8
|
-
"./css": "./index.css",
|
|
9
|
-
"./db": "./db.js",
|
|
10
|
-
"./server": "./server.js",
|
|
11
|
-
"./sqlite": "./sqlite.js"
|
|
12
|
-
},
|
|
13
|
-
"bin": {
|
|
14
|
-
"evikit-extract": "bin/evikit-extract.js"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"format": "prettier --write . && eslint --fix .",
|
|
19
|
-
"lint": "prettier --check . && eslint ."
|
|
20
|
-
},
|
|
21
|
-
"author": "Denys Nykula <nykula@ukr.net>",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@fastify/busboy": "^3.2.0",
|
|
25
|
-
"@types/gettext-parser": "^9.0.0",
|
|
26
|
-
"@types/gettext.js": "^2.0.0",
|
|
27
|
-
"@valibot/to-json-schema": "^1.7.0",
|
|
28
|
-
"env-paths": "^4.0.0",
|
|
29
|
-
"gettext-parser": "^9.0.2",
|
|
30
|
-
"gettext.js": "^2.0.3",
|
|
31
|
-
"preact-render-to-string": "^6.7.0"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"accept-language": "^3.0.20",
|
|
35
|
-
"esbuild": "^0.28.2",
|
|
36
|
-
"hoofd": "^1.7.3",
|
|
37
|
-
"preact": "^10.29.2",
|
|
38
|
-
"preact-iso": "^2.12.0",
|
|
39
|
-
"valibot": "^1.4.0"
|
|
40
|
-
},
|
|
41
|
-
"peerDependenciesMeta": {
|
|
42
|
-
"esbuild": {
|
|
43
|
-
"optional": true
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@eslint/compat": "^2.1.0",
|
|
48
|
-
"@eslint/js": "^10.0.1",
|
|
49
|
-
"@types/node": "^24.13.3",
|
|
50
|
-
"esbuild": "^0.28.2",
|
|
51
|
-
"eslint": "^10.4.0",
|
|
52
|
-
"eslint-config-prettier": "^10.1.8",
|
|
53
|
-
"eslint-plugin-perfectionist": "^5.9.0",
|
|
54
|
-
"globals": "^17.6.0",
|
|
55
|
-
"prettier": "^3.8.3",
|
|
56
|
-
"typescript": "^6.0.3",
|
|
57
|
-
"typescript-eslint": "^8.59.4"
|
|
58
|
-
},
|
|
59
|
-
"allowScripts": {
|
|
60
|
-
"esbuild": true
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "evikit",
|
|
3
|
+
"description": "Preact/SQLite SSR framework for small web apps",
|
|
4
|
+
"version": "2.14.3",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./index.js",
|
|
8
|
+
"./css": "./index.css",
|
|
9
|
+
"./db": "./db.js",
|
|
10
|
+
"./server": "./server.js",
|
|
11
|
+
"./sqlite": "./sqlite.js"
|
|
12
|
+
},
|
|
13
|
+
"bin": {
|
|
14
|
+
"evikit-extract": "bin/evikit-extract.js"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"format": "prettier --write . && eslint --fix .",
|
|
19
|
+
"lint": "prettier --check . && eslint ."
|
|
20
|
+
},
|
|
21
|
+
"author": "Denys Nykula <nykula@ukr.net>",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@fastify/busboy": "^3.2.0",
|
|
25
|
+
"@types/gettext-parser": "^9.0.0",
|
|
26
|
+
"@types/gettext.js": "^2.0.0",
|
|
27
|
+
"@valibot/to-json-schema": "^1.7.0",
|
|
28
|
+
"env-paths": "^4.0.0",
|
|
29
|
+
"gettext-parser": "^9.0.2",
|
|
30
|
+
"gettext.js": "^2.0.3",
|
|
31
|
+
"preact-render-to-string": "^6.7.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"accept-language": "^3.0.20",
|
|
35
|
+
"esbuild": "^0.28.2",
|
|
36
|
+
"hoofd": "^1.7.3",
|
|
37
|
+
"preact": "^10.29.2",
|
|
38
|
+
"preact-iso": "^2.12.0",
|
|
39
|
+
"valibot": "^1.4.0"
|
|
40
|
+
},
|
|
41
|
+
"peerDependenciesMeta": {
|
|
42
|
+
"esbuild": {
|
|
43
|
+
"optional": true
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@eslint/compat": "^2.1.0",
|
|
48
|
+
"@eslint/js": "^10.0.1",
|
|
49
|
+
"@types/node": "^24.13.3",
|
|
50
|
+
"esbuild": "^0.28.2",
|
|
51
|
+
"eslint": "^10.4.0",
|
|
52
|
+
"eslint-config-prettier": "^10.1.8",
|
|
53
|
+
"eslint-plugin-perfectionist": "^5.9.0",
|
|
54
|
+
"globals": "^17.6.0",
|
|
55
|
+
"prettier": "^3.8.3",
|
|
56
|
+
"typescript": "^6.0.3",
|
|
57
|
+
"typescript-eslint": "^8.59.4"
|
|
58
|
+
},
|
|
59
|
+
"allowScripts": {
|
|
60
|
+
"esbuild": true
|
|
61
|
+
}
|
|
62
|
+
}
|