diff --git a/dashboard-ui/tailwind.config.js b/dashboard-ui/tailwind.config.ts similarity index 68% rename from dashboard-ui/tailwind.config.js rename to dashboard-ui/tailwind.config.ts index c02f16f0..d0a87607 100644 --- a/dashboard-ui/tailwind.config.js +++ b/dashboard-ui/tailwind.config.ts @@ -1,12 +1,15 @@ +import kubetailUIPlugin from '@kubetail/ui/plugin'; +import fancyAnsiPlugin from 'fancy-ansi/plugin'; + /** @type {import('tailwindcss').Config} */ -module.exports = { +export default { content: [ './src/**/*.{ts,tsx}', './node_modules/@kubetail/ui/**/*.js', - ], + ], plugins: [ - require('@kubetail/ui/plugin'), - require('fancy-ansi/plugin') + kubetailUIPlugin, + fancyAnsiPlugin, ], theme: { extend: { @@ -14,11 +17,11 @@ module.exports = { 'flash-bg-green': { '0%': { backgroundColor: '#bbf7d0' }, // green '100%': { backgroundColor: 'transparent' }, // transparent - } + }, }, animation: { 'flash-bg-green': 'flash-bg-green 1s ease-in-out', - } - } - } -} + }, + }, + }, +}; diff --git a/dashboard-ui/tsconfig.json b/dashboard-ui/tsconfig.json index faa15883..70d34ea3 100644 --- a/dashboard-ui/tsconfig.json +++ b/dashboard-ui/tsconfig.json @@ -34,7 +34,8 @@ ] }, "include": [ - "src" + "src", + "tailwind.config.ts" ], "references": [{ "path": "./tsconfig.node.json" }] } diff --git a/modules/cli/cmd/root.go b/modules/cli/cmd/root.go index 3d8cea6d..f65daf67 100644 --- a/modules/cli/cmd/root.go +++ b/modules/cli/cmd/root.go @@ -23,7 +23,7 @@ import ( // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ Use: "kubetail", - Version: "0.0.6", + Version: "0.0.7", Short: "Kubetail - Kubernetes Logging Utility", }