@notion-headless-cms/core 0.3.21 → 0.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notion-headless-cms/core",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "description": "Core CMS engine for notion-headless-cms — fetch, transform, cache with stale-while-revalidate strategy",
5
5
  "keywords": [
6
6
  "notion",
@@ -42,6 +42,14 @@
42
42
  "./html": {
43
43
  "types": "./dist/html.d.mts",
44
44
  "import": "./dist/html.mjs"
45
+ },
46
+ "./source-author": {
47
+ "types": "./dist/source-author.d.mts",
48
+ "import": "./dist/source-author.mjs"
49
+ },
50
+ "./preset/node": {
51
+ "types": "./dist/preset/node.d.mts",
52
+ "import": "./dist/preset/node.mjs"
45
53
  }
46
54
  },
47
55
  "files": [
@@ -55,16 +63,16 @@
55
63
  "provenance": true
56
64
  },
57
65
  "peerDependencies": {
58
- "@notion-headless-cms/renderer": "0.1.8"
66
+ "@notion-headless-cms/markdown-html": "1.0.1"
59
67
  },
60
68
  "peerDependenciesMeta": {
61
- "@notion-headless-cms/renderer": {
69
+ "@notion-headless-cms/markdown-html": {
62
70
  "optional": true
63
71
  }
64
72
  },
65
73
  "devDependencies": {},
66
74
  "scripts": {
67
- "build": "tsdown src/index.ts src/errors.ts src/hooks.ts src/cache/memory.ts src/html.ts --format esm --dts --sourcemap --out-dir dist",
75
+ "build": "tsdown src/index.ts src/errors.ts src/hooks.ts src/cache/memory.ts src/html.ts src/source-author.ts src/preset/node.ts --format esm --dts --sourcemap --out-dir dist",
68
76
  "typecheck": "tsc --noEmit",
69
77
  "test": "vitest run",
70
78
  "test:coverage": "vitest run --coverage --coverage.reporter=lcov --coverage.reporter=text",