Commit Graph

82 Commits

Author SHA1 Message Date
Marcus Eide 70ac8c3402 Configure rollup resolve plugin 2020-04-03 14:15:07 +02:00
Marcus Eide bcc150a36c Add json plugin to rollup 2020-04-03 13:21:35 +02:00
Patrik Oldsberg 1f8b01effe packages/cli: add utility for resolving paths and use everywhere 2020-04-02 14:36:24 +02:00
nikek e62618c919 add separate import and export in createPlugin 2020-04-02 11:57:14 +02:00
nikek d2447eada8 fix consistent return from plugin build 2020-04-02 10:46:29 +02:00
nikek 91e8058c52 refactor plugin build function 2020-04-02 10:35:04 +02:00
nikek 8c1c8d2f5a tweak types 2020-04-02 10:29:52 +02:00
nikek d4ac45b628 make rollup watch mode work 2020-04-02 09:27:56 +02:00
nikek e791907d1f WIP watch mode 2020-04-02 09:27:55 +02:00
nikek 8fffc42701 remove unnecessary comment 2020-04-02 09:27:55 +02:00
nikek 32a112d63b rename build to dist again 2020-04-02 09:27:55 +02:00
nikek 4e747b0a19 remove commented out code 2020-04-02 09:27:55 +02:00
nikek 701bfff609 rename image to imageFiles to not confuse it with the image plugin 2020-04-02 09:27:55 +02:00
Raghunandan b3a7057191 remove esm and use cjs output from plugins 2020-04-02 09:27:55 +02:00
Marcus Eide e4195998ce Fix tests by building two versions of plugins and importing/exporting seperatly 2020-04-02 09:27:55 +02:00
nikek f28cfcf7d1 Add rollup for plugin build 2020-04-02 09:27:55 +02:00
Patrik Oldsberg b96a8234b0 Merge pull request #437 from spotify/rugvip/create-app
cli: add create-app command
2020-04-01 21:07:31 +02:00
Patrik Oldsberg e96e95df66 cli/commands/create-plugin: update tests 2020-04-01 11:51:28 +02:00
Patrik Oldsberg d21d38e947 cli: make package.json reading absolute 2020-04-01 11:21:19 +02:00
Patrik Oldsberg 111f163d41 cli: add create-app 2020-04-01 11:21:19 +02:00
Patrik Oldsberg 841a387417 cli/commands/create-plugin: move templating to tasks helper and fix it + separate out sections 2020-04-01 11:21:19 +02:00
Patrik Oldsberg 580cead761 cli/helpers/errors: make exit error message a bit more visible 2020-03-31 21:04:36 +02:00
Patrik Oldsberg 3c6bbd8635 cli/commands/create-plugin: add task helper and make everything async 2020-03-31 21:04:36 +02:00
Patrik Oldsberg c4b6afffaf cli/commands/build-cache: refactor dirty check to make key undefined instead of cache 2020-03-31 13:01:51 +02:00
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