Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace asciidoctor dependency by @asciidoctor/core #50

Open
ggrossetie opened this issue Aug 9, 2021 · 0 comments
Open

Replace asciidoctor dependency by @asciidoctor/core #50

ggrossetie opened this issue Aug 9, 2021 · 0 comments

Comments

@ggrossetie
Copy link
Collaborator

The asciidoctor package is a meta-package that contains both @asciidoctor/core and @asciidoctor/cli. Since we do not use the Asciidoctor.js Command-Line Interface, we should replace the dependency in the package.json file:

"asciidoctor": "^2.2.0",

As a result, we should also update the require / import statements:

import Asciidoctor from "asciidoctor";

becomes:

import Asciidoctor from "@asciidoctor/core";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant