Ghost/ghost/importer-handler-content-files
Naz c487b12518 Reverted zip's root file copying fix
refs https://github.com/TryGhost/Toolbox/issues/523

- The reverted fix did not take into account the "original path" of the
files would be truncated. This path has to be full relative to the root
of the zip to later be used during importer url substitution logic.
- This reverts commit 831a76505c.
2023-03-16 21:52:24 +01:00
..
lib Refactored importer's content file handler 2023-03-02 17:54:19 +08:00
test Reverted zip's root file copying fix 2023-03-16 21:52:24 +01:00
.eslintrc.js Renamed media import handler to file handler 2023-03-02 17:54:18 +08:00
index.js Renamed media import handler to file handler 2023-03-02 17:54:18 +08:00
package.json Update Test & linting packages 2023-03-13 02:36:20 +00:00
README.md Renamed media import handler to file handler 2023-03-02 17:54:18 +08:00

Importer Media

Importer content file handler

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