Commit Graph

208 Commits

Author SHA1 Message Date
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
Rishabh
9472a29568 v1.4.1 2021-05-19 00:27:11 +05:30
Rishabh
8044dc836a v1.4.0 2021-05-18 14:57:42 +05:30
Rishabh
66cbbce917 v1.3.1 2021-05-12 17:13:16 +05:30
Rishabh
39b7c01909 v1.3.0 2021-05-10 23:09:02 +05:30
Renovate Bot
ad4168d5b2 Update dependency eslint-plugin-ghost to v2.2.0 2021-05-10 01:30:12 +00:00
Rishabh
4b97830079 v1.2.3 2021-05-03 22:24:15 +05:30
Renovate Bot
9fd67880dd Update dependency eslint-plugin-ghost to v2.1.0 2021-04-30 12:16:47 +00:00
Rishabh
e9098743f3 v1.2.2 2021-04-28 16:31:02 +05:30
Rishabh
c4aee97469 v1.2.1 2021-04-27 23:10:50 +05:30
Rishabh
02a21b033d v1.2.0 2021-04-27 21:07:35 +05:30
Renovate Bot
3bdfe189d9 Update dependency @testing-library/jest-dom to v5.12.0 2021-04-23 16:47:19 +00:00
Fabien O'Carroll
0066732b74 v1.1.1 2021-04-05 16:14:41 +01:00
Renovate Bot
aaf4cfcffe Update dependency @testing-library/react to v11.2.6 2021-03-31 12:39:55 +00:00
Fabien O'Carroll
62a7542a6c v1.1.0 2021-03-30 12:21:19 +01:00
Renovate Bot
b2c380cd60 Update dependency @testing-library/jest-dom to v5.11.10 2021-03-26 22:13:41 +00:00
Rish
b4b5720643 v1.0.2 2021-03-19 12:55:00 +05:30
Rish
8c6c13156f v1.0.1 2021-03-19 12:38:21 +05:30
Renovate Bot
ed5d975087 Update dependency @testing-library/user-event to v12.8.3 2021-03-11 20:17:49 +00:00
Rish
a49d4b9099 v1.0.0 2021-03-10 22:56:10 +05:30