@dino-ovum/preset 0.1.0 → 0.1.1
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/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Docusaurus configuration and shared document, navigation, search, and PWA plugins for Dino Ovum.
|
|
4
4
|
|
|
5
|
+
```sh
|
|
6
|
+
pnpm add @dino-ovum/preset @docusaurus/core@3.10.1 @mdx-js/react react react-dom
|
|
7
|
+
```
|
|
8
|
+
|
|
5
9
|
```js
|
|
6
10
|
import {createDinoConfig} from '@dino-ovum/preset/config';
|
|
7
11
|
|
|
@@ -15,6 +19,6 @@ The preset includes the compatible `@dino-ovum/theme`. Use Docusaurus 3.10.1, Re
|
|
|
15
19
|
|
|
16
20
|
Search is enabled by default. PWA and the `/updates` page are opt-in. Site settings override defaults; nested objects merge and arrays replace. Additional site plugins, themes, and presets are retained.
|
|
17
21
|
|
|
18
|
-
Read the [configuration guide](https://github.com/4BFC/dino-ovum/blob/main/docs/configuration.md) for options, translation overrides, and migration.
|
|
22
|
+
Read the [configuration guide](https://github.com/4BFC/dino-ovum/blob/main/docs/configuration.md) for options, translation overrides, and migration.
|
|
19
23
|
|
|
20
24
|
MIT. Dependencies retain their own licenses.
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.1",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "4BFC",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"docusaurus-plugin-sass": "^0.2.7",
|
|
35
35
|
"sass": "^1.106.1",
|
|
36
36
|
"prism-react-renderer": "^2.3.0",
|
|
37
|
-
"@dino-ovum/theme": "0.1.
|
|
37
|
+
"@dino-ovum/theme": "0.1.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@docusaurus/core": "3.10.1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Docusaurus 3.10.1 generates mixed ESM/CommonJS (registry, client modules).
|
|
2
2
|
// Scope: generated JS parsing and temporary CommonJS SSG chunks only.
|
|
3
3
|
// Upstream: https://github.com/facebook/docusaurus/discussions/11326
|
|
4
|
-
// Recheck this compatibility layer when upgrading Docusaurus
|
|
4
|
+
// Recheck this compatibility layer when upgrading Docusaurus.
|
|
5
5
|
export default function generatedModuleCompat({generatedFilesDir}) {
|
|
6
6
|
return {
|
|
7
7
|
name: 'generated-module-compat',
|