Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paketo-buildpacks/nodejs
A Cloud Native Buildpack for Node.JS
https://github.com/paketo-buildpacks/nodejs
cnb
Last synced: 3 days ago
JSON representation
A Cloud Native Buildpack for Node.JS
- Host: GitHub
- URL: https://github.com/paketo-buildpacks/nodejs
- Owner: paketo-buildpacks
- License: apache-2.0
- Created: 2020-04-13T20:06:38.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T06:28:54.000Z (4 months ago)
- Last Synced: 2024-09-18T08:56:42.677Z (4 months ago)
- Topics: cnb
- Language: Go
- Homepage:
- Size: 1.3 MB
- Stars: 56
- Watchers: 9
- Forks: 20
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-repositories - paketo-buildpacks/nodejs - A Cloud Native Buildpack for Node.JS (Go)
- awesome-cnb - NodeJS
README
# Paketo Buildpack for Node.js
## `gcr.io/paketo-buildpacks/nodejs`
The Node.js Paketo Buildpack provides a set of collaborating buildpacks that
enable the building of a Node.js-based application. These buildpacks include:- [Node Engine CNB](https://github.com/paketo-buildpacks/node-engine)
- [Yarn CNB](https://github.com/paketo-buildpacks/yarn)
- [Yarn Install CNB](https://github.com/paketo-buildpacks/yarn-install)
- [NPM Install CNB](https://github.com/paketo-buildpacks/npm-install)
- [Yarn Start CNB](https://github.com/paketo-buildpacks/yarn-start)
- [NPM Start CNB](https://github.com/paketo-buildpacks/npm-start)
- [Node Start CNB](https://github.com/paketo-buildpacks/node-start)The buildpack supports building/running simple Node applications or applications
which utilize either [NPM](https://www.npmjs.com/) or [Yarn](https://yarnpkg.com/)
for managing their dependencies. Support for each of these package managers is
mutually exclusive.Usage examples can be found in the
[`samples` repository under the `nodejs` directory](https://github.com/paketo-buildpacks/samples/tree/main/nodejs).#### The Node.js buildpack is compatible with the following builder(s):
- [Paketo Jammy Full Builder](https://github.com/paketo-buildpacks/builder-jammy-full)
- [Paketo Jammy Base Builder](https://github.com/paketo-buildpacks/builder-jammy-base)This buildpack also includes the following utility buildpacks:
- [Procfile CNB](https://github.com/paketo-buildpacks/procfile)
- [Environment Variables CNB](https://github.com/paketo-buildpacks/environment-variables)
- [Image Labels CNB](https://github.com/paketo-buildpacks/image-labels)
- [CA Certificates CNB](https://github.com/paketo-buildpacks/ca-certificates)
- [Node Run Script CNB](https://github.com/paketo-buildpacks/node-run-script)
- [Node Module Bill of Materials CNB](https://github.com/paketo-buildpacks/node-module-bom)Check out the [Paketo Node.js docs](https://paketo.io/docs/buildpacks/language-family-buildpacks/nodejs/) for more information.
## Maintenance
### Go Module Versioning
Each buildpack is a Go module, and in the case of the Node.js buildpacks, we only maintain and support the latest versions, without providing support for any **previous** `major` or `minor` versions. **Further the team does not currently commit to maintain the go major versions to in sync with the Semver versions used to publish releases. Keeping the go major versions up to date with the versions used to publish the buildpacks and consumed in the buildpack tomls is addhoc and based PRs being sumitted by the community**.