Commit Graph

89 Commits

Author SHA1 Message Date
Patrik Oldsberg 7211624328 config-loader: added tests for schema collection 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 5357723ea4 config-loader: fix .d.ts schema path handling on Windows 2020-11-18 11:31:18 +01:00
Patrik Oldsberg 12f601f830 config-loader: fix types dependencies 2020-11-18 11:31:17 +01:00
Patrik Oldsberg b8eba8219e config-loader: enable validation of required props in d.ts definitions + fix issues 2020-11-18 11:31:16 +01:00
Patrik Oldsberg f6ed7d5d0d config-loader: normalize data paths to ensure consistent behavior 2020-11-18 11:31:15 +01:00
Patrik Oldsberg 06205426d8 config-loader: add support for defining config schema using .d.ts files 2020-11-18 11:31:14 +01:00
Patrik Oldsberg 28a49c2ffa config-loader: make visibility schema keyword work for all types 2020-11-18 11:31:14 +01:00
Patrik Oldsberg d02d79e392 config-loader,cli: better presentation of config schema validation errors 2020-11-18 11:31:14 +01:00
Patrik Oldsberg eb9e293fce config-loader: skip schema collection from packages that don't export package.json 2020-11-18 11:31:13 +01:00
Patrik Oldsberg 49ab961b8b config-loader: add support for transforming values during schema processing 2020-11-18 11:31:13 +01:00
Patrik Oldsberg 051e0fd17e config-loader: hasApp -> hasFrontend 2020-11-18 11:31:13 +01:00
Patrik Oldsberg c18769cc00 config-loader: visibilities -> visiblity 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 2e4de99338 config-loader: switch to ajv v6 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 3849e24112 config-loader: add support for serializing and deserializing schema 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 7298f8b265 config-loader: remove support for conditionally reading secrets 2020-11-18 11:31:10 +01:00
Patrik Oldsberg f4af5d1dce config-loader: consider all deps when discovering schema and parallelize processing 2020-11-18 11:31:10 +01:00
Patrik Oldsberg 4ccba1aa96 config-loader: remove debugging output in schema lib 2020-11-18 11:31:10 +01:00
Patrik Oldsberg a533c15b09 config-loader: document schema lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg b652ebc4e7 config-loader: add visibility filtering tests + fix filtering logic 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 8c65cec932 config-loader: split up config schema implementation and move into separate lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 4795278039 config-loader: add config filtering by visibility 2020-11-18 11:31:08 +01:00
Patrik Oldsberg 6fec95079a config-loader: initial incomplete config schema implementation 2020-11-18 11:31:08 +01:00
github-actions[bot] 715bb76fb5 Version Packages 2020-11-03 20:50:42 +00:00
Patrik Oldsberg 8360d9f7e2 Merge pull request #3140 from backstage/rugvip/release
Release v0.1.1
2020-11-03 13:28:03 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Patrik Oldsberg 833a652d05 v0.1.1 2020-10-28 10:22:09 +01:00
Patrik Oldsberg 754109ee61 v0.1.1-alpha.26 2020-10-27 12:00:01 +01:00
Patrik Oldsberg 8c2b76e45f config-loader: switch to using --config options to load in config 2020-10-22 10:52:06 +02:00
Fredrik Adelöw c91054ac17 chore(deps): bump yup 2020-10-16 13:29:45 +02:00
blam 46960a61ec v0.1.1-alpha.25 2020-10-12 22:42:54 +02:00
Patrik Oldsberg 8afce088ac Use APP_ENV to determine what config to load, falling back to NODE_ENV 2020-10-10 17:41:03 +02:00
Patrik Oldsberg 46b71700ee v0.1.1-alpha.24 2020-10-05 15:45:33 +02:00
Patrik Oldsberg eaf169c07a config-loader: reject configs with keys adjacent to secret keys 2020-10-04 19:08:42 +02:00
Patrik Oldsberg a30cd576b1 config-loader: add support for new short-form secret syntax 2020-10-04 14:44:22 +02:00
blam 6c55d38348 v0.1.1-alpha.23 2020-09-23 16:40:49 +02:00
Raghunandan 72235dd51e v0.1.1-alpha.22 2020-09-18 15:14:38 +02:00
Patrik Oldsberg 905a924c18 cli-loader: use mock-fs for tests 2020-09-06 14:38:22 +02:00
Patrik Oldsberg 265be1d6a1 config: try to coerce string values into numbers 2020-09-03 16:35:16 +02:00
Taras Mankovski 7219d18853 Add failing test for port coercion 2020-09-03 07:55:32 -04:00
Emma Indal 3b545791ce new release 31 aug 20 2020-09-01 14:10:22 +02:00
Patrik Oldsberg c13de0b115 config-loader: rename readEnv to readEnvConfig and export from package 2020-08-27 07:22:14 +02:00
Raghunandan 734dcca107 Release v0.1.1-alpha.20 2020-08-26 11:33:14 +02:00
Raghunandan 15e334a584 Release v0.1.1-alpha.19 2020-08-21 11:40:04 +02:00
Patrik Oldsberg 6a53ccb1bb Merge pull request #1870 from spotify/rugvip/taint-config
config-loader: taint secret paths to treat them as secret in later configs as well
2020-08-10 18:32:29 +02:00
Patrik Oldsberg 4f7464de04 Merge pull request #1860 from spotify/rugvip/config
config,config-loader: add support for suffixed config files and multiple roots
2020-08-10 11:51:07 +02:00
Patrik Oldsberg d73da347e0 config-loader: added high-level loader tests 2020-08-08 11:17:49 +02:00
Patrik Oldsberg 1a6fb8cf8f config-loader: taint secret paths to treat them as secret in later configs as well 2020-08-08 10:46:15 +02:00
Patrik Oldsberg f8c696e038 v0.1.1-alpha.18 2020-08-07 17:08:28 +02:00
Patrik Oldsberg 1f2216fd77 config: flip priority order of ConfigReader.fromConfigs 2020-08-07 16:43:33 +02:00
Patrik Oldsberg f7532bcf1c config-loader: added tests for resolver 2020-08-07 11:32:06 +02:00