Commit Graph

134 Commits

Author SHA1 Message Date
Patrik Oldsberg 41dff573c6 packages/cli/commands/plugin: make package dependencies external too 2020-04-06 12:52:50 +02:00
Patrik Oldsberg f78a3bd9a1 packages/cli: move typescript build config to tsconfig 2020-04-06 12:52:50 +02:00
Patrik Oldsberg 48e2dc7dfd packages/cli: add missing react-use dep to plugin template 2020-04-05 16:00:46 +02:00
Patrik Oldsberg 2fa455bcd0 packages/cli: fix dependencies 2020-04-05 14:08:43 +02:00
Patrik Oldsberg 6a6074bedd cli/config/eslint: add import and monorepo lint rules to avoid bad imports and missing deps 2020-04-05 14:04:17 +02:00
Patrik Oldsberg 66f4cda22c plugins: fix core peer-dep version 2020-04-03 14:40:04 +02:00
Patrik Oldsberg 29f2bc2735 v0.1.1-alpha.1 2020-04-03 14:37:54 +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 43f37a53a0 add build:watch to package.json of plugins 2020-04-02 10:38:08 +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 d43414d687 put shared tsconfig in root config 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
nikek dbb7ba14d1 add circumflex accent to rollup types deps 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 2f776924b4 add notice 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 e59ddb4d7c packages,plugins: use build-cache command 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