ignotum 0.0.8 → 0.0.10

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 (44) hide show
  1. package/README.md +6 -2
  2. package/dist/cli/bin.mjs +295 -64
  3. package/dist/cli/bin.mjs.map +1 -1
  4. package/dist/runtime/{api-BTeMI5tx.js → api-DzcR7spt.js} +22 -23
  5. package/dist/runtime/api-DzcR7spt.js.map +1 -0
  6. package/dist/runtime/{api-D9lV-5av.d.ts → api-jCl8Hzry.d.ts} +3 -3
  7. package/dist/runtime/client.d.ts +5 -5
  8. package/dist/runtime/client.js +57 -55
  9. package/dist/runtime/client.js.map +1 -1
  10. package/dist/runtime/{descriptor-C5VA9qRl-C338iC6l.js → descriptor-C5VA9qRl-BhD-WQeO.js} +4 -3
  11. package/dist/runtime/descriptor-C5VA9qRl-BhD-WQeO.js.map +1 -0
  12. package/dist/runtime/{file-BXf63ulU.js → file-C1abuMgd.js} +8 -1
  13. package/dist/runtime/file-C1abuMgd.js.map +1 -0
  14. package/dist/runtime/{id-Btwac71X-DGj0DQuu.d.ts → id-Cs82tq9Q-Caqfx54f.d.ts} +2 -2
  15. package/dist/runtime/{index-CF04_Dps.d.ts → index-D6VLTbDB.d.ts} +4 -4
  16. package/dist/runtime/internal/api.d.ts +1 -1
  17. package/dist/runtime/internal/api.js +1 -1
  18. package/dist/runtime/internal/host.d.ts +4 -4
  19. package/dist/runtime/internal/host.js +3 -3
  20. package/dist/runtime/internal/server.d.ts +1 -1
  21. package/dist/runtime/internal/server.js +1 -1
  22. package/dist/runtime/internal/types.d.ts +1 -1
  23. package/dist/runtime/internal/types.js +1 -1
  24. package/dist/runtime/{pagination-DrOowBve-Bnipd34u.d.ts → pagination-Bt3l7QaC-D_zI5zsu.d.ts} +3 -3
  25. package/dist/runtime/pagination-DcIkTOFs.d.ts +1 -0
  26. package/dist/runtime/{schema-DJfwfq87.js → schema-C00wobuy.js} +3 -3
  27. package/dist/runtime/{schema-DJfwfq87.js.map → schema-C00wobuy.js.map} +1 -1
  28. package/dist/runtime/server.d.ts +2 -2
  29. package/dist/runtime/server.js +2 -2
  30. package/dist/runtime/{sync-mIXn9eKv.d.ts → sync-bMQq9tXx.d.ts} +2 -2
  31. package/package.json +4 -2
  32. package/src/cli/auth-client.ts +286 -0
  33. package/src/cli/command.ts +65 -2
  34. package/src/cli/control-client.ts +19 -6
  35. package/src/cli/new-app.ts +2 -1
  36. package/src/client/errors.ts +7 -10
  37. package/src/client/files.ts +36 -51
  38. package/src/client/sync.ts +35 -23
  39. package/src/dev-runtime/files.ts +30 -31
  40. package/src/dev-runtime/sync.ts +19 -25
  41. package/dist/runtime/api-BTeMI5tx.js.map +0 -1
  42. package/dist/runtime/descriptor-C5VA9qRl-C338iC6l.js.map +0 -1
  43. package/dist/runtime/file-BXf63ulU.js.map +0 -1
  44. package/dist/runtime/pagination-BNFhAjns.d.ts +0 -1
package/README.md CHANGED
@@ -137,10 +137,14 @@ the favicon. Supported files in a top-level `public` directory retain their URL
137
137
  | `npx ignotum codegen` | Regenerate `_generated` without starting the dev server |
138
138
  | `npx ignotum dev` | Run the local app and watch client, schema, and function changes |
139
139
  | `npx ignotum dev db reset` | Delete local app data while the dev server is stopped |
140
+ | `npx ignotum auth login` | Sign in to Ignotum with GitHub |
141
+ | `npx ignotum auth logout` | Revoke and remove the saved login |
142
+ | `npx ignotum auth status` | Show the current account and team |
140
143
  | `npx ignotum deploy --app <slug>` | Link the app on its first deployment, then build and activate it |
141
144
 
142
- `ignotum deploy` requires `IGNOTUM_API_TOKEN`. After the first deployment, the CLI records the app
143
- link in `.ignotum/app.json`; later deployments do not need `--app`.
145
+ Run `npx ignotum auth login` before the first deployment. The CLI stores the login outside the app
146
+ directory. After the first deployment, it records the app link in `.ignotum/app.json`; later
147
+ deployments do not need `--app`.
144
148
 
145
149
  ## Package entry points
146
150