Commit Graph

136 Commits

Author SHA1 Message Date
github-actions[bot] 51b6cf465d Version Packages 2021-04-08 11:32:56 +00:00
Patrik Oldsberg fe8d22dbe2 config-loader: fix include test on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-01 20:22:34 +02:00
JP Dhabolt 3c9584801b Remove unused JsonValue
Signed-off-by: JP Dhabolt <jdhabolt@agero.com>
2021-04-01 15:43:22 +00:00
JP Dhabolt c3b6fe4ffd Reduce type noise
Signed-off-by: JP Dhabolt <jdhabolt@agero.com>
2021-04-01 15:38:10 +00:00
JP Dhabolt dbbb8f7b37 Revert changes to types
Signed-off-by: JP Dhabolt <jdhabolt@agero.com>
2021-04-01 15:19:08 +00:00
JP Dhabolt 0efa7ae6a7 Update per PR comments and add two test assertions
Signed-off-by: JP Dhabolt <jdhabolt@agero.com>
2021-04-01 12:00:17 +00:00
JP Dhabolt b593061da3 Fix bug in substitution transform
Signed-off-by: JP Dhabolt john.p.dhabolt@gmail.com
Signed-off-by: JP Dhabolt <jdhabolt@agero.com>
2021-03-31 15:34:15 +00:00
JP Dhabolt a003fdb21b Run substitute prior to include processing
Signed-off-by: JP Dhabolt john.p.dhabolt@gmail.com
Signed-off-by: JP Dhabolt <jdhabolt@agero.com>
2021-03-31 15:34:14 +00:00
dependabot[bot] 63887ea84d chore(deps-dev): bump @types/node from 12.12.58 to 14.14.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.58 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 13:19:08 +01:00
Andreas Stenius 46dab9e09c config-loader: move @types/json-schema to dependencies.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-26 12:02:36 +01:00
Andreas Stenius fb30fc103b cli(config:schema): cleanups.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-24 09:27:54 +01:00
Andreas Stenius 4548ed4e91 Merge remote-tracking branch 'upstream/master' into kaos/cli-config-schema 2021-02-24 08:56:58 +01:00
dependabot[bot] e2c04b6cfc chore(deps): bump typescript-json-schema from 0.47.0 to 0.49.0
Bumps [typescript-json-schema](https://github.com/YousefED/typescript-json-schema) from 0.47.0 to 0.49.0.
- [Release notes](https://github.com/YousefED/typescript-json-schema/releases)
- [Commits](https://github.com/YousefED/typescript-json-schema/compare/v0.47.0...v0.49.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-24 04:35:32 +00:00
Andreas Stenius 64a98b5fe6 cli: fix types.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-22 10:40:51 +01:00
Andreas Stenius 0e0d0595ea config(schema): export mergeConfigSchemas from config-loader for use by backstage-cli config:schema.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-19 14:43:25 +01:00
github-actions[bot] 6794967d20 Version Packages 2021-02-04 13:02:30 +00:00
Debajyoti Halder 39e7f4a81e Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 17:02:33 +05:30
Patrik Oldsberg bdbeaf6051 config-loader: validate each schema upfront to provide a more precise error message 2021-01-29 16:58:48 +01:00
Debajyoti Halder 4dad818e01 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-01-29 14:05:27 +05:30
Debajyoti Halder 6106345e6d Update project with latest eslint rules 2021-01-29 11:55:12 +05:30
Fredrik Adelöw 062df71db1 config-loader: Bump to ajv 7, to enable v7 feature use elsewhere 2021-01-28 20:52:08 +01:00
github-actions[bot] cda741034d Version Packages 2021-01-28 10:46:08 +00:00
Himanshu Mishra cd8dce2731 config-loader: Fix tests for windows
When the / path is resolved to C:\ on Windows
2021-01-25 19:49:42 +01:00
Patrik Oldsberg b2e5c844f7 config-loader: more talking about includes instead of secrets 2021-01-25 00:29:35 +01:00
Patrik Oldsberg a6faeeab4b config-loader: refactor transforms to keep track of base dir and fix file include resolution 2021-01-25 00:17:31 +01:00
Patrik Oldsberg 9f33201f55 config-loader: add experimental env var option 2021-01-25 00:17:29 +01:00
Patrik Oldsberg c87a6bfeff config-loader: remove deprecated env check 2021-01-25 00:17:29 +01:00
Patrik Oldsberg f79938abe6 config-loader: add substitution transform 2021-01-25 00:17:29 +01:00
Patrik Oldsberg 011d736978 config-loader: move transform logic into separate lib folder 2021-01-25 00:17:28 +01:00
Patrik Oldsberg 26a94cfac6 config-loader: refactor to use transforms as a base building block 2021-01-25 00:17:28 +01:00
Patrik Oldsberg 05f696ced1 config-loader: remove deprecated $data secret support 2021-01-23 17:14:56 +01:00
Patrik Oldsberg eb0c0c7e20 config-loader: remove deprecated $secret support 2021-01-23 17:08:44 +01:00
Ben Lambert 733744b437 Merge pull request #3949 from backstage/dependabot/npm_and_yarn/typescript-json-schema-0.47.0
chore(deps): bump typescript-json-schema from 0.45.1 to 0.47.0
2021-01-08 10:28:40 +01:00
github-actions[bot] 28d7f319f4 Version Packages 2021-01-07 10:31:20 +00:00
dependabot[bot] e88c9a2ea0 chore(deps): bump typescript-json-schema from 0.45.1 to 0.47.0
Bumps [typescript-json-schema](https://github.com/YousefED/typescript-json-schema) from 0.45.1 to 0.47.0.
- [Release notes](https://github.com/YousefED/typescript-json-schema/releases)
- [Commits](https://github.com/YousefED/typescript-json-schema/compare/v0.45.1...v0.47.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-07 04:50:51 +00:00
Johan Haals 8987bf52f4 Add missing IncludeSecret type 2021-01-04 16:27:47 +01:00
Johan Haals 36268a966c Add deprecation notice to $data 2021-01-04 15:31:30 +01:00
Johan Haals 4c33dc48e9 Config: Add $include which replaces $data and can include any value 2021-01-04 15:27:03 +01:00
github-actions[bot] 01aa774d9a Version Packages 2020-12-03 15:28:22 +00:00
dependabot[bot] bad8990788 build(deps): bump typescript-json-schema from 0.43.0 to 0.45.0
Bumps [typescript-json-schema](https://github.com/YousefED/typescript-json-schema) from 0.43.0 to 0.45.0.
- [Release notes](https://github.com/YousefED/typescript-json-schema/releases)
- [Commits](https://github.com/YousefED/typescript-json-schema/compare/v0.43.0...v0.45.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-02 15:58:44 +01:00
Adam Harvey d40eddac9d Refactor visibility typo 2020-11-29 00:22:10 -05:00
Oliver Sand 1162318d06 Fix remaining test issues on Windows
#3459 was on the right way but missed some places.
2020-11-27 13:51:49 +01:00
blam 3660463e2a chore: use path.join to fix master build on windows 2020-11-26 13:00:58 +01:00
github-actions[bot] bc0f47b7b7 Version Packages 2020-11-19 15:13:57 +00:00
Patrik Oldsberg 0b97a89f55 address config schema review comments 2020-11-18 11:31:19 +01:00
Patrik Oldsberg 39591369ba config-loader: add tests for schema compile and skip adding backend visibility paths 2020-11-18 11:31:19 +01:00
Patrik Oldsberg eda9f91515 config-loader: added test for config schema load 2020-11-18 11:31:19 +01:00
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