@tnotesjs/core 0.1.6 → 0.1.7

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.

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