Commit graph

33 commits

Author SHA1 Message Date
saberzero1
5bfdc2c3f4
chore: regenerate package-lock.json 2026-05-24 17:33:04 +02:00
saberzero1
0ca938dc29
chore: remove vestigial @jackyzha0/quartz peerDependency 2026-05-24 16:24:38 +02:00
saberzero1
e1055e8dc8
docs: add missing defaultOptions and optionSchema to package.json manifest 2026-05-22 20:06:19 +02:00
saberzero1
8115b6f11b
fix: pack shiki 2026-04-28 00:02:48 +02:00
saberzero1
a327da5f86
chore: updated CI 2026-04-27 21:43:03 +02:00
saberzero1
329d6c5ad6
feat: add shiki targeting 2026-04-27 21:42:54 +02:00
saberzero1
f594ea0a27
deps: update @quartz-community/types and @quartz-community/utils 2026-04-16 13:31:05 +02:00
saberzero1
ab62523fa0
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 16:18:20 +02:00
saberzero1
a64f1e88cb
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
2421a4a64f
fix: use separate tsconfig for DTS build to avoid vitest dependency 2026-03-22 13:12:01 +01:00
saberzero1
3e3cd1c820
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:15 +01:00
saberzero1
a5f797c5a8
ci: add dist externals verification step 2026-03-17 19:41:48 +01:00
saberzero1
27c99aacf4
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:52 +01:00
saberzero1
e3fa3c038f
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
3f8d0044d9
fix: update types/utils lockfile to commits with dist/ 2026-03-14 22:44:39 +01:00
saberzero1
16ef9c8d3d
fix: add build-time deps for DTS generation
Peer dependencies needed at build time for TypeScript declaration file
generation were missing from devDependencies. Without them, the DTS build
fails silently, producing no index.d.ts.
2026-03-14 22:26:14 +01:00
saberzero1
645e252465
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:01:39 +01:00
saberzero1
eaeec550d8
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:40 +01:00
saberzero1
4593694be6
feat: add render event listener for in-place DOM re-initialization 2026-03-12 19:45:37 +01:00
saberzero1
3374c99008
fix: resolve ESLint and formatting issues for CI compliance 2026-03-09 03:46:58 +01:00
saberzero1
f5462c7af7
fix: add passWithNoTests to vitest config 2026-03-09 03:21:30 +01:00
saberzero1
e85bc7c442
deps: update @quartz-community/types and @quartz-community/utils 2026-03-09 03:03:56 +01:00
saberzero1
29d474f82f
deps: update @quartz-community/types 2026-02-28 20:08:37 +01:00
saberzero1
5063da4f2f
fix: compile SCSS via sass instead of raw text to prevent lightningcss errors 2026-02-26 16:44:51 +01:00
saberzero1
9b220b6d0c
docs: update README for v5 unified config system 2026-02-25 16:07:03 +01:00
saberzero1
1919588a82
fix: move tsup and typescript to dependencies for git install compatibility 2026-02-23 01:10:24 +01:00
saberzero1
a3ec90046f
chore: add quartz plugin manifest to package.json 2026-02-17 17:44:03 +01:00
saberzero1
92936ff025
docs: add plugin README 2026-02-14 02:12:58 +01:00
saberzero1
a9f3764ed9
fix: replace raw text-loader with proper TS transpilation for inline scripts
Inline .ts files were not transpiled before bundling, causing clipboard
button CSS/JS to fail in the browser.
2026-02-14 01:11:28 +01:00
saberzero1
fada634ccd
feat: add clipboard copy button for code blocks
Move clipboard script and styles from Quartz core Body.tsx into the
syntax-highlighting plugin. Injected via externalResources() hook with
a new clipboard option (defaults to true). Adds esbuild text-loader
for .inline.ts and .scss files.
2026-02-14 00:32:49 +01:00
saberzero1
7255e37de4
chore: update @quartz-community/types to v0.2.1 2026-02-13 22:55:23 +01:00
saberzero1
4acdafcfde
feat: extract syntax highlighting transformer from Quartz core
Migrate the transformer plugin from Quartz internal code to a
standalone community plugin using @quartz-community/types and
@quartz-community/utils.
2026-02-13 22:31:03 +01:00
Emile Bangma
4989711605
Initial commit 2026-02-13 21:36:52 +01:00