helm-viewer 0.18.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/eslint.config.mjs CHANGED
@@ -1,16 +1,46 @@
1
- import perfectionist from "eslint-plugin-perfectionist";
1
+ import eslint from "@eslint/js";
2
2
 
3
- export default {
4
- ignores: ["cli/**", "binary/**"],
5
- plugins: {
6
- perfectionist,
3
+ import eslintPluginJsonc from "eslint-plugin-jsonc";
4
+ import eslintPluginPrettierRecommended from "eslint-plugin-prettier";
5
+ import simpleImportSort from "eslint-plugin-simple-import-sort";
6
+ import tseslint from "typescript-eslint";
7
+
8
+ export default tseslint.config(
9
+ eslint.configs.recommended,
10
+ tseslint.configs.recommended,
11
+ ...eslintPluginJsonc.configs["flat/recommended-with-jsonc"],
12
+ {
13
+ plugins: {
14
+ "eslint-plugin-prettier": eslintPluginPrettierRecommended,
15
+ },
16
+ },
17
+ {
18
+ plugins: {
19
+ "simple-import-sort": simpleImportSort,
20
+ },
21
+ ignores: ["package.json"],
22
+ rules: {
23
+ // https://github.com/lydell/eslint-plugin-simple-import-sort
24
+ "simple-import-sort/imports": [
25
+ "error",
26
+ {
27
+ // https://dev.to/receter/automatic-import-sorting-in-vscode-275m
28
+ groups: [["^@?\\w", "^node"], ["^[^@]?\\w"]],
29
+ },
30
+ ],
31
+ "simple-import-sort/exports": "error",
32
+ },
33
+ },
34
+ {
35
+ rules: {
36
+ "@typescript-eslint/no-explicit-any": "off",
37
+ },
7
38
  },
8
- rules: {
9
- "@typescript-eslint/no-invalid-void-type": "off",
10
- // It's because maybe one day default html component will be called
11
- // and there are always in one word
12
- "vue/multi-word-component-names": "off",
13
- "vue/html-self-closing": "off",
14
- "perfectionist/sort-imports": "error",
39
+ {
40
+ files: ["**/*.json"],
41
+ ignores: ["package.json"],
42
+ rules: {
43
+ "jsonc/sort-keys": ["error"],
44
+ },
15
45
  },
16
- };
46
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helm-viewer",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "Quick tool to easily view your helm charts.",
5
5
  "author": "Tchoupinax <corentinfiloche@hotmail.fr> (https://corentinfiloche.xyz)",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "scripts": {
24
24
  "lint": "yarn lint:eslint && yarn lint:prettier",
25
- "lint:eslint": "eslint .",
25
+ "lint:eslint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
26
26
  "lint:fix": "yarn lint:eslint --fix && prettier --write .",
27
27
  "lint:inspect": "npx @eslint/config-inspector@latest",
28
28
  "lint:prettier": "prettier . --check",
@@ -39,28 +39,32 @@
39
39
  "clean": "rm -rf dist binary tmp compiled src/assets"
40
40
  },
41
41
  "dependencies": {
42
- "@aws-sdk/client-s3": "3.632.0",
43
- "chalk": "5.3.0",
42
+ "@aws-sdk/client-s3": "3.716.0",
43
+ "chalk": "5.4.0",
44
44
  "chokidar": "3.6.0",
45
45
  "crypto-js": "4.2.0",
46
- "execa": "9.3.1",
47
- "nanoid": "5.0.7",
46
+ "execa": "9.5.2",
47
+ "nanoid": "5.0.9",
48
48
  "open": "10",
49
49
  "ws": "8.18.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/js-yaml": "4.0.9",
53
- "@types/node": "22.3.0",
54
- "@types/ws": "8.5.12",
55
- "@vercel/ncc": "0.38.1",
56
- "eslint": "9.9.0",
57
- "eslint-plugin-perfectionist": "3.2.0",
53
+ "@types/node": "22.10.2",
54
+ "@types/ws": "8.5.13",
55
+ "@vercel/ncc": "0.38.3",
56
+ "eslint": "9.17.0",
57
+ "eslint-plugin-jsonc": "2.18.2",
58
+ "eslint-plugin-perfectionist": "4.4.0",
59
+ "eslint-plugin-prettier": "5.2.1",
60
+ "eslint-plugin-simple-import-sort": "12.1.1",
58
61
  "js-yaml": "4.1.0",
59
62
  "npm-packlist": "8.0.2",
60
63
  "postject": "1.0.0-alpha.6",
61
- "prettier": "3.3.3",
62
- "typescript": "5.5.4",
63
- "vite-node": "2.0.5",
64
- "vitest": "2.0.5"
64
+ "prettier": "3.4.2",
65
+ "typescript": "5.7.2",
66
+ "typescript-eslint": "8.18.1",
67
+ "vite-node": "2.1.8",
68
+ "vitest": "2.1.8"
65
69
  }
66
- }
70
+ }