13075 Commits

Author SHA1 Message Date
blam 65664e2c30 chore(cli): fixing create again 2020-09-22 01:54:38 +02:00
Patrik Oldsberg af2567efbf Merge branch 'master' into tm/add-changesets 2020-09-21 17:53:02 +02:00
Rémi DOREAU cc0af155e0 refactor(core): add immer + action renaming 2020-09-18 16:04:39 +02:00
dependabot[bot] cc2afdb9e3 chore(deps): bump @types/webpack-env from 1.15.2 to 1.15.3
Bumps [@types/webpack-env](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack-env) from 1.15.2 to 1.15.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack-env)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 04:19:00 +00:00
blam 2083d75f71 Merge branch 'mob/union-types' of github.com:spotify/backstage into mob/union-types
* 'mob/union-types' of github.com:spotify/backstage: (34 commits)
  fix(yarn): fixup yarn.lock
  docs(catalog/grqphql): updating docs
  chore(gql/catalog): fixing some code review comments
  chore(gql/catalog): fixing dependencies
  chore: reverting code
  feat(gql/catalog): to remove the duplication in the schema thanks to the limitations on implements, let's create the schema using javascript
  feat(gql/catalog): working on making the schema nice
  feat(gql/catalog): Reduce the amount of duplication a little for unions
  chore(catalog/gql): fixing csp for playground
  chore(catalog/gql): move the catalog schema out of src
  chore(gql/catalog): updating the return types from the catalog api
  chore(gql/catalog): removing the mock data scripts for catalog-graph  l
  chore(gql/catalog): actually read
  chore(gql/catalog): fixing bundling of graphql asse
  chore(gql/catalog): removing the mock-data stuff
  feat(gql/catalog): implement the label resolver
  feat(gql/catalog): Fixing some of the query issues
  chore(gql/catalog): making the client alittle more readabke
  chore(gql/catalog): Added some more metadata fields to the catalog entities
  feat(gql/catlaog): Tidying up the resolver for the annotations
  ...
2020-09-17 14:22:58 +02:00
blam 46c11dd7d3 Merge branch 'master' of github.com:spotify/backstage into mob/union-types
* 'master' of github.com:spotify/backstage: (656 commits)
  Update playback-order-component.yaml (#2495)
  feat: rework Api Explorer components
  Add GitLab integration for scaffolder
  feat(catalog-backend): support GHE and other GitHub providers
  Add scaffolder config to monorepo (#2492)
  Simplify code
  prettified md
  Added PlantUML diagrams in backstage.io docs (#2413)
  chore(deps): bump nodegit from 0.26.5 to 0.27.0 (#2454)
  grammar correction
  added description header field
  added description header field
  added description header field
  added description header field
  added description header field
  Condense if to else if
  Update docs
  Reword
  Make access optional
  eslintignore: add template dirs
  ...
2020-09-17 14:15:50 +02:00
Björn Marschollek 55542797a9 Add GitLab integration for scaffolder
This adds a GitLab integration for the scaffolder backend.

We're introduceing a preparer and a publisher for GitLab so that we can
read templates from GitLab and publish them to a configured GitLab
instance. The two instances don't need to be the same. For instance,
templates could be public on gitlab.com, but the created repos will live
in a hosted GitLab somewhere else.

The publisher gets its own config object in `app-config.yaml` where the
target instance and token can be specified.

The service catalogue defines both `gitlab` and `gitlab/api` as
processors. They are both handled by the same preparer.

Closes #2372
2020-09-17 12:39:05 +02:00
dependabot[bot] e5b79755c0 chore(deps): bump nodegit from 0.26.5 to 0.27.0 (#2454)
Bumps [nodegit](https://github.com/nodegit/nodegit) from 0.26.5 to 0.27.0.
- [Release notes](https://github.com/nodegit/nodegit/releases)
- [Changelog](https://github.com/nodegit/nodegit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodegit/nodegit/compare/v0.26.5...v0.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 21:50:53 +02:00
Iain Billett ef9117f50a Validate template values on calls to the scaffolder API
Calls to the scaffolder API should use the schema from the template
entity to validate input values.
2020-09-16 08:44:38 +01:00
Fredrik Adelöw 9888418d41 missing yarn.lock updates again (#2456)
* missing yarn.lock updates again

* yarn.lock: sync the sync

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2020-09-14 16:43:20 +02:00
Taras Mankovski 247e7b3471 Add @changesets/cli as a dependency & init changesets 2020-09-13 13:19:27 -04:00
Dominik Henneke 7553827223 feat(proxy-backend): support limiting the proxied HTTP methods 2020-09-11 13:56:41 +02:00
dependabot[bot] 2398a95e5c chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#2412)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 10:28:37 +02:00
dependabot[bot] 01c32f8a66 chore(deps): bump @svgr/plugin-svgo from 4.3.1 to 5.4.0 (#2378)
Bumps [@svgr/plugin-svgo](https://github.com/gregberge/svgr) from 4.3.1 to 5.4.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v4.3.1...v5.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 14:54:55 +02:00
Fredrik Adelöw a740061e6c Merge pull request #2382 from spotify/dependabot/npm_and_yarn/react-use-15.3.4
chore(deps): bump react-use from 15.3.3 to 15.3.4
2020-09-09 22:51:33 +02:00
dependabot[bot] 2fe9af2558 chore(deps-dev): bump husky from 4.2.5 to 4.3.0
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 17:43:22 +00:00
dependabot[bot] c633cf3165 chore(deps): bump react-use from 15.3.3 to 15.3.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.3 to 15.3.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.3...v15.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 17:36:40 +00:00
dependabot[bot] 2e7afee847 chore(deps): bump webpack-node-externals from 2.5.0 to 2.5.2 (#2377)
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v2.5.0...v2.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 17:42:35 +02:00
dependabot[bot] c113af9999 chore(deps): bump whatwg-fetch from 3.4.0 to 3.4.1
Bumps [whatwg-fetch](https://github.com/github/fetch) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/github/fetch/releases)
- [Commits](https://github.com/github/fetch/compare/v3.4.0...v3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-09 14:39:32 +00:00
Sebastian Qvarfordt d865f88344 [TechDocs] Rebuild docs if the github source is newer than last docs build (#2353)
* Added age check for documentation in github to make sure it's up to date

* Updated failing tests

* Updated docs to explain requestUrl and storageUrl

* Updated failing tests

* Update packages/create-app/templates/default-app/app-config.yaml.hbs

* Update docs/features/techdocs/getting-started.md

Co-authored-by: Emma Indal <emmai@spotify.com>
2020-09-09 16:05:28 +02:00
dependabot-preview[bot] 277ec7ce1a chore(deps): bump @octokit/rest from 18.0.0 to 18.0.5
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.0 to 18.0.5.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.0...v18.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 10:04:06 +00:00
Fredrik Adelöw 0a24df743f chore: bump mui to the create-app resolved version, to lose Accordion warnings 2020-09-09 11:18:18 +02:00
Patrik Oldsberg 81d5fad250 Merge pull request #2226 from spotify/rugvip/wintest
Make tests work on Windows and run as part of Windows master build
2020-09-07 13:50:18 +02:00
dependabot-preview[bot] ea10e74557 chore(deps): bump @rjsf/core from 2.2.2 to 2.3.0 (#2305)
Bumps [@rjsf/core](https://github.com/rjsf-team/react-jsonschema-form) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/v2.2.2...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-07 09:46:48 +02:00
o-farooq 83ade4252c storybook: Upgrade Storybook to version 6 (#2296)
* upgrade Storybook to version 6

* update storybook renderer layout

Co-authored-by: Omer Farooq <17722640+o-farooq@users.noreply.github.com>
2020-09-06 20:00:47 +02:00
Patrik Oldsberg 905a924c18 cli-loader: use mock-fs for tests 2020-09-06 14:38:22 +02:00
Patrik Oldsberg 66f53328f8 microsite: remove from workspace and build independently 2020-09-05 11:16:14 +02:00
Fredrik Adelöw b4b3a8d1fe Merge pull request #1612 from ebarriosjr/ebarriosjr/Creating-gcp-projects-plugin
Ebarriosjr/creating gcp projects plugin
2020-09-04 15:09:07 +02:00
ebarrios c73618c4c1 Fixed old merge conflict in api.ts and cange to Table element in ProjectDetailsPage.tsx 2020-09-04 10:17:56 +02:00
dependabot-preview[bot] 4be7e48f18 chore(deps): bump got from 11.5.2 to 11.6.0 (#2273)
Bumps [got](https://github.com/sindresorhus/got) from 11.5.2 to 11.6.0.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.5.2...v11.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-04 09:36:31 +02:00
dependabot-preview[bot] 1a6b1d8597 chore(deps-dev): bump @types/nodegit from 0.26.7 to 0.26.8 (#2274)
Bumps [@types/nodegit](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nodegit) from 0.26.7 to 0.26.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nodegit)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-04 09:35:01 +02:00
dependabot-preview[bot] 055cd3835c chore(deps): bump apollo-server from 2.16.1 to 2.17.0 (#2276)
Bumps [apollo-server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server) from 2.16.1 to 2.17.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server@2.17.0/packages/apollo-server)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-04 09:34:36 +02:00
Esteban Barrios 71675d5386 Merge branch 'master' into ebarriosjr/Creating-gcp-projects-plugin 2020-09-03 17:59:59 +02:00
dependabot-preview[bot] dd765b9ff8 chore(deps): bump axios from 0.19.2 to 0.20.0 (#2251)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:34:15 +02:00
dependabot-preview[bot] d31713243e chore(deps-dev): bump @types/inquirer from 6.5.0 to 7.3.1 (#2252)
Bumps [@types/inquirer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/inquirer) from 6.5.0 to 7.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/inquirer)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:33:45 +02:00
dependabot-preview[bot] c60b65676b chore(deps): bump @types/json-schema from 7.0.5 to 7.0.6 (#2250)
Bumps [@types/json-schema](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/json-schema) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/json-schema)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:32:01 +02:00
dependabot-preview[bot] dfe7e4c3cb chore(deps-dev): bump @types/rollup-plugin-postcss from 2.0.0 to 2.0.1 (#2253)
Bumps [@types/rollup-plugin-postcss](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/rollup-plugin-postcss) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/rollup-plugin-postcss)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 08:31:39 +02:00
dependabot-preview[bot] 7f40649751 chore(deps): bump jest from 26.0.1 to 26.4.2
Bumps [jest](https://github.com/facebook/jest) from 26.0.1 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.0.1...v26.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 05:55:52 +00:00
dependabot-preview[bot] e9527a7796 chore(deps): bump rollup-plugin-postcss from 3.1.1 to 3.1.8 (#2231)
Bumps [rollup-plugin-postcss](https://github.com/egoist/rollup-plugin-postcss) from 3.1.1 to 3.1.8.
- [Release notes](https://github.com/egoist/rollup-plugin-postcss/releases)
- [Changelog](https://github.com/egoist/rollup-plugin-postcss/blob/master/CHANGELOG-OLD.md)
- [Commits](https://github.com/egoist/rollup-plugin-postcss/compare/v3.1.1...v3.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 07:50:19 +02:00
dependabot-preview[bot] b3c4f0c85b chore(deps-dev): bump @testing-library/cypress from 6.0.0 to 6.0.1 (#2229)
Bumps [@testing-library/cypress](https://github.com/kentcdodds/cypress-testing-library) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/kentcdodds/cypress-testing-library/releases)
- [Changelog](https://github.com/testing-library/cypress-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cypress-testing-library/compare/v6.0.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 07:49:55 +02:00
dependabot-preview[bot] 86124cc9e3 chore(deps-dev): bump @types/helmet from 0.0.47 to 0.0.48 (#2230)
Bumps [@types/helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/helmet) from 0.0.47 to 0.0.48.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/helmet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 07:49:28 +02:00
Fredrik Adelöw 568f398aa9 BREAKING CHANGE: no longer add express.json() by default to backend 2020-09-01 11:59:31 +02:00
Fredrik Adelöw 94da78133f fix(deps): yarn.lock update again 2020-09-01 09:03:44 +02:00
Fredrik Adelöw f55a66021c Merge pull request #2176 from spotify/dependabot/npm_and_yarn/svgr/webpack-5.4.0
chore(deps): bump @svgr/webpack from 4.3.3 to 5.4.0
2020-08-31 16:45:32 +02:00
Fredrik Adelöw c55471caf2 Merge pull request #2168 from spotify/dependabot/npm_and_yarn/react-hook-form-6.6.0
chore(deps): bump react-hook-form from 5.7.2 to 6.6.0
2020-08-31 13:38:54 +02:00
dependabot-preview[bot] 17fa970182 chore(deps): bump graphql from 15.1.0 to 15.3.0 (#2175)
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.1.0 to 15.3.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.1.0...v15.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-31 11:35:20 +02:00
dependabot-preview[bot] 91050f28c1 chore(deps-dev): bump @types/lodash from 4.14.159 to 4.14.161 (#2177)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.159 to 4.14.161.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-31 11:34:48 +02:00
Fredrik Adelöw 058d297460 Merge pull request #2159 from spotify/dependabot/npm_and_yarn/commander-6.1.0
chore(deps): bump commander from 4.1.1 to 6.1.0
2020-08-31 09:44:51 +02:00
dependabot-preview[bot] 3713248dd0 chore(deps): bump @svgr/webpack from 4.3.3 to 5.4.0
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 4.3.3 to 5.4.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v4.3.3...v5.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:38:56 +00:00
dependabot-preview[bot] efd99bcaec chore(deps): bump @svgr/plugin-jsx from 4.3.3 to 5.4.0 (#2164)
Bumps [@svgr/plugin-jsx](https://github.com/gregberge/svgr) from 4.3.3 to 5.4.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v4.3.3...v5.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-31 09:31:33 +02:00