@rocket.chat/houston 0.24.1 → 0.25.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocket.chat/houston",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "description": "Rocket.Chat Command Line Tools",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/logs.js CHANGED
@@ -6,7 +6,7 @@ const _ = require('underscore');
6
6
  const git = require('simple-git/promise')(process.cwd());
7
7
  const { Octokit } = require('@octokit/rest');
8
8
 
9
- const commitRegexString = '(^Merge pull request #([0-9]+) from )|( \\(#([0-9]+)\\)$)';
9
+ const commitRegexString = '(^Merge pull request #([0-9]+) from )|( ?\\(?#([0-9]+)\\)?$)';
10
10
  const commitRegex = new RegExp(commitRegexString);
11
11
 
12
12
  const https = require('https');
package/src/md.js CHANGED
@@ -103,11 +103,10 @@ const readManualFile = () => {
103
103
  };
104
104
 
105
105
  module.exports = async function({tag, write = true, title = true, owner, repo} = {}) {
106
- const membersResult = await octokit.orgs.listMembers({org: owner, per_page: 100});
107
- const teamMembers = membersResult.data.map(i => i.login);
108
- if (teamMembers.length === 100) {
109
- console.log('Need to implement pagination for members list');
110
- }
106
+ const data = await octokit.paginate(octokit.orgs.listMembers, {
107
+ org: owner,
108
+ });
109
+ const teamMembers = data.map(({ login }) => login);
111
110
 
112
111
  let historyDataReleases = readHistoryFile();
113
112
 
@@ -1 +0,0 @@
1
- {}