Commit Graph

149 Commits

Author SHA1 Message Date
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
Patrik Oldsberg f004937398 config-loader: bump typescript-json-schema and remove TS 4.3 workaround
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:05 +02:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
Patrik Oldsberg 438a512ebb config-loader: workaround for config schema parsing in typescript 4.3
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-26 22:25:38 +02:00
Jacob Bolda 2cf98d279a config-loader resolve config from cwd
Signed-off-by: Jacob Bolda <me@jacobbolda.com>
2021-05-21 17:38:38 -05:00
github-actions[bot] 18285453eb Version Packages 2021-05-20 11:48:46 +00:00
dependabot[bot] 2904052760 chore(deps): bump json-schema-merge-allof from 0.7.0 to 0.8.1
Bumps [json-schema-merge-allof](https://github.com/mokkabonna/json-schema-merge-allof) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/mokkabonna/json-schema-merge-allof/releases)
- [Commits](https://github.com/mokkabonna/json-schema-merge-allof/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 11:37:21 +02:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
dependabot[bot] c04403f619 chore(deps): bump json-schema from 0.2.5 to 0.3.0
Bumps [json-schema](https://github.com/kriszyp/json-schema) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.5...v0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 04:26:55 +00:00
Patrik Oldsberg 658de01647 scripts/api-extractor: disable all inline warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:37 +02:00
Patrik Oldsberg 0eda63fe9d scripts/api-extractor: disable inline compilation warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:36 +02:00
Patrik Oldsberg a904d8ba5e packages: add api-reports for all included packages
Co-authored-by: Gustaf Räntilä <g.rantila@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:35 +02:00
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