Commit Graph

58 Commits

Author SHA1 Message Date
Patrik Oldsberg bfceff2c84 cli/commands/build-cache: more docs 2020-03-31 13:01:50 +02:00
Patrik Oldsberg edd21b984e cli/commands/build-cache: make max entries configurable and set to 2 in CI 2020-03-31 13:01:50 +02:00
Patrik Oldsberg 2961e216cc cli/commands/build-cache: allow cache dir to be set through env 2020-03-31 13:01:49 +02:00
Patrik Oldsberg 3ca00be607 cli/commands/build-cache: enable dirty check 2020-03-31 13:01:49 +02:00
Patrik Oldsberg 140cd7e4db cli/commands/build-cache: remove unused archive function 2020-03-31 13:01:48 +02:00
Patrik Oldsberg f2d7d43b77 cli/commands/build-cache: add support for multiple cache archives 2020-03-31 13:01:48 +02:00
Patrik Oldsberg 39efe52c9d cli/commands/build-cache: refactor cache handling 2020-03-31 13:01:48 +02:00
Patrik Oldsberg 8a35da15e5 cli/commands/build-cache: separate out cache and options handling 2020-03-31 13:01:48 +02:00
Patrik Oldsberg 0644f47645 cli/commands/build-cache: simplify build and move cmdOutput to helpers as runPlain 2020-03-31 13:01:47 +02:00
Patrik Oldsberg 2dae5fccaf cli/commands/build-cache: move archive handling to separate module 2020-03-31 13:01:47 +02:00
Patrik Oldsberg 4e79446dc9 cli/commands/build-cache: run build command 2020-03-31 13:01:47 +02:00
Patrik Oldsberg eaf80a4271 cli/commands/build-cache: fix unhandled error 2020-03-31 13:01:47 +02:00
Patrik Oldsberg 282af22351 cli/commands/build-cache: refactor + cleanup output 2020-03-31 13:01:47 +02:00
Patrik Oldsberg d4fc437564 cli/commands/build-cache: store external cache in tar archives 2020-03-31 13:01:46 +02:00
Patrik Oldsberg de34ab58e2 cli/commands/build-cache: initial caching without build 2020-03-31 13:01:46 +02:00
Patrik Oldsberg 555db720ae cli: added initial build-cache command 2020-03-31 13:01:45 +02:00
Fredrik Adelöw 301bd66919 [cli] CODEOWNERS: catch-all goes first, and paths are absolute 2020-03-30 14:51:52 +02:00
Patrik Oldsberg 3a0d8edcb5 rename npm namespace from @spotify-backstage to @backstage 2020-03-25 19:12:11 +01:00
Fredrik Adelöw 231c991fe0 Address review comments 2020-03-22 21:49:31 +01:00
Fredrik Adelöw a14584b485 [cli] Add CODEOWNERS support to create-plugin 2020-03-22 20:04:48 +01:00
Mateus Marquezini 66d27128d0 Merge branch 'master' into feature/312-plugin-test-and-list 2020-03-20 10:35:18 -03:00
Mateus Marquezini 07f61e4c2e added yarn lint and test after plugin creation. Fixed some mirror things related with eslint errors 2020-03-19 14:20:43 -03: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 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 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
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
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 cb8a9c285d Merge pull request #183 from spotify/patriko/hoist-plugins
packages/plugins: move to plugins/
2020-03-06 16:15:18 +01:00
Patrik Oldsberg 50ab86cd9b Merge pull request #179 from spotify/soapraj/show-error-stacktrace
Show error stack trace for failed commands
2020-03-06 15:04:37 +01:00
Patrik Oldsberg 49428520de packages/plugins: move to plugins/ 2020-03-06 14:46:42 +01:00