Utility library for Liferay NPM Build Tools, version 2.32.2, maintained by Liferay. It provides shared utilities across Liferay's frontend build toolchain, including npm-scripts, liferay-theme-tasks, and eslint-plugin. It is part of the liferay-frontend-projects monorepo and follows irregular release cadence alongside other packages. Key differentiator: tightly coupled with Liferay portal ecosystem, intended for use within Liferay workspace projects, not a general-purpose npm build tool.
npm install liferay-npm-build-tools-commonVerified import paths — ran on the pinned version, not inferred.
Shows how to import the main utilities, create a Project instance, and retrieve its dependencies.
Update to v2.0.0 or later and refactor imports to use named exports.
Always provide a valid directory path to new Project().
Use import syntax or configure bundler to handle ESM.
Only use within a Liferay workspace project.
Run npm install liferay-npm-build-tools-common --save-dev
Add 'type': 'module' to package.json or use .mjs extension.
Use import { getProjectDependencies } from 'liferay-npm-build-tools-common'No dependency data recorded yet.