Skip to content

Commit 02b1294

Browse files
committed
chore: enhance release script and fix lint
1 parent 13e7a22 commit 02b1294

File tree

7 files changed

+7
-20
lines changed

7 files changed

+7
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ts-inputs",
33
"type": "module",
4-
"version": "0.1.3",
4+
"version": "0.1.4",
55
"description": "Modern & lightweight input masking.",
66
"author": "Chris Breuer <[email protected]>",
77
"license": "MIT",

packages/ts-inputs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ts-inputs",
33
"type": "module",
4-
"version": "0.1.0",
4+
"version": "0.1.4",
55
"description": "A collection of input components.",
66
"author": "Chris Breuer <[email protected]>",
77
"license": "MIT",

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ts-inputs-vue",
33
"type": "module",
4-
"version": "0.1.0",
4+
"version": "0.1.4",
55
"description": "Vue components for ts-inputs - Modern & lightweight input masking",
66
"author": "Chris Breuer <[email protected]>",
77
"license": "MIT",

packages/vue/src/components/BaseInput.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ import DateTimePicker from './datetime-picker/DateTimePicker.vue'
77
import NumeralInput from './numeral/NumeralInput.vue'
88
99
// Add Google Maps type declaration
10+
/* eslint-disable ts/no-namespace */
1011
declare global {
1112
namespace google {
1213
namespace maps {
1314
namespace places {
1415
class Autocomplete {
1516
constructor(input: HTMLInputElement, options?: AutocompleteOptions)
16-
addListener(eventName: string, handler: Function): void
17+
addListener(eventName: string, handler: (event: any) => void): void
1718
getPlace(): any
1819
}
1920
}
@@ -23,6 +24,7 @@ declare global {
2324
google: typeof google
2425
}
2526
}
27+
/* eslint-enable ts/no-namespace */
2628
2729
interface AutocompleteOptions {
2830
types?: string[]
@@ -313,15 +315,6 @@ function handleDatePickerEvents(event: string, value?: any) {
313315
break
314316
}
315317
}
316-
317-
interface FormatNumeralOptions {
318-
delimiter?: string
319-
thousandGroupStyle?: string
320-
integerScale?: number
321-
decimalMark?: string
322-
decimalScale?: number
323-
positiveOnly?: boolean
324-
}
325318
</script>
326319

327320
<template>

packages/vue/src/components/datetime-picker/components/TimePicker/time-picker-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ComputedRef, UnwrapNestedRefs, WritableComputedRef } from 'vue'
22

3-
import type { DisabledTime, DisabledTimesConfig, InternalModuleValue, Time, TimeModel, TimeType, TimeValuesInv } from '../../interfaces'
3+
import type { DisabledTime, InternalModuleValue, Time, TimeModel, TimeType, TimeValuesInv } from '../../interfaces'
44

55
import type { PickerBasePropsType } from '../../props'
66
import { isAfter, isBefore, setMilliseconds, setSeconds } from 'date-fns'

packages/vue/src/vue-shims.d.ts

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

scripts/publish-packages.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)