![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.
@jackdbd/eleventy-plugin-ensure-env-vars
Advanced tools
Eleventy plugin that checks environment variables before Eleventy builds your site.
Eleventy plugin that checks environment variables before Eleventy builds your site.
npm install @jackdbd/eleventy-plugin-ensure-env-vars
Note: this library was tested on Node.js >=18. It might work on other Node.js versions though.
In your Eleventy config file:
import { ensureEnvVarsPlugin } from '@jackdbd/eleventy-plugin-ensure-env-vars'
export default function (eleventyConfig) {
// some eleventy configuration...
eleventyConfig.addPlugin(ensureEnvVarsPlugin, {
envVars: ['DEBUG', 'NODE_ENV']
})
// some more eleventy configuration...
}
Key | Default | Description |
---|---|---|
envVars | undefined | Environment variables you want to be set when building your Eleventy site |
This plugin uses the debug library for logging.
You can control what's logged using the DEBUG
environment variable.
For example, if you set your environment variables in a .envrc
file, you can do:
# print all logging statements
export DEBUG=11ty-plugin:*
Package | Version |
---|---|
zod | ^3.23.0 |
zod-validation-error | ^3.1.0 |
⚠️ Peer Dependencies
This package defines 2 peer dependencies.
Peer | Version range |
---|---|
@11ty/eleventy | >=2.0.0 or 3.0.0-alpha.6 |
debug | >=4.0.0 |
© 2022 - 2024 Giacomo Debidda // MIT License
FAQs
Eleventy plugin that checks environment variables before Eleventy builds your site.
The npm package @jackdbd/eleventy-plugin-ensure-env-vars receives a total of 40 weekly downloads. As such, @jackdbd/eleventy-plugin-ensure-env-vars popularity was classified as not popular.
We found that @jackdbd/eleventy-plugin-ensure-env-vars demonstrated a healthy version release cadence and project activity because the last version was released less than 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.