@evanpurkhiser/tooling-personal 1.53.0 → 1.54.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/dist/assignees.js +2 -4
- package/package.json +11 -11
package/dist/assignees.js
CHANGED
|
@@ -78,9 +78,7 @@ async function* getAssignees(repo) {
|
|
|
78
78
|
const items = !isOrganization
|
|
79
79
|
? userAssignees
|
|
80
80
|
: (0, fast_merge_async_iterators_1.default)(userAssignees, teamAssignees);
|
|
81
|
-
const
|
|
82
|
-
.get('ignoreAssignees')
|
|
83
|
-
.map(value => new RegExp(value));
|
|
81
|
+
const assigneesToIgnore = config_1.config.get('ignoreAssignees').map(value => new RegExp(value));
|
|
84
82
|
for await (const result of items) {
|
|
85
83
|
const assignees = isUser(result)
|
|
86
84
|
? result.repository.assignableUsers.nodes.map(user => ({
|
|
@@ -96,7 +94,7 @@ async function* getAssignees(repo) {
|
|
|
96
94
|
name: team.name,
|
|
97
95
|
}));
|
|
98
96
|
// Remove assignees that are ignored
|
|
99
|
-
const filteredAssignees = assignees.filter(assignee => !
|
|
97
|
+
const filteredAssignees = assignees.filter(assignee => !assigneesToIgnore.some(r => r.test(assignee.slug)));
|
|
100
98
|
yield* filteredAssignees;
|
|
101
99
|
}
|
|
102
100
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@evanpurkhiser/tooling-personal",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.54.0",
|
|
5
5
|
"description": "Evan Purkhiser's personal tooling",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Evan Purkhiser",
|
|
@@ -13,16 +13,6 @@
|
|
|
13
13
|
"dist/**",
|
|
14
14
|
"README.md"
|
|
15
15
|
],
|
|
16
|
-
"devEngines": {
|
|
17
|
-
"runtime": {
|
|
18
|
-
"name": "node",
|
|
19
|
-
"version": "^24.15.0"
|
|
20
|
-
},
|
|
21
|
-
"packageManager": {
|
|
22
|
-
"name": "pnpm",
|
|
23
|
-
"version": "11.0.0"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
16
|
"dependencies": {
|
|
27
17
|
"@octokit/graphql-schema": "^10.54.0",
|
|
28
18
|
"@types/convict": "^6.1.3",
|
|
@@ -50,6 +40,16 @@
|
|
|
50
40
|
"ts-node": "^10.9.2",
|
|
51
41
|
"typescript": "^5.8.3"
|
|
52
42
|
},
|
|
43
|
+
"devEngines": {
|
|
44
|
+
"packageManager": {
|
|
45
|
+
"name": "pnpm",
|
|
46
|
+
"version": "11.0.0"
|
|
47
|
+
},
|
|
48
|
+
"runtime": {
|
|
49
|
+
"name": "node",
|
|
50
|
+
"version": "^24.15.0"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsc && chmod +x ./dist/index.js",
|
|
55
55
|
"start": "ts-node ./src/index.ts",
|