Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@ezcater/recipe
Advanced tools
Delicious UI components, from ezcater.
Explore website »
Recipe is available as an npm package and is used with emotion.
yarn add @ezcater/recipe @emotion/react @emotion/styled
Import the Recipe package, just as you would any other package dependency:
import {EzButton} from '@ezcater/recipe';
export const MyComponent = () => (
<div>
<EzButton use="primary" onClick={() => alert('You clicked me!')}>
Click Me!
</EzButton>
</div>
);
This project uses plop to generate new React components. The functionality is exposed as the create-component
npm script from package.json
. This will:
templates/component
to src/components/YOUR_COMPONENT_NAME
,Component
inside the component's files with your component's name.To create a new component, run yarn create-component
inside packages/recipe
. You'll see a CLI that guides you through the process.
After the CLI has finished, all files will have been created in the location you specified. You'll need to add an export for your component to src/index.tsx
. For example:
// inside src/index.tsx
export {default as EzButton} from './components/EzButton';
The recipe contributions docs have a more thorough breakdown of the contribution guidelines.
To begin developing locally, use the following commands:
yarn install
in the root diryarn develop
in the root dir
http://localhost:9000
http://localhost:6006/
Recipe uses yarn workspaces and lerna internally to manage packages. The above commands can be executed individually using the yarn workspaces
command, passing in the name of the package and the command to execute.
To run the develop
script in only recipe's source, you can use:
yarn workspace @ezcater/recipe develop
After contributing updates to recipe, you'll need to publish the recipe package for changes to take effect in downstream projects.
Recipe uses the Changesets Release github action to automate the process of creating a pull request for an up-versioned Recipe release. This process uses the semantic versioning metadata captured as part of our development process. When an automated versioning PR is merged, a new Recipe release will be published to npm on your behalf.
Recipe is licensed under the MIT license.
FAQs
ezCater's React UI Component library
The npm package @ezcater/recipe receives a total of 214 weekly downloads. As such, @ezcater/recipe popularity was classified as not popular.
We found that @ezcater/recipe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.