@bremmdev/arca-env 0.1.2 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bremmdev/arca-env",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Keep secrets out of .env files and out of reach of AI agents. Encrypted local store, injected at runtime, output always masked.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/schema.json CHANGED
@@ -19,6 +19,28 @@
19
19
  "default": [],
20
20
  "description": "Opt-in: .env files arca loads itself, for tools that don't (plain node, tsx). Injected below secrets and the shell env. Frameworks load their own .env files, so leave this empty for Next.js, Vite, Astro and friends."
21
21
  },
22
+ "defaultProfile": {
23
+ "type": "string",
24
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,39}$",
25
+ "description": "The profile used when none is picked with `arca use`, ARCA_PROFILE or --profile. Defaults to \"default\" if declared, otherwise the first profile."
26
+ },
27
+ "profiles": {
28
+ "type": "object",
29
+ "description": "Sets of values for the same variables (e.g. ontwikkel and acceptatie). Every profile shares `vars` and has its own values in arca. Switch with `arca use <profile>`. Names are case-insensitive.",
30
+ "propertyNames": { "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,39}$", "not": { "const": "policy" } },
31
+ "additionalProperties": {
32
+ "type": "object",
33
+ "properties": {
34
+ "extends": { "type": "string", "description": "Inherit every value this profile doesn't store itself from another profile." },
35
+ "envFiles": {
36
+ "type": "array",
37
+ "items": { "type": "string" },
38
+ "description": "Non-sensitive config files arca loads for this profile, after the top-level envFiles and those of the profile it extends. Use names frameworks don't load themselves, like .env.acceptatie."
39
+ }
40
+ },
41
+ "additionalProperties": false
42
+ }
43
+ },
22
44
  "leakGuard": {
23
45
  "type": "object",
24
46
  "properties": {