@moku-labs/web 0.1.0-alpha.4 → 0.3.0
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/LICENSE +1 -1
- package/README.md +64 -51
- package/dist/chunk-D7D4PA-g.mjs +13 -0
- package/dist/index.cjs +5972 -113
- package/dist/index.d.cts +2078 -106
- package/dist/index.d.mts +2078 -106
- package/dist/index.mjs +5859 -33
- package/package.json +65 -65
- package/dist/bin/moku.cjs +0 -1383
- package/dist/bin/moku.d.cts +0 -1
- package/dist/bin/moku.d.mts +0 -1
- package/dist/bin/moku.mjs +0 -1383
- package/dist/chunk-DQk6qfdC.mjs +0 -18
- package/dist/factory-CMOo4n6a.cjs +0 -1722
- package/dist/factory-DRFGSslp.d.mts +0 -114
- package/dist/factory-DiKypQqs.mjs +0 -1602
- package/dist/factory-k-YoScgB.d.cts +0 -114
- package/dist/index-DH3jlpNi.d.mts +0 -503
- package/dist/index-DaY7vTuo.d.cts +0 -503
- package/dist/plugins/head/build.cjs +0 -35
- package/dist/plugins/head/build.d.cts +0 -17
- package/dist/plugins/head/build.d.mts +0 -17
- package/dist/plugins/head/build.mjs +0 -27
- package/dist/plugins/spa/index.cjs +0 -26
- package/dist/plugins/spa/index.d.cts +0 -30
- package/dist/plugins/spa/index.d.mts +0 -30
- package/dist/plugins/spa/index.mjs +0 -24
- package/dist/primitives-BYUp6kae.cjs +0 -100
- package/dist/primitives-DKgZfRAO.d.mts +0 -71
- package/dist/primitives-Dhko-oLM.mjs +0 -58
- package/dist/primitives-yZqQkOVR.d.cts +0 -71
- package/dist/project-B8z4jeMC.cjs +0 -1383
- package/dist/project-guCYpUeD.mjs +0 -1244
- package/dist/test.cjs +0 -82
- package/dist/test.d.cts +0 -61
- package/dist/test.d.mts +0 -61
- package/dist/test.mjs +0 -79
- package/dist/wrangler-BlZWVmX9.mjs +0 -369
- package/dist/wrangler-Bomk9mU-.cjs +0 -423
package/package.json
CHANGED
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moku-labs/web",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Content static-site generator + SPA web framework for TypeScript, built on @moku-labs/core.",
|
|
5
|
+
"author": "Oleksandr Kucherenko",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
8
9
|
"url": "git+https://github.com/moku-labs/web.git"
|
|
9
10
|
},
|
|
10
|
-
"homepage": "https://github.com/moku-labs/web#readme",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/moku-labs/web/issues"
|
|
13
13
|
},
|
|
14
|
+
"homepage": "https://github.com/moku-labs/web#readme",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"web",
|
|
17
|
+
"framework",
|
|
18
|
+
"static-site-generator",
|
|
19
|
+
"ssg",
|
|
20
|
+
"spa",
|
|
21
|
+
"preact",
|
|
22
|
+
"typescript",
|
|
23
|
+
"moku"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public",
|
|
27
|
+
"registry": "https://registry.npmjs.org/"
|
|
28
|
+
},
|
|
14
29
|
"type": "module",
|
|
15
30
|
"main": "./dist/index.cjs",
|
|
16
31
|
"module": "./dist/index.mjs",
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
17
33
|
"exports": {
|
|
18
34
|
".": {
|
|
19
35
|
"import": {
|
|
@@ -24,85 +40,69 @@
|
|
|
24
40
|
"types": "./dist/index.d.cts",
|
|
25
41
|
"default": "./dist/index.cjs"
|
|
26
42
|
}
|
|
27
|
-
},
|
|
28
|
-
"./build": {
|
|
29
|
-
"import": {
|
|
30
|
-
"types": "./dist/plugins/head/build.d.mts",
|
|
31
|
-
"default": "./dist/plugins/head/build.mjs"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"./spa": {
|
|
35
|
-
"import": {
|
|
36
|
-
"types": "./dist/plugins/spa/index.d.mts",
|
|
37
|
-
"default": "./dist/plugins/spa/index.mjs"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"./test": {
|
|
41
|
-
"import": {
|
|
42
|
-
"types": "./dist/test.d.mts",
|
|
43
|
-
"default": "./dist/test.mjs"
|
|
44
|
-
}
|
|
45
43
|
}
|
|
46
44
|
},
|
|
47
|
-
"bin": {
|
|
48
|
-
"moku": "./dist/bin/moku.mjs"
|
|
49
|
-
},
|
|
50
45
|
"files": [
|
|
51
46
|
"dist",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
47
|
+
"LICENSE",
|
|
48
|
+
"README.md"
|
|
54
49
|
],
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"test:watch": "vitest",
|
|
59
|
-
"test:coverage": "vitest run --coverage",
|
|
60
|
-
"format": "biome check --write .",
|
|
61
|
-
"format:check": "biome check .",
|
|
62
|
-
"lint": "eslint .",
|
|
63
|
-
"typecheck": "tsc --noEmit"
|
|
64
|
-
},
|
|
65
|
-
"peerDependencies": {
|
|
66
|
-
"preact": "~10.28.0",
|
|
67
|
-
"preact-render-to-string": "~6.6.0"
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=22.0.0",
|
|
52
|
+
"bun": ">=1.3.14"
|
|
68
53
|
},
|
|
69
54
|
"dependencies": {
|
|
70
55
|
"@moku-labs/core": "0.1.0-alpha.6",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"rehype-
|
|
81
|
-
"rehype-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
56
|
+
"@resvg/resvg-js": "2.6.2",
|
|
57
|
+
"@shikijs/rehype": "3.22.0",
|
|
58
|
+
"feed": "5.2.0",
|
|
59
|
+
"gray-matter": "4.0.3",
|
|
60
|
+
"hast-util-sanitize": "5.0.2",
|
|
61
|
+
"p-limit": "6.2.0",
|
|
62
|
+
"preact": "10.29.2",
|
|
63
|
+
"preact-render-to-string": "6.6.0",
|
|
64
|
+
"reading-time": "1.5.0",
|
|
65
|
+
"rehype-raw": "7.0.0",
|
|
66
|
+
"rehype-sanitize": "6.0.0",
|
|
67
|
+
"rehype-stringify": "10.0.1",
|
|
68
|
+
"remark-directive": "4.0.0",
|
|
69
|
+
"remark-frontmatter": "5.0.0",
|
|
70
|
+
"remark-gfm": "4.0.1",
|
|
71
|
+
"remark-parse": "11.0.0",
|
|
72
|
+
"remark-rehype": "11.1.2",
|
|
73
|
+
"satori": "0.19.1",
|
|
74
|
+
"shiki": "3.22.0",
|
|
75
|
+
"unified": "11.0.5",
|
|
76
|
+
"unist-util-visit": "5.1.0"
|
|
88
77
|
},
|
|
89
78
|
"devDependencies": {
|
|
90
|
-
"@biomejs/biome": "2.4.
|
|
91
|
-
"@types/bun": "1.3.
|
|
79
|
+
"@biomejs/biome": "2.4.16",
|
|
80
|
+
"@types/bun": "1.3.14",
|
|
92
81
|
"@vitest/coverage-istanbul": "4.0.18",
|
|
93
|
-
"eslint": "9",
|
|
82
|
+
"eslint": "9.39.3",
|
|
94
83
|
"eslint-config-biome": "2.1.3",
|
|
95
84
|
"eslint-plugin-jsdoc": "62.6.0",
|
|
96
85
|
"eslint-plugin-sonarjs": "4.0.0",
|
|
97
86
|
"eslint-plugin-unicorn": "63.0.0",
|
|
98
|
-
"globals": "17.
|
|
99
|
-
"happy-dom": "
|
|
87
|
+
"globals": "17.4.0",
|
|
88
|
+
"happy-dom": "20.9.0",
|
|
100
89
|
"jiti": "2.6.1",
|
|
101
90
|
"lefthook": "2.1.1",
|
|
102
|
-
"publint": "0.3.
|
|
103
|
-
"tsdown": "0.
|
|
104
|
-
"typescript": "
|
|
105
|
-
"typescript-eslint": "8.
|
|
91
|
+
"publint": "0.3.21",
|
|
92
|
+
"tsdown": "0.22.1",
|
|
93
|
+
"typescript": "6.0.3",
|
|
94
|
+
"typescript-eslint": "8.58.0",
|
|
106
95
|
"vitest": "4.0.18"
|
|
96
|
+
},
|
|
97
|
+
"scripts": {
|
|
98
|
+
"build": "tsdown",
|
|
99
|
+
"validate": "publint",
|
|
100
|
+
"lint": "biome check . && eslint .",
|
|
101
|
+
"lint:fix": "biome check --write . && eslint --fix .",
|
|
102
|
+
"format": "biome format --write .",
|
|
103
|
+
"test": "vitest run",
|
|
104
|
+
"test:unit": "vitest run --project unit",
|
|
105
|
+
"test:integration": "vitest run --project integration",
|
|
106
|
+
"test:coverage": "vitest run --project unit --project integration --coverage"
|
|
107
107
|
}
|
|
108
108
|
}
|