Commit graph

20 commits

Author SHA1 Message Date
saberzero1
05dafc76cb
chore: set tsup platform to node
Plugins run server-side during the Quartz build step, not in the
browser. Setting platform: 'node' tells esbuild to treat Node builtins
as available externals and avoids CJS-in-ESM require() failures for
any bundled dependencies that use Node APIs.
2026-03-17 20:41:14 +01:00
saberzero1
9d02a7d8fb
ci: add dist externals verification step 2026-03-17 19:41:47 +01:00
saberzero1
9b213e5eed
fix: add missing peer dependencies as devDependencies for CI build
Install github-slugger and hast-util-to-jsx-runtime as devDependencies.
These are peer dependencies of @quartz-community/utils that must be present
for tsup's DTS build to resolve all transitive type imports.
2026-03-16 19:07:37 +01:00
saberzero1
cbe2f778f7
chore: centralize type declarations and standardize tooling config
- Update types/globals.d.ts with centralized type declarations
- Add .prettierignore, update .eslintrc.json with triple-slash-reference override
- Remove duplicate scripts.d.ts/styles.d.ts if present
2026-03-16 18:55:26 +01:00
saberzero1
8cb222eb3b
fix: update types/utils lockfile to commits with dist/ 2026-03-14 22:42:50 +01:00
saberzero1
547194c22d
chore: commit dist/ and remove prepare script
Pre-built output is now committed to the repository so that
Quartz can skip the build step during plugin installation.
The prepare script is removed to prevent redundant builds
when installing from npm/git.
2026-03-14 21:57:44 +01:00
saberzero1
7066328215
chore: move build tools to devDependencies, shared deps to peerDependencies
tsup and typescript are only needed at build time — move to devDependencies
so they can be pruned after build. Dependencies already available from the
host Quartz installation are moved to peerDependencies to avoid duplication.
2026-03-14 21:26:45 +01:00
saberzero1
b8a3f3bb6a
fix: add passWithNoTests to vitest config 2026-03-09 03:21:30 +01:00
saberzero1
ea14ff5128
deps: update @quartz-community/types and @quartz-community/utils
Also fix code formatting with prettier.
2026-03-09 03:04:02 +01:00
saberzero1
a37429a172
refactor: use htmlToJsx from @quartz-community/utils for safe HAST rendering
Replaces direct toJsxRuntime usage with the shared htmlToJsx wrapper
that prevents HTML-escaping of inline <style> and <script> content.
2026-03-08 19:58:07 +01:00
saberzero1
2246f6be7b
deps: update @quartz-community/types 2026-02-28 20:08:37 +01:00
saberzero1
ee899ff796
fix: compile SCSS via sass instead of raw text to prevent lightningcss errors 2026-02-26 16:44:50 +01:00
saberzero1
7d9a7549e4
docs: update README for v5 unified config system 2026-02-25 16:07:03 +01:00
saberzero1
1fd0c11b96
fix: move tsup and typescript to dependencies for git install compatibility 2026-02-23 01:09:45 +01:00
saberzero1
738cdc7ab6
fix: correct plugin category from emitter to pageType+component
This plugin exports both a page type and a component. The category
field should reflect both roles for proper TUI categorization.
2026-02-18 15:59:53 +01:00
saberzero1
9975389d44
chore: add quartz plugin manifest to package.json 2026-02-17 17:43:47 +01:00
saberzero1
2cacb9751b
docs: add plugin README 2026-02-14 02:13:29 +01:00
saberzero1
cc03e4eb88
chore: update @quartz-community/types to v0.2.1 2026-02-13 22:58:39 +01:00
saberzero1
27ae3160f1
feat: implement content page type plugin 2026-02-13 19:12:19 +01:00
Emile Bangma
c4b7f129c8
Initial commit 2026-02-13 18:35:20 +01:00