@selvajs/cli 2.0.7 → 2.0.9

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/prompts.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selvajs/cli",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Scaffold and operate a Selva white-label deployment. `npx @selvajs/cli <dir>` to bootstrap, `selva <cmd>` to manage.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/src/prompts.js CHANGED
@@ -123,6 +123,7 @@ export function collectConfigFromEnv(env = process.env) {
123
123
  'ALLOW_ORG_CREATION',
124
124
  'ALLOW_CROSS_ORG_PUBLIC',
125
125
  'ALLOW_ORG_COMPUTE_OVERRIDE',
126
+ 'ENABLE_PLATFORM_PROJECTS',
126
127
  'ENABLE_SHARING'
127
128
  ];
128
129
  for (const f of flagNames) {
@@ -493,6 +494,11 @@ export async function collectConfig({ defaults = {}, mode = 'create' } = {}) {
493
494
  label: 'Orgs can configure their own Rhino.Compute server',
494
495
  hint: 'BYO compute'
495
496
  },
497
+ {
498
+ value: 'ENABLE_PLATFORM_PROJECTS',
499
+ label: 'Platform projects (admin-owned, granted to orgs/users)',
500
+ hint: 'cross-org sharing without membership'
501
+ },
496
502
  {
497
503
  value: 'ENABLE_SHARING',
498
504
  label: 'Per-definition share links (anonymous external access)',