@eightstate/escli 0.5.0 → 0.7.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.
Files changed (45) hide show
  1. package/dist/commands/notion/block/trash.js +71 -0
  2. package/dist/commands/notion/comments/add.js +48 -0
  3. package/dist/commands/notion/comments/get.js +42 -0
  4. package/dist/commands/notion/comments/list.js +55 -0
  5. package/dist/commands/notion/comments/reply.js +45 -0
  6. package/dist/commands/notion/comments/thread.js +87 -0
  7. package/dist/commands/notion/db/create.js +555 -0
  8. package/dist/commands/notion/db/query.js +451 -0
  9. package/dist/commands/notion/db/row/create.js +74 -0
  10. package/dist/commands/notion/db/row/update.js +165 -0
  11. package/dist/commands/notion/ds/create.js +73 -0
  12. package/dist/commands/notion/enroll.js +302 -0
  13. package/dist/commands/notion/index.js +24 -0
  14. package/dist/commands/notion/page/edit.js +73 -0
  15. package/dist/commands/notion/page/move.js +59 -0
  16. package/dist/commands/notion/page/read.js +60 -0
  17. package/dist/commands/notion/page/replace-content.js +80 -0
  18. package/dist/commands/notion/page/replace-text.js +80 -0
  19. package/dist/commands/notion/page/replace.js +63 -0
  20. package/dist/commands/notion/page/trash.js +79 -0
  21. package/dist/commands/notion/search.js +207 -0
  22. package/dist/commands/notion/upload/attach.js +105 -0
  23. package/dist/commands/notion/upload/index.js +129 -0
  24. package/dist/commands/notion/upload/list.js +78 -0
  25. package/dist/commands/notion/upload/status.js +76 -0
  26. package/dist/commands/notion/view/create.js +78 -0
  27. package/dist/commands/notion/whoami.js +96 -0
  28. package/dist/commands/research.js +11 -0
  29. package/dist/entry.js +16 -9
  30. package/dist/io/render-kv.js +12 -0
  31. package/dist/io/render-labeled.js +16 -0
  32. package/dist/io/render-table.js +19 -0
  33. package/dist/io/render-trailer.js +7 -0
  34. package/dist/lib/manifest.js +3 -2
  35. package/dist/lib/notion/comments/shared.js +366 -0
  36. package/dist/lib/notion/db-row/common.js +367 -0
  37. package/dist/lib/notion/manifest-pass.js +4 -0
  38. package/dist/lib/notion/page/content-common.js +473 -0
  39. package/dist/lib/notion/trash-move/support.js +300 -0
  40. package/dist/lib/notion/upload/shared.js +372 -0
  41. package/dist/lib/registry.js +118 -25
  42. package/dist/services/notion.js +274 -0
  43. package/dist/services/research.js +31 -10
  44. package/oclif.manifest.json +4084 -1
  45. package/package.json +22 -17
package/package.json CHANGED
@@ -1,9 +1,13 @@
1
1
  {
2
2
  "name": "@eightstate/escli",
3
- "version": "0.5.0",
3
+ "version": "0.7.1",
4
4
  "private": false,
5
5
  "type": "module",
6
- "packageManager": "pnpm@10.12.3",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/eight-state/eightstate.git",
9
+ "directory": "cli"
10
+ },
7
11
  "bin": {
8
12
  "escli": "./dist/entry.js"
9
13
  },
@@ -16,23 +20,11 @@
16
20
  "RELEASE-NOTES-0.5.0.md",
17
21
  "LICENSE"
18
22
  ],
19
- "scripts": {
20
- "build": "tsc -p tsconfig.json && chmod +x dist/entry.js && oclif manifest . && bun scripts/check-oclif-manifest.ts",
21
- "build:binary": "bun scripts/build-binaries.ts",
22
- "typecheck": "tsc -p tsconfig.json --noEmit",
23
- "lint": "eslint src-ts packages/contracts/src",
24
- "lint:bypass": "eslint tests/lint-fixtures/*.ts",
25
- "lint:bypass:check": "sh -c 'if pnpm lint:bypass >/tmp/escli-lint-bypass.out 2>&1; then cat /tmp/escli-lint-bypass.out; echo expected lint bypass to fail; exit 1; else cat /tmp/escli-lint-bypass.out; bun scripts/check-lint-bypass-output.ts /tmp/escli-lint-bypass.out; fi'",
26
- "test": "vitest run",
27
- "verify": "pnpm -r build && pnpm -r typecheck && pnpm typecheck && pnpm lint && pnpm lint:bypass:check && pnpm test && pnpm build && pnpm build:binary && pnpm check:prod-symbols",
28
- "escli": "bun src-ts/entry.ts",
29
- "check:prod-symbols": "sh scripts/check-prod-symbols.sh dist/escli-darwin-arm64"
30
- },
31
23
  "dependencies": {
32
- "@eightstate/contracts": "0.5.0",
33
24
  "@oclif/core": "4.11.3",
34
25
  "chalk": "5.6.2",
35
- "zod": "4.4.3"
26
+ "zod": "4.4.3",
27
+ "@eightstate/contracts": "0.7.1"
36
28
  },
37
29
  "devDependencies": {
38
30
  "@eslint/js": "9.39.1",
@@ -53,5 +45,18 @@
53
45
  },
54
46
  "publishConfig": {
55
47
  "access": "public"
48
+ },
49
+ "scripts": {
50
+ "build": "tsc -p tsconfig.json && chmod +x dist/entry.js && oclif manifest . && cp oclif.manifest.json dist/oclif.manifest.json",
51
+ "build:binary": "bun scripts/build-binaries.ts",
52
+ "typecheck": "tsc -p tsconfig.json --noEmit",
53
+ "lint": "eslint src-ts packages/contracts/src",
54
+ "lint:bypass": "eslint tests/lint-fixtures/*.ts",
55
+ "lint:bypass:check": "sh -c 'if pnpm lint:bypass >/tmp/escli-lint-bypass.out 2>&1; then cat /tmp/escli-lint-bypass.out; echo expected lint bypass to fail; exit 1; else cat /tmp/escli-lint-bypass.out; bun scripts/check-lint-bypass-output.ts /tmp/escli-lint-bypass.out; fi'",
56
+ "check:no-external-snapshots": "cd .. && bun scripts/check-no-external-snapshots.ts",
57
+ "test": "vitest run",
58
+ "verify": "pnpm -r build && pnpm -r typecheck && pnpm typecheck && pnpm lint && pnpm lint:bypass:check && pnpm check:no-external-snapshots && pnpm test && pnpm build && pnpm build:binary && pnpm check:prod-symbols",
59
+ "escli": "bun src-ts/entry.ts",
60
+ "check:prod-symbols": "sh scripts/check-prod-symbols.sh dist/escli-darwin-arm64"
56
61
  }
57
- }
62
+ }