Commit graph

21 commits

Author SHA1 Message Date
saberzero1
cfaff910e1
fix: use separate tsconfig for DTS build to avoid vitest dependency 2026-03-22 13:15:08 +01:00
saberzero1
9e56659860
fix: read defaultDateType from file data with fallback to cfg 2026-03-20 21:04:11 +01:00
saberzero1
18cf785f52
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
feebc12c76
ci: add dist externals verification step 2026-03-17 19:41:47 +01:00
saberzero1
d56cb6297a
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
003d62fee4
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
fca1e639d0
fix: update types/utils lockfile to commits with dist/ 2026-03-14 22:42:43 +01:00
saberzero1
282bdda033
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
b6a89c9954
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:39 +01:00
saberzero1
2fa96b3707
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:43 +01:00
saberzero1
6381a7c2f7
fix: add passWithNoTests to vitest config 2026-03-09 03:21:30 +01:00
saberzero1
361a1afa31
deps: update @quartz-community/types and @quartz-community/utils
Also fix code formatting with prettier.
2026-03-09 03:04:02 +01:00
saberzero1
2016dce2b0
deps: update @quartz-community/types 2026-02-28 20:08:37 +01:00
saberzero1
772b27e40c
fix: compile SCSS via sass instead of raw text to prevent lightningcss errors 2026-02-26 16:44:50 +01:00
saberzero1
f01c46b8b3
docs: update README for v5 unified config system 2026-02-25 16:07:11 +01:00
saberzero1
1e8700475d
fix: move tsup and typescript to dependencies for git install compatibility 2026-02-23 01:09:43 +01:00
saberzero1
be178b7ab4
chore: add quartz plugin manifest to package.json 2026-02-17 17:43:46 +01:00
saberzero1
87fa94a83a
docs: add plugin README 2026-02-14 02:13:38 +01:00
saberzero1
0485da1033
chore: update @quartz-community/types to v0.2.1 2026-02-13 22:58:24 +01:00
saberzero1
b61471f830
feat: migrate ContentMeta component from Quartz v5 core 2026-02-13 17:14:37 +01:00
Emile Bangma
39a5bf471b
Initial commit 2026-02-13 16:53:51 +01:00