@globalbrain/sefirot 4.4.0 → 4.4.1

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.
Files changed (2) hide show
  1. package/config/vite.js +15 -1
  2. package/package.json +1 -1
package/config/vite.js CHANGED
@@ -17,7 +17,21 @@ import { mergeConfig } from 'vite'
17
17
 
18
18
  /** @type {import('vite').UserConfig} */
19
19
  export const baseConfig = {
20
- plugins: [icons({ scale: 1 })],
20
+ plugins: [
21
+ icons({ scale: 1 }),
22
+ {
23
+ enforce: 'pre',
24
+ name: 'sefirot:patch-linkify-it',
25
+ transform(code, id) {
26
+ if (id.includes('markdown-it')) {
27
+ return code.replace(
28
+ 'const text_separators = "[><\uFF5C]"',
29
+ 'const text_separators = "[><\uFF00-\uFFEF]"' // https://www.fileformat.info/info/unicode/block/halfwidth_and_fullwidth_forms/index.htm
30
+ )
31
+ }
32
+ }
33
+ }
34
+ ],
21
35
 
22
36
  resolve: {
23
37
  alias: { 'sefirot/': fileURLToPath(new URL('../lib/', import.meta.url)) },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
3
  "type": "module",
4
- "version": "4.4.0",
4
+ "version": "4.4.1",
5
5
  "packageManager": "pnpm@9.9.0",
6
6
  "description": "Vue Components for Global Brain Design System.",
7
7
  "author": "Kia Ishii <ka.ishii@globalbrains.com>",