tiny-tool-submitter 1.0.0 → 1.0.1
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 +44 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# tiny-tool-submitter
|
|
2
|
+
|
|
3
|
+
CLI tool to help submit your project to Tiny Tool Town using the GitHub Copilot SDK.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g tiny-tool-submitter
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
tiny-tool-submit [path-to-repo]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Options:
|
|
18
|
+
|
|
19
|
+
- `--readme <path>` path to README file (skip auto-detection)
|
|
20
|
+
- `--headless` skip interactive prompts
|
|
21
|
+
- `--model <name>` Copilot model to use (default: `gpt-4.1`)
|
|
22
|
+
- `--cli-path <path>` path to Copilot CLI executable
|
|
23
|
+
- `--verbose` print Copilot CLI startup diagnostics
|
|
24
|
+
|
|
25
|
+
## Requirements
|
|
26
|
+
|
|
27
|
+
- Node.js 18+
|
|
28
|
+
- GitHub Copilot CLI installed and authenticated (`copilot`)
|
|
29
|
+
|
|
30
|
+
## Release
|
|
31
|
+
|
|
32
|
+
This package is published by GitHub Actions from this repository:
|
|
33
|
+
|
|
34
|
+
- Workflow: `/.github/workflows/publish-npm.yml`
|
|
35
|
+
- Tag trigger: `npm-v*` (example: `npm-v1.0.1`)
|
|
36
|
+
- Manual trigger: `workflow_dispatch` with `version` input
|
|
37
|
+
- Required secret: `NPM_TOKEN`
|
|
38
|
+
|
|
39
|
+
Tag-based release example:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
git tag -a npm-v1.0.1 -m "Release Node.js tool v1.0.1"
|
|
43
|
+
git push origin npm-v1.0.1
|
|
44
|
+
```
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tiny-tool-submitter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A CLI tool that uses GitHub Copilot to analyze your repo's README and prepare a submission to Tiny Tool Town.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"tiny-tool-submit": "./dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md"
|
|
11
12
|
],
|
|
12
13
|
"scripts": {
|
|
13
14
|
"build": "tsc",
|