@benshawmean/envedit 1.0.2 → 1.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/.gitlab-ci.yml CHANGED
@@ -14,18 +14,8 @@ default:
14
14
  - apt-get install -qy git curl > /dev/null
15
15
  - bun i
16
16
 
17
- build:
18
- stage: build
19
- script:
20
- - bun build.ts
21
- artifacts:
22
- paths:
23
- - bin/envedit
24
-
25
17
  .deploy: &deploy
26
18
  stage: deploy
27
- needs:
28
- - build
29
19
  id_tokens:
30
20
  SIGSTORE_ID_TOKEN:
31
21
  aud: sigstore
package/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env bun
1
2
  import fs from "node:fs";
2
3
 
3
4
  import { input, password, select, checkbox, confirm } from "@inquirer/prompts";
package/package.json CHANGED
@@ -2,8 +2,10 @@
2
2
  "name": "@benshawmean/envedit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "1.0.2",
6
- "bin": "bin/envedit",
5
+ "version": "1.1.0",
6
+ "bin": {
7
+ "envedit": "index.ts"
8
+ },
7
9
  "repository": {
8
10
  "url": "https://gitlab.com/benshawmean/envedit.git"
9
11
  },
@@ -13,7 +15,7 @@
13
15
  "tag": "latest"
14
16
  },
15
17
  "devDependencies": {
16
- "@types/bun": "latest",
18
+ "@types/bun": "^1.3.14",
17
19
  "@types/yargs": "^17.0.35"
18
20
  },
19
21
  "peerDependencies": {
package/Justfile DELETED
@@ -1,2 +0,0 @@
1
- build:
2
- bun build.ts
package/bin/envedit DELETED
Binary file
package/build.ts DELETED
@@ -1,8 +0,0 @@
1
- Bun.build({
2
- entrypoints: ["index.ts"],
3
- outdir: "bin",
4
- compile: {
5
- outfile: "envedit",
6
- },
7
- target: "node",
8
- })