Open ggrossetie opened 3 years ago
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
@asciidoctor/core
@asciidoctor/cli
package.json
https://github.com/neo4j-contrib/graphgist-portal-v3/blob/20efc9c0d19455e7ebc231b98c936fabff8fd83b/api/package.json#L26
As a result, we should also update the require / import statements:
require
import
https://github.com/neo4j-contrib/graphgist-portal-v3/blob/20efc9c0d19455e7ebc231b98c936fabff8fd83b/api/src/graphgists/utils.js#L1
becomes:
import Asciidoctor from "@asciidoctor/core";
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 thepackage.json
file:https://github.com/neo4j-contrib/graphgist-portal-v3/blob/20efc9c0d19455e7ebc231b98c936fabff8fd83b/api/package.json#L26
As a result, we should also update the
require
/import
statements:https://github.com/neo4j-contrib/graphgist-portal-v3/blob/20efc9c0d19455e7ebc231b98c936fabff8fd83b/api/src/graphgists/utils.js#L1
becomes: