Commit Graph

290 Commits

Author SHA1 Message Date
Patrik Oldsberg fca8b3211e packages/cli: update plugin template README to explain next steps and plugin:serve 2020-05-08 14:52:50 +02:00
Patrik Oldsberg d568edb876 packages/cli: make plugin:diff --check output all errors 2020-05-08 13:02:29 +02:00
Fredrik Adelöw c1dd24a100 OCD time: devDependencies consistently below dependencies :) 2020-05-07 08:46:10 +02:00
Patrik Oldsberg 70040b22a7 drop support for src-relative imports 2020-05-06 16:48:55 +02:00
Sebastian Qvarfordt 425cf93c08 Replacing SortableTable and a few MUI tables with new Table component (#722)
* Befind work of replacing tables with new Table component

* Removed test plugins and fixed test

* Fixed lint issue

* Removed toolbar from lighthouse audit page

* Moved column out of auditstables render function, no no interation with useInterval
2020-05-06 12:58:34 +02:00
Fredrik Adelöw 2327cd121a Merge pull request #720 from OrkoHunter/OrkoHunter/#708-fix-flaky-e2e-test
[CLI] Fix flaky end-to-end tests
2020-05-05 14:25:09 +02:00
Himanshu Mishra b36bf68d7d 240 attempts should not just be 239 :D 2020-05-05 20:42:44 +09:00
Himanshu Mishra 5d5d093b20 Set maxFindTextAttempts as a function argument 2020-05-05 20:38:57 +09:00
Himanshu Mishra 82b6f1e4cb Retry search text for any type of error 2020-05-05 20:09:03 +09:00
Himanshu Mishra 9ea93173f0 Do browser.visit again after getting error in finding text 2020-05-05 20:07:43 +09:00
Himanshu Mishra fe088038d6 Better variable names
attemptsToLoad -> loadAttempts
maxAttempts -> maxLoadAttempts
attemptsToSearchText -> findTextAttempts
maxAttemptsToSearchText -> maxFindTextAttempts
2020-05-05 20:06:16 +09:00
Patrik Oldsberg 4f32c5a5d3 Merge pull request #702 from spotify/rugvip/pdiff
package/cli: added plugin:diff command
2020-05-05 11:06:16 +02:00
Himanshu Mishra a93f194cb6 Break from loop if the test is successful
Making this mistake since while loops were created :(
2020-05-05 17:28:43 +09:00
Himanshu Mishra fe2f7265d3 Add retries to find the text on page for e2e tests
The page may not be fully loaded on the first go. Hence, we wait for some time and then retry.
2020-05-05 16:57:55 +09:00
blam e3ab861038 chore: fixing eslint config so we can use some great optional?.chaining?.stuff 2020-05-04 20:54:59 +02:00
Patrik Oldsberg 47d5d8da4f packages/cli: add lib ES2019 to common tsconfig 2020-05-03 15:36:05 +02:00
Patrik Oldsberg 41d879931d packages/cli: clearer plugin:diff output for package.json + fix 2020-05-03 15:28:06 +02:00
Patrik Oldsberg 8e920cada8 packages/cli: add newline at the end of package.json during diff 2020-05-03 14:26:29 +02:00
Patrik Oldsberg 56ff5d7d97 packages/cli: add --check and --yes flags to plugin:diff 2020-05-03 14:25:36 +02:00
Patrik Oldsberg 7d02e1d15c packages/cli: split diff command implementation into multiple files 2020-05-03 14:21:20 +02:00
Patrik Oldsberg 5e5bb5a523 packages/cli: make it possible to override prompt func in diff 2020-05-03 14:02:31 +02:00
Patrik Oldsberg acb6212b49 packages/cli: add add handler for diff command to ensure files exist 2020-05-03 13:53:19 +02:00
Patrik Oldsberg 8ebb45e990 packages/cli: functional diff command with prompt for updates 2020-05-03 13:44:24 +02:00
Patrik Oldsberg 323f6b715a packages/cli: separate handlers for different template files in diff 2020-05-03 12:04:17 +02:00
Patrik Oldsberg c348444fa6 packages/cli: read template and target files for diffing 2020-05-02 12:16:32 +02:00
Patrik Oldsberg 4423aa9315 packages/cli: added basic logic for diff to parse out existing plugin state 2020-05-01 17:54:39 +02:00
Patrik Oldsberg 7f03d85d91 packages/cli: added placeholder plugin:diff command 2020-05-01 17:53:43 +02:00
Patrik Oldsberg 2068829f4f packages/cli: added jest transform for .esm.js files 2020-05-01 15:55:48 +02:00
Patrik Oldsberg b87d266c74 packages/cli: target modern browsers and switch output to module 2020-05-01 15:55:47 +02:00
Fredrik Adelöw 69a3fa79e7 Move backend lint config to cli config 2020-04-29 11:01:40 +02:00
Patrik Oldsberg 68ef6c9139 packages/cli: fix usage of exec 2020-04-27 10:21:48 +02:00
Patrik Oldsberg 3dc707c156 packages: only include dist folder in published packages 2020-04-25 19:42:47 +02:00
Patrik Oldsberg 46803998cd Merge pull request #621 from spotify/rugvip/plugin-serve
Make plugin:serve work and add for home-page plugin + fix declaration maps
2020-04-24 18:50:39 +02:00
Patrik Oldsberg 241ee7f43c Merge pull request #638 from spotify/rugvip/zetypes
explicit types and remove cypress resolution override
2020-04-24 13:35:16 +02:00
Patrik Oldsberg 6e8274969c packages/cli: make plugin build generate usable declaration maps 2020-04-24 12:50:52 +02:00
Patrik Oldsberg 2bbe78a0b9 tsconfigs: be explicit about what types to include in compilation 2020-04-23 22:41:03 +02:00
Patrik Oldsberg 1020a93934 packages/cli: default to mocking style imports in tests 2020-04-23 19:22:14 +02:00
Patrik Oldsberg 86a580a235 packages/cli: resolve mjs before js in plugin serve 2020-04-23 13:43:55 +02:00
Patrik Oldsberg baaa1d2f34 packages/cli: prefix plugin serve paths with target instead of app 2020-04-23 11:10:58 +02:00
Patrik Oldsberg 85f97e70c6 packages/cli: add history api fallback to plugin:serve 2020-04-23 00:51:31 +02:00
Patrik Oldsberg b45a54a4a7 packages/cli: update plugin:serve to resolve src-relative imports 2020-04-23 00:51:31 +02:00
Patrik Oldsberg f4cc327d80 packages/cli: exclude dev/ folder in rollup config 2020-04-23 00:51:31 +02:00
Patrik Oldsberg 7ac528b1ce packages/cli: update eslint config test config to include dev/ and only setupTests directly in src 2020-04-23 00:51:31 +02:00
Patrik Oldsberg bb71394d39 packages/cli: call watchDeps before plugin:serve and update path resolutions 2020-04-23 00:20:42 +02:00
nikek 1269cc9e6b remove css zoom 2020-04-22 13:59:47 +02:00
Patrik Oldsberg c6c17cdf3e packages/cli: move create-plugin/codeowners to lib 2020-04-20 23:16:47 +02:00
Patrik Oldsberg a923254947 packages/cli: moved build cache implementation to lib 2020-04-20 23:16:47 +02:00
Patrik Oldsberg a2e612cad3 packages/cli: add log func options to run, making it usable in more places 2020-04-20 23:15:50 +02:00
Patrik Oldsberg 2c095442ed packages/cli: most of watch-deps into lib and re-use from there instead 2020-04-20 23:15:50 +02:00
Patrik Oldsberg 921beb792d packages/cli: added a more reusable and less verbose logging util and use in watch-deps 2020-04-20 23:15:49 +02:00