Component Manifest
raw JSON → 1.0.0 verified Sat Apr 25 auth: no javascript abandoned
Component Manifest helps create build manifests for component-based projects. Version 1.0.0 is the latest stable release, last updated in 2014. It unglobs local components and creates file objects compatible with the builder's API. This package is minimal and has no dependencies, but is now considered obsolete and unmaintained. It is specific to an older build system and not suitable for modern development workflows.
Common errors
error Error: Cannot find module 'component-manifest' ↓
cause The package is not installed or not found in node_modules.
fix
Run 'npm install component-manifest' to install it.
error Unhandled type error: manifest is not a function ↓
cause Importing incorrectly when using TypeScript or ESM wrappers.
fix
Use 'const manifest = require('component-manifest')' if CommonJS is used.
Warnings
deprecated This package is deprecated and no longer maintained. Use a modern build system like Webpack or Rollup. ↓
fix Migrate to a supported build tool.
Install
npm install component-manifest yarn add component-manifest pnpm add component-manifest Imports
- default wrong
const manifest = require('component-manifest')correctimport manifest from 'component-manifest' - ComponentManifest
import { ComponentManifest } from 'component-manifest' - ManifestOptions wrong
import { ManifestOptions } from 'component-manifest'correctimport type { ManifestOptions } from 'component-manifest'
Quickstart
import manifest from 'component-manifest';
const components = ['component-a', 'component-b'];
const result = manifest(components);
console.log(result);