![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Builds as a service.
$ gem install anvil-cli
$ anvil build .
Building ...
Success, slug is https://api.anvilworks.org/slugs/000.tgz
$ anvil build https://github.com/ddollar/anvil.git
# specify a buildpack url
$ anvil build https://github.com/ddollar/anvil.git -b https://github.com/heroku/heroku-buildpack-nodejs.git
# specify a buildpack from https://buildkits.heroku.com/
$ anvil build https://github.com/ddollar/anvil.git -b heroku/nodejs
# test a known app against the local buildpack code
$ anvil build https://github.com/me/mybuildpack-testapp -b ~/mybuildpack
# can also use a local app
$ anvil build ~/mybuildpack/test/app -b ~/mybuildpack
You can use this combination to host build scripts in gists. Example
$ anvil build \
http://downloads.sourceforge.net/project/squashfs/squashfs/squashfs4.2/squashfs4.2.tar.gz \
-b https://gist.github.com/ddollar/a2ceb7b9699f05303170/raw/build-squashfs.sh
# build mercurial
$ anvil build http://mercurial.selenic.com/release/mercurial-2.7.1.tar.gz -b https://gist.github.com/ddollar/07d579a6621b3ddd7b6b/raw/gistfile1.txt
This example requires the heroku-anvil plugin.
#!/usr/bin/env bash
# fail fast
set -o errexit
set -o pipefail
# build a slug of the app
slug=$(anvil build https://github.com/my/project.git -p)
# release the slug to staging
heroku release $slug -a myapp-staging
# run tests using `heroku run`
heroku run bin/tests -a myapp-staging
# test that the app responds via http
curl https://myapp-staging.herokuapp.com/test
# release to production
heroku release $slug -a myapp-production
Usage: anvil build [SOURCE]
build software on an anvil build server
if SOURCE is a local directory, the contents of the directory will be built
if SOURCE is a git URL, the contents of the repo will be built
if SOURCE is a tarball URL, the contents of the tarball will be built
SOURCE will default to "."
-b, --buildpack URL # use a custom buildpack
-p, --pipeline # pipe build output to stderr and only put the slug url on stdout
-r, --release # release the slug to an app
FAQs
Unknown package
We found that anvil-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.