hyouji 0.0.9 → 0.0.10

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/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ### article
4
4
 
5
- https://levelup.gitconnected.com/create-github-labels-from-terminal-158d4868fab
5
+ https://levelup.gitconnected.com/create-github-labels-from-terminal-158d4868fab
6
+ https://github.com/koji/Hyouji/blob/main/blog/article.md
6
7
 
7
8
  [![CI](https://github.com/koji/github-label-manager/actions/workflows/ci.yml/badge.svg)](https://github.com/koji/github-label-manager/actions/workflows/ci.yml)
8
9
  [![Publish](https://github.com/koji/github-label-manager/actions/workflows/publish.yml/badge.svg)](https://github.com/koji/github-label-manager/actions/workflows/publish.yml)
package/dist/index.js CHANGED
@@ -1012,9 +1012,7 @@ const generateSampleJson = async () => {
1012
1012
  )
1013
1013
  );
1014
1014
  } else {
1015
- log$3(
1016
- chalk.red(`❌ Error generating sample JSON file: ${error.message}`)
1017
- );
1015
+ log$3(chalk.red(`❌ Error generating sample JSON file: ${error.message}`));
1018
1016
  }
1019
1017
  } else {
1020
1018
  log$3(
@@ -1069,9 +1067,7 @@ const generateSampleYaml = async () => {
1069
1067
  )
1070
1068
  );
1071
1069
  } else {
1072
- log$2(
1073
- chalk.red(`❌ Error generating sample YAML file: ${error.message}`)
1074
- );
1070
+ log$2(chalk.red(`❌ Error generating sample YAML file: ${error.message}`));
1075
1071
  }
1076
1072
  } else {
1077
1073
  log$2(
@@ -1139,9 +1135,7 @@ const importLabelsFromFile = async (configs2, filePath) => {
1139
1135
  }
1140
1136
  } catch (parseError) {
1141
1137
  const formatName = format.toUpperCase();
1142
- log$1(
1143
- chalk.red(`Error: Invalid ${formatName} syntax in file: ${filePath}`)
1144
- );
1138
+ log$1(chalk.red(`Error: Invalid ${formatName} syntax in file: ${filePath}`));
1145
1139
  log$1(
1146
1140
  chalk.red(
1147
1141
  `Parse error: ${parseError instanceof Error ? parseError.message : "Unknown error"}`
@@ -1823,6 +1817,7 @@ const main = async () => {
1823
1817
  case 8: {
1824
1818
  console.log("exit");
1825
1819
  process.exit(0);
1820
+ return;
1826
1821
  }
1827
1822
  // eslint-disable-next-line no-fallthrough
1828
1823
  default: {
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "hyouji",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Hyouji (表示) — A command-line tool for organizing and displaying GitHub labels with clarity and harmony.",
5
5
  "main": "dist/index.js",
6
+ "author": "koji <baxin1919@gmail.com>",
7
+ "homepage": "https://github.com/koji/Hyouji",
6
8
  "bin": {
7
9
  "hyouji": "dist/index.js"
8
10
  },
@@ -29,15 +31,12 @@
29
31
  "start": "node dist/index.js",
30
32
  "build": "vite build",
31
33
  "dev": "vite build --watch",
32
- "fix": "run-s fix:*",
33
- "fix:prettier": "prettier \"src/**/*.ts\" --write",
34
- "fix:lint": "eslint src --ext .ts --fix",
34
+ "lint": "biome lint .",
35
+ "lint:fix": "biome lint --write .",
35
36
  "test": "vitest run",
36
37
  "test:watch": "vitest",
37
38
  "test:ui": "vitest --ui",
38
39
  "test:coverage": "vitest run --coverage",
39
- "test:lint": "eslint src --ext .ts",
40
- "test:prettier": "prettier \"src/**/*.ts\" --list-different",
41
40
  "test:error-handling": "node tests/scripts/error-handling/run-all.cjs",
42
41
  "test:config": "node tests/scripts/config/run-all.cjs",
43
42
  "test:integration": "node tests/scripts/run-integration.cjs",
@@ -59,26 +58,19 @@
59
58
  "dependencies": {
60
59
  "@octokit/core": "^7.0.3",
61
60
  "chalk": "^5.4.1",
61
+ "js-yaml": "^4.1.0",
62
62
  "oh-my-logo": "^0.3.0",
63
63
  "prompts": "^2.4.2"
64
64
  },
65
65
  "devDependencies": {
66
+ "@biomejs/biome": "2.2.6",
66
67
  "@types/js-yaml": "^4.0.9",
67
68
  "@types/node": "^24.0.13",
68
69
  "@vitest/coverage-v8": "^3.2.4",
69
70
  "@vitest/ui": "^3.2.4",
70
- "eslint": "^9.30.1",
71
- "eslint-config-prettier": "^10.1.5",
72
- "eslint-import-resolver-typescript": "^4.4.4",
73
- "eslint-plugin-eslint-comments": "^3.2.0",
74
- "eslint-plugin-import": "^2.32.0",
75
- "globals": "^16.3.0",
76
- "npm-run-all": "^4.1.5",
77
- "prettier": "^3.6.2",
78
71
  "standard-version": "^9.5.0",
79
72
  "ts-node": "^10.9.2",
80
73
  "typescript": "^5.8.3",
81
- "typescript-eslint": "^8.36.0",
82
74
  "vite": "^7.1.2",
83
75
  "vitest": "^3.2.4"
84
76
  },
@@ -87,8 +79,5 @@
87
79
  "README.md",
88
80
  "LICENSE"
89
81
  ],
90
- "prettier": {
91
- "singleQuote": true
92
- },
93
82
  "type": "module"
94
83
  }