@quonfig/cli 0.4.0 → 0.5.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 (47) hide show
  1. package/README.md +157 -75
  2. package/dist/agent/skill-bundle.generated.d.ts +1 -1
  3. package/dist/agent/skill-bundle.generated.js +4 -4
  4. package/dist/codegen/code-generators/base-typescript-generator.d.ts +1 -1
  5. package/dist/codegen/schema-extractor.d.ts +1 -1
  6. package/dist/commands/config-schema.js +9 -2
  7. package/dist/commands/create.d.ts +3 -1
  8. package/dist/commands/create.js +93 -20
  9. package/dist/commands/get.d.ts +1 -0
  10. package/dist/commands/get.js +40 -3
  11. package/dist/commands/info.js +10 -1
  12. package/dist/commands/set-default.d.ts +2 -0
  13. package/dist/commands/set-default.js +70 -18
  14. package/dist/index.d.ts +6 -0
  15. package/dist/index.js +35 -3
  16. package/dist/interactive-prompt.d.ts +18 -0
  17. package/dist/interactive-prompt.js +11 -2
  18. package/dist/migrate/quonfig-target/operators.js +4 -2
  19. package/dist/migrate/quonfig-target/ruleset.d.ts +48 -0
  20. package/dist/migrate/quonfig-target/ruleset.js +132 -8
  21. package/dist/migrate/sources/flagsmith/translate.js +11 -0
  22. package/dist/migrate/sources/launchdarkly/translate.js +19 -16
  23. package/dist/push/git-pack.d.ts +12 -0
  24. package/dist/push/git-pack.js +27 -3
  25. package/dist/push/run-push.d.ts +2 -1
  26. package/dist/push/run-push.js +1 -2
  27. package/dist/ui/get-string.d.ts +18 -1
  28. package/dist/ui/get-string.js +20 -5
  29. package/dist/ui/get-value.d.ts +3 -1
  30. package/dist/ui/get-value.js +7 -7
  31. package/dist/util/clone-and-stack-push.js +8 -3
  32. package/dist/util/encryption.js +11 -20
  33. package/dist/util/git-ops.d.ts +4 -2
  34. package/dist/util/git-ops.js +4 -2
  35. package/dist/util/redact.d.ts +56 -0
  36. package/dist/util/redact.js +98 -0
  37. package/dist/util/value-source.d.ts +30 -0
  38. package/dist/util/value-source.js +81 -0
  39. package/dist/verify/regex-dialect.d.ts +39 -0
  40. package/dist/verify/regex-dialect.js +278 -0
  41. package/dist/verify/standalone.d.ts +3 -1
  42. package/dist/verify/standalone.js +4 -19
  43. package/dist/verify/validate.js +20 -0
  44. package/dist/version.d.ts +1 -1
  45. package/dist/version.js +1 -1
  46. package/oclif.manifest.json +236 -192
  47. package/package.json +18 -16
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.4.0",
4
+ "version": "0.5.0",
5
5
  "bugs": {
6
6
  "url": "https://github.com/quonfig/cli/issues"
7
7
  },
@@ -20,10 +20,9 @@
20
20
  "@inquirer/prompts": "^5.0.0",
21
21
  "@oclif/core": "^3.18.2",
22
22
  "@oclif/plugin-help": "^6",
23
- "@oclif/plugin-plugins": "^4",
24
- "@oclif/plugin-warn-if-update-available": "3.0.16",
25
- "@quonfig/node": "^1.0.0",
26
- "acorn": "^8.10.0",
23
+ "@oclif/plugin-warn-if-update-available": "3.2.0",
24
+ "@quonfig/node": "^1.10.0",
25
+ "acorn": "^8.19.0",
27
26
  "acorn-walk": "^8.3.5",
28
27
  "ajv": "^8.20.0",
29
28
  "ajv-formats": "^3.0.1",
@@ -33,13 +32,12 @@
33
32
  "inquirer-autocomplete-standalone": "^0.8.1",
34
33
  "lodash.camelcase": "^4.3.0",
35
34
  "mustache": "^4.2.0",
36
- "node-forge": "^1.4.0",
37
35
  "typescript": "^5",
38
- "zod": "^4.4.3"
36
+ "zod": "^4.6.7"
39
37
  },
40
38
  "description": "Quonfig CLI.\n\n Inject configs/secrets as env vars (preferred for scripts and CI):\n qfg run --env DATABASE_URL=db.url --env API_KEY=stripe.key -- ./bin/migrate\n\n Other common usage:\n qfg get <key> --environment <env> read a single value\n qfg list show all keys in the workspace\n qfg config-schema && qfg pull set up arbitrary targeting rules (email, plan, segment, custom property)",
41
39
  "devDependencies": {
42
- "@oclif/prettier-config": "^0.2.1",
40
+ "@oclif/prettier-config": "^0.2.2",
43
41
  "@oclif/test": "^3",
44
42
  "@types/chai": "^4",
45
43
  "@types/common-tags": "^1.8.4",
@@ -47,7 +45,6 @@
47
45
  "@types/mocha": "^10.0.10",
48
46
  "@types/mustache": "^4.2.5",
49
47
  "@types/node": "^18",
50
- "@types/node-forge": "^1.3.14",
51
48
  "chai": "^4",
52
49
  "eslint": "^8",
53
50
  "eslint-config-oclif": "^5",
@@ -55,13 +52,13 @@
55
52
  "eslint-config-prettier": "^9.0.0",
56
53
  "eslint-plugin-markdown": "^5.1.0",
57
54
  "eslint-plugin-only-error": "^1.0.2",
58
- "mocha": "^11.7.5",
59
- "msw": "^2.14.6",
60
- "oclif": "^4.23.7",
61
- "prettier": "^3.8.3",
62
- "shx": "^0.3.4",
55
+ "mocha": "^11.8.0",
56
+ "msw": "^2.15.0",
57
+ "oclif": "^4.24.0",
58
+ "prettier": "^3.9.10",
59
+ "shx": "^0.4.0",
63
60
  "ts-node": "^10.9.1",
64
- "tsx": "^4.22.0"
61
+ "tsx": "^4.23.15"
65
62
  },
66
63
  "engines": {
67
64
  "node": ">=20.9.0"
@@ -111,5 +108,10 @@
111
108
  },
112
109
  "types": "dist/index.d.ts",
113
110
  "exports": "./dist/index.js",
114
- "type": "module"
111
+ "type": "module",
112
+ "resolutions": {
113
+ "minimatch@npm:9.0.3": "^9.0.7",
114
+ "serialize-javascript@npm:^6.0.2": "^7.0.5",
115
+ "tmp@npm:^0.0.33": "^0.2.6"
116
+ }
115
117
  }