@onkernel/cli 0.2.1 → 0.2.3

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.
Files changed (2) hide show
  1. package/README.md +1 -29
  2. package/package.json +23 -23
package/README.md CHANGED
@@ -42,7 +42,7 @@ Useful make targets:
42
42
 
43
43
  Prerequisites:
44
44
 
45
- - Make sure you have `goreleaser` _pro_ installed via `brew install goreleaser/tap/goreleaser-pro`. You will need a license key (in 1pw), and then `export GORELEASER_KEY=<the key>`.
45
+ - Make sure you have `goreleaser` _pro_ installed via `brew install --cask goreleaser/tap/goreleaser-pro`. You will need a license key (in 1pw), and then `export GORELEASER_KEY=<the key>`.
46
46
 
47
47
  - Grab the NPM token for our org (in 1pw) and run `npm config set '//registry.npmjs.org/:_authToken'=<the token>`
48
48
 
@@ -68,31 +68,3 @@ git tag -a cli/v$VERSION -m "Bugfixes"
68
68
  git push origin cli/v$VERSION
69
69
  make release
70
70
  ```
71
-
72
- The NPM publish needs some extra steps (hopefully one day goreleaser will support this, but right now it assumes download links are public github releases, which we don't have at the moment):
73
-
74
- ````bash
75
- go run scripts/npmpublish/npmpublish.go ./.npmdisttmpl ./dist
76
- cd .npmdist && npm publish --access public
77
- ```)
78
-
79
- ### Environment variables
80
-
81
- The CLI requires a Kernel API key to interact with the platform:
82
-
83
- ```bash
84
- export KERNEL_API_KEY=your_api_key
85
- ````
86
-
87
- ## Directory structure
88
-
89
- ```
90
- packages/cli
91
- ├── cmd/ # cobra commands (root, deploy, invoke, …)
92
- │ └── kernel/
93
- │ └── main.go
94
- ├── pkg/ # reusable helpers (zip util, etc.)
95
- ├── .goreleaser.yaml
96
- ├── Makefile
97
- └── README.md
98
- ```
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@onkernel/cli",
3
- "version": "0.2.1",
4
- "description": "CLI for Kernel deployment and invocation",
3
+ "version": "0.2.3",
4
+ "description": "Kernel CLI",
5
5
  "scripts": {
6
6
  "postinstall": "node install.js",
7
7
  "run": "node run-kernel.js"
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/onkernel/kernel.git"
11
+ "url": "https://github.com/onkernel"
12
12
  },
13
13
  "keywords": [
14
14
  "kernel",
@@ -17,7 +17,7 @@
17
17
  "automation",
18
18
  "ai"
19
19
  ],
20
- "author": "Rafael Garcia <raf@onkernel.com>",
20
+ "author": "Rafael Garcia \u003craf@onkernel.com\u003e",
21
21
  "license": "MIT",
22
22
  "bugs": {
23
23
  "url": "https://github.com/onkernel/kernel/issues"
@@ -33,76 +33,76 @@
33
33
  },
34
34
  "archives": {
35
35
  "darwin-arm64": {
36
- "name": "kernel_0.2.1_darwin_arm64.tar.gz",
37
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.1/kernel_0.2.1_darwin_arm64.tar.gz",
36
+ "name": "kernel_0.2.3_darwin_arm64.tar.gz",
37
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.3/kernel_0.2.3_darwin_arm64.tar.gz",
38
38
  "bins": [
39
39
  "kernel"
40
40
  ],
41
41
  "format": "tar.gz",
42
42
  "checksum": {
43
43
  "algorithm": "sha256",
44
- "digest": "ce142c48625284b7b31c40c624503c12d9d2377a0932a9e888e88b6f7c62e032"
44
+ "digest": "4ce3c46d4b9028e96e40fbea26fb4fa881570cbc725d223b86c42e19d70f736e"
45
45
  }
46
46
  },
47
47
  "darwin-x64": {
48
- "name": "kernel_0.2.1_darwin_amd64.tar.gz",
49
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.1/kernel_0.2.1_darwin_amd64.tar.gz",
48
+ "name": "kernel_0.2.3_darwin_amd64.tar.gz",
49
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.3/kernel_0.2.3_darwin_amd64.tar.gz",
50
50
  "bins": [
51
51
  "kernel"
52
52
  ],
53
53
  "format": "tar.gz",
54
54
  "checksum": {
55
55
  "algorithm": "sha256",
56
- "digest": "1f6e2f40ca9bb07c9a7e0e5194e3475912e71eb0a7e19e6beab036f37d21412c"
56
+ "digest": "6aa0d71ed8424047d085b5d68375d187313868645a6569d7b953e946560395f2"
57
57
  }
58
58
  },
59
59
  "linux-arm64": {
60
- "name": "kernel_0.2.1_linux_arm64.tar.gz",
61
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.1/kernel_0.2.1_linux_arm64.tar.gz",
60
+ "name": "kernel_0.2.3_linux_arm64.tar.gz",
61
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.3/kernel_0.2.3_linux_arm64.tar.gz",
62
62
  "bins": [
63
63
  "kernel"
64
64
  ],
65
65
  "format": "tar.gz",
66
66
  "checksum": {
67
67
  "algorithm": "sha256",
68
- "digest": "fc42a352d9abfecd3719510028d03e1877697c62aae5a272c8c00cd48c3e4706"
68
+ "digest": "7826d4ccfe57a981a62afc28b5f59827c14e9fdbdc89d5f8eec486bd349fc41c"
69
69
  }
70
70
  },
71
71
  "linux-x64": {
72
- "name": "kernel_0.2.1_linux_amd64.tar.gz",
73
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.1/kernel_0.2.1_linux_amd64.tar.gz",
72
+ "name": "kernel_0.2.3_linux_amd64.tar.gz",
73
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.3/kernel_0.2.3_linux_amd64.tar.gz",
74
74
  "bins": [
75
75
  "kernel"
76
76
  ],
77
77
  "format": "tar.gz",
78
78
  "checksum": {
79
79
  "algorithm": "sha256",
80
- "digest": "8a307415af96b7a524e503dd986a0395ab0018c9be3d6109ef990ec5510adda3"
80
+ "digest": "b9fe4231645422bcf3cff077b74940c82d07d4a8e05647350f54f069f0b8a4c0"
81
81
  }
82
82
  },
83
83
  "win32-arm64": {
84
- "name": "kernel_0.2.1_windows_arm64.tar.gz",
85
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.1/kernel_0.2.1_windows_arm64.tar.gz",
84
+ "name": "kernel_0.2.3_windows_arm64.tar.gz",
85
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.3/kernel_0.2.3_windows_arm64.tar.gz",
86
86
  "bins": [
87
87
  "kernel.exe"
88
88
  ],
89
89
  "format": "tar.gz",
90
90
  "checksum": {
91
91
  "algorithm": "sha256",
92
- "digest": "04e7f2bbac0621f9c89b416da15aeb2d74353f965bcbaa3b24eaae23241a8149"
92
+ "digest": "7a03997ad49b0b9755f6412c0a5963dc39507fdabc83b96a545b6c2cc708a370"
93
93
  }
94
94
  },
95
95
  "win32-x64": {
96
- "name": "kernel_0.2.1_windows_amd64.tar.gz",
97
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.1/kernel_0.2.1_windows_amd64.tar.gz",
96
+ "name": "kernel_0.2.3_windows_amd64.tar.gz",
97
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.2.3/kernel_0.2.3_windows_amd64.tar.gz",
98
98
  "bins": [
99
99
  "kernel.exe"
100
100
  ],
101
101
  "format": "tar.gz",
102
102
  "checksum": {
103
103
  "algorithm": "sha256",
104
- "digest": "ce93385ee3a9dce4d63c52cc47bc8d273afb68c9278fe138722742624b2835f1"
104
+ "digest": "784358efd201155e5c7749ed78019cadb97a9c1baf6ef25c7ee11023a67a2087"
105
105
  }
106
106
  }
107
107
  }
108
- }
108
+ }