Skip to content

Commit

Permalink
Merge pull request #1043 from 3YOURMIND/bump-knip
Browse files Browse the repository at this point in the history
dx(knip): update to latest
  • Loading branch information
Isokaeder authored Jan 17, 2025
2 parents 2f6d41e + 8dac603 commit c018dd4
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 224 deletions.
1 change: 1 addition & 0 deletions knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"entry": [
"pages/**/*.vue",
"layouts/**/*.vue",
"components/{ActionBar,ColorPalette,ColorUsage,LayoutContainer,MyToaster,NavBar}.vue",
"plugins/**/*.js",
"nuxt.config.ts"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/node": "20.11.16",
"eslint": "^9.17.0",
"husky": "^7.0.1",
"knip": "^5.13.0",
"knip": "^5.42.1",
"lerna": "^7.4.2",
"lint-staged": "^11.0.1",
"nodemon": "^3.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ import { computed, defineComponent } from 'vue'
import { makeProps } from '../../make-props'
import { KottiNavbar } from '../types'
export const propsSchema = KottiNavbar.propsSchema.pick({
import NavbarTooltip from './NavbarTooltip.vue'
const propsSchema = KottiNavbar.propsSchema.pick({
isNarrow: true,
sections: true,
})
import NavbarTooltip from './NavbarTooltip.vue'
export default defineComponent({
name: 'KtNavbarMenu',
components: {
Expand Down
4 changes: 2 additions & 2 deletions packages/kotti-ui/source/kotti-table/table/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import { type ReactStyleUpdater, useComputedRef } from './use-computed-ref'

export const EXPANSION_COLUMN_ID = 'internal-expand-column'
export const SELECTION_COLUMN_ID = 'internal-select-column'
export const ARRAY_START = 2
const ARRAY_START = 2

export type SortingState<COLUMN_ID extends string = string> = {
type SortingState<COLUMN_ID extends string = string> = {
desc: boolean
id: COLUMN_ID
}[]
Expand Down
2 changes: 1 addition & 1 deletion packages/kotti-ui/source/kotti-toaster/create-toaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const queuedToastSchema = z
})
.strict()

export type QueuedToast = z.output<typeof queuedToastSchema>
type QueuedToast = z.output<typeof queuedToastSchema>

const renderedMessageSchema = z
.object({
Expand Down
Loading

0 comments on commit c018dd4

Please sign in to comment.