Unfortunately we need this plugin to be compatible with Node 16 for a little while longer. This PR downgrades the dependencies that had been updated to work with Node 18. It also adds the bin/run files so that we can more easily run the commands locally.
Testing
Installation and testing
yarn install, yarn build, and yarn test should all work on Node 16.20.0
Commands
(The specific command instructions are copied from #125)
In the project root, run heroku plugins:link to link the local version of this plugin to the CLI
heroku builds -a YOUR_APP // Lists 15 most recently created builds (API Returns all builds)
heroku builds -n 50 -a YOUR_APP // Optionally show more builds with the -n flag (API Returns all builds)
heroku builds:info -a YOUR_APP // Show details of the latest build
heroku builds:info BUILD_ID -a YOUR_APP // Show details of a specific build
heroku builds:create -a YOUR_APP // Create a .tar.gz from the contents of the cwd, upload and create a build
heroku builds:create -a YOUR_APP --source-tar PATH_TO_TARBALL // Specify a tarball to build from
heroku builds:output -a YOUR_APP // Show last build output
heroku builds:output BUILD_ID -a YOUR_APP // Show build output for specified build id
heroku builds:cancel BUILD_ID -a YOUR_APP // cancel a build
Please note that 1 and 2 in the list seems to always return all builds. This behavior is confirmed with the older plugin as well.
Unfortunately we need this plugin to be compatible with Node 16 for a little while longer. This PR downgrades the dependencies that had been updated to work with Node 18. It also adds the
bin/run
files so that we can more easily run the commands locally.Testing
Installation and testing
yarn install
,yarn build
, andyarn test
should all work on Node 16.20.0Commands
(The specific command instructions are copied from #125)
heroku plugins:link
to link the local version of this plugin to the CLIheroku builds -a YOUR_APP
// Lists 15 most recently created builds (API Returns all builds)heroku builds -n 50 -a YOUR_APP
// Optionally show more builds with the-n
flag (API Returns all builds)heroku builds:info -a YOUR_APP
// Show details of the latest buildheroku builds:info BUILD_ID -a YOUR_APP
// Show details of a specific buildheroku builds:create -a YOUR_APP
// Create a .tar.gz from the contents of the cwd, upload and create a buildheroku builds:create -a YOUR_APP --source-tar PATH_TO_TARBALL
// Specify a tarball to build fromheroku builds:output -a YOUR_APP
// Show last build outputheroku builds:output BUILD_ID -a YOUR_APP
// Show build output for specified build idheroku builds:cancel BUILD_ID -a YOUR_APP
// cancel a buildPlease note that 1 and 2 in the list seems to always return all builds. This behavior is confirmed with the older plugin as well.