Skip to content

Commit a78f705

Browse files
committed
fix(math,math-ssr): utils build
1 parent 24540c2 commit a78f705

File tree

11 files changed

+4
-71
lines changed

11 files changed

+4
-71
lines changed

norm.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ export default defineConfig({
114114
],
115115
},
116116
},
117-
'packages/utils': libraryConfig,
118117
'packages/plugin-breaks': libraryConfig,
119118
'packages/plugin-footnotes': libraryConfig,
120119
'packages/plugin-frontmatter': libraryConfig,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"build": "npm run clean && norm build",
7-
"clean": "rm -rf packages/*/{dist,svelte}",
7+
"clean": "rm -rf packages/*/dist",
88
"dev": "norm",
99
"docs:build": "vitepress build docs",
1010
"docs:dev": "vitepress dev docs",

packages/plugin-math-ssr/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"locales"
2727
],
2828
"devDependencies": {
29-
"@bytemd/utils": "workspace:*",
3029
"bytemd": "workspace:*",
3130
"rehype-katex": "^6.0.2",
3231
"remark-math": "^5.1.1"

packages/plugin-math-ssr/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { BytemdPlugin } from 'bytemd'
22
import remarkMath from 'remark-math'
33
import rehypeKatex, { Options } from 'rehype-katex'
4-
import { MathLocale, getMathActions } from '@bytemd/utils'
4+
import { MathLocale, getMathActions } from '../utils'
55
import en from '../locales/en.json'
66

77
export interface BytemdPluginMathSsrOptions {

packages/plugin-math-ssr/utils

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../plugin-math/utils

packages/plugin-math/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"katex": "^0.15.3"
3131
},
3232
"devDependencies": {
33-
"@bytemd/utils": "workspace:*",
3433
"bytemd": "workspace:*",
3534
"remark-math": "^5.1.1"
3635
},

packages/plugin-math/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { BytemdPlugin } from 'bytemd'
22
import type * as K from 'katex'
33
import remarkMath from 'remark-math'
4-
import { MathLocale, getMathActions } from '@bytemd/utils'
4+
import { MathLocale, getMathActions } from '../utils'
55
import en from '../locales/en.json'
66

77
export interface BytemdPluginMathOptions {
File renamed without changes.

packages/utils/CHANGELOG.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

packages/utils/package.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)