@brandon_m_behring/book-scaffold-astro 3.0.0 → 3.0.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brandon_m_behring/book-scaffold-astro",
|
|
3
3
|
"description": "Astro 6 + MDX toolkit for long-form technical books. Profile-aware (academic / tools / minimal); ships Tufte typography, KaTeX, BibTeX citations, Pagefind, Cloudflare Workers deploy. See PACKAGE_DESIGN.md for the API contract.",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Brandon Behring",
|
package/scripts/build-bib.mjs
CHANGED
|
@@ -37,7 +37,7 @@ import { Cite } from '@citation-js/core';
|
|
|
37
37
|
import '@citation-js/plugin-bibtex';
|
|
38
38
|
|
|
39
39
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
40
|
-
const PROJECT_ROOT =
|
|
40
|
+
const PROJECT_ROOT = process.cwd();
|
|
41
41
|
|
|
42
42
|
// Default: bibliography.bib at scaffold root.
|
|
43
43
|
// Override via BOOK_BIB_PATH=path/to/your.bib (absolute or relative to cwd).
|
|
@@ -31,7 +31,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
31
31
|
import { spawnSync } from 'node:child_process';
|
|
32
32
|
|
|
33
33
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
34
|
-
const PROJECT_ROOT =
|
|
34
|
+
const PROJECT_ROOT = process.cwd();
|
|
35
35
|
|
|
36
36
|
// Default: figures/ at scaffold root.
|
|
37
37
|
// Override via BOOK_FIGURES_PATH=path/to/figures (absolute or relative to
|
|
@@ -36,7 +36,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
36
36
|
import { spawnSync } from 'node:child_process';
|
|
37
37
|
|
|
38
38
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
39
|
-
const PROJECT_ROOT =
|
|
39
|
+
const PROJECT_ROOT = process.cwd();
|
|
40
40
|
|
|
41
41
|
// Default: notebooks/ at scaffold root.
|
|
42
42
|
// Override via BOOK_NOTEBOOKS_PATH (absolute or relative to scaffold root)
|