Commit Graph

471 Commits

Author SHA1 Message Date
Ivan Shmidt 495dd1f50f fix: webpack-env types to the cli 2020-06-16 09:37:21 +02:00
Ivan Shmidt 404bc724fb refactor(cli): split out bundling config for BE 2020-06-16 00:27:02 +02:00
Ivan Shmidt 0c27fc1a7b Merge branch 'master' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 15:46:23 +02:00
Ivan Shmidt 9ae3367168 Merge branch 'shmidt-i/backend-hmr' of github.com:spotify/backstage into shmidt-i/backend-hmr-2 2020-06-15 15:41:55 +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
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
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
Ivan Shmidt e91a4402f4 feat: more explicit error message 2020-06-15 09:30:14 +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 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 19d4a4323a packages/cli: use app.baseUrl to configure dev server 2020-06-13 15:05:15 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
blam 48aacfbe17 Merge branch 'master' of github.com:spotify/backstage into blam/react-router
* 'master' of github.com:spotify/backstage: (89 commits)
  Use URLSearchParams
  Use location?.type once more
  chore(catalog): clean up CatalogTable, use only Entity
  chore(catalog): clean up ComponentPage, use only Entity
  chore(catalog): tweak getEntityByName a bit, handle 404s properly
  chore(catalog/star): only set the cache if there are entries from the response
  chore(catalog/star): added a comment about why we are using a simple cache here
  chore(catalog/star): removing msw dependency, wrong branch
  chore(catalog): consistent use of named exports
  chore(msw): Added msw dependency
  chore(catalog/star): fixing issues with unmocked deps
  chore(catalog/star): adding a simple cache to stop flicker as a stopgap
  chore(catalog/star): reworking how the starring works, it now stores uri sort of references for entities
  fix(core): Tabs useEffect dependency list
  docs: format with prettier (#1218)
  Optional namespace and name as one part of URL
  docs/auth: added overview, oauth description and glossary
  docs: added plantuml generation script
  docs: added prettier config
  Remove deleted UserBadge component from Sidebar story
  ...
2020-06-11 17:36:19 +02:00
Ivan Shmidt d85e78bd2b fix(cli): adjusted build and main field for backend 2020-06-11 14:29:15 +02:00
Ivan Shmidt a1a60ad9d1 feat: hmr logic for the backend 2020-06-11 02:51:06 +02:00
Ivan Shmidt 0331d33a37 fix(cli): remove modules from webpack config 2020-06-10 23:29:26 +02:00
Ivan Shmidt 96c295b0e1 fix(cli): lint 2020-06-10 22:00:55 +02:00
Ivan Shmidt d2e25082df feat(cli): backend webpack serve 2020-06-10 21:49:55 +02:00
Patrik Oldsberg c53bafc5f9 v0.1.1-alpha.7 2020-06-09 14:24:56 +02:00
Patrik Oldsberg 076409a7b3 Merge pull request #1146 from spotify/rugvip/main
packages/cli: use publishConfig for publish config
2020-06-08 15:50:52 +02:00
Patrik Oldsberg f44c609244 Merge pull request #1139 from spotify/rugvip/bundleconfig
packages/cli: fix handling of public dir and hook it up to config
2020-06-08 15:24:06 +02:00
Patrik Oldsberg f0ba4fb892 Merge pull request #1127 from spotify/rugvip/config
packages/cli,core-api: move config reading and loading into separate packages
2020-06-08 14:21:36 +02:00
blam cef099c5f7 chore(react-router-v6): fixing some of the formatting for hbs 2020-06-07 14:31:39 +02:00
blam 4fdb1def39 chore(react-router-v6): starting to move things to react-router-v6 2020-06-07 03:07:46 +02:00
Patrik Oldsberg c40a2a5e61 packages/core-api: move router component inside app and configure it with base path 2020-06-06 17:06:18 +02:00
Patrik Oldsberg 2edcd94793 packages/cli: open browser at correct path when serving bundle 2020-06-06 15:54:48 +02:00
Patrik Oldsberg 18c1eb3835 packages/cli: avoid duplicate dependency warning in E2E test 2020-06-06 12:37:28 +02:00
Patrik Oldsberg 1bf9cffd1e packages/cli: remove separate tsconfig 2020-06-05 10:23:20 +02:00
Patrik Oldsberg f4a75ee650 packages/cli: use cli to build cli 2020-06-05 09:28:54 +02:00
Patrik Oldsberg 8edc391c06 packages/cli: clean dist dir before building 2020-06-05 01:27:27 +02:00
Patrik Oldsberg 576c8b07ab packages/cli: always treat nodejs builtins as external, bit disallow infrontend code 2020-06-05 01:27:27 +02:00
Patrik Oldsberg 75e91b2c82 packages/cli: support dynamic imports of package code 2020-06-05 01:27:18 +02:00
Patrik Oldsberg 49d67d997a packages/cli: copy public dir during bundle 2020-06-04 18:09:24 +02:00
Patrik Oldsberg 945362723d packages/cli,app: read config to template html and set up public path 2020-06-04 18:09:24 +02:00
Patrik Oldsberg 0d1655c65b packages,plugins: use publishConfig to configure published entrypoints 2020-06-04 18:01:15 +02:00
Patrik Oldsberg 8269b81a67 packages/cli: mimic upcoming publishConfig behavior in prepack 2020-06-04 17:53:16 +02:00
Patrik Oldsberg 8a0ccc1bcd packages/cli: pass config reader to bundler 2020-06-04 17:32:49 +02:00
Patrik Oldsberg c5425c5664 packages/cli,config,config-loader: point straight to src and build with build 2020-06-04 17:24:12 +02:00
Patrik Oldsberg d748673057 packages/cli: patch config packages during e2e test 2020-06-04 16:51:46 +02:00
Patrik Oldsberg ff9aa28301 packages/cli: move config loading to separate config-loader package 2020-06-04 16:51:46 +02:00
Patrik Oldsberg 70c442e8f3 packages/cli: use fs.readJson 2020-06-04 16:51:45 +02:00
Patrik Oldsberg 4db2b7aed8 packages: move ConfigReader and config types to separate config package 2020-06-04 16:51:44 +02:00
Patrik Oldsberg 4786274560 packages/cli: add output format option to build command 2020-06-04 16:40:04 +02:00
Patrik Oldsberg a9cb9a9467 packages/cli: make build output formats configurable and add separate build command 2020-06-04 15:38:56 +02:00
Ivan Shmidt c177c050c4 Merge pull request #1128 from spotify/shmidt-i/links-docs
NavLink, NavButton and RouteRefs enforcing
2020-06-04 09:53:03 +02:00
dependabot-preview[bot] 382e745da1 build(deps): bump @rollup/plugin-commonjs from 11.0.2 to 12.0.0 (#1023)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.2 to 12.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.2...commonjs-v12.0.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-04 08:55:49 +02:00
Ivan Shmidt af56473342 NavLink->Link, NavButton->Button, remove redirects for now 2020-06-04 00:03:34 +02:00