@brillout/docpress 0.1.7 → 0.1.8

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.
@@ -0,0 +1,8 @@
1
+ // cli/configFile.ts
2
+ import { createRequire } from "module";
3
+ var require2 = createRequire(import.meta.url);
4
+ var configFile = require2.resolve("../../vite.config.ts");
5
+
6
+ export {
7
+ configFile
8
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  configFile
3
- } from "./chunk-Y3OKG4SS.js";
3
+ } from "./chunk-KZROB63P.js";
4
4
  export {
5
5
  configFile
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  configFile
3
- } from "./chunk-Y3OKG4SS.js";
3
+ } from "./chunk-KZROB63P.js";
4
4
 
5
5
  // cli/devServer.ts
6
6
  import express from "express";
package/dist/cli/index.js CHANGED
@@ -1,8 +1,6 @@
1
1
  import {
2
- __spreadProps,
3
- __spreadValues,
4
2
  configFile
5
- } from "./chunk-Y3OKG4SS.js";
3
+ } from "./chunk-KZROB63P.js";
6
4
 
7
5
  // cli/index.ts
8
6
  import { build, preview } from "vite";
@@ -23,13 +21,17 @@ async function cli() {
23
21
  disableAutoFullBuild: true
24
22
  }
25
23
  };
26
- await build(__spreadValues({}, commonConfig));
27
- await build(__spreadProps(__spreadValues({}, commonConfig), { build: { ssr: true } }));
24
+ await build({ ...commonConfig });
25
+ await build({ ...commonConfig, build: { ssr: true } });
28
26
  await prerender({ viteConfig: { configFile } });
29
27
  } else if (isPreview) {
30
28
  const server = await preview({ configFile, preview: { host: true } });
31
29
  server.printUrls();
32
30
  } else {
33
- throw new Error(`DocPress: unknown command \`$ docpress ${args.join(" ")}\`. Known commands: \`$ docpress dev\` and \`$ docpress preview\`.`);
31
+ throw new Error(
32
+ `DocPress: unknown command \`$ docpress ${args.join(
33
+ " "
34
+ )}\`. Known commands: \`$ docpress dev\` and \`$ docpress preview\`.`
35
+ );
34
36
  }
35
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "exports": {
5
5
  ".": "./src/index.ts",
6
6
  "./client/initFeatureList": {
@@ -6,3 +6,7 @@
6
6
  --background-color: #f0f0f0;
7
7
  padding-bottom: 70px;
8
8
  }
9
+
10
+ html.navigation-fullscreen #detached-note {
11
+ display: none;
12
+ }
@@ -200,6 +200,7 @@ function ScrollOverlay() {
200
200
  function DetachedPageNote() {
201
201
  return (
202
202
  <div
203
+ id="detached-note"
203
204
  style={{
204
205
  backgroundColor: 'var(--background-color)',
205
206
  textAlign: 'left',
@@ -1,30 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
-
21
- // cli/configFile.ts
22
- import { createRequire } from "module";
23
- var require2 = createRequire(import.meta.url);
24
- var configFile = require2.resolve("../../vite.config.ts");
25
-
26
- export {
27
- __spreadValues,
28
- __spreadProps,
29
- configFile
30
- };