@quonfig/cli 0.0.24 → 0.0.25
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.
- package/README.md +36 -36
- package/dist/verify/validate.js +25 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ $ npm install -g @quonfig/cli
|
|
|
14
14
|
$ qfg COMMAND
|
|
15
15
|
running command...
|
|
16
16
|
$ qfg (--version)
|
|
17
|
-
@quonfig/cli/0.0.
|
|
17
|
+
@quonfig/cli/0.0.25 linux-x64 node-v24.4.1
|
|
18
18
|
$ qfg --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ qfg COMMAND
|
|
@@ -92,7 +92,7 @@ EXAMPLES
|
|
|
92
92
|
$ qfg config-schema --json-schema # full JSON Schema document (copy into your editor)
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
_See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
95
|
+
_See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/config-schema.ts)_
|
|
96
96
|
|
|
97
97
|
## `qfg create NAME`
|
|
98
98
|
|
|
@@ -177,7 +177,7 @@ EXAMPLES
|
|
|
177
177
|
$ qfg set-rollout my.new.flag --environment production --true-percent 20
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
180
|
+
_See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/create.ts)_
|
|
181
181
|
|
|
182
182
|
## `qfg delete NAME`
|
|
183
183
|
|
|
@@ -223,7 +223,7 @@ EXAMPLES
|
|
|
223
223
|
$ qfg delete my.config --yes
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
-
_See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
226
|
+
_See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/delete.ts)_
|
|
227
227
|
|
|
228
228
|
## `qfg flag info [NAME]`
|
|
229
229
|
|
|
@@ -426,7 +426,7 @@ EXAMPLES
|
|
|
426
426
|
$ qfg generate --targets node-ts -o ./dist # combine with targets
|
|
427
427
|
```
|
|
428
428
|
|
|
429
|
-
_See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
429
|
+
_See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/generate.ts)_
|
|
430
430
|
|
|
431
431
|
## `qfg generate-new-hex-key`
|
|
432
432
|
|
|
@@ -449,7 +449,7 @@ EXAMPLES
|
|
|
449
449
|
$ qfg generate-new-hex-key
|
|
450
450
|
```
|
|
451
451
|
|
|
452
|
-
_See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
452
|
+
_See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/generate-new-hex-key.ts)_
|
|
453
453
|
|
|
454
454
|
## `qfg get [NAME]`
|
|
455
455
|
|
|
@@ -481,7 +481,7 @@ EXAMPLES
|
|
|
481
481
|
$ qfg get my.config.name --environment=production
|
|
482
482
|
```
|
|
483
483
|
|
|
484
|
-
_See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
484
|
+
_See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/get.ts)_
|
|
485
485
|
|
|
486
486
|
## `qfg info [NAME]`
|
|
487
487
|
|
|
@@ -529,7 +529,7 @@ EXAMPLES
|
|
|
529
529
|
$ qfg info my.config.name --exclude-evaluations # skip 24h stats
|
|
530
530
|
```
|
|
531
531
|
|
|
532
|
-
_See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
532
|
+
_See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/info.ts)_
|
|
533
533
|
|
|
534
534
|
## `qfg init [DIRECTORY]`
|
|
535
535
|
|
|
@@ -569,7 +569,7 @@ EXAMPLES
|
|
|
569
569
|
$ qfg init --dry-run
|
|
570
570
|
```
|
|
571
571
|
|
|
572
|
-
_See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
572
|
+
_See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/init.ts)_
|
|
573
573
|
|
|
574
574
|
## `qfg interactive`
|
|
575
575
|
|
|
@@ -599,7 +599,7 @@ EXAMPLES
|
|
|
599
599
|
$ qfg
|
|
600
600
|
```
|
|
601
601
|
|
|
602
|
-
_See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
602
|
+
_See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/interactive.ts)_
|
|
603
603
|
|
|
604
604
|
## `qfg list`
|
|
605
605
|
|
|
@@ -639,7 +639,7 @@ EXAMPLES
|
|
|
639
639
|
$ qfg list --feature-flags
|
|
640
640
|
```
|
|
641
641
|
|
|
642
|
-
_See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
642
|
+
_See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/list.ts)_
|
|
643
643
|
|
|
644
644
|
## `qfg log-level NAME`
|
|
645
645
|
|
|
@@ -704,7 +704,7 @@ EXAMPLES
|
|
|
704
704
|
$ qfg log-level log-level.my-app --target=Chatty --value=INFO --environment=production
|
|
705
705
|
```
|
|
706
706
|
|
|
707
|
-
_See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
707
|
+
_See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/log-level.ts)_
|
|
708
708
|
|
|
709
709
|
## `qfg login`
|
|
710
710
|
|
|
@@ -729,7 +729,7 @@ EXAMPLES
|
|
|
729
729
|
$ qfg login --profile myprofile
|
|
730
730
|
```
|
|
731
731
|
|
|
732
|
-
_See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
732
|
+
_See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/login.ts)_
|
|
733
733
|
|
|
734
734
|
## `qfg logout`
|
|
735
735
|
|
|
@@ -752,7 +752,7 @@ EXAMPLES
|
|
|
752
752
|
$ qfg logout
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
-
_See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
755
|
+
_See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/logout.ts)_
|
|
756
756
|
|
|
757
757
|
## `qfg mcp`
|
|
758
758
|
|
|
@@ -785,7 +785,7 @@ EXAMPLES
|
|
|
785
785
|
$ qfg mcp --url http://local-app.quonfig-staging.com:3003/api/v1/mcp
|
|
786
786
|
```
|
|
787
787
|
|
|
788
|
-
_See code: [src/commands/mcp.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
788
|
+
_See code: [src/commands/mcp.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/mcp.ts)_
|
|
789
789
|
|
|
790
790
|
## `qfg migrate`
|
|
791
791
|
|
|
@@ -839,7 +839,7 @@ EXAMPLES
|
|
|
839
839
|
$ qfg migrate --from launch --api-key $LAUNCH_API_KEY --dir ./quonfig-config --staging
|
|
840
840
|
```
|
|
841
841
|
|
|
842
|
-
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
842
|
+
_See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/migrate.ts)_
|
|
843
843
|
|
|
844
844
|
## `qfg migrate doctor`
|
|
845
845
|
|
|
@@ -877,7 +877,7 @@ EXAMPLES
|
|
|
877
877
|
$ qfg migrate doctor --json
|
|
878
878
|
```
|
|
879
879
|
|
|
880
|
-
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
880
|
+
_See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/migrate/doctor.ts)_
|
|
881
881
|
|
|
882
882
|
## `qfg migrate my-code`
|
|
883
883
|
|
|
@@ -909,7 +909,7 @@ EXAMPLES
|
|
|
909
909
|
$ qfg migrate my-code --dry-run
|
|
910
910
|
```
|
|
911
911
|
|
|
912
|
-
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
912
|
+
_See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/migrate/my-code.ts)_
|
|
913
913
|
|
|
914
914
|
## `qfg migrate status`
|
|
915
915
|
|
|
@@ -940,7 +940,7 @@ EXAMPLES
|
|
|
940
940
|
$ qfg migrate status --json
|
|
941
941
|
```
|
|
942
942
|
|
|
943
|
-
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
943
|
+
_See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/migrate/status.ts)_
|
|
944
944
|
|
|
945
945
|
## `qfg override [NAME] [VALUE]`
|
|
946
946
|
|
|
@@ -995,7 +995,7 @@ EXAMPLES
|
|
|
995
995
|
$ qfg override my.flag true --env=staging
|
|
996
996
|
```
|
|
997
997
|
|
|
998
|
-
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
998
|
+
_See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/override.ts)_
|
|
999
999
|
|
|
1000
1000
|
## `qfg pull`
|
|
1001
1001
|
|
|
@@ -1039,7 +1039,7 @@ EXAMPLES
|
|
|
1039
1039
|
$ qfg pull # uses QUONFIG_DIR env var
|
|
1040
1040
|
```
|
|
1041
1041
|
|
|
1042
|
-
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1042
|
+
_See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/pull.ts)_
|
|
1043
1043
|
|
|
1044
1044
|
## `qfg push`
|
|
1045
1045
|
|
|
@@ -1087,7 +1087,7 @@ EXAMPLES
|
|
|
1087
1087
|
$ qfg push --dir ./our-config --yes
|
|
1088
1088
|
```
|
|
1089
1089
|
|
|
1090
|
-
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1090
|
+
_See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/push.ts)_
|
|
1091
1091
|
|
|
1092
1092
|
## `qfg schema NAME`
|
|
1093
1093
|
|
|
@@ -1125,7 +1125,7 @@ EXAMPLES
|
|
|
1125
1125
|
$ qfg schema my-schema --set-json-schema=@schemas/my-schema.json --protected
|
|
1126
1126
|
```
|
|
1127
1127
|
|
|
1128
|
-
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1128
|
+
_See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/schema.ts)_
|
|
1129
1129
|
|
|
1130
1130
|
## `qfg sdk-key`
|
|
1131
1131
|
|
|
@@ -1152,7 +1152,7 @@ EXAMPLES
|
|
|
1152
1152
|
$ qfg sdk-key revoke <key-id>
|
|
1153
1153
|
```
|
|
1154
1154
|
|
|
1155
|
-
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1155
|
+
_See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/sdk-key.ts)_
|
|
1156
1156
|
|
|
1157
1157
|
## `qfg sdk-key create`
|
|
1158
1158
|
|
|
@@ -1184,7 +1184,7 @@ EXAMPLES
|
|
|
1184
1184
|
$ qfg sdk-key create --environment staging --type browser
|
|
1185
1185
|
```
|
|
1186
1186
|
|
|
1187
|
-
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1187
|
+
_See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/sdk-key/create.ts)_
|
|
1188
1188
|
|
|
1189
1189
|
## `qfg sdk-key list`
|
|
1190
1190
|
|
|
@@ -1213,7 +1213,7 @@ EXAMPLES
|
|
|
1213
1213
|
$ qfg sdk-key list --environment production
|
|
1214
1214
|
```
|
|
1215
1215
|
|
|
1216
|
-
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1216
|
+
_See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/sdk-key/list.ts)_
|
|
1217
1217
|
|
|
1218
1218
|
## `qfg sdk-key revoke KEYID`
|
|
1219
1219
|
|
|
@@ -1240,7 +1240,7 @@ EXAMPLES
|
|
|
1240
1240
|
$ qfg sdk-key revoke a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
1241
1241
|
```
|
|
1242
1242
|
|
|
1243
|
-
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1243
|
+
_See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/sdk-key/revoke.ts)_
|
|
1244
1244
|
|
|
1245
1245
|
## `qfg set-default [NAME]`
|
|
1246
1246
|
|
|
@@ -1311,7 +1311,7 @@ EXAMPLES
|
|
|
1311
1311
|
$ qfg pull && qfg config-schema
|
|
1312
1312
|
```
|
|
1313
1313
|
|
|
1314
|
-
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1314
|
+
_See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/set-default.ts)_
|
|
1315
1315
|
|
|
1316
1316
|
## `qfg set-rollout [NAME]`
|
|
1317
1317
|
|
|
@@ -1388,7 +1388,7 @@ EXAMPLES
|
|
|
1388
1388
|
$ qfg set-rollout my.variant.flag --environment production --weights "a:33,b:33,c:34" --hash-by user.id
|
|
1389
1389
|
```
|
|
1390
1390
|
|
|
1391
|
-
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1391
|
+
_See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/set-rollout.ts)_
|
|
1392
1392
|
|
|
1393
1393
|
## `qfg sync`
|
|
1394
1394
|
|
|
@@ -1420,7 +1420,7 @@ EXAMPLES
|
|
|
1420
1420
|
$ qfg sync --watch --dir ./our-config --interval 30
|
|
1421
1421
|
```
|
|
1422
1422
|
|
|
1423
|
-
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1423
|
+
_See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/sync.ts)_
|
|
1424
1424
|
|
|
1425
1425
|
## `qfg toggle [NAME]`
|
|
1426
1426
|
|
|
@@ -1522,7 +1522,7 @@ EXAMPLES
|
|
|
1522
1522
|
$ qfg verify --json
|
|
1523
1523
|
```
|
|
1524
1524
|
|
|
1525
|
-
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1525
|
+
_See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/verify.ts)_
|
|
1526
1526
|
|
|
1527
1527
|
## `qfg whoami`
|
|
1528
1528
|
|
|
@@ -1545,7 +1545,7 @@ EXAMPLES
|
|
|
1545
1545
|
$ qfg whoami
|
|
1546
1546
|
```
|
|
1547
1547
|
|
|
1548
|
-
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1548
|
+
_See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/whoami.ts)_
|
|
1549
1549
|
|
|
1550
1550
|
## `qfg workspace`
|
|
1551
1551
|
|
|
@@ -1568,7 +1568,7 @@ EXAMPLES
|
|
|
1568
1568
|
$ qfg workspace
|
|
1569
1569
|
```
|
|
1570
1570
|
|
|
1571
|
-
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1571
|
+
_See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/workspace.ts)_
|
|
1572
1572
|
|
|
1573
1573
|
## `qfg workspace bootstrap`
|
|
1574
1574
|
|
|
@@ -1601,7 +1601,7 @@ EXAMPLES
|
|
|
1601
1601
|
$ qfg workspace bootstrap --dir ./our-config --skip-validate
|
|
1602
1602
|
```
|
|
1603
1603
|
|
|
1604
|
-
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1604
|
+
_See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/workspace/bootstrap.ts)_
|
|
1605
1605
|
|
|
1606
1606
|
## `qfg workspace create SLUG`
|
|
1607
1607
|
|
|
@@ -1635,7 +1635,7 @@ EXAMPLES
|
|
|
1635
1635
|
$ qfg workspace create my-team --org 11111111-1111-1111-1111-111111111111
|
|
1636
1636
|
```
|
|
1637
1637
|
|
|
1638
|
-
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1638
|
+
_See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/workspace/create.ts)_
|
|
1639
1639
|
|
|
1640
1640
|
## `qfg workspace switch [SLUG]`
|
|
1641
1641
|
|
|
@@ -1663,7 +1663,7 @@ EXAMPLES
|
|
|
1663
1663
|
$ qfg workspace switch my-workspace-slug
|
|
1664
1664
|
```
|
|
1665
1665
|
|
|
1666
|
-
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.
|
|
1666
|
+
_See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.25/src/commands/workspace/switch.ts)_
|
|
1667
1667
|
<!-- commandsstop -->
|
|
1668
1668
|
|
|
1669
1669
|
## Local Development
|
package/dist/verify/validate.js
CHANGED
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
* - Weighted values non-empty and consistent
|
|
21
21
|
*/
|
|
22
22
|
import { z } from 'zod';
|
|
23
|
-
|
|
23
|
+
// Inlined to keep this directory self-contained for the standalone bun-compile
|
|
24
|
+
// build that runs as the qfg-verify pre-receive hook in app-gitea — that build
|
|
25
|
+
// only copies cli/src/verify/, so any out-of-tree imports break it. Source of
|
|
26
|
+
// truth: cli/src/util/log-levels.ts.
|
|
27
|
+
const LOG_LEVELS = ['TRACE', 'DEBUG', 'INFO', 'WARN', 'ERROR', 'FATAL'];
|
|
24
28
|
// ── Schemas (subset of app-quonfig config-schemas.ts) ───────────────────
|
|
25
29
|
const ConfigTypeSchema = z.enum(['feature_flag', 'config', 'log_level', 'segment', 'schema']);
|
|
26
30
|
const ValueTypeSchema = z.enum(['bool', 'string', 'int', 'double', 'json', 'string_list', 'duration', 'log_level']);
|
|
@@ -408,6 +412,17 @@ export function validateWorkspace(workspaceDir) {
|
|
|
408
412
|
severity: 'error',
|
|
409
413
|
});
|
|
410
414
|
}
|
|
415
|
+
// Segments are cross-environment (no per-env values), so `protected-env`
|
|
416
|
+
// has no meaning — there is no environment to protect. Allow only
|
|
417
|
+
// support / standard / protected-all-envs. See protecting-access.md §11.
|
|
418
|
+
if (config.access === 'protected-env') {
|
|
419
|
+
issues.push({
|
|
420
|
+
file: relPath,
|
|
421
|
+
message: `Segment cannot have access "protected-env" — segments are cross-environment. Use "standard" or "protected-all-envs".`,
|
|
422
|
+
severity: 'error',
|
|
423
|
+
suggestion: `Change access to "standard" or "protected-all-envs"`,
|
|
424
|
+
});
|
|
425
|
+
}
|
|
411
426
|
segmentKeys.add(config.key);
|
|
412
427
|
}
|
|
413
428
|
if (config.type === 'log_level') {
|
|
@@ -707,6 +722,15 @@ export function validateFileMap(files) {
|
|
|
707
722
|
if (config.sendToClientSdk) {
|
|
708
723
|
issues.push({ file: relPath, message: `Segment must have sendToClientSdk=false`, severity: 'error' });
|
|
709
724
|
}
|
|
725
|
+
// Segments are cross-environment — `protected-env` has no meaning. See protecting-access.md §11.
|
|
726
|
+
if (config.access === 'protected-env') {
|
|
727
|
+
issues.push({
|
|
728
|
+
file: relPath,
|
|
729
|
+
message: `Segment cannot have access "protected-env" — segments are cross-environment. Use "standard" or "protected-all-envs".`,
|
|
730
|
+
severity: 'error',
|
|
731
|
+
suggestion: `Change access to "standard" or "protected-all-envs"`,
|
|
732
|
+
});
|
|
733
|
+
}
|
|
710
734
|
segmentKeys.add(config.key);
|
|
711
735
|
}
|
|
712
736
|
if (config.type === 'log_level') {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageManager": "yarn@4.11.0+sha512.4e54aeace9141df2f0177c266b05ec50dc044638157dae128c471ba65994ac802122d7ab35bcd9e81641228b7dcf24867d28e750e0bcae8a05277d600008ad54",
|
|
3
3
|
"name": "@quonfig/cli",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.25",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/quonfig/cli/issues"
|
|
7
7
|
},
|