Skip to content

Commit bc7f007

Browse files
committed
chore: naming
1 parent cdc5c25 commit bc7f007

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-editor-vue",
3-
"pascalCasedName": "JsonEditorVue",
3+
"PascalCasedName": "JsonEditorVue",
44
"version": "0.10.2",
55
"private": false,
66
"packageManager": "pnpm@7.18.1",
@@ -99,4 +99,4 @@
9999
"publishConfig": {
100100
"registry": "https://registry.npmjs.org"
101101
}
102-
}
102+
}

src/Component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type { PropType } from 'vue-demi'
1313
import { JSONEditor } from 'vanilla-jsoneditor'
1414
import { conclude } from 'vue-global-config'
1515
import { debounce } from 'lodash-es'
16-
import { pascalCasedName as name } from '../package.json'
16+
import { PascalCasedName as name } from '../package.json'
1717
import { globalAttrs, globalProps } from './install'
1818

1919
export type Mode = 'tree' | 'text' | 'table'

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ConfigEnv, UserConfigExport } from 'vite'
22
import dts from 'vite-plugin-dts'
3-
import { name, pascalCasedName } from './package.json'
3+
import { name, PascalCasedName } from './package.json'
44

55
// https://vitejs.dev/config/
66
export default ({ command }: ConfigEnv): UserConfigExport => {
@@ -19,7 +19,7 @@ export default ({ command }: ConfigEnv): UserConfigExport => {
1919
],
2020
output: {
2121
globals: {
22-
[name]: pascalCasedName,
22+
[name]: PascalCasedName,
2323
'vanilla-jsoneditor': 'JSONEditor',
2424
'vue': 'Vue',
2525
'vue-demi': 'VueDemi',

0 commit comments

Comments
 (0)