Skip to content

Commit

Permalink
chore: update TypeScript version in README and add copyright notice t…
Browse files Browse the repository at this point in the history
…o source files

- Updates the TypeScript badge in README.md to version 5.3.3 for accuracy.
- Adds a copyright notice to multiple source files to clarify ownership and provide a motivational quote.
  • Loading branch information
alisaitteke committed Nov 23, 2024
1 parent 98b8724 commit b3f804a
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A modern, powerful TypeScript library for Android Debug Bridge (ADB) operations. This library provides a robust interface to interact with Android devices, offering comprehensive device management, app control, and system monitoring capabilities.

![TypeScript](https://img.shields.io/badge/TypeScript-4.9.5-blue.svg)
![TypeScript](https://img.shields.io/badge/TypeScript-5.3.3-blue.svg)
![License](https://img.shields.io/badge/license-MIT-green.svg)
![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg)

Expand Down
7 changes: 7 additions & 0 deletions src/adb.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
*
* * Copyright (c) 2024 Ali Sait Teke
* * "Code bridges the gap between human thought and machine execution."
*
*/

/**
* ADB (Android Debug Bridge) implementation in TypeScript
*
Expand Down
7 changes: 7 additions & 0 deletions src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
*
* * Copyright (c) 2024 Ali Sait Teke
* * "Code bridges the gap between human thought and machine execution."
*
*/

export class ADBError extends Error {
constructor(
message: string,
Expand Down
7 changes: 7 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
*
* * Copyright (c) 2024 Ali Sait Teke
* * "Code bridges the gap between human thought and machine execution."
*
*/

export { ADB } from './adb.js';
export { ADBError, DeviceNotFoundError, CommandError } from './errors.js';
export type { DeviceInfo, PackageInfo, ADBOptions, DeviceState } from './types.js';
7 changes: 7 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
*
* * Copyright (c) 2024 Ali Sait Teke
* * "Code bridges the gap between human thought and machine execution."
*
*/

export type DeviceState = 'device' | 'offline' | 'unauthorized' | 'connecting';

export interface DeviceInfo {
Expand Down
7 changes: 7 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
*
* * Copyright (c) 2024 Ali Sait Teke
* * "Code bridges the gap between human thought and machine execution."
*
*/

import { exec } from 'node:child_process';
import { promisify } from 'node:util';
import { platform } from 'node:os';
Expand Down

0 comments on commit b3f804a

Please sign in to comment.