@mizdra/github-label-presets 0.2.0 → 1.1.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.
Files changed (3) hide show
  1. package/README.md +1 -15
  2. package/index.json +46 -35
  3. package/package.json +6 -7
package/README.md CHANGED
@@ -2,22 +2,8 @@
2
2
 
3
3
  The label presets for https://github.com/azu/github-label-setup.
4
4
 
5
- ## Requirements
6
-
7
- `GITHUB_ACCESS_TOKEN` 環境変数が必要です。envchain などでセットアップしておいてください。
8
-
9
- ```bash
10
- envchain --set github GITHUB_ACCESS_TOKEN
11
- ```
12
-
13
- ## Install
14
-
15
- ```bash
16
- npm i -g @azu/github-label-setup @mizdra/github-label-presets
17
- ```
18
-
19
5
  ## Usage
20
6
 
21
7
  ```bash
22
- envchain github github-label-setup --labels @mizdra/github-label-presets
8
+ GITHUB_TOKEN=$(gh auth token) npx -p @azu/github-label-setup -p @mizdra/github-label-presets github-label-setup --labels @mizdra/github-label-presets
23
9
  ```
package/index.json CHANGED
@@ -78,59 +78,70 @@
78
78
  "color": "F9C90A",
79
79
  "description": "Lacks enough info to make progress"
80
80
  },
81
-
82
81
  {
83
- "name": "Type: Add",
84
- "color": "0e8a16",
85
- "description": "Add new features.",
86
- "aliases": ["enhancement", "Type: Feature"]
87
- },
88
- {
89
- "name": "Type: Change",
90
- "color": "fbca04",
91
- "description": "Change existing functionality.",
82
+ "name": "Type: Breaking Change",
83
+ "color": "b60205",
84
+ "description": "Includes breaking changes",
92
85
  "aliases": [
93
86
  "breaking",
94
87
  "breaking-change",
95
- "Type: Breaking Change",
96
- "documents",
97
- "document",
98
- "Type: Documentation"
88
+ "Type: Change",
89
+ "Type: Remove",
90
+ "Type: Deprecate"
99
91
  ]
100
92
  },
101
93
  {
102
- "name": "Type: Deprecate",
103
- "color": "d93f0b",
104
- "description": "Mark as soon-to-be removed features.",
105
- "aliases": []
94
+ "name": "Type: Bug",
95
+ "color": "5319e7",
96
+ "description": "Bug or Bug fixes",
97
+ "aliases": ["bug", "Type: Fix"]
106
98
  },
107
99
  {
108
- "name": "Type: Fix",
109
- "color": "5319e7",
110
- "description": "Fix bug.",
111
- "aliases": ["bug", "Type: Bug"]
100
+ "name": "Type: Documentation",
101
+ "color": "0e8a16",
102
+ "description": "Documentation only changes",
103
+ "aliases": ["documents", "document"]
112
104
  },
113
105
  {
114
- "name": "Type: Remove",
115
- "color": "b60205",
116
- "description": "Remove features",
117
- "aliases": []
106
+ "name": "Type: Feature",
107
+ "color": "1d76db",
108
+ "description": "New Feature",
109
+ "aliases": ["enhancement", "Type: Add"]
118
110
  },
119
111
  {
120
- "name": "Type: Dependencies",
121
- "color": "0366d6",
122
- "description": "Dependency issues or Changes to dependency files."
112
+ "name": "Type: Refactoring",
113
+ "color": "fbca04",
114
+ "description": "A code change that neither fixes a bug nor adds a feature",
115
+ "aliases": ["refactor"]
116
+ },
117
+ {
118
+ "name": "Type: Testing",
119
+ "color": "257759",
120
+ "description": "Adding missing tests or correcting existing tests",
121
+ "aliases": ["test", "testing"]
122
+ },
123
+ {
124
+ "name": "Type: Maintenance",
125
+ "color": "abd406",
126
+ "description": "Repository Maintenance",
127
+ "aliases": ["greenkeeper", "maintenance"]
128
+ },
129
+ {
130
+ "name": "Type: CI",
131
+ "color": "ffd412",
132
+ "description": "Changes to CI configuration files and scripts",
133
+ "aliases": ["travis", "ci", "circleci"]
123
134
  },
124
135
  {
125
136
  "name": "Type: Security",
126
- "color": "0052cc",
127
- "description": "In case of vulnerabilities.",
137
+ "color": "ee0701",
138
+ "description": "Vulnerability disclosure or Fixing security issue",
128
139
  "aliases": ["security"]
129
140
  },
130
141
  {
131
- "name": "Type: Other",
132
- "color": "aaaaaa",
133
- "description": "Cannot be classified into any other type.",
134
- "aliases": []
142
+ "name": "Type: Dependencies",
143
+ "color": "0366d6",
144
+ "description": "Dependency issues or Changes to dependency files",
145
+ "aliases": ["dependencies"]
135
146
  }
136
147
  ]
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@mizdra/github-label-presets",
3
3
  "description": "The label presets for https://github.com/azu/github-label-setup.",
4
- "version": "0.2.0",
5
- "type": "commonjs",
6
- "repository": "https://github.com/mizdra/github-label-presets.git",
4
+ "version": "1.1.0",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/mizdra/github-label-presets.git"
9
+ },
7
10
  "author": "mizdra <pp.mizdra@gmail.com>",
8
11
  "license": "MIT",
9
12
  "private": false,
@@ -11,10 +14,6 @@
11
14
  "engines": {
12
15
  "node": ">=16.0.0"
13
16
  },
14
- "publishConfig": {
15
- "access": "public",
16
- "registry": "https://registry.npmjs.org/"
17
- },
18
17
  "keywords": [
19
18
  "github-label-setup"
20
19
  ],