Skip to content

Commit 677f7ac

Browse files
committed
fix: correct casing of 'Blockingmachine' in documentation and code
1 parent d612b2b commit 677f7ac

8 files changed

Lines changed: 23 additions & 25 deletions

File tree

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Contributing to @blockingmachine/core
22

3-
Thank you for your interest in contributing to BlockingMachine! This document provides guidelines and instructions for contributing.
3+
Thank you for your interest in contributing to Blockingmachine! This document provides guidelines and instructions for contributing.
44

55
## Development Setup
66

77
1. Fork and clone the repository:
88
```bash
9-
git clone https://github.com/yourusername/BlockingMachine.git
10-
cd BlockingMachine/packages/core
9+
git clone https://github.com/yourusername/Blockingmachine.git
10+
cd Blockingmachine/packages/core
1111
```
1212

1313
2. Install dependencies:

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @blockingmachine/core
22

3-
Core functionality for BlockingMachine, providing robust filter list processing and rule management for AdGuard Home and similar applications.
3+
Core functionality for Blockingmachine, providing robust filter list processing and rule management for AdGuard Home and similar applications.
44

55
[![LICENSE: BSD-3-Clause](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
66
[![GitHub Actions](https://github.com/greigh/blockingmachine-cli/workflows/CI/badge.svg)](https://github.com/greigh/blockingmachine-cli/actions)
@@ -12,8 +12,8 @@ Core functionality for BlockingMachine, providing robust filter list processing
1212

1313
## Related Projects
1414

15-
- [BlockingMachine Desktop](https://github.com/greigh/Blockingmachine) - Desktop application
16-
- [BlockingMachine CLI](https://github.com/greigh/Blockingmachine-cli) - Command line interface
15+
- [Blockingmachine Desktop](https://github.com/greigh/Blockingmachine) - Desktop application
16+
- [Blockingmachine CLI](https://github.com/greigh/Blockingmachine-cli) - Command line interface
1717
- [Blockingmachine Database](https://github.com/greigh/Blockingmachine-database) - Filter list repository
1818

1919
## Features
@@ -197,14 +197,14 @@ Under the following conditions:
197197

198198
## Related Projects
199199

200-
- [BlockingMachine Desktop](https://github.com/yourusername/BlockingMachine) - Desktop application
201-
- [BlockingMachine CLI](https://github.com/yourusername/blockingmachine-cli) - Command line interface
200+
- [Blockingmachine Desktop](https://github.com/yourusername/Blockingmachine) - Desktop application
201+
- [Blockingmachine CLI](https://github.com/yourusername/blockingmachine-cli) - Command line interface
202202

203203
## Support
204204

205-
- 📝 [Documentation](https://github.com/yourusername/BlockingMachine/wiki)
206-
- 🐛 [Issue Tracker](https://github.com/yourusername/BlockingMachine/issues)
207-
- 💬 [Discussions](https://github.com/yourusername/BlockingMachine/discussions)
205+
- 📝 [Documentation](https://github.com/yourusername/Blockingmachine/wiki)
206+
- 🐛 [Issue Tracker](https://github.com/yourusername/Blockingmachine/issues)
207+
- 💬 [Discussions](https://github.com/yourusername/Blockingmachine/discussions)
208208

209209
## Acknowledgments
210210

@@ -482,8 +482,8 @@ const updateRules = async (existingRules: string[], newContent: string) => {
482482
- 📥 Remote list fetching
483483
- 🔄 Rule deduplication
484484
- ⚡ Async processing
485-
- 🖥️ Works with BlockingMachine Desktop
486-
- ✅ Improved compatibility with BlockingMachine CLI
485+
- 🖥️ Works with Blockingmachine Desktop
486+
- ✅ Improved compatibility with Blockingmachine CLI
487487
- 🐞 Bug fixes and performance improvements
488488

489489
### Upcoming Features (v1.0.0)

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"exports": {
1111
".": {
1212
"import": "./dist/index.js",
13-
"require": "./dist/index.js",
14-
"default": "./dist/index.js",
15-
"types": "./dist/index.d.ts"
13+
"require": "./dist/index.js"
1614
},
1715
"./package.json": "./package.json"
1816
},
@@ -38,11 +36,11 @@
3836
"blocking"
3937
],
4038
"repository": {
41-
"type": "git",
42-
"url": "git+https://github.com/greigh/BlockingMachine-core.git"
39+
"type": "git",
40+
"url": "git+https://github.com/greigh/Blockingmachine-core.git"
4341
},
4442
"bugs": {
45-
"url": "https://github.com/greigh/BlockingMachine-core/issues"
43+
"url": "https://github.com/greigh/Blockingmachine-core/issues"
4644
},
4745
"homepage": "https://github.com/greigh/Blockingmachine-core#readme",
4846
"dependencies": {

src/config/meta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface FilterMetaConfig {
1616
}
1717

1818
export const defaultFilterMeta = {
19-
title: 'BlockingMachine AdGuard List',
19+
title: 'Blockingmachine AdGuard List',
2020
description: 'Combined filter list optimized for AdGuard',
2121
madeby: 'Daniel Hipskind',
2222
homepage: 'https://github.com/danielhipskind/blockingmachine',

src/export/advanced-formatter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function generateHeader(metadata: FilterMetadata, format: FilterFormat):
8888
lines.push('127.0.0.1 localhost');
8989
lines.push('::1 localhost');
9090
lines.push('');
91-
lines.push('# BlockingMachine Generated Rules Below');
91+
lines.push('# Blockingmachine Generated Rules Below');
9292
} else if (format === 'dnsmasq') {
9393
// DNSMasq format headers
9494
lines.push('# ' + metadata.title);
@@ -130,7 +130,7 @@ export function generateHeader(metadata: FilterMetadata, format: FilterFormat):
130130

131131
// Generator info for all formats
132132
lines.push(format === 'adguard' || format === 'abp' ? '! ' : '# ' +
133-
'Generated by BlockingMachine v' + metadata.version);
133+
'Generated by Blockingmachine v' + metadata.version);
134134
lines.push('');
135135

136136
return lines.join('\n');

src/export/headers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function generateHeader(meta: FilterListMetadata, format: SupportedFormat
8282
// Add license and generator info
8383
additionalLines.push(
8484
'! License: ' + (meta.license || 'Unspecified'),
85-
'! Generated by BlockingMachine ' + (meta.generatorVersion || ''),
85+
'! Generated by Blockingmachine ' + (meta.generatorVersion || ''),
8686
'' // Empty line at the end
8787
);
8888

src/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export async function fetchContent(url: string): Promise<string | null> {
9090
const options: RequestInit = {
9191
headers: {
9292
'User-Agent':
93-
'BlockingMachine/1.0 (+https://github.com/danielhipskind/blockingmachine)',
93+
'Blockingmachine/1.0 (+https://github.com/danielhipskind/blockingmachine)',
9494
},
9595
};
9696

src/sources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export const sourceConfig: SourceConfig = {
273273
retries: 3,
274274
timeout: 30000,
275275
maxRedirects: 5,
276-
userAgent: 'BlockingMachine/1.0',
276+
userAgent: 'Blockingmachine/1.0',
277277
additionalHeaders: {
278278
},
279279
};

0 commit comments

Comments
 (0)