repoburg 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 ADDED
@@ -0,0 +1,53 @@
1
+ # repoburg
2
+
3
+ This package distributes the binary for `repoburg-daemon`.
4
+
5
+ ## Installation
6
+
7
+ Install the package globally to use the `repoburg` command.
8
+
9
+ ```bash
10
+ npm install -g repoburg
11
+ ```
12
+
13
+ After installation, the `repoburg` command will be available in your shell.
14
+
15
+ ## Usage
16
+
17
+ Run the daemon by executing the command:
18
+
19
+ ```bash
20
+ repoburg
21
+ ```
22
+
23
+ You can pass arguments to it as you would with any other command-line tool:
24
+
25
+ ```bash
26
+ repoburg --version
27
+ ```
28
+
29
+ ## Publishing to npm
30
+
31
+ This package is intended to be published to the npm registry.
32
+
33
+ 1. If you haven't already, log in to your npm account from the command line:
34
+ ```bash
35
+ npm login
36
+ ```
37
+
38
+ 2. Before publishing, it's good practice to bump the version number in `package.json`. You can do this manually or with `npm version`:
39
+ ```bash
40
+ # For a patch release (e.g., 0.1.0 -> 0.1.1)
41
+ npm version patch
42
+
43
+ # For a minor release (e.g., 0.1.0 -> 0.2.0)
44
+ npm version minor
45
+
46
+ # For a major release (e.g., 0.1.0 -> 1.0.0)
47
+ npm version major
48
+ ```
49
+
50
+ 3. Publish the package to npm using the script:
51
+ ```bash
52
+ npm run publish
53
+ ```
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // This package is a wrapper for a binary executable.
2
+ // The main functionality is provided by the `repoburg` command.
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "repoburg",
3
+ "version": "0.1.0",
4
+ "description": "Binary distribution for repoburg",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "repoburg": "release/daemon/repoburg-daemon"
8
+ },
9
+ "files": [
10
+ "release/daemon/repoburg-daemon",
11
+ "index.js",
12
+ "README.md"
13
+ ],
14
+ "scripts": {
15
+ "test": "echo \"Error: no test specified\" && exit 1",
16
+ "publish": "npm publish"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": ""
21
+ },
22
+ "keywords": [
23
+ "repoburg",
24
+ "daemon"
25
+ ],
26
+ "author": "",
27
+ "license": "ISC"
28
+ }
Binary file