@brillout/docpress 0.16.16 → 0.16.17

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/+config.ts CHANGED
@@ -18,7 +18,7 @@ const config = {
18
18
  hydrationCanBeAborted: true,
19
19
  meta: {
20
20
  docpress: {
21
- env: { server: true, client: true },
21
+ env: { server: true, client: true, config: true },
22
22
  global: true,
23
23
  },
24
24
  choices: {
package/dist/+config.d.ts CHANGED
@@ -21,6 +21,7 @@ declare const config: {
21
21
  env: {
22
22
  server: true;
23
23
  client: true;
24
+ config: true;
24
25
  };
25
26
  global: true;
26
27
  };
package/dist/+config.js CHANGED
@@ -12,7 +12,7 @@ const config = {
12
12
  hydrationCanBeAborted: true,
13
13
  meta: {
14
14
  docpress: {
15
- env: { server: true, client: true },
15
+ env: { server: true, client: true, config: true },
16
16
  global: true,
17
17
  },
18
18
  choices: {
@@ -1,5 +1,6 @@
1
1
  export type { Config, ChoicesConfig };
2
2
  import type { HeadingDefinition, HeadingDetachedDefinition } from './Heading.js';
3
+ import type React from 'react';
3
4
  type Config = {
4
5
  name: string;
5
6
  version: string;
@@ -3,6 +3,7 @@ export type { HeadingDetachedResolved };
3
3
  export type { HeadingDetachedDefinition };
4
4
  export type { HeadingDefinition };
5
5
  export type { StringArray };
6
+ import type React from 'react';
6
7
  type HeadingResolved = {
7
8
  url?: null | string;
8
9
  level: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.16.16",
3
+ "version": "0.16.17",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@brillout/picocolors": "^1.0.10",
@@ -70,7 +70,7 @@
70
70
  "@types/react-dom": "^19.2.2",
71
71
  "mdast-util-directive": "^3.1.0",
72
72
  "mdast-util-mdx-jsx": "^3.2.0",
73
- "vike": "^0.4.250"
73
+ "vike": "^0.4.254"
74
74
  },
75
75
  "repository": "https://github.com/brillout/docpress",
76
76
  "license": "MIT",
@@ -80,9 +80,9 @@
80
80
  "scripts": {
81
81
  "======== Build": "",
82
82
  "// Build vite.config.ts and +config.ts (other files don't need to be built as @brillout/docpress is noExternal)": "",
83
- "build": "rm -rf dist/ && tsc --project tsconfig.config.json",
83
+ "build": "rm -rf dist/ && tsc --project tsconfig.build.json",
84
84
  "======== Develop": "",
85
- "// Typecheck + build vite.config.ts and +config.ts": "",
85
+ "// Typecheck": "",
86
86
  "dev": "tsc --watch",
87
87
  "========= Release": "",
88
88
  "release": "release-me patch",
package/types/Config.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export type { Config, ChoicesConfig }
2
2
 
3
3
  import type { HeadingDefinition, HeadingDetachedDefinition } from './Heading.js'
4
+ import type React from 'react'
4
5
 
5
6
  type Config = {
6
7
  name: string
package/types/Heading.ts CHANGED
@@ -4,6 +4,8 @@ export type { HeadingDetachedDefinition }
4
4
  export type { HeadingDefinition }
5
5
  export type { StringArray }
6
6
 
7
+ import type React from 'react'
8
+
7
9
  type HeadingResolved = {
8
10
  url?: null | string
9
11
  level: number
File without changes