Commit graph

44 commits

Author SHA1 Message Date
saberzero1
68ce4d4c8a
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:58:53 +01:00
saberzero1
1e23ee31bb
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:27:10 +01:00
saberzero1
701bda442c
feat: add render event listener for in-place DOM re-initialization 2026-03-12 19:45:40 +01:00
saberzero1
7d70bd3542
fix: resolve ESLint and formatting issues for CI compliance 2026-03-09 03:47:43 +01:00
saberzero1
415964a74e
fix: repair truncated test file — close describe block 2026-03-09 03:21:37 +01:00
saberzero1
1a17691104
deps: update @quartz-community/types and @quartz-community/utils 2026-03-09 03:03:56 +01:00
saberzero1
423d068daf
deps: update @quartz-community/types 2026-02-28 20:08:37 +01:00
saberzero1
04445c38b2
fix: compile SCSS via sass instead of raw text to prevent lightningcss errors 2026-02-26 16:44:51 +01:00
saberzero1
f0eeb3fccf
docs: update README for v5 unified config system 2026-02-25 16:07:11 +01:00
saberzero1
94227ddcf4
fix: move tsup and typescript to dependencies for git install compatibility 2026-02-23 01:09:59 +01:00
saberzero1
b908529c04
fix: correct plugin category from emitter to component
This plugin only exports a component (Graph), not an emitter.
2026-02-18 16:00:00 +01:00
saberzero1
f61ef4aaad
chore: add quartz plugin manifest, remove legacy manifest.ts 2026-02-17 17:44:55 +01:00
saberzero1
6b10d168ff
fix: standardize inline script transpilation in tsup config
Use stdin-based esbuild.build with proper TS transpilation, minification,
and ESM output format matching v5's proven inline-script-loader pattern.
2026-02-14 01:11:31 +01:00
saberzero1
b7d0660d2f
chore: update @quartz-community/types to v0.2.1 2026-02-13 22:56:56 +01:00
saberzero1
26515026b7
Update @quartz-community/types with PageType plugin types 2026-02-13 16:35:30 +01:00
saberzero1
b8527f1a86
Update @quartz-community/types (tree as unknown) 2026-02-13 13:57:55 +01:00
saberzero1
10966ddecb
Update @quartz-community/types (remove index signatures) 2026-02-13 13:53:55 +01:00
saberzero1
71c271fbb8
Update @quartz-community/types for flat GlobalConfiguration 2026-02-13 13:50:32 +01:00
saberzero1
5e39dac072
fix: use github: specifier for @quartz-community/types dependency
Replace file:../types with github:quartz-community/types so the
package resolves correctly when installed via the Quartz plugin
manager.
2026-02-13 13:27:49 +01:00
saberzero1
256aa325b8
Migrate types to use @quartz-community/types exports
Replace ambient quartz-compat.d.ts and quartz-community.d.ts
declarations with direct imports from @quartz-community/types.
Export GraphOptions and D3Config from local component files instead
of ambient module augmentation.
2026-02-13 13:18:34 +01:00
saberzero1
768a983440
fix: prevent graph content loss during navigation with render generation tracking 2026-02-10 01:14:34 +01:00
saberzero1
8c004e9bb2
Fix: Use non-minified pixi.js for proper PIXI global export
The minified pixi.min.js doesn't export window.PIXI properly, causing graph to fail at runtime.
2026-02-10 00:18:23 +01:00
saberzero1
1dcf092685
Update @quartz-community/types to 0.2.0 (Preact ComponentType) 2026-02-09 23:56:08 +01:00
saberzero1
ec2917b5ea
chore: updated dependencies 2026-02-09 22:39:21 +01:00
saberzero1
4b0643f3a8
chore: updated dependencies 2026-02-09 21:24:03 +01:00
saberzero1
549459096b
chore: updated dependencies 2026-02-09 21:12:33 +01:00
saberzero1
c8883fa1d3
fix: styles 2026-02-09 20:22:25 +01:00
saberzero1
0fda721a58
fix: resolve CI failures by fixing lint config and test setup
- Update .eslintrc.json to ignore inline scripts and type declarations
- Change @ts-ignore to @ts-expect-error in Graph.tsx
- Configure vitest aliases to mock scss and inline script imports
- Create proper test mocks and graph.test.ts
- Remove unused template files (emitter, filter, transformer)
- Fix formatting in util/lang.ts
2026-02-09 12:58:48 +01:00
saberzero1
996a90d977
feat: use @quartz-community/utils for shared utilities
- Add @quartz-community/utils dependency
- Update tsup config to bundle inline scripts with esbuild
- Import removeAllChildren, getFullSlugFromUrl, simplifySlug, resolvePath from utils
- Remove unused template dependencies
2026-02-09 12:45:13 +01:00
saberzero1
906ab289b1
Define types locally instead of importing from @quartz-community/types 2026-02-08 13:43:58 +01:00
saberzero1
c6a8cbb7e2
refactor: align graph component exports with shared types 2026-02-08 11:12:24 +01:00
saberzero1
056973c704
fix: add graph type exports shim 2026-02-08 11:12:18 +01:00
saberzero1
cec385da72
Refactor to match Quartz structure with separate CSS/script files and local types 2026-02-08 11:07:07 +01:00
saberzero1
ca4a85d939
Add @quartz-community/types dependency 2026-02-07 20:40:09 +01:00
saberzero1
71bd8dc24d
fix: handle root page slug mapping to index 2026-02-07 06:53:45 +01:00
saberzero1
4ac30d2b93
fix: simplify link destination slugs to match data keys 2026-02-07 06:46:29 +01:00
saberzero1
ec40417724
docs: update import to use main entry point 2026-02-07 06:29:20 +01:00
saberzero1
5b101005c8
fix: make component constructor opts optional 2026-02-07 06:18:38 +01:00
saberzero1
2834486b37
fix: use any for all types to avoid Quartz type conflicts 2026-02-07 06:17:04 +01:00
saberzero1
b9f0226f2d
fix: use any for all complex types to match Quartz 2026-02-07 06:14:20 +01:00
saberzero1
81e2c88a2a
fix: use any[] for externalPlugins type 2026-02-07 06:13:00 +01:00
saberzero1
78e18d8b52
fix: align BuildCtx type with Quartz 2026-02-07 06:11:34 +01:00
saberzero1
74f0becd3f
feat: graph plugin 2026-02-07 05:50:38 +01:00
Emile Bangma
73e95aedcd
Initial commit 2026-02-07 04:05:30 +01:00