Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@inlang/paraglide-js-adapter-vite
Advanced tools
This package provides a vite plugin to make it easier to use paraglide-js in any project that uses vite.
It automatically runs the compiler on message changes, giving you a seamless experience.
You also no longer need the paraglide
commands in your package.json
.
First make sure you have set up @inlang/paraglide-js
. If you haven't you can get started by running
this command and following the instructions.
npx @inlang/paraglide-js init
Install the vite adapter with
npm install @inlang/paraglide-js-adapter-vite
and add it to your vite.config.js
import { defineConfig } from "vite"
import { paraglide } from "@inlang/paraglide-js-adapter-vite"
export default defineConfig({
plugins: [
paraglide({
project: "./project.inlang", //Path to your inlang project
outdir: "./src/paraglide", //Where you want the generated files to be placed
}),
],
})
Now, the paraglide
folder at ./src/paraglide
will be automatically updated when you change your messages.
You can find an example vite project here.
FAQs
Vite adapter for Paraglide.js
The npm package @inlang/paraglide-js-adapter-vite receives a total of 780 weekly downloads. As such, @inlang/paraglide-js-adapter-vite popularity was classified as not popular.
We found that @inlang/paraglide-js-adapter-vite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.