@hypertekt/cli 0.0.0-stage → 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 That's a lot of ducks LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,52 @@
1
- # Temporary Holding Version
1
+ # tekt
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ `tekt` builds, checks and serves a [Hypertekt](https://hypertekt.com) site on your own computer, and works with sites
4
+ hosted on Hypertekt: cloning, pushing, publishing and rolling back.
5
+
6
+ ## Install
7
+
8
+ `tekt` runs on [Node](https://nodejs.org) 22.18 or later, or on [Bun](https://bun.sh) 1.4 or later:
9
+
10
+ ```sh
11
+ npm install -g @hypertekt/cli
12
+ tekt --version
13
+ ```
14
+
15
+ With Bun, it's `bun add -g @hypertekt/cli`. Or run it without installing it, with `npx @hypertekt/cli` or
16
+ `bunx @hypertekt/cli`.
17
+
18
+ The command is `tekt`. It's also installed as `hypertekt`, the same command by its full name. Working with a site on
19
+ Hypertekt uses [git](https://git-scm.com/downloads) too.
20
+
21
+ ## Start a site
22
+
23
+ ```sh
24
+ mkdir my-site && cd my-site
25
+ tekt init # a site.yaml, a layout, a home page and a stylesheet
26
+ tekt start # serves it at http://localhost:4321, and builds again when a file changes
27
+ ```
28
+
29
+ ## Work with a site on Hypertekt
30
+
31
+ ```sh
32
+ tekt login # approve this computer in your browser
33
+ tekt clone my-site # by the site's name, its domain or its id
34
+ tekt push # to the site's draft: waits for it to build, and says where its preview is
35
+ tekt publish # makes the draft live
36
+ tekt rollback # goes back to the release before
37
+ ```
38
+
39
+ `tekt help` lists every command, and `tekt help <command>` (or `tekt <command> --help`) says what one takes.
40
+
41
+ In CI, set `HYPERTEKT_TOKEN` to a personal token made in the dashboard's Settings, in place of `tekt login`.
42
+
43
+ ## Docs
44
+
45
+ - [Docs for developers](https://hypertekt.com/docs): how Hypertekt sites are made, from the template language to
46
+ publishing.
47
+ - [Getting started](https://hypertekt.com/docs/getting-started): from nothing to a live site.
48
+ - [The tekt command](https://hypertekt.com/docs/reference/tekt): every command and option.
49
+
50
+ ## License
51
+
52
+ MIT