Commit graph

44 commits

Author SHA1 Message Date
saberzero1
43edc6d518
chore(deps): update @quartz-community/utils 2026-06-03 15:26:45 +02:00
saberzero1
69497e2204
chore: rebuild dist 2026-05-26 17:54:52 +02:00
saberzero1
0a27273200
chore: updated dependencies 2026-05-26 17:54:40 +02:00
saberzero1
533a2213b6
chore: regenerate package-lock.json 2026-05-24 17:32:46 +02:00
saberzero1
c766b77aa0
chore: remove vestigial @jackyzha0/quartz peerDependency 2026-05-24 16:23:49 +02:00
saberzero1
f2c3b74fb2
docs: add missing defaultOptions and optionSchema to package.json manifest 2026-05-22 20:06:19 +02:00
saberzero1
f96e631d92
build: bundle dependencies and ship pre-built dist 2026-05-22 02:51:36 +02:00
saberzero1
098b51c6f8
test: frontmatter links merging 2026-05-22 02:51:33 +02:00
saberzero1
42bdb5d0eb
fix: add frontmatter links to the existing links set 2026-05-22 02:51:18 +02:00
saberzero1
0218662b7f
build: bundle dependencies and ship pre-built dist 2026-04-27 21:37:39 +02:00
saberzero1
271cba1cca
build: bundle dependencies and ship pre-built dist 2026-04-27 21:37:39 +02:00
saberzero1
9457081749
feat: add .internal-link and .external-link class aliases for Obsidian theme compat 2026-04-25 22:56:59 +02:00
saberzero1
375a967987
deps: update @quartz-community/utils 2026-04-22 18:16:56 +02:00
saberzero1
236c405e8d
deps: update @quartz-community/utils 2026-04-17 02:37:41 +02:00
saberzero1
4f17471903
feat: add disableBrokenWikilinks option
When enabled, internal links whose resolved slug is not present in
ctx.allSlugs gain a 'broken' CSS class alongside 'internal' so they
can be styled distinctly. Applies to both wikilinks (after they've
been converted to <a> elements by ObsidianFlavoredMarkdown) and
regular markdown links, since both are indistinguishable <a> nodes
by the time this plugin runs.

This check lives here rather than in ObsidianFlavoredMarkdown because
CrawlLinks already owns link resolution and computes the canonical
slug, so the broken-link verdict uses the same resolution logic that
determines the actual href. This eliminates the drift risk where
two plugins might disagree about what 'broken' means.

Default is false (preserves existing behavior). Covered by 15 new
tests exercising absolute/relative/shortest strategies, anchor/alias
handling, external/intra-document link scopes, and empty allSlugs.
2026-04-16 22:19:29 +02:00
saberzero1
330dc10398
deps: update @quartz-community/utils 2026-04-16 22:14:17 +02:00
saberzero1
09bd6a7dfd
deps: update @quartz-community/types and @quartz-community/utils 2026-04-16 13:25:03 +02:00
saberzero1
d4c4a5d881
deps: update @quartz-community/types and @quartz-community/utils 2026-04-03 16:18:47 +02:00
saberzero1
02b05aa7fb
refactor: remove duplicate vfile DataMap fields now in @quartz-community/types 2026-04-03 15:44:03 +02:00
saberzero1
8ec4d8912f
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
d2a205609c
fix: use separate tsconfig for DTS build to avoid vitest dependency 2026-03-22 13:12:01 +01:00
saberzero1
6ed0c9f2ac
chore: update @quartz-community/utils to 8d2e14b 2026-03-22 12:38:19 +01:00
saberzero1
e2bbd1aae0
deps: update @quartz-community/utils to latest 2026-03-22 12:04:59 +01:00
saberzero1
e8cde56d0a
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
aee29d1b6e
ci: add dist externals verification step 2026-03-17 19:41:47 +01:00
saberzero1
48d9035cb7
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
c7b4d518bb
fix: add missing dependencies as devDependencies for CI build
Install vfile, github-slugger, and hast-util-to-jsx-runtime as devDependencies.
vfile is needed for the DTS build to resolve type declarations.
github-slugger and hast-util-to-jsx-runtime are peer dependencies of
@quartz-community/utils that must be present for tsup's DTS build.
2026-03-16 19:07:41 +01:00
saberzero1
55d0e6a4f0
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
6b2e3887ce
fix: update types/utils lockfile to commits with dist/ 2026-03-14 22:42:56 +01:00
saberzero1
edc4d7a061
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
ab3c2c078c
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:48 +01:00
saberzero1
b262f10e12
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:46 +01:00
saberzero1
5ccbcb5f3a
fix: resolve ESLint and formatting issues for CI compliance 2026-03-09 03:47:47 +01:00
saberzero1
adbd6bf447
fix: add passWithNoTests to vitest config 2026-03-09 03:21:30 +01:00
saberzero1
817ffd0c5a
deps: update @quartz-community/types and @quartz-community/utils 2026-03-09 03:03:56 +01:00
saberzero1
06611992b7
deps: update @quartz-community/types 2026-02-28 20:08:37 +01:00
saberzero1
c3118c9732
docs: update README for v5 unified config system 2026-02-25 16:07:03 +01:00
saberzero1
0e55167b00
fix: move tsup and typescript to dependencies for git install compatibility 2026-02-23 01:09:46 +01:00
saberzero1
58bdc4878d
feat: add optionSchema for TUI enum selection 2026-02-18 18:10:54 +01:00
saberzero1
3ca88b4ba1
chore: add quartz plugin manifest to package.json 2026-02-17 17:43:48 +01:00
saberzero1
eb09d4d77f
docs: add plugin README 2026-02-14 02:13:12 +01:00
saberzero1
f3fed36a68
chore: update @quartz-community/types to v0.2.1 2026-02-13 22:55:43 +01:00
saberzero1
f1d728ef32
feat: extract crawl links transformer from Quartz core
Migrate the CrawlLinks/LinkProcessing transformer to a standalone
community plugin. Uses path utilities from @quartz-community/utils.
2026-02-13 22:31:24 +01:00
Emile Bangma
855be73f69
Initial commit 2026-02-13 21:41:03 +01:00