Commit Graph

64 Commits

Author SHA1 Message Date
Patrik Oldsberg 512e5cb54d cli: don't enforce prop-types for plugins 2020-03-20 12:27:54 +01:00
Patrik Oldsberg bccf62ee52 Merge pull request #320 from spotify/rugvip/app-build
cli: add app:build app:serve and use in app
2020-03-19 14:04:42 +01:00
Patrik Oldsberg f0bcd22733 cli: add app:serve 2020-03-19 12:28:16 +01:00
Patrik Oldsberg c57fd17102 cli: add app:build and use in app 2020-03-19 12:15:30 +01:00
Patrik Oldsberg bd801756eb cli: support ts jest config and make test setup module optional 2020-03-19 12:08:09 +01:00
Patrik Oldsberg 52f56ab9b0 packages: use cli to test and lint core and cli 2020-03-19 11:28:09 +01:00
nikek 7ccd7cace8 Tweak according to prettier 2020-03-18 22:18:28 +01:00
nikek 1db34ba2a3 add testing lib jest dom types, fixes #311 2020-03-18 21:35:38 +01:00
Patrik Oldsberg 89f39a06e1 cli: unify test and lint commands 2020-03-18 21:03:22 +01:00
Patrik Oldsberg 4fb95dc3f1 cli: added app:test command 2020-03-18 17:37:55 +01:00
Patrik Oldsberg 01771489d5 cli: limit to 0 warnings and use codeframe format for lint tasks 2020-03-18 16:27:27 +01:00
Patrik Oldsberg a711dc21b2 cli: add and use app:lint + include default eslint config in cli 2020-03-18 16:27:27 +01:00
Patrik Oldsberg 756e7e3212 cli: fix name not being defined in helper 2020-03-18 16:10:56 +01:00
Patrik Oldsberg d4f587fdbe Merge pull request #304 from spotify/rugvip/cli-helpers
cli: add helpers for running child processes and error handling in commands
2020-03-18 16:07:15 +01:00
Patrik Oldsberg 371084d30c cli: add helper to wait for child to exit + use to fix watch-deps 2020-03-18 15:55:05 +01:00
Patrik Oldsberg 7035f8ed52 cli: removed unnecessary try-catch in plugin:serve 2020-03-18 15:54:16 +01:00
Fredrik Adelöw 72bbbfd243 Require plugin IDs to be valid 2020-03-18 15:45:05 +01:00
Patrik Oldsberg 79d2ba5bc7 cli: add helpers for running child processes and error handling in commands 2020-03-18 12:02:52 +01:00
Patrik Oldsberg 3772c82beb cli: use shell option to fix build issues on windows 2020-03-17 20:40:48 +01:00
Raghunandan 78321d2718 move copy assets to build step 2020-03-13 09:39:15 +01:00
Raghunandan b65160dcf5 switch order for plugin build script 2020-03-12 20:40:52 +01:00
Raghunandan d4f4c6c978 remove watch mode options for copyAssets command 2020-03-12 20:40:52 +01:00
Raghunandan 13b8fe81f2 add module declaration for asset files 2020-03-12 20:40:52 +01:00
Raghunandan 49ed390eb7 add copy assets to cli 2020-03-12 20:40:51 +01:00
Fredrik Adelöw 1fec035351 Add license headers and eslint rules for them 2020-03-12 13:05:25 +01:00
Fredrik Adelöw bb1bc34bd4 Fix version insertion tests in cli 2020-03-12 13:02:39 +01:00
Patrik Oldsberg 73517462f7 packages/cli: use current version when templating a plugin 2020-03-12 11:38:37 +01:00
Fredrik Adelöw 17a9e71e96 Step back versions to 0.x to signal non-finished status 2020-03-11 10:28:57 +01:00
Stefan Ålund a60cc0aaac Merge pull request #216 from spotify/nikek/supportbutton
Add SupportButton to core components
2020-03-09 20:01:50 +01:00
Stefan Ålund bc37fe1f76 Small tweaks to the SupportButton use 2020-03-09 20:00:20 +01:00
nikek fa4c7d465f Add Support button to create-plugin template 2020-03-09 16:54:05 +01:00
Patrik Oldsberg d45d072120 cli/commands/test: rename to testCommand to avoid jest picking it up 2020-03-09 09:59:14 +01:00
Patrik Oldsberg 4127cdbed3 cli: fix regex in createPlugin tests 2020-03-09 09:57:03 +01:00
Patrik Oldsberg ebf20c38ba cli: forward test coverage flag 2020-03-09 09:46:52 +01:00
Stefan Ålund b32a2fe55f rm extra div 2020-03-07 22:43:36 +01:00
Stefan Ålund 29d88b8e30 Merge branch 'master' into alund/example-header 2020-03-07 22:41:09 +01:00
Fredrik Adelöw 20f70c2faa Fix plugin template too 2020-03-07 21:40:53 +01:00
Fredrik Adelöw 62ccc37637 Fix default page layout
Fixes https://github.com/spotify/backstage/issues/127
2020-03-07 21:37:08 +01:00
Stefan Ålund ea7aa1b920 Use Backstage progress indicator 2020-03-07 20:46:55 +01:00
Stefan Ålund 02085e67da Add user picture in example fetcher 2020-03-07 20:27:55 +01:00
Stefan Ålund 7b81a8c381 Add HeaderLabels 2020-03-07 19:57:54 +01:00
Stefan Ålund d373f5428b Use Content and ContentHeader in scaffold 2020-03-07 19:49:45 +01:00
Patrik Oldsberg 703f05e993 packages: fix typescript import autocompletion 2020-03-07 19:25:54 +01:00
Patrik Oldsberg 5e52956220 cli: bump to 1.4.0 2020-03-06 16:49:20 +01:00
Patrik Oldsberg 2d6ee263f4 cli: move spotify web-scripts to deps 2020-03-06 16:40:38 +01:00
Patrik Oldsberg c3febb492f cli: properly forward status code in plugin commands 2020-03-06 16:40:38 +01:00
Patrik Oldsberg 1b7d0a4e4b cli: fix for error output being ignored 2020-03-06 16:40:38 +01:00
Patrik Oldsberg 427ad9c242 cli: only build cjs to dist folder and set it as entrypoint 2020-03-06 16:15:34 +01:00
Patrik Oldsberg cb8a9c285d Merge pull request #183 from spotify/patriko/hoist-plugins
packages/plugins: move to plugins/
2020-03-06 16:15:18 +01:00
Fredrik Adelöw 54aa0c4c8a Merge pull request #184 from spotify/freben/template2
Fix some squigglies/warnings in new plugins
2020-03-06 15:11:45 +01:00