@tnotesjs/core 0.1.5 → 0.1.6

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.

Potentially problematic release.


This version of @tnotesjs/core might be problematic. Click here for more details.

@@ -969,7 +969,12 @@ function defineNotesConfig(overrides = {}) {
969
969
  ...overrideVite?.define
970
970
  },
971
971
  optimizeDeps: {
972
- include: ["@vscode/markdown-it-katex"],
972
+ include: [
973
+ "@vscode/markdown-it-katex",
974
+ "dayjs",
975
+ "dayjs/plugin/utc",
976
+ "dayjs/plugin/localizedFormat"
977
+ ],
973
978
  ...overrideVite?.optimizeDeps
974
979
  }
975
980
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tnotesjs/core",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "TNotes 知识库核心框架 —— 基于 VitePress 的笔记管理系统",
5
5
  "type": "module",
6
6
  "bin": {
@@ -103,7 +103,12 @@ export function defineNotesConfig(overrides: UserConfig = {}) {
103
103
  ...overrideVite?.define,
104
104
  },
105
105
  optimizeDeps: {
106
- include: ['@vscode/markdown-it-katex'],
106
+ include: [
107
+ '@vscode/markdown-it-katex',
108
+ 'dayjs',
109
+ 'dayjs/plugin/utc',
110
+ 'dayjs/plugin/localizedFormat',
111
+ ],
107
112
  ...overrideVite?.optimizeDeps,
108
113
  },
109
114
  },