Skip to content

Commit 460cb1e

Browse files
committed
fix(ui): Incompatibility with @quasar/app-vite 2.0.0-rc.2 due to declare module '@vue/runtime-core' (#402)
1 parent db8adb1 commit 460cb1e

File tree

5 files changed

+21
-25
lines changed

5 files changed

+21
-25
lines changed

app-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
"devDependencies": {
4949
"@babel/eslint-parser": "^7.17.0"
5050
}
51-
}
51+
}

ui/jsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
},
66
"exclude": ["node_modules", "dist"],
77
"include": ["src/**/*", "build/**/*", "test/**/*"]
8-
}
8+
}

ui/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"attributes": "dist/vetur/attributes.json"
4747
},
4848
"dependencies": {
49-
"@types/markdown-it": "^12.2.3",
5049
"markdown-it": "^12.3.2",
5150
"markdown-it-container": "^3.0.0",
5251
"markdown-it-imsize": "^2.0.1",
@@ -80,9 +79,9 @@
8079
"fs-extra": "^10.1.0",
8180
"kolorist": "^1.8.0",
8281
"open": "^8.4.0",
83-
"postcss": "8.4.12",
82+
"postcss": "8.4.49",
8483
"punycode": "^2.3.1",
85-
"quasar-json-api": "2.0.0-alpha.2",
84+
"quasar-json-api": "2.0.0-alpha.5",
8685
"rimraf": "^3.0.2",
8786
"rollup": "^2.70.2",
8887
"rtlcss": "^3.5.0",

ui/types/types.d.ts

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
import MarkdownIt from "markdown-it";
2-
export * from "./vue-prop-types";
1+
import MarkdownIt from 'markdown-it'
2+
export * from './vue-prop-types'
33

44
export interface TocDefinition {
5-
id: String,
6-
label: string,
7-
level?: number,
8-
children?: TocDefinitionArray
9-
};
10-
export type TocDefinitionArray = TocDefinition[];
5+
id: String
6+
label: string
7+
level?: number
8+
children?: TocDefinitionArray
9+
}
1110

12-
export type MarkdownItPlugin =
13-
MarkdownIt.PluginSimple | MarkdownIt.PluginWithOptions | MarkdownIt.PluginWithParams;
14-
export type MarkdownItPluginsArray = MarkdownItPlugin[];
11+
export type TocDefinitionArray = TocDefinition[]
12+
13+
export type MarkdownItPlugin =
14+
| MarkdownIt.PluginSimple
15+
| MarkdownIt.PluginWithOptions
16+
| MarkdownIt.PluginWithParams
17+
export type MarkdownItPluginsArray = MarkdownItPlugin[]

ui/types/vue-prop-types.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@ export type VueClassObjectProp = {
22
[value: string]: any
33
}
44

5-
export type VueClassProp =
6-
| string
7-
| Array<VueClassProp>
8-
| VueClassObjectProp;
5+
export type VueClassProp = string | Array<VueClassProp> | VueClassObjectProp
96

10-
export type VueStyleObjectProp = Partial<CSSStyleDeclaration>;
7+
export type VueStyleObjectProp = Partial<CSSStyleDeclaration>
118

12-
export type VueStyleProp =
13-
| string
14-
| Array<VueStyleProp>
15-
| VueStyleObjectProp;
9+
export type VueStyleProp = string | Array<VueStyleProp> | VueStyleObjectProp

0 commit comments

Comments
 (0)