Commit Graph

145 Commits

Author SHA1 Message Date
Patrik Oldsberg 13b62f2aff app: make bundling a regular build command 2020-07-26 20:33:59 +02:00
Ivan Shmidt 2b01f9def9 fix(cli): make create-app use the same esbuild version 2020-07-22 10:59:25 +02:00
Patrik Oldsberg f39abc0fe7 package: enforce node 12 2020-07-11 20:22:12 +02:00
Fredrik Adelöw 27610aef48 Fix license header in plugin template 2020-07-02 13:52:53 +02:00
Fredrik Adelöw 7389f326d9 chore: add import/newline-after-import lint rule 2020-07-02 11:25:04 +02:00
Christina Marie Rahaim 38734afa4c bumping react-router and react-router-dom 2020-07-01 09:18:16 +02:00
Patrik Oldsberg 365e8d744b Merge pull request #1445 from spotify/rugvip/tlbump
packages: bump @testing-library packages to latest versions
2020-06-24 20:03:42 +02:00
Patrik Oldsberg dbf6686818 app,cli/templates: install @types/react-dom in app for @testing-library/react 2020-06-24 19:00:45 +02:00
Patrik Oldsberg 17adaefc5d packages: bump @testing-library packages to latest versions 2020-06-24 18:50:13 +02:00
Rob Tirserio 6ff00f26f5 update plugin template to not trigger the notice header warning 2020-06-24 11:06:17 -04:00
Patrik Oldsberg 4d94f4cbb4 packages: publish entire dist folder 2020-06-23 22:24:55 +02:00
Patrik Oldsberg 554369d2c1 cli: provide global asset module types through separate import 2020-06-23 09:25:05 +02:00
Patrik Oldsberg dcb300293c app,cli/template: pin react-router version to the same as react-router-dom 2020-06-21 16:41:47 +02:00
Patrik Oldsberg d97842a69f app,cli/templates: better mocking of app config in test 2020-06-21 15:17:24 +02:00
Patrik Oldsberg 6d9aaef9e7 cli: mock config in app template test 2020-06-21 14:39:07 +02:00
Patrik Oldsberg c8411f4760 cli: remove duplicate global styles from app template 2020-06-21 14:39:06 +02:00
Patrik Oldsberg ce8d65568a cli: update public/index.html in app template 2020-06-21 14:39:06 +02:00
Patrik Oldsberg 903ad947a2 cli: pin esbuild to 0.5.3 in app template 2020-06-21 14:39:05 +02:00
Patrik Oldsberg a098ebca27 packages,plugins: remove main:src and fix some main fields 2020-06-18 12:25:25 +02:00
Patrik Oldsberg 9a37995151 packages/core-api: split AppComponent into AppRouter and AppRoutes 2020-06-16 11:35:35 +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
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
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 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
Ivan Shmidt af56473342 NavLink->Link, NavButton->Button, remove redirects for now 2020-06-04 00:03:34 +02:00
Ivan Shmidt 0a13a11f7b Enforcing RouteRefs more: docs, templates, types 2020-06-03 16:40:13 +02:00
Patrik Oldsberg d0fb818c4d package/app: move app config to yaml 2020-06-02 17:49:22 +02:00
Adil Alimbetov f72d97dc17 Sidebar logo update (#814)
* Testing logo ux

* Updated logo on sidebar

* removed unused vars

* adjusted types on icon components
2020-05-27 10:13:41 +02:00
Patrik Oldsberg 8368b559b7 Merge pull request #953 from spotify/rugvip/app-diff
packages/cli: add initial app:diff
2020-05-25 17:41:31 +02:00
Patrik Oldsberg ce292ae347 package/core: bump material-table and remove package patch 2020-05-24 21:56:17 +02:00
Patrik Oldsberg 6c2a9d471a packages/cli: update prettier config in plugin template 2020-05-21 20:10:50 +02:00
Patrik Oldsberg f38ae61f5b packages/cli: added app:diff + fixes to template and diff lib 2020-05-21 20:10:50 +02:00
Marcus Eide 553bfddb8e Bump jest to 26.0.1 2020-05-19 14:22:14 +02:00
Patrik Oldsberg 3c075c3093 Merge pull request #900 from spotify/eide/bump-tl-jest-dom-5-7-0
Manually bump @testing-library/jest-dom from 4.2.4 to 5.7.0
2020-05-18 15:08:17 +02:00
Marcus Eide fb3e003272 Bump testing-library/user-event to 10.2.4 2020-05-18 12:59:58 +02:00
Marcus Eide 324245586f Change import of jest-dom in setupTests.ts according to change in api 2020-05-18 11:11:58 +02:00
Marcus Eide 8429710760 Bump testing-library/jest-dom to 5.7.0 2020-05-18 11:11:26 +02:00
Patrik Oldsberg 5d61636f7f packages/cli: update app template for new build system 2020-05-17 23:30:18 +02:00
Patrik Oldsberg 65805ca70b packages: update root package.json and template tsconfig 2020-05-17 23:30:17 +02:00
Patrik Oldsberg 1dd33e8e33 packages,plugins: remove extra tsconfig files 2020-05-17 23:30:16 +02:00
Patrik Oldsberg fb78fb2da4 packages,plugins: add main:src package.json field to all built packages 2020-05-17 23:29:59 +02:00
Patrik Oldsberg 75fc0fa706 Merge pull request #876 from spotify/rugvip/theme
package/core: make themes configurable as a part of app creation, and add API for switching themes
2020-05-15 19:08:34 +02:00
Patrik Oldsberg 16df7e9ce0 Merge pull request #867 from spotify/rugvip/createApp
packages/core: refactor createApp to just take options + separate out AppContext
2020-05-15 10:38:30 +02:00
Patrik Oldsberg e3972a527e Merge pull request #862 from spotify/rugvip/pc
packages/cli: add publish config sync to plugin:diff
2020-05-15 10:13:32 +02:00
Patrik Oldsberg a386750b7d packages/cli: remove reduntant theme provider from app template 2020-05-15 10:03:33 +02:00
Patrik Oldsberg 4a0f37b98a packages/cli: update app template to use new createApp 2020-05-15 09:38:02 +02:00
Patrik Oldsberg a82d2a523d Merge pull request #864 from spotify/rugvip/srct
packages,plugins: point types to src/ for development
2020-05-14 15:48:34 +02:00