ntn 0.1.30 → 0.1.33

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 CHANGED
@@ -11,6 +11,29 @@ A command-line interface for Notion.
11
11
  npm i -g ntn
12
12
  ```
13
13
 
14
+ ## What this is for
15
+
16
+ `ntn` is the Notion CLI for authenticating with Notion and managing Notion
17
+ Workers from your terminal. It is currently focused on early alpha workflows
18
+ for Workers development and operation.
19
+
20
+ ## Basic command overview
21
+
22
+ Use these commands to authenticate:
23
+
24
+ ```bash
25
+ ntn login
26
+ ntn logout
27
+ ```
28
+
29
+ Workers functionality is nested under the `workers` command namespace:
30
+
31
+ ```bash
32
+ ntn workers --help
33
+ ntn workers list
34
+ ntn workers deploy
35
+ ```
36
+
14
37
  ## Building from source
15
38
 
16
39
  Clone the repository and install [mise](https://mise.jdx.dev/), which manages
package/bin/ntn CHANGED
@@ -5,6 +5,7 @@ const path = require("node:path");
5
5
 
6
6
  const PLATFORMS = {
7
7
  "darwin-arm64": "ntn-darwin-arm64",
8
+ "linux-x64": "ntn-linux-x64",
8
9
  };
9
10
 
10
11
  const key = `${process.platform}-${process.arch}`;
Binary file
Binary file
package/install.cjs CHANGED
@@ -3,6 +3,7 @@ const path = require("node:path");
3
3
 
4
4
  const PLATFORMS = {
5
5
  "darwin-arm64": "ntn-darwin-arm64",
6
+ "linux-x64": "ntn-linux-x64",
6
7
  };
7
8
 
8
9
  const actions = { install, uninstall };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ntn",
3
- "version": "0.1.30",
3
+ "version": "0.1.33",
4
4
  "description": "Notion CLI",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -21,9 +21,11 @@
21
21
  "preuninstall": "node install.cjs uninstall"
22
22
  },
23
23
  "os": [
24
- "darwin"
24
+ "darwin",
25
+ "linux"
25
26
  ],
26
27
  "cpu": [
27
- "arm64"
28
+ "arm64",
29
+ "x64"
28
30
  ]
29
31
  }