Commit Graph
1927 Commits
Author SHA1 Message Date
dependabot[bot] 97a2d05f80 chore(deps): bump the quartz-ecosystem group with 2 updates (#2561)
Bumps the quartz-ecosystem group with 2 updates: [@quartz-community/syntax-highlighting](https://github.com/quartz-community/syntax-highlighting) and [@quartz-community/utils](https://github.com/quartz-community/utils).


Updates `@quartz-community/syntax-highlighting` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/quartz-community/syntax-highlighting/releases)
- [Changelog](https://github.com/quartz-community/syntax-highlighting/blob/main/CHANGELOG.md)
- [Commits](https://github.com/quartz-community/syntax-highlighting/compare/v1.0.0...v1.0.1)

Updates `@quartz-community/utils` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/quartz-community/utils/releases)
- [Changelog](https://github.com/quartz-community/utils/blob/main/CHANGELOG.md)
- [Commits](https://github.com/quartz-community/utils/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: "@quartz-community/syntax-highlighting"
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: quartz-ecosystem
- dependency-name: "@quartz-community/utils"
  dependency-version: 1.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: quartz-ecosystem
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:14:52 +00:00
saberzero1 3dff48b5df fix: regenerate lockfile for created-modified-date@1.0.1
The production-dependencies bump in #2554 moved @napi-rs/simple-git to 1.x,
which fell outside created-modified-date's peerOptional range and broke
npm install/npm ci with ERESOLVE. Regenerated against the published 1.0.1
that widens the range.
2026-09-15 02:52:01 +02:00
dependabot[bot] 5519ffe5d9 chore(deps): bump the production-dependencies group across 1 directory with 6 updates (#2554)
Bumps the production-dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@clack/prompts](https://github.com/bombshell-dev/clack/tree/HEAD/packages/prompts) | `0.11.0` | `1.8.0` |
| [@myriaddreamin/rehype-typst](https://github.com/Myriad-Dreamin/typst.ts) | `0.6.0` | `0.7.0` |
| [@napi-rs/simple-git](https://github.com/Brooooooklyn/simple-git) | `0.1.22` | `1.1.0` |
| [sharp](https://github.com/lovell/sharp) | `0.34.5` | `0.35.4` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.9.6` | `26.5.1` |
| [esbuild](https://github.com/evanw/esbuild) | `0.27.7` | `0.28.2` |



Updates `@clack/prompts` from 0.11.0 to 1.8.0
- [Release notes](https://github.com/bombshell-dev/clack/releases)
- [Changelog](https://github.com/bombshell-dev/clack/blob/main/packages/prompts/CHANGELOG.md)
- [Commits](https://github.com/bombshell-dev/clack/commits/@clack/prompts@1.8.0/packages/prompts)

Updates `@myriaddreamin/rehype-typst` from 0.6.0 to 0.7.0
- [Release notes](https://github.com/Myriad-Dreamin/typst.ts/releases)
- [Changelog](https://github.com/Myriad-Dreamin/typst.ts/blob/main/docs/release-workflows.md)
- [Commits](https://github.com/Myriad-Dreamin/typst.ts/compare/v0.6.0...v0.7.0)

Updates `@napi-rs/simple-git` from 0.1.22 to 1.1.0
- [Release notes](https://github.com/Brooooooklyn/simple-git/releases)
- [Commits](https://github.com/Brooooooklyn/simple-git/compare/v0.1.22...v1.1.0)

Updates `sharp` from 0.34.5 to 0.35.4
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](https://github.com/lovell/sharp/compare/v0.34.5...v0.35.4)

Updates `@types/node` from 25.9.6 to 26.5.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `esbuild` from 0.27.7 to 0.28.2
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.27.7...v0.28.2)

---
updated-dependencies:
- dependency-name: "@clack/prompts"
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: production-dependencies
- dependency-name: "@myriaddreamin/rehype-typst"
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: "@napi-rs/simple-git"
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: production-dependencies
- dependency-name: sharp
  dependency-version: 0.35.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: "@types/node"
  dependency-version: 26.5.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: production-dependencies
- dependency-name: esbuild
  dependency-version: 0.28.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-15 02:44:56 +02:00
saberzero1 afe7e68ff0 ci: isolate typescript into its own dependabot group
PR #2553 failed because the grouped update bumped typescript ^5.9.3 to
^7.0.2, and TypeScript 7 removed moduleResolution=node10, which this repo's
tsconfig still uses. That single breaking change blocked six unrelated
updates from landing.

A compiler major needs its own tsconfig migration and should not ride along
with routine dependency bumps.
2026-09-15 02:40:48 +02:00
saberzero1 4bfe60a28a ci: split dependabot groups and auto-merge ecosystem updates
Every production-dependencies PR for the last ten cycles was closed unmerged.
The group matched '*', so first-party @quartz-community/* updates were bundled
with third-party churn and could not land independently while CI was red.

Splits first-party packages into a quartz-ecosystem group and excludes them
from production-dependencies, so ecosystem updates land on their own.

Adds an auto-merge workflow for that group only. GitHub auto-merge is disabled
on this repository and v5 has no branch protection, so the workflow gates
itself: it runs only after Build and Test succeeds, independently verifies
that every check run on the commit succeeded, refuses major bumps, and only
then squash-merges.
2026-09-15 02:28:33 +02:00
saberzero1 9be7f42b42 fix: regenerate lockfile against published 1.0.0 manifests
The previous regeneration resolved against npm's cached metadata and omitted
dependencies introduced by the 1.0.0 releases, so 'npm ci' failed with
EUSAGE. Regenerated with --prefer-online.
2026-09-15 01:57:22 +02:00
saberzero1 f8b1a4d7aa feat!: adopt 1.0.0 ecosystem
All @quartz-community/* dependencies move to ^1.0.0 and @quartz-themes/core
to ^2.0.0, following the coordinated 1.0 release.

Pre-1.0 caret ranges pinned the minor version, so published fixes to shared
packages could never be resolved. This also eliminates the 46 nested
duplicate copies of @quartz-community/types that the old ranges forced into
the dependency tree.
2026-09-15 01:56:07 +02:00
saberzero1 233a975a32 chore: update lockfile for latest plugin releases 2026-09-15 00:42:16 +02:00
Marco Ciotola f1fba3fc55 fix(schema): allow null for analytics field (#2485) 2026-09-06 13:49:42 +02:00
saberzero1 075afd3f71 fix: import ContentDetails from @quartz-community/content-index instead of generated .quartz/plugins 2026-08-12 14:27:29 +02:00
saberzero1 74b3fc9efd chore: clean up dev-mode artifact 2026-07-30 17:06:37 +02:00
saberzero1 7076a897e1 chore: formatting 2026-07-30 15:43:15 +02:00
saberzero1 507ad7f3d4 chore: regenerate package-lock.json 2026-07-28 11:33:23 +02:00
saberzero1 41864a0eba refactor: replace createRequire with import.meta.resolve in config-loader and gitLoader 2026-07-27 20:47:51 +02:00
saberzero1 508f73a33f feat: replace CJS require with static imports, add comprehensive layout system tests 2026-07-27 20:23:31 +02:00
saberzero1 6f27207fbf chore: update lockfile for latest plugin releases 2026-07-27 18:25:47 +02:00
saberzero1 89fb2afe6f chore: update lockfile for latest plugin releases 2026-07-27 18:24:41 +02:00
saberzero1 a121fd2e96 feat: unify layout slot architecture - make header/footer configurable positions, footer as array, add defaultPosition fallback, add tests, update docs 2026-07-27 17:32:40 +02:00
saberzero1 e37b4888f3 chore: update lockfile for latest plugin releases 2026-07-27 12:33:57 +02:00
saberzero1 e22d4446b4 chore: update lockfile for @quartz-themes/core@1.1.0 2026-07-27 11:40:37 +02:00
saberzero1 c2e1a619f0 chore: update lockfile for @quartz-themes/core@1.0.3 2026-07-27 10:54:51 +02:00
saberzero1 754058ad54 chore: updated dependencies 2026-07-25 19:04:58 +02:00
saberzero1 2a5e3ae574 chore: package-lock.json 2026-07-24 21:43:27 +02:00
saberzero1 94fcabb0b4 feat: add @quartz-themes/core to config and templates
Add disabled theme entry to default config and default/blog templates.
Migrate obsidian and ttrpg templates from git-based quartz-themes source
to npm @quartz-themes/core package.
2026-07-24 20:33:05 +02:00
saberzero1 26a5a86d77 feat: add @quartz-themes/core as a dependency
Add @quartz-themes/core to dependencies and @quartz-themes/ to shared
scopes so theme packages are treated as externals by the plugin bundler.
2026-07-24 20:32:52 +02:00
saberzero1 326bc49b96 chore: update lockfile for crawl-links@0.1.1, bases-page@0.2.2 2026-07-24 02:21:40 +02:00
saberzero1 3c8726834a chore: update lockfile for utils@0.1.1, ofm@0.1.2, bases-page@0.2.1 2026-07-24 01:16:03 +02:00
saberzero1 a791a4f12d fix: disable font ligatures on code blocks (#2428) 2026-07-24 00:43:31 +02:00
Emile Bangma 581f6707da fix: decouple Head.tsx from og-image plugin import (#2495)
Remove unconditional import of CustomOgImagesEmitterName from
.quartz/plugins in Head.tsx. This caused builds to fail when the
og-image plugin was not listed in quartz.config.yaml, violating the
plugin system's opt-in contract.

The fix inlines the emitter name string constant at the usage site.

Also convert the ContentDetails import in fileTrie.ts to
`import type` since it is only used in a type position.
2026-07-23 15:30:37 +02:00
saberzero1 555b2ba838 docs: add npm plugin specifier migration guide 2026-07-23 09:38:52 +02:00
saberzero1 3d99dca87d style: fix whitespace in docs/hosting.md 2026-07-23 09:30:25 +02:00
saberzero1 966307e0d0 style: format docs/hosting.md and loader/index.ts 2026-07-23 09:26:51 +02:00
saberzero1 ebdbb3da21 chore: keep legacy-peer-deps (required for 44 plugins with varying peer ranges)
Multiple plugins declare incompatible peer dep ranges for shared packages
(sharp, @myriaddreamin/rehype-typst, etc). These are optional peers that
work correctly at runtime. legacy-peer-deps is the appropriate setting
for a host application consuming many plugins.
2026-07-23 08:54:50 +02:00
saberzero1 49785911c9 chore: pin plugin dependencies to semver ranges 2026-07-23 08:34:31 +02:00
saberzero1 e8ccb7991c chore: updated package-lock.json 2026-07-23 02:23:38 +02:00
saberzero1 11b9960663 feat: migrate to npm specifiers with type-safe plugin index
- Default config and all 4 templates use @quartz-community/* npm specifiers
- config-loader: npm packages imported directly (not via .quartz/plugins/ paths)
- gitLoader: regeneratePluginIndex cross-references .d.ts with .js to correctly
  classify type-only exports, preventing runtime 'does not provide export' errors
- All 44 default plugins added as dependencies
- Locally tested: 111 docs files → 374 output files, zero errors
2026-07-23 02:19:17 +02:00
saberzero1 4b7ecb96f0 revert: restore github: specifiers in default config and templates
The npm specifier path requires additional work in the esbuild
transpilation pipeline to mark npm imports as external. Reverting
to github: specifiers to restore the docs site immediately.

The npm loader code (parsePluginSource, config-loader, CLI) remains
in place for future use. Only the default config/templates are reverted.
2026-07-23 02:06:45 +02:00
saberzero1 a71cbfbeed fix: use npm install in Dockerfile and copy .npmrc for peer dep config 2026-07-23 02:03:47 +02:00
saberzero1 b6939da24d fix: use npm install in all CI workflows for lockfile compatibility 2026-07-23 02:01:58 +02:00
saberzero1 6fdeaef8c2 fix: use npm install instead of npm ci in deploy
The lockfile was generated on linux x86_64 but CI needs platform-
specific optional deps for all architectures. npm install resolves
them correctly while npm ci requires exact lockfile match.
2026-07-23 01:59:52 +02:00
saberzero1 eefff261a6 chore: retrigger deploy after lockfile fix 2026-07-23 01:57:51 +02:00
saberzero1 7ed01ddd43 fix: add legacy-peer-deps for plugin peer dependency conflicts
og-image requires sharp as a peer dep which conflicts with the
version installed by quartz core. legacy-peer-deps allows both
to coexist until the peer dep ranges are aligned.
2026-07-23 01:47:39 +02:00
saberzero1 fe1f1d30aa fix: add npm plugin dependencies and fix fonts package name
- Added all 44 default plugins as dependencies so npm ci installs them
- Fixed @quartz-community/fonts → @quartz-community/quartz-fonts (actual npm name)
- Regenerated package-lock.json with plugin dependencies
2026-07-23 01:46:28 +02:00
saberzero1 57094a8fee fix: make quartz.lock.json optional in Dockerfile
With npm specifiers, quartz.lock.json may not exist.
The glob pattern makes the COPY conditional.
2026-07-23 01:34:12 +02:00
saberzero1 97eea3ee34 feat: migrate default config and templates to npm specifiers
- quartz.config.default.yaml: all 44 plugins use @quartz-community/* npm specifiers
- cli/templates/*.yaml: all 4 templates updated (default, blog, obsidian, ttrpg)
- bootstrap-cli.mjs: updated help text
- package.json: devDeps use npm semver ranges instead of github: specifiers
- gitLoader.ts: regeneratePluginIndex scans npm packages from node_modules
- install-plugins.ts: generates plugin index for npm packages
- Removed quartz.lock.json (only relevant for git-installed plugins)
2026-07-23 01:29:25 +02:00
saberzero1 ab8e77392c revert: do not gitignore quartz.config.yaml (user config file) 2026-07-23 01:21:07 +02:00
saberzero1 f45b9d42bd chore: gitignore quartz.config.yaml (user-generated) 2026-07-23 01:19:37 +02:00
saberzero1 af583c167a chore: remove dev-mode config 2026-07-23 01:19:29 +02:00
saberzero1 de21613607 style: format loader files 2026-07-23 01:19:21 +02:00
saberzero1 69571de66e chore: remove dev-mode local config (should not be committed) 2026-07-23 01:18:03 +02:00