Registry / devops / spm-build

spm-build

JSON →
library0.3.0-a1jsnpmunverified

spm-build is a deprecated build tool for spm3 (Standard Package Manager) used to build CMD modules. Version 0.3.0-a1 is an alpha release. The package is no longer maintained; users are advised to migrate to spm-sea for CMD modules or spm-webpack for standalone builds. It was built for Node.js >0.8.19 and served as a grunt collection plugin.

npm install spm-build
INSTALL
IMPORT
SIG · SPM-BUILD
S
spm-build
devopsjavascriptv0.3.0-a1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

spm-build command
spm-build [option] [file]
require('spm-build')
This is a CLI tool, not a programmatic library. Use as a command-line utility after installing globally.

Install spm-build globally and run it to build a CMD module with standalone option.

npm install spm-build -g cd my-spm-package spm-build --standalone
Debug
Known issues
deprecatedspm-build is deprecated. Please use spm-sea for CMD and spm-webpack for standalone.
fix
Migrate to spm-sea or spm-webpack.
affects: >=0.0.0
breakingVersion 0.3.0-a1 is an alpha release and may have unstable APIs.
fix
Avoid using alpha versions in production. Use a stable release or migrate to alternatives.
affects: 0.3.0-a1
Errors
Common errors & fixes
Error: Cannot find module 'spm-build'
spm-build not installed globally or not found in node_modules.
fix
Run 'npm install spm-build -g' to install globally.
spm-build: command not found
Global npm bin directory not in PATH.
fix
Add npm global bin to PATH or run 'npx spm-build'.
Upgrade
Version history
0.3.0-a1latest on npm
Audit
Dependencies
spmrequiredspm-build is a plugin for spm3 and requires spm as the build orchestrator.
gruntoptionalspm-build is a grunt collection; might require grunt installed globally.
Agent activity
2 hits · last 30 days
node
2
Resources
spm-build — npm install spm-build · libregistry