@percher/core 1.0.3 → 1.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.
Files changed (66) hide show
  1. package/dist/commands/analytics.d.ts +1 -0
  2. package/dist/commands/analytics.d.ts.map +1 -1
  3. package/dist/commands/billing.d.ts +3 -8
  4. package/dist/commands/billing.d.ts.map +1 -1
  5. package/dist/commands/billing.js +14 -9
  6. package/dist/commands/billing.js.map +1 -1
  7. package/dist/commands/dashboard.js +1 -1
  8. package/dist/commands/dashboard.js.map +1 -1
  9. package/dist/commands/doctor.d.ts +1 -1
  10. package/dist/commands/doctor.d.ts.map +1 -1
  11. package/dist/commands/doctor.js +56 -35
  12. package/dist/commands/doctor.js.map +1 -1
  13. package/dist/commands/env.d.ts.map +1 -1
  14. package/dist/commands/env.js +13 -2
  15. package/dist/commands/env.js.map +1 -1
  16. package/dist/commands/migrate-supabase-sdk.js +1 -1
  17. package/dist/commands/migrate-supabase-sdk.js.map +1 -1
  18. package/dist/commands/migrate-supabase-status.js +2 -1
  19. package/dist/commands/migrate-supabase-status.js.map +1 -1
  20. package/dist/commands/publish-failure.d.ts.map +1 -1
  21. package/dist/commands/publish-failure.js +5 -1
  22. package/dist/commands/publish-failure.js.map +1 -1
  23. package/dist/commands/publish-in-flight.d.ts +23 -0
  24. package/dist/commands/publish-in-flight.d.ts.map +1 -0
  25. package/dist/commands/publish-in-flight.js +33 -0
  26. package/dist/commands/publish-in-flight.js.map +1 -0
  27. package/dist/commands/publish.d.ts +2 -0
  28. package/dist/commands/publish.d.ts.map +1 -1
  29. package/dist/commands/publish.js +16 -19
  30. package/dist/commands/publish.js.map +1 -1
  31. package/dist/commands/rollback.d.ts.map +1 -1
  32. package/dist/commands/rollback.js +21 -14
  33. package/dist/commands/rollback.js.map +1 -1
  34. package/dist/commands/versions.d.ts +4 -0
  35. package/dist/commands/versions.d.ts.map +1 -1
  36. package/dist/commands/versions.js.map +1 -1
  37. package/dist/commands/wait-deploy.d.ts.map +1 -1
  38. package/dist/commands/wait-deploy.js +5 -3
  39. package/dist/commands/wait-deploy.js.map +1 -1
  40. package/dist/errors.d.ts +1 -1
  41. package/dist/errors.d.ts.map +1 -1
  42. package/dist/errors.js.map +1 -1
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js.map +1 -1
  46. package/dist/plans.d.ts +88 -4
  47. package/dist/plans.d.ts.map +1 -1
  48. package/dist/plans.js +55 -4
  49. package/dist/plans.js.map +1 -1
  50. package/dist/poll-deployment.d.ts +26 -1
  51. package/dist/poll-deployment.d.ts.map +1 -1
  52. package/dist/poll-deployment.js +51 -13
  53. package/dist/poll-deployment.js.map +1 -1
  54. package/dist/recovery.js +3 -3
  55. package/dist/recovery.js.map +1 -1
  56. package/dist/stream-utils.d.ts +0 -1
  57. package/dist/stream-utils.d.ts.map +1 -1
  58. package/dist/stream-utils.js +0 -6
  59. package/dist/stream-utils.js.map +1 -1
  60. package/dist/templates/ai-files/claude-md.d.ts.map +1 -1
  61. package/dist/templates/ai-files/claude-md.js +7 -1
  62. package/dist/templates/ai-files/claude-md.js.map +1 -1
  63. package/dist/templates/ai-files/cursor-percher-mdc.d.ts.map +1 -1
  64. package/dist/templates/ai-files/cursor-percher-mdc.js +7 -1
  65. package/dist/templates/ai-files/cursor-percher-mdc.js.map +1 -1
  66. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"claude-md.js","sourceRoot":"","sources":["../../../src/templates/ai-files/claude-md.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,WAAoB;IACxB,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGV;CACA,CAAC"}
1
+ {"version":3,"file":"claude-md.js","sourceRoot":"","sources":["../../../src/templates/ai-files/claude-md.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,WAAoB;IACxB,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GV;CACA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cursor-percher-mdc.d.ts","sourceRoot":"","sources":["../../../src/templates/ai-files/cursor-percher-mdc.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;IAC7B,EAAE,EAAE,oBAAoB;IACxB,IAAI;IACJ,OAAO;IACP,OAAO;CA0IR,CAAC"}
1
+ {"version":3,"file":"cursor-percher-mdc.d.ts","sourceRoot":"","sources":["../../../src/templates/ai-files/cursor-percher-mdc.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;IAC7B,EAAE,EAAE,oBAAoB;IACxB,IAAI;IACJ,OAAO;IACP,OAAO;CAgJR,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export const CURSOR_PERCHER_MDC = {
2
2
  id: "cursor-percher-mdc",
3
3
  path: ".cursor/rules/percher.mdc",
4
- version: "1.3.0",
4
+ version: "1.4.0",
5
5
  content: `---
6
6
  description: How to publish this project to Percher
7
7
  globs: ["percher.toml", "**/*.{ts,tsx,js,jsx,py}"]
@@ -69,6 +69,12 @@ slash) to \`.percherignore\` if a pre-built static site lives there.
69
69
  - Previews and check deploys share the live app's PocketBase data and
70
70
  \`/app/data\`; their writes persist. Test destructive data changes in a
71
71
  separate app.
72
+ - PocketBase is public at \`pb-<app>.percher.run\` (its API and admin UI),
73
+ even for private or password-protected apps. Collection rules are the only
74
+ access control: \`users\` allows open sign-up, and
75
+ \`@request.auth.id != ""\` admits anyone who registers. Lock the rules of
76
+ data only your server reads, and read it as superuser over
77
+ \`POCKETBASE_URL\`.
72
78
  - The root filesystem is read-only. Writable paths are \`/app/data\`
73
79
  (persistent), \`/tmp\` and \`/var/tmp\` (64 MiB each, wiped on restart).
74
80
 
@@ -1 +1 @@
1
- {"version":3,"file":"cursor-percher-mdc.js","sourceRoot":"","sources":["../../../src/templates/ai-files/cursor-percher-mdc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,oBAA6B;IACjC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyIV;CACA,CAAC"}
1
+ {"version":3,"file":"cursor-percher-mdc.js","sourceRoot":"","sources":["../../../src/templates/ai-files/cursor-percher-mdc.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,oBAA6B;IACjC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IV;CACA,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percher/core",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "Core logic and CLI commands for the Percher hosting platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,9 +42,9 @@
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@percher/client": "^1.0.2",
46
- "@percher/shared": "^1.0.2",
47
- "@percher/toml": "^1.0.2",
45
+ "@percher/client": "^1.1.0",
46
+ "@percher/shared": "^1.1.0",
47
+ "@percher/toml": "^1.0.3",
48
48
  "@types/jscodeshift": "17.3.0",
49
49
  "cross-spawn": "^7.0.6",
50
50
  "ignore": "^7.0.5",