-
Notifications
You must be signed in to change notification settings - Fork 17
/
buildpack.toml
55 lines (42 loc) · 1.69 KB
/
buildpack.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
api = "0.7"
[buildpack]
homepage = "https://github.com/paketo-buildpacks/npm-install"
id = "paketo-buildpacks/npm-install"
name = "Paketo Buildpack for NPM Install"
sbom-formats = ["application/vnd.cyclonedx+json", "application/spdx+json", "application/vnd.syft+json"]
[[buildpack.licenses]]
type = "Apache-2.0"
uri = "https://github.com/paketo-buildpacks/npm-install/blob/main/LICENSE"
[metadata]
include-files = ["bin/build", "bin/detect", "bin/run", "bin/setup-symlinks", "buildpack.toml"]
pre-package = "./scripts/build.sh"
[[metadata.configurations]]
name = "BP_DISABLE_SBOM"
default = "false"
description = "disables generation of SBOM documents during the build process"
[[metadata.configurations]]
name = "BP_LOG_LEVEL"
default = "INFO"
description = "configures buildpack output verbosity. options include INFO and DEBUG"
[[metadata.configurations]]
name = "BP_NODE_PROJECT_PATH"
description = "path to the root of the Node.js project"
[[metadata.configurations]]
name = "BP_NPM_VERSION"
description = "configures a custom npm version"
[[metadata.configurations]]
name = "BP_KEEP_NODE_BUILD_CACHE"
default = "false"
description = "keep the 'node_modules/.cache' folder after the build (will be readonly at runtime)'"
[[metadata.configurations]]
name = "NODE_HOME"
description = "path the Node.js installation"
[[metadata.configurations]]
name = "NPM_CONFIG_GLOBALCONFIG"
description = "configures npm to read this file for global config options"
[[metadata.configurations]]
name = "NPM_CONFIG_LOGLEVEL"
default = "error"
description = "configures npm output verbosity"
[[stacks]]
id = "*"