Commit Graph

102 Commits

Author SHA1 Message Date
blam 6104ff9988 chore: missed one small part 2020-04-09 04:56:08 +02:00
Paul Marbach 06228b71e9 feat: implement Lighthouse plugin using lighthouse-audit-service 2020-04-08 11:21:20 -04:00
Raghunandan f5d0be0154 PLugin -> app 2020-04-08 11:59:26 +02:00
Patrik Oldsberg 3bc25560f7 packages/cli: treat untracked input dirs as dirty 2020-04-07 18:39:08 +02:00
Paul Marbach 927f54129a extract test-utils as its own package for use with plugins, etc. 2020-04-07 10:09:37 -04:00
Patrik Oldsberg 814f9fa365 Merge pull request #492 from spotify/rugvip/nocls
packages/cli: avoid clearing screen in app-serve
2020-04-07 13:24:28 +02:00
Patrik Oldsberg bbcd7da0fa Merge pull request #490 from spotify/rugvip/with-cache
packages/cli: make plugin:build have built-in caching
2020-04-07 13:23:50 +02:00
Patrik Oldsberg 1b49cd1f50 Merge pull request #491 from spotify/rugvip/with-build
packages/cli: add build option to watchDeps and use for app serve
2020-04-07 12:08:01 +02:00
Patrik Oldsberg 884a36179e packages/cli: avoid clearing screen in app-serve 2020-04-07 10:35:28 +02:00
Patrik Oldsberg fe3254e165 packages/cli: add build option to watchDeps and use for app serve 2020-04-07 10:35:11 +02:00
Patrik Oldsberg f5ddb99105 packages/cli: remove output dir before building with cache 2020-04-07 10:06:00 +02:00
Patrik Oldsberg 08a5023ad4 packages/cli: make plugin:build have built-in caching 2020-04-07 00:08:57 +02:00
Patrik Oldsberg 98dea870e6 packages/cli: refactor build-cache to have a reusable withCache function 2020-04-07 00:08:57 +02:00
Patrik Oldsberg af882489e2 packages/cli: add cli version to build-cache key 2020-04-06 23:37:27 +02:00
Patrik Oldsberg bc94014e03 packages/cli: added version helper 2020-04-06 17:32:25 +02:00
Patrik Oldsberg 5f79ec4112 packages/cli: lazy-load commands to speed up cli boot time 2020-04-06 17:11:04 +02:00
Patrik Oldsberg d04453ecad packages/cli: use src-relative imports 2020-04-06 17:09:43 +02:00
Patrik Oldsberg 28b576967c packages/cli: make src-relative imports work 2020-04-06 17:09:42 +02:00
Patrik Oldsberg 4e93e61e7e packages/cli/commands/plugin: include js in typescript compilation + exclude testUtils 2020-04-06 12:52:51 +02:00
Patrik Oldsberg 41dff573c6 packages/cli/commands/plugin: make package dependencies external too 2020-04-06 12:52:50 +02:00
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