Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@vue-storefront/api-extractor-config

Package Overview
Dependencies
Maintainers
9
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-storefront/api-extractor-config

> Common API Extractor configuration for Alokai Integrations

latest
npmnpm
Version
2.0.0
Version published
Weekly downloads
5
-28.57%
Maintainers
9
Weekly downloads
 
Created
Source

@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/enterprise/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.

Keywords

api-extractor

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts