Skip to content

Commit a77c4fa

Browse files
authored
Fixes tailwind config issue causing build failure in node23 (kubetail-org#139)
Fixes Homebrew/homebrew-core#195821 (comment)
1 parent 3b4a9f1 commit a77c4fa

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
1+
import kubetailUIPlugin from '@kubetail/ui/plugin';
2+
import fancyAnsiPlugin from 'fancy-ansi/plugin';
3+
14
/** @type {import('tailwindcss').Config} */
2-
module.exports = {
5+
export default {
36
content: [
47
'./src/**/*.{ts,tsx}',
58
'./node_modules/@kubetail/ui/**/*.js',
6-
],
9+
],
710
plugins: [
8-
require('@kubetail/ui/plugin'),
9-
require('fancy-ansi/plugin')
11+
kubetailUIPlugin,
12+
fancyAnsiPlugin,
1013
],
1114
theme: {
1215
extend: {
1316
keyframes: {
1417
'flash-bg-green': {
1518
'0%': { backgroundColor: '#bbf7d0' }, // green
1619
'100%': { backgroundColor: 'transparent' }, // transparent
17-
}
20+
},
1821
},
1922
animation: {
2023
'flash-bg-green': 'flash-bg-green 1s ease-in-out',
21-
}
22-
}
23-
}
24-
}
24+
},
25+
},
26+
},
27+
};

dashboard-ui/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
]
3535
},
3636
"include": [
37-
"src"
37+
"src",
38+
"tailwind.config.ts"
3839
],
3940
"references": [{ "path": "./tsconfig.node.json" }]
4041
}

modules/cli/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
// rootCmd represents the base command when called without any subcommands
2424
var rootCmd = &cobra.Command{
2525
Use: "kubetail",
26-
Version: "0.0.6",
26+
Version: "0.0.7",
2727
Short: "Kubetail - Kubernetes Logging Utility",
2828
}
2929

0 commit comments

Comments
 (0)