Skip to content

Commit fc52763

Browse files
committed
refactor: change file name convention to camelCase
1 parent d110c01 commit fc52763

File tree

11 files changed

+39
-39
lines changed

11 files changed

+39
-39
lines changed

src/deep-objects-merge.ts renamed to src/deepObjectsMerge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): deep-objects-merge.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): deepObjectsMerge.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

src/get-color.ts renamed to src/getColor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): get-color.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): getColor.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

8-
import getStyle from './get-style'
8+
import getStyle from './getStyle'
99

1010
const getColor = (rawProperty: string, element = document.body) => {
1111
const property = `--${rawProperty}`

src/get-style.ts renamed to src/getStyle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): get-style.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): getStyle.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

src/hex-to-rgb.ts renamed to src/hexToRgb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): hex-to-rgb.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): hexToRgb.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

src/hex-to-rgba.ts renamed to src/hexToRgba.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): hex-to-rgba.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): hexToRgba.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

src/index.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/**
22
* --------------------------------------------------------------------------
33
* CoreUI (__COREUI_VERSION__): index.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

8-
import deepObjectsMerge from './deep-objects-merge'
9-
import getColor from './get-color'
10-
import getStyle from './get-style'
11-
import hexToRgb from './hex-to-rgb'
12-
import hexToRgba from './hex-to-rgba'
13-
import makeUid from './make-uid'
14-
import omitByKeys from './omit-by-keys'
15-
import pickByKeys from './pick-by-keys'
16-
import rgbToHex from './rgb-to-hex'
8+
import deepObjectsMerge from './deepObjectsMerge'
9+
import getColor from './getColor'
10+
import getStyle from './getStyle'
11+
import hexToRgb from './hexToRgb'
12+
import hexToRgba from './hexToRgba'
13+
import makeUid from './makeUid'
14+
import omitByKeys from './omitByKeys'
15+
import pickByKeys from './pickByKeys'
16+
import rgbToHex from './rgbToHex'
1717

1818
export {
1919
deepObjectsMerge,

src/index.umd.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): index.umd.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): index.umd.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

8-
import deepObjectsMerge from './deep-objects-merge'
9-
import getColor from './get-color'
10-
import getStyle from './get-style'
11-
import hexToRgb from './hex-to-rgb'
12-
import hexToRgba from './hex-to-rgba'
13-
import makeUid from './make-uid'
14-
import pickByKeys from './pick-by-keys'
15-
import rgbToHex from './rgb-to-hex'
8+
import deepObjectsMerge from './deepObjectsMerge'
9+
import getColor from './getColor'
10+
import getStyle from './getStyle'
11+
import hexToRgb from './hexToRgb'
12+
import hexToRgba from './hexToRgba'
13+
import makeUid from './makeUid'
14+
import pickByKeys from './pickByKeys'
15+
import rgbToHex from './rgbToHex'
1616

1717
export default {
1818
deepObjectsMerge,

src/make-uid.ts renamed to src/makeUid.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): make-uid.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): makeUid.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

src/omit-by-keys.ts renamed to src/omitByKeys.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): omit-by-keys.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): omitByKeys.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

src/pick-by-keys.ts renamed to src/pickByKeys.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* --------------------------------------------------------------------------
3-
* CoreUI (__COREUI_VERSION__): pick-by-keys.ts
4-
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/master/LICENSE)
3+
* CoreUI Utils (__COREUI_VERSION__): pickByKeys.ts
4+
* Licensed under MIT (https://github.com/coreui/coreui-utils/blob/main/LICENSE)
55
* --------------------------------------------------------------------------
66
*/
77

0 commit comments

Comments
 (0)