Ghost/ghost/member-attribution
Simon Backx fe3430202a
Fixed member attribution for subdirectories (#15277)
fixes https://github.com/TryGhost/Team/issues/1829

- Remove the subdirectories when creating the Attribution instances
- URLs are now always stored relative to the subdirectory instead of the root directory (makes changing the subdirectory easier)
- Fixed returning absolute urls
- Added tests
2022-08-22 17:16:18 +02:00
..
lib Fixed member attribution for subdirectories (#15277) 2022-08-22 17:16:18 +02:00
test Fixed member attribution for subdirectories (#15277) 2022-08-22 17:16:18 +02:00
.eslintrc.js Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
index.js Improved dependency structure of member-attribution package 2022-08-22 11:36:24 +02:00
package.json Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
README.md Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00

Member Attribution

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests