Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ contact_links:
- name: Watch the hive live on Twitch
url: https://www.twitch.tv/hivecommons
about: Live stream of the hosted hive's Activity Monitor — see issues and PRs move through the pipeline in real time.
- name: Join the community meeting
url: https://docs.hivecommons.dev/docs/community/meetings
about: Public Hive Commons meeting every other Thursday — schedule, join link, agenda and calendar.
- name: Propose a project to join Hive Commons
url: https://github.com/hivecommons/.github/issues/new?template=join-hive-commons.yml
about: Project proposals for the Hive Commons family are handled in the hivecommons/.github repository.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ promptargs is part of [Hive Commons](https://hivecommons.dev), a family of tools
- Want to contribute? See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, checks, and pull request guidelines.
- Found a bug or have an idea? Open an [issue](https://github.com/hivecommons/promptargs/issues).
- Have a question? Ask on [Discord](https://hivecommons.dev/discord), or watch the hive live on [Twitch](https://www.twitch.tv/hivecommons).
- Want to talk to the maintainers live? Join the biweekly [Hive Commons community meeting](https://docs.hivecommons.dev/docs/community/meetings).
- Reporting a security vulnerability? Follow [SECURITY.md](SECURITY.md) to report it privately, not through public issues.
- Please follow the [Hive Commons Code of Conduct](https://github.com/hivecommons/.github/blob/main/CODE_OF_CONDUCT.md).

Expand Down
1 change: 1 addition & 0 deletions changelog.d/changed-450-community-meeting-link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README and the issue chooser link the biweekly Hive Commons community meeting. (#450)
12 changes: 8 additions & 4 deletions dist/community.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/community.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions src/community.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ import { fileURLToPath } from 'node:url';

const ROOT = join(dirname(fileURLToPath(import.meta.url)), '..');

// The Hive Commons community links (hivecommons/promptargs#414) must
// The Hive Commons community links (hivecommons/promptargs#414, #450) must
// stay reachable from both places newcomers land: the README npm renders and
// the GitHub "New issue" chooser.
const LINKS = ['https://hivecommons.dev/discord', 'https://www.twitch.tv/hivecommons'];
const LINKS = [
'https://hivecommons.dev/discord',
'https://www.twitch.tv/hivecommons',
'https://docs.hivecommons.dev/docs/community/meetings',
];

test('README Contributing & Community section links Discord and Twitch', () => {
test('README Contributing & Community section links Discord, Twitch and the community meeting', () => {
const readme = readFileSync(join(ROOT, 'README.md'), 'utf-8');
const start = readme.indexOf('## Contributing & Community');
assert.notStrictEqual(start, -1, 'README lost its "Contributing & Community" section');
Expand All @@ -20,7 +24,7 @@ test('README Contributing & Community section links Discord and Twitch', () => {
for (const url of LINKS) assert.ok(section.includes(`(${url})`), `README community section is missing ${url}`);
});

test('issue chooser config lists Discord and Twitch contact links', () => {
test('issue chooser config lists Discord, Twitch and community meeting contact links', () => {
const config = readFileSync(join(ROOT, '.github', 'ISSUE_TEMPLATE', 'config.yml'), 'utf-8');
for (const url of LINKS) assert.match(config, new RegExp(`^\\s+url: ${url.replace(/[.]/g, '\\.')}$`, 'm'), `config.yml is missing ${url}`);
});
Loading