0.0.5 • Published 1 month ago

@vue-storefront/api-extractor-config v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

@vue-storefront/api-extractor-config

Common API Extractor configuration for Alokai Integrations

Usage

Install

yarn add -D @vue-storefront/api-extractor-config

Package configuration

First, you need a configuration file in your package root:

{
  "extends": "@vue-storefront/api-extractor-config",
  "mainEntryPointFilePath": "./lib/api-extractor-data.d.ts",
  "projectFolder": ".",
  "compiler": {
    "tsconfigFilePath": "<projectFolder>/tsconfig.json"
  },
  "dtsRollup": {
    "untrimmedFilePath": "./lib/<unscopedPackageName>.d.ts"
  },
  "docModel": {
    "apiJsonFilePath": "<projectFolder>/../../docs/reference/api/<unscopedPackageName>.api.json"
  }
}

This configuration assumes, that you have also a file src/api-extractor-data.ts in your project that exports the API definitions:

/**
 * Package documentation description.
 *
 * @packageDocumentation
 */

export * from "./types";
// etc...

mainEntryPointFilePath points to lib, so you need to build your package before running API Extractor.

0.0.5

1 month ago

0.0.4

9 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago