
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@codux-pond/component-templates
Advanced tools
This project is a collection of component templates that can be used to create new components for the Codux. It is also contains a catalog of the components that are created using these templates as the main app.
Create a new folder in the src/component-templates
directory with the component name in snake case all lowercase and dashed. (e.g. fancy-button
, fine-card
, tpl-input
, etc.)
The folder should contain the following files:
where COMPONENT_NAME
is the name of the component. (same as the folder name)
COMPONENT_NAME.tsx
- The component template.COMPONENT_NAME.module.css
- The component styles.COMPONENT_NAME.component.json
- The component packer metadata entry.metadata
- Directory containing the component metadata (will not be included in the installation).The component template can contain variables that will be replaced with the actual values when the component is created. Currently, the following variables are supported:
___COMPONENT_NAME___
- The name of the component.Note:
We do not replace variables in all text files. We only replace variables in typescript
, .css
, .md
and .json
files. (this can be changed according to the requirement)
There is a casing convention for the variables:
In the project directory, you can run:
npm run build
Build the application in production mode into a folder named dist
. This folder can be served using any HTTP server.
npm run dev
Start dev server, aliases: vite dev
, vite serve
.
Open http://127.0.0.1:5173/ to view it in the browser.
npm run preview
Boots up a local static web server that serves the files from dist at http://localhost:4173
. It's an easy way to check if the production build looks OK in your local environment.
FAQs
Codux Component Templates
The npm package @codux-pond/component-templates receives a total of 2 weekly downloads. As such, @codux-pond/component-templates popularity was classified as not popular.
We found that @codux-pond/component-templates demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.