Commit graph

45 commits

Author SHA1 Message Date
saberzero1
b9c330d2a4
chore: remove vestigial @jackyzha0/quartz peerDependency 2026-05-24 16:24:24 +02:00
saberzero1
0b9ff09af1
docs: update README and AGENTS for pre-built bundled distribution 2026-04-28 00:03:55 +02:00
saberzero1
fcc73d9fb9
build: bundle dependencies and ship pre-built dist 2026-04-27 21:38:39 +02:00
saberzero1
ad2a3ab144
build: bundle dependencies and ship pre-built dist 2026-04-27 21:38:39 +02:00
saberzero1
d8f9fe7c9c
deps: update @quartz-community/utils 2026-04-17 02:40:30 +02:00
saberzero1
ef5f7a1bab
deps: update @quartz-community/utils 2026-04-16 22:10:47 +02:00
saberzero1
ec4d0bb571
refactor: use shared classNames from @quartz-community/utils 2026-04-03 19:24:19 +02:00
saberzero1
434551b80d
feat: add build-time manifest validation and event cleanup guidance 2026-04-03 19:09:54 +02:00
saberzero1
ea06f6850c
docs: add AGENTS.md, ARCHITECTURE.md, and EXAMPLES.md for LLM-assisted plugin development 2026-04-03 19:07:39 +02:00
saberzero1
bc03ed7366
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 16:19:28 +02:00
saberzero1
482b241e61
fix: update tests for branded slug types 2026-04-03 15:53:22 +02:00
saberzero1
7ca3366de2
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 15:53:22 +02:00
saberzero1
f44316c85f
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
fba079f4b9
fix: use separate tsconfig for DTS build to avoid vitest dependency 2026-03-22 13:12:01 +01:00
saberzero1
7c01d646f5
deps: update @quartz-community/utils to latest 2026-03-22 12:05:16 +01:00
saberzero1
2117d4ace2
fix: add createRequire banner for CJS compat in ESM bundles
Bundled CJS dependencies (e.g. reading-time) use require() for Node
builtins like 'stream' and 'util'. In ESM output, the esbuild-generated
__require shim throws 'Dynamic require of X is not supported' because
there is no global require in ESM context.

Add platform: 'node' and a banner that injects createRequire from the
'module' builtin, providing a working require() function for the CJS
compatibility layer.
2026-03-17 20:34:33 +01:00
saberzero1
59f42cadd2
ci: add dist externals verification step 2026-03-17 19:41:47 +01:00
saberzero1
cc83c5b513
fix: bundle non-shared deps into dist to prevent runtime resolution failures
Move non-allowlisted packages from dependencies/peerDependencies to
devDependencies so tsup bundles them into dist/ instead of leaving
them as external imports that may not resolve at runtime.
2026-03-17 19:31:51 +01:00
saberzero1
e7904abba5
chore: add missing dist type declaration files
The build output .d.ts files were not committed, only the JS files.
Both are needed for consumers to import the package with type support.
2026-03-16 19:21:14 +01:00
saberzero1
5fa8d0b3ee
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:38 +01:00
saberzero1
05487abbe0
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
44d6b56e3e
chore: update template 2026-03-16 14:21:52 +01:00
saberzero1
51b33ed5d1
fix: update types/utils lockfile to commits with dist/ 2026-03-14 22:46:30 +01:00
saberzero1
97414aaae2
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 22:02:17 +01:00
saberzero1
caa18305bd
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.
This template reflects the new conventions for all Quartz community plugins.
2026-03-14 21:27:55 +01:00
saberzero1
462c6acb6a
feat: add render event listener pattern to plugin template 2026-03-12 19:45:45 +01:00
saberzero1
ce9a7d186b
fix: resolve ESLint and formatting issues for CI compliance 2026-03-09 03:47:17 +01:00
saberzero1
1ebdc96dbf
deps: update @quartz-community/types and @quartz-community/utils
Also fix code formatting with prettier.
2026-03-09 03:04:03 +01:00
saberzero1
75e5e6fa51
deps: update @quartz-community/types 2026-02-28 20:08:37 +01:00
saberzero1
95319da7ad
fix: compile SCSS via sass instead of raw text to prevent lightningcss errors 2026-02-26 16:44:51 +01:00
saberzero1
4b0f32f378
fix: move tsup and typescript to dependencies for git install compatibility 2026-02-23 01:10:14 +01:00
saberzero1
b1837c64e0
chore: add example quartz plugin manifest to package.json 2026-02-17 17:45:24 +01:00
saberzero1
549b85f7c9
docs: update README for v5 plugin system 2026-02-14 02:13:56 +01:00
saberzero1
943b91d51e
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:52 +01:00
saberzero1
16fdd3c704
Add PageType type re-exports for Phase D plugin migration 2026-02-13 18:31:57 +01:00
saberzero1
d30e69f74b
Update @quartz-community/types with PageType plugin types 2026-02-13 16:35:33 +01:00
saberzero1
352a786328
Update @quartz-community/types (tree as unknown) 2026-02-13 13:57:59 +01:00
saberzero1
fd2b427708
Update @quartz-community/types (remove index signatures) 2026-02-13 13:53:58 +01:00
saberzero1
a3f260be41
Update @quartz-community/types for flat GlobalConfiguration 2026-02-13 13:50:35 +01:00
saberzero1
d783d9434b
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
cae3c81c20
Migrate types to use @quartz-community/types exports
Replace ambient quartz-compat.d.ts declarations with direct imports
from @quartz-community/types. Update all plugin entry points
(transformer, filter, emitter) and component files to use proper
type imports.
2026-02-13 13:18:49 +01:00
saberzero1
7e1c1e5192
Update template to match Quartz component structure with separate CSS/script files 2026-02-08 11:17:49 +01:00
saberzero1
2bb575c5c9
Add @quartz-community/types dependency and re-export shared types 2026-02-07 20:42:42 +01:00
saberzero1
1c9176d44c
fix: use any for Quartz types to avoid conflicts with Quartz internals 2026-02-07 06:22:35 +01:00
Emile Bangma
284b29a339
Batman 2026-02-07 03:03:08 +01:00