ente-cli 0.5.0 → 0.5.1

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.
@@ -0,0 +1,13 @@
1
+ // ../packages/shared/src/cli-compatibility.ts
2
+ var CLI_COMPATIBILITY_LEVEL = 4;
3
+ var CLI_VERSION_HEADER = "X-Ente-CLI-Version";
4
+ var CLI_COMPATIBILITY_HEADER = "X-Ente-CLI-Compatibility";
5
+ function cliCompatibilityHeaders(version) {
6
+ return {
7
+ [CLI_VERSION_HEADER]: version,
8
+ [CLI_COMPATIBILITY_HEADER]: String(CLI_COMPATIBILITY_LEVEL)
9
+ };
10
+ }
11
+ export {
12
+ cliCompatibilityHeaders
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ente-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "CLI for ente — relationship manager and knowledge graph (Convex backend).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,7 @@
15
15
  "dev": "node --import tsx cli.ts",
16
16
  "build": "node build.mjs",
17
17
  "typecheck": "tsc -p tsconfig.json --noEmit",
18
- "test": "node --import tsx --test tests/*.test.ts tests/release.test.mjs",
18
+ "test": "node --import tsx --test tests/*.test.ts tests/release*.test.mjs",
19
19
  "test:package": "pnpm build && node --test tests/package.test.mjs"
20
20
  },
21
21
  "repository": {