Commit Graph

2798 Commits

Author SHA1 Message Date
Niklas Ek 83043c870c Merge pull request #1264 from chanwit/add-err-msg-list-cluster
gitops-plugin: add meaningful error message for the cluster listing page
2020-06-15 16:48:56 +02:00
Ben Lambert 98b92728fe Merge pull request #1221 from spotify/blam/msw
Use MSW for the Catalog for mocking network requests
2020-06-15 15:10:54 +02:00
Ivan Shmidt c5ac3dfbf8 Merge pull request #1290 from spotify/shmidt-i/yarn-tsc-error-message
More explicit error message when missing .d.ts files
2020-06-15 15:10:05 +02:00
blam f3245c4f8f chore(catalog/msw): resetting package.json 2020-06-15 14:57:53 +02:00
blam fe3ec5d3c6 Merge branch 'master' of github.com:spotify/backstage into blam/msw
* 'master' of github.com:spotify/backstage: (63 commits)
  packages/cli: add lint rule to avoid cross-package src imports
  fix(catalog-backend): make location delete work again
  Add Other component category (#1292)
  packages/core-api: add initial definition of IdentityApi
  additional sqli protection
  build(deps): bump eslint from 7.1.0 to 7.2.0 (#1285)
  return 204 when there's no response data
  build(deps-dev): bump @types/codemirror from 0.0.95 to 0.0.96 (#1284)
  build(deps-dev): bump @types/morgan from 1.9.0 to 1.9.1 (#1287)
  build(deps): bump chalk from 4.0.0 to 4.1.0 (#1286)
  catalog: suffix entiy kind typeswith Entity
  feat(catalog): new kind LocationRef
  packages/cli: assume browser build if esm output is included
  packages/backend-common: import winston as namespace
  plugins/catalog-backend: typecheck migration files
  plugins/catalog-backend: move migrations to JS with type annotations
  packages/cli: fix jest module mapper to only match entire module name
  github/workflows: use env app config to set e2e test port
  packages/cli: use app.baseUrl to configure dev server
  packages/config-loader: more docs!
  ...
2020-06-15 14:53:24 +02:00
Ivan Shmidt 2e369402a9 fix(cli): bump rollup-plugin-esbuild 2020-06-15 14:29:08 +02:00
Patrik Oldsberg 1e099a11dd Merge pull request #1300 from spotify/rugvip/nosrc
packages/cli: add lint rule to avoid cross-package src imports
2020-06-15 14:26:03 +02:00
Patrik Oldsberg 972451b4f9 packages/cli: add lint rule to avoid cross-package src imports 2020-06-15 14:00:01 +02:00
Fredrik Adelöw 1ba8eb88fd Merge pull request #1297 from spotify/freben/delete-location
fix(catalog-backend): make location delete work again
2020-06-15 13:33:35 +02:00
Fredrik Adelöw 8f82336198 fix(catalog-backend): make location delete work again 2020-06-15 13:25:57 +02:00
Stefan Ålund 1855bf381b Add Other component category (#1292) 2020-06-15 12:58:20 +02:00
Patrik Oldsberg d6b5bd7769 Merge pull request #1296 from spotify/rugvip/identity
packages/core-api: add initial definition of IdentityApi
2020-06-15 12:40:11 +02:00
Patrik Oldsberg 6e8671cf0f packages/core-api: add initial definition of IdentityApi 2020-06-15 12:13:29 +02:00
Fredrik Adelöw 8bab0e4b18 Merge pull request #1269 from spotify/freben/search-gone-wild
feat(catalog-backend): support wildcard matching on entities
2020-06-15 12:06:50 +02:00
Fredrik Adelöw 559a6e4a50 additional sqli protection 2020-06-15 12:01:14 +02:00
Patrik Oldsberg ddcde5228b Merge pull request #1277 from spotify/rugvip/secrets
packages/config-loader: implement secrets parsing + tests and refactoring
2020-06-15 11:51:22 +02:00
Fredrik Adelöw e660cb10bb Merge pull request #1295 from spotify/freben/204-loc-del
return 204 when there's no response data
2020-06-15 11:49:36 +02:00
dependabot-preview[bot] a73eadc27a build(deps): bump eslint from 7.1.0 to 7.2.0 (#1285)
Bumps [eslint](https://github.com/eslint/eslint) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.1.0...v7.2.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-06-15 11:40:18 +02:00
Fredrik Adelöw 92774dc9f6 return 204 when there's no response data 2020-06-15 11:34:46 +02:00
Patrik Oldsberg 7b888f5bfc Merge pull request #1280 from spotify/rugvip/migrate-js
plugins/catalog-backend: move migrations to JS with type annotations
2020-06-15 11:08:57 +02:00
Patrik Oldsberg ca43ea61cf Merge pull request #1281 from spotify/rugvip/winston
packages/backend-common: import winston as namespace
2020-06-15 10:38:34 +02:00
dependabot-preview[bot] 6ff1a1f547 build(deps-dev): bump @types/codemirror from 0.0.95 to 0.0.96 (#1284)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.95 to 0.0.96.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 10:36:07 +02:00
dependabot-preview[bot] 4d0b3f19ac build(deps-dev): bump @types/morgan from 1.9.0 to 1.9.1 (#1287)
Bumps [@types/morgan](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/morgan) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/morgan)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 10:35:36 +02:00
dependabot-preview[bot] 45c27aa8a0 build(deps): bump chalk from 4.0.0 to 4.1.0 (#1286)
Bumps [chalk](https://github.com/chalk/chalk) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.0.0...v4.1.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-06-15 10:35:09 +02:00
Ivan Shmidt dcea135f42 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/yarn-tsc-error-message 2020-06-15 09:57:38 +02:00
Fredrik Adelöw 92615a78c5 Merge pull request #1276 from spotify/freben/locationref
feat(catalog): new kind LocationRef
2020-06-15 09:36:22 +02:00
Ivan Shmidt e91a4402f4 feat: more explicit error message 2020-06-15 09:30:14 +02:00
Fredrik Adelöw 1b2d70a70d catalog: suffix entiy kind typeswith Entity 2020-06-15 09:25:28 +02:00
Fredrik Adelöw 319012e0f9 feat(catalog): new kind LocationRef 2020-06-15 09:10:11 +02:00
Patrik Oldsberg 8054f61246 Merge pull request #1282 from spotify/rugvip/buildswitch
packages/cli: assume browser build if esm output is included
2020-06-14 20:09:18 +02:00
Patrik Oldsberg 2dec7be093 packages/cli: assume browser build if esm output is included 2020-06-14 19:32:57 +02:00
Patrik Oldsberg 3bdcc175d9 packages/backend-common: import winston as namespace 2020-06-14 13:44:32 +02:00
Patrik Oldsberg 7fac58f23d plugins/catalog-backend: typecheck migration files 2020-06-14 13:21:06 +02:00
Patrik Oldsberg e840d9c20a plugins/catalog-backend: move migrations to JS with type annotations 2020-06-14 13:13:59 +02:00
Patrik Oldsberg 46c51f2698 packages/cli: fix jest module mapper to only match entire module name 2020-06-14 13:11:37 +02:00
Patrik Oldsberg 8aee97383e Merge pull request #1278 from spotify/rugvip/serveurl
packages/cli: use app.baseUrl to configure dev server
2020-06-13 19:11:11 +02:00
Patrik Oldsberg 130ecfb7dd github/workflows: use env app config to set e2e test port 2020-06-13 18:20:34 +02:00
Patrik Oldsberg 19d4a4323a packages/cli: use app.baseUrl to configure dev server 2020-06-13 15:05:15 +02:00
Patrik Oldsberg fbba694986 packages/config-loader: more docs! 2020-06-13 13:15:22 +02:00
blam d036ceef41 chore(catalog/msw): resetting the core plugin package.json for now 2020-06-13 02:24:13 +02:00
Patrik Oldsberg 3734b2e378 Merge pull request #1275 from spotify/rugvip/release
Release v0.1.1-alpha.8
2020-06-12 22:47:42 +02:00
dependabot-preview[bot] 1204ee50f5 build(deps): bump typescript from 3.9.3 to 3.9.5 (#1240)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.3...v3.9.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-12 22:40:48 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
Patrik Oldsberg ee33cf6751 packages/config-loader: cover secrets in tests and tweak validation 2020-06-12 21:15:20 +02:00
Patrik Oldsberg 188b32e9c5 Merge pull request #1272 from ewnd9/toggle-plugin-lighthouse
chore(lighthouse): toggle private in package.json
2020-06-12 19:56:25 +02:00
Patrik Oldsberg d55d63d01a Merge pull request #1273 from wejendorp/deploy-fix
Dynamically determine the chunk to inject during runtime
2020-06-12 19:55:26 +02:00
Jacob Wejendorp d95244c09b fix(docker): dynamically determine the chunk to inject during runtime
The __APP_INJECTED_RUNTIME_CONFIG__ value is not always in the main
chunk, so we need to find the right chunk to inject for runtime config.
2020-06-12 19:42:24 +02:00
Patrik Oldsberg fc82352988 packages/config-loader: cover reader in tests and omit null values 2020-06-12 19:28:58 +02:00
ewnd9 a6b775540f chore(lighthouse): toggle private in package.json 2020-06-12 19:42:58 +03:00
Patrik Oldsberg 6da3cc8fec packages/config-loader: move readSecret and secret reading switch to context 2020-06-12 18:13:56 +02:00