Commit Graph

396 Commits

Author SHA1 Message Date
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
Rish
99fc9e0388 v1.0.0-rc.16 2021-03-10 15:09:59 +05:30
Rish
d381382f4e v1.0.0-rc.15 2021-03-10 09:39:20 +05:30
Rish
5844312552 v1.0.0-rc.14 2021-03-10 09:16:27 +05:30
Rish
922c2e64dd v1.0.0-rc.13 2021-03-09 15:15:42 +05:30
Rish
97f797b168 v1.0.0-rc.12 2021-03-08 23:07:25 +05:30
Peter Zimon
5cacd0611d v1.0.0-rc.11 2021-03-04 16:26:57 +01:00
Rish
35e2e2fbe1 v1.0.0-rc.10 2021-03-04 19:07:54 +05:30
Rish
07384dc584 v1.0.0-rc.9 2021-03-04 15:30:41 +05:30
Renovate Bot
c73e80e1fb Update dependency @testing-library/user-event to v12.8.1 2021-03-03 15:08:05 +00:00
Rish
6e15908fd9 Updated master to main in yarn ship
no issue

`master` is now renamed as `main` upstream, this updates the `yarn ship` to push updates to `main` instead of master now.
2021-03-02 18:12:18 +05:30
Rish
80c943a7b6 v1.0.0-rc.8 2021-03-02 18:10:33 +05:30
Renovate Bot
db97b9a9dd Update dependency @testing-library/user-event to v12.8.0 2021-03-02 02:02:04 +00:00
Renovate Bot
b751c1c41e Update dependency @testing-library/user-event to v12.7.3 2021-02-23 15:29:52 +00:00
Rish
5b5110ea64 v1.0.0-rc.7 2021-02-23 17:12:59 +05:30
Renovate Bot
f76c8c0f56 Update react monorepo to v16.14.0 2021-02-16 21:51:29 +00:00
Renovate Bot
2ff203bfc6 Update dependency react-scripts to v3.4.4 2021-02-16 20:00:41 +00:00
Renovate Bot
12d0ca7ae3 Update dependency @testing-library/user-event to v12.7.1 2021-02-16 18:44:28 +00:00
Hannah Wolfe
9f43272817 v1.0.0-rc.6 2021-02-15 16:57:03 +00:00
Renovate Bot
a326e3c76c Update dependency @testing-library/user-event to v12.7.0 2021-02-11 17:32:49 +00:00
Renovate Bot
2622591049 Update dependency @testing-library/react to v11.2.5 2021-02-11 13:19:03 +00:00
Renovate Bot
2e4151cdca Update dependency @testing-library/jest-dom to v5.11.9 2021-02-11 08:00:26 +00:00
Rish
50b81b1520 v1.0.0-rc.5 2021-02-11 00:15:23 +05:30
Renovate Bot
799dc78e30 Update dependency eslint-plugin-ghost to v2 2021-02-10 13:59:56 +00:00
Rish
69a0db2d61 v1.0.0-rc.4 2021-02-09 14:13:27 +05:30
Rish
0411fad8f6 v1.0.0-rc.3 2021-02-09 13:32:05 +05:30
Rish
ded3461a20 v1.0.0-rc.2 2021-02-03 08:46:19 +05:30
Rish
9228651786 v1.0.0-rc.1 2021-02-03 08:37:37 +05:30
Renovate Bot
f7195a5161 Update dependency @testing-library/react to v11.2.3 2021-01-24 19:51:16 +00:00
Rish
933fa87aa8 v0.15.1 2021-01-18 11:45:49 +05:30
Rish
569c94272c v0.15.0 2021-01-15 20:03:41 +05:30
Renovate Bot
d6e4635a8b Update dependency @testing-library/user-event to v12.6.0 2021-01-09 09:53:41 +00:00
Rish
ce33a055aa v0.14.1 2020-12-18 22:37:41 +05:30
Rish
e2b594528a v0.14.0 2020-12-01 12:54:17 +05:30
Rish
3f3c0b4b94 v0.13.1 2020-11-23 11:11:30 +05:30
Rish
f7fa4e50e6 v0.13.0 2020-11-18 19:56:52 +05:30
Fabien O'Carroll
fd99540f92 v0.12.0 2020-11-18 13:17:34 +00:00
Fabien 'egg' O'Carroll
741bfb637d Revert to 0.10.17 (#110)
There is a bug in these version where Portal does not load correctly after a successful
Stripe Checkout. We are reverting until we can determine the cause of the bug and fix it

* Revert "v0.11.1"

This reverts commit 828c4d59e2.

* Revert "Fixed incorrect link/path handling"

This reverts commit 9d853be979.

* Revert "v0.11.0"

This reverts commit 16c2224b9b.

* Revert "Updated portal direct checkout links to use path"

This reverts commit d26fad1ef2.

* Revert "Added direct links for monthly/yearly checkout"

This reverts commit bbea4f7ec5.

* Revert "Added user select style to plan container"

This reverts commit a665ca5923.

* Revert "Refined copy"

This reverts commit 32d4949e1d.

* Revert "Account home page refinements"

This reverts commit 6587eca37d.

* Revert "Notification refinements"

This reverts commit 23c75e3acc.

* Revert "Added name to welcome notification"

This reverts commit 7220049830.

* Revert "Refined notification"

This reverts commit d1c091584f.
2020-11-18 13:16:07 +00:00
Rish
828c4d59e2 v0.11.1 2020-11-18 16:03:27 +05:30
Rish
16c2224b9b v0.11.0 2020-11-17 23:07:13 +05:30
Rish
1716771c6a v0.10.17 2020-11-07 01:22:31 +05:30
Rish
2ed016f7d8 v0.10.16 2020-11-06 19:36:08 +05:30
Rish
fb698ad972 v0.10.15 2020-10-30 23:27:29 +05:30
Rish
6163083df8 v0.10.14 2020-10-29 14:02:31 +05:30
Rish
0b32646944 v0.10.13 2020-10-17 18:31:02 +05:30
Rish
e837446063 v0.10.12 2020-10-13 22:46:57 +05:30
Rish
031bca982a v0.10.11 2020-10-02 22:03:43 +05:30
Rish
167cbba36d v0.10.10 2020-10-02 20:02:17 +05:30
Rish
bcf2b5872b v0.10.9 2020-10-02 19:37:55 +05:30
Rish
57e83ebe6c v0.10.8 2020-10-02 18:17:32 +05:30
Rish
c4b0aa9b12 v0.10.7 2020-10-02 16:41:20 +05:30
Rish
f9ab9835e8 v0.10.6 2020-10-02 15:58:50 +05:30
Rish
96c72aa3c9 v0.10.5 2020-10-02 15:45:44 +05:30
Rish
a247d54dd9 v0.10.4 2020-09-28 12:21:19 +05:30
Rish
16c4f46f9f v0.10.3 2020-09-28 11:49:40 +05:30
Rish
7a4c14eb1a v0.10.2 2020-09-24 12:36:53 +05:30
Rish
f45b2f24e2 Updated git repo on readme
no issue
2020-09-24 12:36:24 +05:30
Rish
01ca6d0ffe v0.10.1 2020-09-24 12:20:46 +05:30
Rish
7e19264d34 v0.10.0 2020-09-24 11:58:56 +05:30
Rish
8db1b02558 Updated npm/unpkg name to portal
no issue

- Updates npm/unpkg name to portal from members-js
- Updates script name from `members.min.js` -> `portal.min.js`
2020-09-23 23:43:46 +05:30
Rish
81823f531b Updated github repo name to Portal
no issue

- Updated readme and package json to point to new repo name
2020-09-23 12:53:10 +05:30
Renovate Bot
ed25241ede Update dependency @testing-library/user-event to v12.1.5 2020-09-21 02:06:12 +00:00
Renovate Bot
55d50fe055 Update dependency @testing-library/react to v11.0.4 2020-09-21 01:05:04 +00:00
Rish
e3e79d5c5d v0.9.1 2020-09-17 21:17:43 +05:30
Rish
454c01f2ae v0.9.0 2020-09-16 23:44:18 +05:30
Rish
3111ff9dde v0.8.25 2020-09-14 18:19:27 +05:30
Renovate Bot
9b23da05e2 Update dependency @testing-library/user-event to v12.1.4 2020-09-09 22:03:53 +00:00
Rish
dfa3160b6f v0.8.24 2020-09-08 20:52:40 +05:30
Renovate Bot
d32a19f66c Update dependency @testing-library/react to v11 2020-09-08 18:59:36 +05:30
Rish
c94be8cea7 v0.8.23 2020-09-04 17:20:50 +05:30
Rish
3a01015618 v0.8.22 2020-09-03 17:15:24 +05:30
Rish
23e0a76ea3 v0.8.21 2020-09-02 12:26:30 +05:30
Renovate Bot
76e6f9f28b Update dependency @testing-library/user-event to v12 2020-09-02 00:15:52 +05:30
Rish
6e2ce8fad3 v0.8.20 2020-09-01 21:01:55 +05:30
Rish
bd844c3568 v0.8.19 2020-08-26 00:52:17 +05:30
Rish
c721eda332 v0.8.18 2020-08-26 00:34:55 +05:30
Renovate Bot
7a74ac21a0 Update dependency @testing-library/jest-dom to v5.11.4 2020-08-25 03:05:29 +00:00
Renovate Bot
dda2f84c16 Update dependency @testing-library/react to v10.4.9 2020-08-24 01:05:44 +00:00
Rish
d863496bbe v0.8.17 2020-08-17 09:51:34 +05:30
Renovate Bot
040efb77cf Update dependency react-scripts to v3.4.3 2020-08-14 16:04:34 +00:00
Renovate Bot
b7002ef34e Update dependency @testing-library/jest-dom to v5.11.3 2020-08-14 15:06:07 +00:00
Renovate Bot
790057bfa8 Update dependency react-scripts to v3.4.2 2020-08-12 12:04:49 +00:00
Renovate Bot
90161206e4 Update dependency @testing-library/react to v10.4.8 2020-08-07 17:05:18 +00:00
Rish
ce7cf575ed v0.8.16 2020-08-07 21:51:29 +05:30
Renovate Bot
bb7dba6fea Update dependency @testing-library/jest-dom to v5.11.2 2020-07-31 16:04:55 +00:00
Rish
b33b95c5e7 v0.8.15 2020-07-30 20:35:55 +05:30
Rish
a51052c320 v0.8.14 2020-07-24 15:39:58 +05:30
Rish
6fe329bdb0 v0.8.13 2020-07-23 20:55:48 +05:30
Rish
2de8c376f3 v0.8.12 2020-07-22 16:22:21 +05:30
Rish
8c98bf753e v0.8.11 2020-07-22 13:11:25 +05:30
Rish
d8cd5d1860 v0.8.10 2020-07-16 12:48:06 +05:30
Rish
398d851e7b v0.8.9 2020-07-16 12:09:10 +05:30
Renovate Bot
792b698d87 Update dependency @testing-library/jest-dom to v5.11.1 2020-07-15 15:05:12 +00:00
Renovate Bot
629f910615 Update dependency @testing-library/react to v10.4.7 2020-07-15 14:05:01 +00:00
Renovate Bot
bb6de1c31d Update dependency @testing-library/react to v10.4.6 2020-07-13 19:04:57 +00:00
Rish
9da9c3a21e v0.8.8 2020-07-09 11:09:28 +05:30
Renovate Bot
db6e02b3fa Update dependency @testing-library/react to v10.4.5 2020-07-08 19:14:19 +00:00
Rish
797f784296 v0.8.7 2020-07-08 20:54:41 +05:30
Rish
4b28df8506 v0.8.6 2020-07-08 10:43:09 +05:30
Rish
ad5d05c023 v0.8.5 2020-07-08 10:38:50 +05:30
Rish
df1952ba01 v0.8.4 2020-07-08 10:26:55 +05:30
Rish
439761e992 v0.8.3 2020-07-07 19:57:44 +05:30
Renovate Bot
c1f6545915 Update dependency @testing-library/react to v10.4.4 2020-07-06 01:05:38 +00:00
Rish
b776af6a7c v0.8.2 2020-07-01 15:36:49 +05:30
Rish
79666590e2 v0.8.1 2020-06-26 02:12:38 +05:30
Renovate Bot
f6ee798a95 Update dependency @testing-library/jest-dom to v5.11.0 2020-06-25 17:16:18 +00:00
Renovate Bot
f623c8aa1c Update dependency @testing-library/react to v10.4.3 2020-06-25 05:01:13 +00:00
Renovate Bot
eef3726578 Update dependency @testing-library/react to v10.4.2 2020-06-24 20:33:46 +00:00
Rish
fb00813f2e v0.8.0 2020-06-25 00:25:19 +05:30
Renovate Bot
66b073feca Update dependency @testing-library/react to v10.4.1 2020-06-23 23:21:14 +00:00
Renovate Bot
0759eb52da Update dependency @testing-library/react to v10.4.0 2020-06-23 17:20:29 +00:00
Renovate Bot
affc000be5 Update dependency webpack-cli to v3.3.12 2020-06-18 13:22:40 +00:00
Rish
8361cfabc2 v0.7.0 2020-06-18 17:50:31 +05:30
Renovate Bot
20b637e404 Update dependency @testing-library/react to v10.3.0 2020-06-18 01:19:17 +00:00
Renovate Bot
6bb146abcc Update dependency @testing-library/jest-dom to v5.10.1 2020-06-15 01:21:06 +00:00
Rish
c0fa057533 v0.6.3 2020-06-12 18:53:06 +05:30
Rish
a873554be3 v0.6.2 2020-06-12 18:48:16 +05:30
Rish
e376c60764 v0.6.1 2020-06-12 17:50:19 +05:30
Renovate Bot
1fc8f86507 Update dependency @testing-library/user-event to v11.4.2 2020-06-11 17:19:51 +00:00
Renovate Bot
a83ae73578 Update dependency @testing-library/jest-dom to v5.10.0 2020-06-11 15:31:39 +00:00
Rish
0baa47da31 v0.6.0 2020-06-11 18:37:18 +05:30
Renovate Bot
472af65f12 Update dependency @testing-library/user-event to v11.4.1 2020-06-10 20:17:38 +00:00
Renovate Bot
2955c7ee20 Update dependency @testing-library/user-event to v11.4.0 2020-06-10 05:20:49 +00:00
Renovate Bot
c3f8a529e8 Update dependency @testing-library/user-event to v11.3.2 2020-06-09 14:21:44 +00:00
Renovate Bot
4d7b8914be Update dependency @testing-library/user-event to v11.3.1 2020-06-08 19:39:44 +00:00
Rish
aa228a8df2 Updated tests structure
no issue

- Use jsdom-fourteen to allow waitFor tests from testing lib - https://github.com/facebook/create-react-app/issues/7491#issuecomment-534832697
- Updated test-utils to pass context
- Added tests for account plan and profile using new test options
2020-06-07 01:26:41 +05:30
Renovate Bot
70c2bd9a90 Update dependency @testing-library/react to v10 2020-06-07 01:06:49 +05:30
Renovate Bot
67c42b3277 Update dependency @testing-library/user-event to v11 2020-06-07 01:05:51 +05:30
Renovate Bot
08a809f156 Update dependency @testing-library/jest-dom to v5 2020-06-07 01:04:57 +05:30
Rish
4d94188d1c v0.5.1 2020-06-03 10:55:13 +05:30
Rish
9387cf2131 v0.5.0 2020-06-02 00:16:29 +05:30
Rish
bbeffb04be v0.4.1 2020-05-28 17:32:48 +05:30
Renovate Bot
838c440a5a Update dependency eslint-plugin-ghost to v1.5.0 2020-05-25 10:17:09 +00:00
Rish
25269953a2 v0.4.0 2020-05-22 15:47:14 +05:30
Renovate Bot
f59d8213f6 Update dependency eslint-plugin-ghost to v1.4.1 2020-05-11 10:15:34 +00:00
Renovate Bot
4078483bb7 Update dependency eslint-plugin-ghost to v1.4.0 2020-05-06 18:15:04 +00:00
Rish
8c42813666 v0.3.3 2020-05-01 23:20:53 +05:30
Rish
21661e8eb8 v0.3.2 2020-05-01 22:24:44 +05:30
Rish
2789ea3a10 v0.3.1 2020-05-01 20:58:55 +05:30
Rish
ee1dfbc0af v0.3.0 2020-05-01 17:18:54 +05:30
Rish
d4f604d091 v0.2.4 2020-05-01 13:05:23 +05:30
Rish
29c4b6be0f Updated yarn ship script
no issue

- Updates `yarn script` to use same consistent format we use across org
- Removes use of `npm` in publish
- Adds `preship` to run lint - ideally should run tests but react tests run in interactive mode and are very slow atm, need to sort that out first.
2020-05-01 13:02:27 +05:30
Rish
49606f8fdf Added explicit npm registry in publishConfig
no issue

The members-js package is published on npm and this ensures `yarn ship` attempts to push to correct registry instead of yarn registry in case not set globally.
2020-04-30 17:37:29 +05:30
Rish
02d968dd4e 0.2.3 2020-04-30 17:25:36 +05:30
Rish
87215f56a0 0.2.2 2020-04-28 23:41:52 +05:30
Rish
7fee47b9a7 Added yarn ship for publishing to npm/unpkg
refs https://github.com/TryGhost/members.js/issues/5

We use `yarn ship` across all our packages for publishing new versions.
2020-04-28 23:38:24 +05:30
Renovate Bot
971afdf468 Update dependency eslint-plugin-ghost to v1.3.0 2020-04-28 06:14:02 +00:00
Renovate Bot
982c9d19ef Pin dependencies 2020-04-28 08:51:04 +05:30
Rish
3baffcc3e6 0.2.1 2020-04-23 21:19:23 +05:30
Rish
067fc9a1bd v0.2.0 2020-04-23 17:58:12 +05:30
Rish
884e197cca v0.1.1 2020-04-23 13:03:17 +05:30
Rish
028139a0e1 Updated build and publish setup for unpkg deployment
refs https://github.com/TryGhost/members.js/issues/12

- Updates package name and add umd/unpkg setup in `package.json`
- Updated webpack config to publish minified bundle at `umd/memebrs.min.js`
- Updated .gitignore to remove build folders
2020-04-20 22:10:58 +05:30
Renovate Bot
b71104b1de Update dependency eslint-plugin-ghost to v1.2.0 2020-04-17 11:14:03 +00:00
Hannah Wolfe
4c358d2cec Added ghost browser ESLint config and fixed errors
- added eslint-plugin-ghost, extended ghost/browser config & fixed all the issues
- did this because basic things like indent, quotes and semi-colons weren't being enforced resulting in inconsistencies
- we can customise this or create a ghost/react if desired
2020-04-10 16:32:37 +01:00
Hannah Wolfe
4ddddabe85 Added linting scripts
- Incorrectly assumed this was automatically part of `react-scripts test`.
2020-04-01 12:43:42 +01:00
Rish
3dca602545 Added trigger and popup UI components - v1
no issue

- Adds new components for membersJs trigger button and popup menu with style
- Adds basic trigger interaction between trigger button and popup menu
- Uses hardcoded member values
- Adds `prop-types` dependency
2020-03-30 19:05:35 +05:30
Rish
c23a80e6f0 Updated build process for single minified script
no issue

By default, CRAs build process creates chunked script files and adds them to default index.html. The updated build process uses `rewire` and `webpack` to -

- Tweak CRAs default behavior by switching off chunking, which leads to a single script
- Uses webpack locally to combine JS and CSS built by above step into a single `bundle.min.js`
2020-03-24 18:49:04 +05:30
Rish
1b91730c48 Initial commit 2020-03-24 18:37:38 +05:30
Rish
4ff29d2735 Initialize project using Create React App 2020-03-24 18:37:04 +05:30