@ben-studios/envedit 1.0.1 → 1.0.2
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/.gitlab-ci.yml +1 -1
- package/README.md +2 -2
- package/cli/index.ts +1 -1
- package/package.json +1 -1
package/.gitlab-ci.yml
CHANGED
|
@@ -91,7 +91,7 @@ publish:
|
|
|
91
91
|
|
|
92
92
|
after_script:
|
|
93
93
|
- |
|
|
94
|
-
export GLAB_DATA=$(glab api "projects
|
|
94
|
+
export GLAB_DATA=$(glab api "projects/${CI_PROJECT_ID}/packages?order_by=created_at&sort=asc" | jq .[-1])
|
|
95
95
|
export GLAB_PACKAGE_URL=$(echo $GLAB_DATA | jq ._links.web_path)
|
|
96
96
|
export VERSION_NUMBER=$(echo $GLAB_DATA | jq .version)
|
|
97
97
|
|
package/README.md
CHANGED
|
@@ -10,13 +10,13 @@ To install `envedit`, you must have [Bun](https://bun.sh/) installed.
|
|
|
10
10
|
Once you have Bun installed, you can install `envedit` using the following command:
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
bun add @
|
|
13
|
+
bun add @ben-studios/envedit
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
or you can install it globally using the following command:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
bun add -g @
|
|
19
|
+
bun add -g @ben-studios/envedit
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
After installation, you can run `envedit` from the command line.
|
package/cli/index.ts
CHANGED
|
@@ -21,7 +21,7 @@ await yargs(hideBin(process.argv))
|
|
|
21
21
|
.command(await import("./cmd/index.ts").then((mod) => mod.default))
|
|
22
22
|
.showHelpOnFail(false)
|
|
23
23
|
.demandCommand()
|
|
24
|
-
.version()
|
|
24
|
+
.version((await import("../package.json")).version)
|
|
25
25
|
.alias("h", "help")
|
|
26
26
|
.alias("v", "version")
|
|
27
27
|
.strict()
|