mordoc 0.1.2 → 0.1.4
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/dist/assets/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/dist/assets/fonts/inter/OFL.txt +93 -0
- package/dist/build/Builder.d.ts +1 -0
- package/dist/build/Builder.d.ts.map +1 -1
- package/dist/build/Builder.js +4 -1
- package/dist/build/Builder.js.map +1 -1
- package/dist/build/ClientBundler.d.ts +12 -0
- package/dist/build/ClientBundler.d.ts.map +1 -1
- package/dist/build/ClientBundler.js +40 -3
- package/dist/build/ClientBundler.js.map +1 -1
- package/dist/bundles/client.js +124 -0
- package/package.json +8 -4
- package/templates/default/package.json +1 -1
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/shiva-varanasi/mordoc.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.1.
|
|
7
|
+
"version": "0.1.4",
|
|
8
8
|
"description": "A static site generator for documentation with SSG + SPA capabilities",
|
|
9
9
|
"bin": {
|
|
10
10
|
"mordoc": "./bin/cli.js"
|
|
@@ -15,9 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"compile": "tsc",
|
|
18
|
+
"prebundle": "node scripts/prebundle.js",
|
|
19
|
+
"copy-assets": "node scripts/copy-assets.js",
|
|
20
|
+
"build": "tsc && npm run prebundle && npm run copy-assets",
|
|
18
21
|
"dev": "node bin/cli.js dev",
|
|
19
|
-
"build": "node bin/cli.js build",
|
|
20
|
-
"prepublishOnly": "
|
|
22
|
+
"test-build": "node bin/cli.js build",
|
|
23
|
+
"prepublishOnly": "npm run build"
|
|
21
24
|
},
|
|
22
25
|
"keywords": [
|
|
23
26
|
"documentation",
|
|
@@ -39,7 +42,8 @@
|
|
|
39
42
|
"react-dom": "^19.2.3",
|
|
40
43
|
"react-router-dom": "^7.9.3",
|
|
41
44
|
"sirv-cli": "^2.0.2",
|
|
42
|
-
"ws": "^8.18.3"
|
|
45
|
+
"ws": "^8.18.3",
|
|
46
|
+
"esbuild": "^0.25.10"
|
|
43
47
|
},
|
|
44
48
|
"devDependencies": {
|
|
45
49
|
"@types/js-yaml": "^4.0.9",
|