Commit Graph

250 Commits

Author SHA1 Message Date
hugomartinez 60d504978e Storybook background color changed for better lisibility - Issue #450 2020-04-02 18:46:02 +02:00
Patrik Oldsberg 1f8b01effe packages/cli: add utility for resolving paths and use everywhere 2020-04-02 14:36:24 +02:00
Niklas Ek 07cbdd8554 Merge pull request #387 from spotify/mob/roll2
Improve the plugin build script with rollup
2020-04-02 12:42:44 +02:00
nikek e62618c919 add separate import and export in createPlugin 2020-04-02 11:57:14 +02:00
Patrik Oldsberg 4fbc5a4284 packages/core: fix watch mode 2020-04-02 11:36:42 +02:00
nikek a8ce7564fa add notice to plugins.ts 2020-04-02 11:15:06 +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
Fredrik Adelöw a7c8110356 Merge pull request #429 from spotify/freben/callout
Add support for dismissible information callouts
2020-04-01 14:47:49 +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
Guillaume Lamanda 2393c5c049 ♻️ rewrite <HeaderLabel> to use typescript and hooks 2020-04-01 09:41:36 +02:00
Guillaume Lamanda fc20b4dc76 ♻️ rewrite <HeaderActionMenu> in typescript 2020-04-01 09:41:36 +02:00
Guillaume Lamanda 69e4bcf26b ♻️ rewrite <ContentHeader> to use typescript and hooks 2020-04-01 09:41:36 +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
Fredrik Adelöw bebad80a24 Use dismissible information callouts 2020-03-31 17:02:08 +02:00
Fredrik Adelöw 3d49731dc2 Merge pull request #417 from SrdjanCosicPrica/master
Add husky and lint-staged to automatically prettify staged code changes
2020-03-31 16:51:53 +02:00
Stefan Ålund d0bfb7bda2 Merge pull request #426 from hooloovooo/feature/407-errorboundary
WIP: ErrorBoundary rewrite to TS
2020-03-31 16:39:22 +02:00
SrdjanCosicPrica 124cdede70 Prettify project 2020-03-31 16:33:11 +02:00
Sebastian Qvarfordt 4e9151ba3c removed onError from state 2020-03-31 13:21:26 +02:00
Sebastian Qvarfordt 924a999079 prettier 2020-03-31 13:07:21 +02:00
Sebastian Qvarfordt 7a4aebb8a2 initial rewrite to TS 2020-03-31 13:04:51 +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 ec28ed8e2a packages/app: rename build script to bundle and only run in CI when app changed 2020-03-31 13:01:48 +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