Commit graph

70 commits

Author SHA1 Message Date
saberzero1
b9f718e558
chore: remove vestigial @jackyzha0/quartz peerDependency 2026-05-24 16:24:08 +02:00
saberzero1
2d16183f5b
fix: show fallback message when CDN scripts fail to load 2026-05-24 16:21:07 +02:00
saberzero1
ad18a7595e
docs: add missing defaultOptions and optionSchema to package.json manifest 2026-05-22 20:06:19 +02:00
saberzero1
7239b083ae
build: bundle dependencies and ship pre-built dist 2026-05-20 22:11:42 +02:00
saberzero1
c8312ad06c
fix: allow arbitrary CSS colors 2026-05-20 22:11:34 +02:00
saberzero1
57078cd5ce
build: bundle dependencies and ship pre-built dist 2026-04-27 21:38:01 +02:00
saberzero1
8da7aa7ff3
build: bundle dependencies and ship pre-built dist 2026-04-27 21:38:01 +02:00
saberzero1
2e76c04a1b
deps: update @quartz-community/utils 2026-04-22 18:18:09 +02:00
saberzero1
705a119bd5
deps: update @quartz-community/utils 2026-04-17 02:39:23 +02:00
saberzero1
0e7a3cd888
deps: update @quartz-community/utils 2026-04-16 22:09:12 +02:00
saberzero1
59129c0b4e
deps: update @quartz-community/types and @quartz-community/utils 2026-04-16 13:27:29 +02:00
saberzero1
c54226d895
fix: destroy PixiJS app on prenav to avoid WebGL context loss
Cleanup now runs on the prenav event (before SPA navigation starts)
while the WebGL context is still valid, eliminating the TexturePool
errors during app.destroy(). The try/catch remains as a silent
safety net for edge cases.
2026-04-04 20:24:29 +02:00
saberzero1
05bf33de90
fix: handle WebGL context loss on navigation and strip base path for non-root domains
- Wrap PixiJS app.destroy() in try/catch so cleanup completes even when
  WebGL context is lost during SPA navigation, preventing empty graph
- Strip base path from URL-derived slugs so content index keys match on
  non-root deployments (e.g. user.github.io/quartz)
2026-04-04 20:10:37 +02:00
saberzero1
2536c6a5db
refactor: use shared classNames from @quartz-community/utils 2026-04-03 19:14:39 +02:00
saberzero1
83cf93c4ea
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 16:20:37 +02:00
saberzero1
a8f664fb6c
fix: move tsconfig from dts object to top-level option
The DtsConfig type in tsup does not have a tsconfig property.
Use top-level tsconfig option instead of dts: { tsconfig: ... }.
2026-03-22 13:25:12 +01:00
saberzero1
16e5775262
fix: use separate tsconfig for DTS build to avoid vitest dependency 2026-03-22 13:12:01 +01:00
saberzero1
377128de50
chore: update @quartz-community/utils to 8d2e14b 2026-03-22 12:38:22 +01:00
saberzero1
c8dede79ee
deps: update @quartz-community/utils to latest 2026-03-22 12:05:08 +01:00
saberzero1
def4bb5a9f
fix: resolve links correctly on subdirectory deployments
Use resolveBasePath() from @quartz-community/utils/path to prepend the
base path when navigating via graph node clicks. Fixes links resolving
to the domain root instead of the subdirectory.
2026-03-18 11:50:35 +01:00
saberzero1
d0f33cf0c0
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
a0bdebe676
ci: add dist externals verification step 2026-03-17 19:41:47 +01:00
saberzero1
b0d81ab4cd
chore: add missing dist JS output files
The build output JS files were not committed, only the .d.ts type
declarations. Both are needed for consumers to import the package.
2026-03-16 19:21:14 +01:00
saberzero1
211b48d5d4
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
954aba5fe9
fix: use fetchData global for path-prefixed deployments
- Update types/globals.d.ts with centralized type declarations
- Use fetchData global instead of hardcoded /static/contentIndex.json
- Revert @quartz-community/types from file:../types to github:quartz-community/types
- Add .prettierignore, update .eslintrc.json with triple-slash-reference override
- Remove duplicate scripts.d.ts/styles.d.ts
2026-03-16 18:54:25 +01:00
saberzero1
07046dfafd
fix: update types/utils lockfile to commits with dist/ 2026-03-14 22:43:42 +01:00
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