@tmhs/mobile-dev-tools 0.1.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/README.md +30 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +28 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @tmhsdigital/mobile-dev-tools
|
|
2
|
+
|
|
3
|
+
CLI and utilities for mobile app development.
|
|
4
|
+
|
|
5
|
+
**This package is under active development.** Full functionality is coming in future releases. See the [main repository](https://github.com/TMHSDigital/Mobile-App-Developer-Tools) for the current roadmap.
|
|
6
|
+
|
|
7
|
+
## Planned Features
|
|
8
|
+
|
|
9
|
+
- **Environment checker**: Cross-platform dependency detection (Node, Xcode, Android SDK)
|
|
10
|
+
- **Template engine**: Programmatic project scaffolding with framework detection
|
|
11
|
+
- **Config generators**: ESLint, Prettier, TypeScript, app.json/pubspec.yaml
|
|
12
|
+
- **Store metadata validator**: Validate screenshots, descriptions, and required fields
|
|
13
|
+
- **Asset pipeline helpers**: Image resizing, app icon generation
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g @tmhsdigital/mobile-dev-tools
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
mobile-dev --help
|
|
25
|
+
mobile-dev --version
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
CC-BY-NC-ND-4.0 - Copyright 2026 TM Hospitality Strategies.
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { VERSION, PACKAGE_NAME } from "./index.js";
|
|
3
|
+
const args = process.argv.slice(2);
|
|
4
|
+
const command = args[0];
|
|
5
|
+
if (!command || command === "--help" || command === "-h") {
|
|
6
|
+
console.log(`${PACKAGE_NAME} v${VERSION}`);
|
|
7
|
+
console.log("");
|
|
8
|
+
console.log("Usage: mobile-dev <command>");
|
|
9
|
+
console.log("");
|
|
10
|
+
console.log("Commands:");
|
|
11
|
+
console.log(" check-env Check development environment (coming soon)");
|
|
12
|
+
console.log(" scaffold Scaffold a new mobile project (coming soon)");
|
|
13
|
+
console.log(" validate-store Validate app store metadata (coming soon)");
|
|
14
|
+
console.log("");
|
|
15
|
+
console.log("Options:");
|
|
16
|
+
console.log(" --help, -h Show this help message");
|
|
17
|
+
console.log(" --version, -v Show version");
|
|
18
|
+
process.exit(0);
|
|
19
|
+
}
|
|
20
|
+
if (command === "--version" || command === "-v") {
|
|
21
|
+
console.log(VERSION);
|
|
22
|
+
process.exit(0);
|
|
23
|
+
}
|
|
24
|
+
console.log(`${PACKAGE_NAME} v${VERSION}`);
|
|
25
|
+
console.log(`Command "${command}" is not yet implemented. Coming in a future release.`);
|
|
26
|
+
console.log("See https://github.com/TMHSDigital/Mobile-App-Developer-Tools for updates.");
|
|
27
|
+
process.exit(1);
|
|
28
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC,MAAM,OAAO,GAAG,IA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@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,eAAO,MAAM,YAAY,kCAAkC,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,YAAY,GAAG,+BAA+B,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tmhs/mobile-dev-tools",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CLI and utilities for mobile app development - environment checks, project scaffolding, store metadata validation.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"mobile-dev": "dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">= 20.0.0"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc",
|
|
21
|
+
"dev": "tsx watch src/index.ts",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "^22.0.0",
|
|
26
|
+
"tsx": "^4.19.0",
|
|
27
|
+
"typescript": "^5.7.0"
|
|
28
|
+
},
|
|
29
|
+
"license": "CC-BY-NC-ND-4.0",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/TMHSDigital/Mobile-App-Developer-Tools.git",
|
|
33
|
+
"directory": "packages/mobile-dev-tools"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/TMHSDigital/Mobile-App-Developer-Tools",
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/TMHSDigital/Mobile-App-Developer-Tools/issues"
|
|
38
|
+
},
|
|
39
|
+
"author": "TMHSDigital",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"mobile",
|
|
42
|
+
"react-native",
|
|
43
|
+
"expo",
|
|
44
|
+
"flutter",
|
|
45
|
+
"mobile-dev",
|
|
46
|
+
"cli",
|
|
47
|
+
"developer-tools"
|
|
48
|
+
]
|
|
49
|
+
}
|