Commit Graph

327 Commits

Author SHA1 Message Date
Fabien egg O'Carroll
cf41cdebfb v1.12.9 2021-12-01 20:47:51 +02:00
Renovate Bot
b26c0aefce Update dependency eslint-plugin-ghost to v2.9.0 2021-11-30 19:52:01 +00:00
Renovate Bot
d53ee46ac9 Update dependency eslint-plugin-ghost to v2.8.0 2021-11-26 22:56:49 +00:00
Renovate Bot
642049c610 Update dependency @testing-library/jest-dom to v5.15.1 2021-11-24 18:07:33 +00:00
Rishabh
dc15417e48 v1.12.8 2021-11-22 18:20:07 +05:30
Renovate Bot
3ad4e9c4c9 Update sentry-javascript monorepo to v6.15.0 2021-11-17 12:53:34 +00:00
Renovate Bot
94a7ee5672 Update sentry-javascript monorepo to v6.14.3 2021-11-12 23:34:29 +00:00
Renovate Bot
4ebc7b5265 Update sentry-javascript monorepo to v6.14.1 2021-11-08 04:10:23 +00:00
Peter Zimon
df411f266f v1.12.7 2021-11-05 09:30:23 +01:00
Renovate Bot
7aac4fcd4c Update sentry-javascript monorepo to v6.14.0 2021-11-04 21:51:37 +00:00
Renovate Bot
1fab694d14 Update dependency @testing-library/jest-dom to v5.15.0 2021-11-03 17:38:42 +00:00
renovate[bot]
0dfd0b6b6b Update dependency chalk to v4.1.2 (#168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 11:16:05 +05:30
Renovate Bot
23700703aa Update dependency eslint-plugin-ghost to v2.7.0 2021-10-25 05:19:54 +00:00
Rishabh
3967656284 v1.12.6 2021-10-22 07:56:01 +05:30
Rishabh
dd90a8fe8b v1.12.5 2021-10-21 00:51:39 +05:30
Rishabh
cc7c812af8 v1.12.4 2021-10-20 20:22:53 +05:30
Daniel Lockyer
a83bcf9869 Added codecov.io coverage uploader to CI
refs linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit adds the codecov GitHub Action into CI so we can upload
  coverage reports
- the coverage files need to be in XML for them to work with
  codecov, so this commit also adds cobertura (XML) as a reporter
2021-10-20 14:00:42 +02:00
Renovate Bot
85ffb985fc Update dependency @testing-library/user-event to v13.5.0 2021-10-20 12:00:28 +00:00
Rishabh
315cde6c46 v1.12.3 2021-10-19 00:20:55 +05:30
Rishabh
374ede2e64 v1.12.2 2021-10-18 19:26:12 +05:30
Rishabh
e55e52654e v1.12.1 2021-10-18 14:25:50 +05:30
Rishabh
3b734f5c84 Removed uuid usage in favor of local object id generation
no refs
2021-10-18 14:25:06 +05:30
Rishabh
8bae94dd8d v1.12.0 2021-10-15 11:48:01 +05:30
Rishabh
2076bb2af0 Cleaned up fixtures setup and usage
no refs

- updates fixtures file with fixture functions to easily generate test data
- adds `uuid` as dep to allow for reliably create unique ids for fixtures
2021-10-14 21:49:28 +05:30
Rishabh
136913e799 v1.11.3 2021-10-13 13:14:24 +05:30
Renovate Bot
2c49e37170 Update dependency @testing-library/user-event to v13.3.0 2021-10-12 02:43:00 +00:00
Rishabh
599364039d v1.11.2 2021-10-08 21:15:54 +05:30
Renovate Bot
4686f9112c Update sentry-javascript monorepo to v6.13.3 2021-10-08 00:01:52 +00:00
Renovate Bot
c54ad77bdc Update dependency @testing-library/react to v12.1.2 2021-10-06 10:30:03 +00:00
Rishabh
ef1a155bc7 v1.11.1 2021-10-05 11:01:20 +05:30
Hannah Wolfe
f63de95317 Added command to run tests once with coverage
- this is so we can see coverage reports easily
2021-09-30 12:17:09 +01:00
Renovate Bot
252ddda907 Update dependency @testing-library/react to v12.1.1 2021-09-29 14:43:29 +00:00
Rishabh
ec6302119d v1.11.0 2021-09-28 18:32:06 +05:30
Rishabh
170e353b91 v1.10.4 2021-09-27 22:32:59 +05:30
Rishabh
aae086d7cc v1.10.3 2021-09-27 20:04:35 +05:30
Rishabh
b3969fea34 v1.10.2 2021-09-27 19:43:52 +05:30
Rishabh
600640629f v1.10.1 2021-09-23 19:51:48 +05:30
Fabien O'Carroll
a6d38f8c58 v1.10.0 2021-09-22 16:42:33 +02:00
Renovate Bot
474d443254 Update dependency @testing-library/react to v12.1.0 2021-09-14 11:13:02 +00:00
Rishabh
36f299c3b9 v1.9.3 2021-09-13 13:41:57 +05:30
Rishabh
22b03a0fc3 v1.9.2 2021-09-09 18:30:16 +05:30
Renovate Bot
271747a1a8 Update sentry-javascript monorepo to v6.12.0 2021-09-03 11:20:31 +00:00
Rishabh
e9802b0fa3 v1.9.1 2021-09-02 15:33:36 +05:30
Rishabh
c9854b014b v1.9.0 2021-09-02 12:29:39 +05:30
Renovate Bot
56033ab777 Update sentry monorepo to v6.11.0 2021-08-09 03:32:37 +00:00
Rishabh
33fe0ea960 v1.8.0 2021-07-30 10:30:45 +05:30
Renovate Bot
7578a9cec4 Update dependency @testing-library/user-event to v13.2.1 2021-07-27 08:20:41 +00:00
Renovate Bot
c34cdc3268 Update sentry monorepo to v6.10.0 2021-07-26 02:16:29 +00:00
Rishabh
21e9df1f76 v1.7.7 2021-07-23 13:51:07 +05:30
Renovate Bot
43dad8bd96 Update Test & linting packages 2021-07-20 12:10:27 +00:00
Renovate Bot
879bec2235 Update dependency eslint-plugin-ghost to v2.5.0 2021-07-16 16:53:12 +00:00
Renovate Bot
6619ec5e45 Update sentry monorepo to v6.9.0 2021-07-13 16:13:48 +00:00
Rishabh
220397c406 v1.7.6 2021-07-09 07:04:31 +05:30
Rishabh
115a39a814 v1.7.5 2021-07-09 06:34:32 +05:30
Rishabh
a114654e89 Reverted to bring back changes from 1.7.3
This reverts commit c2707d426a.
The changes for 1.7.3 were reverted as a temporary step due to a major bug in Portal link handling.
This commit brings back the changes followed by a patch for new release
2021-07-09 06:31:14 +05:30
Matt Hanley
f0b39dbe4b v1.7.4 2021-07-08 22:45:29 +01:00
Matt Hanley
c2707d426a Reverted changes from 1.7.3 2021-07-08 22:42:58 +01:00
Rishabh
6b21875f0b v1.7.3 2021-07-08 12:04:39 +05:30
Renovate Bot
64c58cc89f Update sentry monorepo to v6.8.0 2021-07-05 01:43:18 +00:00
Rishabh
6b755cfddf v1.7.2 2021-07-01 23:24:04 +05:30
Rishabh
be39f4c481 v1.7.1 2021-06-30 16:57:49 +05:30
Rishabh
fc6bb509ae v1.7.0 2021-06-29 21:46:58 +05:30
Rishabh
43030eb5e3 v1.6.10 2021-06-28 11:08:19 +05:30
Renovate Bot
b60ac8d952 Update dependency eslint-plugin-ghost to v2.4.0 2021-06-28 02:42:17 +00:00
Rishabh
0c8483b8d5 v1.6.9 2021-06-25 13:09:59 +05:30
Rishabh
d8f121e7b0 v1.6.8 2021-06-25 12:06:26 +05:30
Rishabh
60c4ba5888 v1.6.7 2021-06-25 09:44:00 +05:30
Renovate Bot
f8d6e78de7 Update dependency @testing-library/react to v12 2021-06-24 19:34:18 +00:00
Rishabh
422dd12c14 v1.6.6 2021-06-24 21:48:04 +05:30
Rishabh
87148b789c v1.6.5 2021-06-24 21:08:52 +05:30
Rishabh
f2aab7a5bb v1.6.4 2021-06-24 16:54:00 +05:30
Rishabh
b2bcad3338 v1.6.3 2021-06-24 13:55:45 +05:30
renovate[bot]
5548cc9ab8 Pin dependencies (#148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 15:52:53 +05:30
renovate[bot]
e01ab51eeb Update dependency chokidar to v3.5.2 (#150)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 15:52:00 +05:30
Rishabh
0535fab865 Added Sentry for error tracking
no refs

- adds sentry setup if Sentry DSN is available via Ghost config for better error tracking
2021-06-22 12:16:49 +05:30
Renovate Bot
df54d8cf34 Update dependency @testing-library/user-event to v13 2021-06-18 14:47:28 +00:00
Renovate Bot
9963696ef9 Update Test & linting packages 2021-06-18 13:36:11 +00:00
Rishabh
aa5b29ae5a v1.6.2 2021-06-17 17:35:33 +05:30
Rishabh
762c1c53a3 Removed jsdom fourteen dependency on test
refs aa228a8df2

Removes jsdom fourteen dependency for running tests as the latest version of packages doesn't need the fallback
2021-06-16 20:58:44 +05:30
Rishabh
885fe178dd Updated local start mode script
no issues

- adds new start-combined script which combines all chunks in `yarn start` for local portal development
- allows easier loading of local portal bundle in ghost via load-portal script, which needs to inject single script
- updates `yarn start:dev` to use updated script which uses the combined mode for better local development

refs
https://gist.github.com/simpixelated/90a3c16c3ed268fe24f5e5c9585ced2f
2021-06-16 20:58:44 +05:30
Rishabh
6e2952901a Updated Portal build script to use rewired webpack config
no issues

- updates Portal build script to use rewired react-scripts config
- updated config handles css embed as well as output location/name for portal bundle as part of cra build
- makes extra webpack bundling redundant for now
- updates dev mode to map the portal source map useful for testing build version locally
- updates custom webpack config with copy plugin for future use

refs -
https://github.com/facebook/create-react-app/issues/5306#issuecomment-603772477
https://gist.github.com/phdesign/3fd306db2bc53f6368e6f0f73bbeff19
2021-06-16 20:58:44 +05:30
Rishabh
596cef4df7 Removed unused prop-types dependency
no refs
2021-06-16 20:58:44 +05:30
Rishabh
90c076fc39 🏗 Bumped major versions for React and CRA
no refs

- bumps React version to 17 - https://github.com/facebook/react/blob/master/CHANGELOG.md#1700-october-20-2020
- bumps CRA to v4  - https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md#403-2021-02-22
2021-06-16 20:58:44 +05:30
Rishabh
00f9481f11 v1.6.1 2021-06-11 20:15:30 +05:30
Rishabh
bf62b981bd v1.6.0 2021-06-11 14:06:54 +05:30
Rishabh
47c6509bea Added experimental start mode script for local development
no refs

Adds a new `yarn start:dev` command to start portal in development mode that allows development script to be used directly on Ghost site without needing a build for each change. Allows faster development on Portal locally.
2021-06-10 15:05:08 +05:30
Rishabh
f59711ab1b v1.5.3 2021-06-09 09:22:44 +05:30
Rishabh
928122a8f7 v1.5.2 2021-06-08 18:11:19 +05:30
Rishabh
c45b1abede Added source map explorer for analyzing builds
no refs

`yarn analyze` now launches source map explorer which analyzes the local bundle, helping in keeping Portal size as small as possible.
2021-06-07 15:32:55 +05:30
Rishabh
0b2af14567 Added dev script for Portal development
no refs

The new dev script allows running `yarn dev` on the Portal code to make Portal development easier as well as integrate more easily with Ghost config. The script runs a local development server that serves portal bundle, which allows for static `portal` config to be used in Ghost for pointing to Portal script. It also watches the files for any changes, and auto re-builds and bundles latest Portal code.
2021-06-07 14:22:31 +05:30
Renovate Bot
3240f2670d Update dependency @testing-library/jest-dom to v5.13.0 2021-06-07 01:53:00 +00:00
Rishabh
cf710eb9c2 v1.5.1 2021-06-04 18:30:45 +05:30
Rishabh
82f7d69d8d v1.5.0 2021-06-04 17:09:54 +05:30
Rishabh
f790cb47ef v1.4.7 2021-06-01 14:37:31 +05:30
Renovate Bot
97dd3a0470 Update dependency @testing-library/react to v11.2.7 2021-05-27 13:55:49 +00:00
Rishabh
28de418d9e v1.4.6 2021-05-27 17:53:42 +05:30
Rishabh
817d6650b2 v1.4.5 2021-05-27 13:40:07 +05:30
Rishabh
e4cd0034ad v1.4.4 2021-05-24 19:23:02 +05:30
Rishabh
9129fa7cf9 v1.4.3 2021-05-24 19:14:23 +05:30
Rishabh
edba56fbfb v1.4.2 2021-05-24 18:32:42 +05:30