mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* test: test install in build phase * fix: detect node_modules removal and avoid caching node_modules/.cache * test: add new snapshot * build: adding go debugging tool and helper task * refactor: node_modules detection is working * test: test install in build phase * refactor: pull plan cleansing into a separate file * refactor: ai cleanup * refactor: move cleanse to the provider level, stubs for all providers * refactor: move existing node cleanse logic to a provider-specific implementation * test: snapshot update * docs: why we need node cleanse operation * docs: note on corepack * docs: on cache handling of node_modules
12 lines
353 B
JSON
12 lines
353 B
JSON
{
|
|
"$schema": "https://schema.railpack.com",
|
|
"steps": {
|
|
"build": {
|
|
// npm ci is generally run in the install phase, running it during build causes
|
|
// node_modules to be removed, which causes a buildkit error if node_modules/.cache
|
|
// is included as a cache folder.
|
|
"commands": ["...", "npm ci"]
|
|
}
|
|
}
|
|
}
|